
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* virtual thunk to std::fstream::~fstream() */

void __thiscall std::fstream::~fstream(fstream *this)

{
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0027a5f0(int *param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));
  *puVar1 = &PTR_FUN_004119fc;
  puVar1[2] = &PTR_FUN_00411a10;
  puVar1[0x25] = &PTR_FUN_00411a24;
  puVar1[3] = &PTR_FUN_00411844;
  FUN_00278300(puVar1 + 3);
  FUN_00248a60(puVar1 + 0x11);
  puVar1[3] = &PTR_FUN_004110b0;
  FUN_0024a980(puVar1 + 10);
  puVar1[1] = 0;
  puVar1[2] = &DAT_00411948;
  *puVar1 = &DAT_00411970;
  puVar1[0x25] = &PTR_FUN_004117c4;
  FUN_0028d4b0(puVar1 + 0x25);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x199a09
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI]
ADD ESI,dword ptr [EAX + -0xc]
LEA EAX,[EBX + 0xffffd9f0]
LEA EDX,[EAX + 0xc]
MOV dword ptr [ESI],EDX
LEA EDX,[EAX + 0x34]
ADD EAX,0x20
MOV dword ptr [ESI + 0x8],EAX
LEA EAX,[EBX + 0xffffd83c]
MOV dword ptr [ESI + 0x94],EDX
ADD EAX,0x8
MOV dword ptr [ESI + 0xc],EAX
LEA EAX,[ESI + 0xc]
PUSH EAX
CALL 0x00278300
LEA EAX,[ESI + 0x44]
MOV dword ptr [ESP],EAX
CALL 0x00248a60
LEA EAX,[EBX + 0xffffd0a8]
ADD EAX,0x8
MOV dword ptr [ESI + 0xc],EAX
LEA EAX,[ESI + 0x28]
ADD ESI,0x94
MOV dword ptr [ESP],EAX
CALL 0x0024a980
LEA EAX,[EBX + 0xffffd948]
MOV dword ptr [ESI + 0xffffff70],0x0
MOV dword ptr [ESI + 0xffffff74],EAX
LEA EAX,[EBX + 0xffffd970]
MOV dword ptr [ESI + 0xffffff6c],EAX
LEA EAX,[EBX + 0xffffd7bc]
ADD EAX,0x8
MOV dword ptr [ESI],EAX
MOV dword ptr [ESP],ESI
CALL 0x0028d4b0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0027a5f0(int *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}\n\n" comment (function_definition "void FUN_0027a5f0(int *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}" primitive_type (function_declarator "FUN_0027a5f0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));" (assignment_expression "puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc))" identifier = (cast_expression "(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) ;) (expression_statement "*puVar1 = &PTR_FUN_004119fc;" (assignment_expression "*puVar1 = &PTR_FUN_004119fc" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_004119fc" & identifier)) ;) (expression_statement "puVar1[2] = &PTR_FUN_00411a10;" (assignment_expression "puVar1[2] = &PTR_FUN_00411a10" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00411a10" & identifier)) ;) (expression_statement "puVar1[0x25] = &PTR_FUN_00411a24;" (assignment_expression "puVar1[0x25] = &PTR_FUN_00411a24" (subscript_expression "puVar1[0x25]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00411a24" & identifier)) ;) (expression_statement "puVar1[3] = &PTR_FUN_00411844;" (assignment_expression "puVar1[3] = &PTR_FUN_00411844" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00411844" & identifier)) ;) (expression_statement "FUN_00278300(puVar1 + 3);" (call_expression "FUN_00278300(puVar1 + 3)" identifier (argument_list "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) ))) ;) (expression_statement "FUN_00248a60(puVar1 + 0x11);" (call_expression "FUN_00248a60(puVar1 + 0x11)" identifier (argument_list "(puVar1 + 0x11)" ( (binary_expression "puVar1 + 0x11" identifier + number_literal) ))) ;) (expression_statement "puVar1[3] = &PTR_FUN_004110b0;" (assignment_expression "puVar1[3] = &PTR_FUN_004110b0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_004110b0" & identifier)) ;) (expression_statement "FUN_0024a980(puVar1 + 10);" (call_expression "FUN_0024a980(puVar1 + 10)" identifier (argument_list "(puVar1 + 10)" ( (binary_expression "puVar1 + 10" identifier + number_literal) ))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = &DAT_00411948;" (assignment_expression "puVar1[2] = &DAT_00411948" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (pointer_expression "&DAT_00411948" & identifier)) ;) (expression_statement "*puVar1 = &DAT_00411970;" (assignment_expression "*puVar1 = &DAT_00411970" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&DAT_00411970" & identifier)) ;) (expression_statement "puVar1[0x25] = &PTR_FUN_004117c4;" (assignment_expression "puVar1[0x25] = &PTR_FUN_004117c4" (subscript_expression "puVar1[0x25]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_004117c4" & identifier)) ;) (expression_statement "FUN_0028d4b0(puVar1 + 0x25);" (call_expression "FUN_0028d4b0(puVar1 + 0x25)" identifier (argument_list "(puVar1 + 0x25)" ( (binary_expression "puVar1 + 0x25" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* virtual thunk to std::fstream::~fstream() */\n\nvoid __thiscall std::fstream::~fstream(fstream *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall std::fstream::~fstream(fstream *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::fstream::~" identifier : : identifier : : ~) (function_declarator "fstream(fstream *this)" identifier (parameter_list "(fstream *this)" ( (parameter_declaration "fstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0027a5f0(int *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}\n\n" (function_definition "void FUN_0027a5f0(int *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}" primitive_type (function_declarator "FUN_0027a5f0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));" (assignment_expression "puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc))" identifier = (cast_expression "(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) ;) (expression_statement "*puVar1 = &PTR_FUN_004119fc;" (assignment_expression "*puVar1 = &PTR_FUN_004119fc" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_004119fc" & identifier)) ;) (expression_statement "puVar1[2] = &PTR_FUN_00411a10;" (assignment_expression "puVar1[2] = &PTR_FUN_00411a10" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00411a10" & identifier)) ;) (expression_statement "puVar1[0x25] = &PTR_FUN_00411a24;" (assignment_expression "puVar1[0x25] = &PTR_FUN_00411a24" (subscript_expression "puVar1[0x25]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00411a24" & identifier)) ;) (expression_statement "puVar1[3] = &PTR_FUN_00411844;" (assignment_expression "puVar1[3] = &PTR_FUN_00411844" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00411844" & identifier)) ;) (expression_statement "FUN_00278300(puVar1 + 3);" (call_expression "FUN_00278300(puVar1 + 3)" identifier (argument_list "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) ))) ;) (expression_statement "FUN_00248a60(puVar1 + 0x11);" (call_expression "FUN_00248a60(puVar1 + 0x11)" identifier (argument_list "(puVar1 + 0x11)" ( (binary_expression "puVar1 + 0x11" identifier + number_literal) ))) ;) (expression_statement "puVar1[3] = &PTR_FUN_004110b0;" (assignment_expression "puVar1[3] = &PTR_FUN_004110b0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_004110b0" & identifier)) ;) (expression_statement "FUN_0024a980(puVar1 + 10);" (call_expression "FUN_0024a980(puVar1 + 10)" identifier (argument_list "(puVar1 + 10)" ( (binary_expression "puVar1 + 10" identifier + number_literal) ))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = &DAT_00411948;" (assignment_expression "puVar1[2] = &DAT_00411948" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (pointer_expression "&DAT_00411948" & identifier)) ;) (expression_statement "*puVar1 = &DAT_00411970;" (assignment_expression "*puVar1 = &DAT_00411970" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&DAT_00411970" & identifier)) ;) (expression_statement "puVar1[0x25] = &PTR_FUN_004117c4;" (assignment_expression "puVar1[0x25] = &PTR_FUN_004117c4" (subscript_expression "puVar1[0x25]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_004117c4" & identifier)) ;) (expression_statement "FUN_0028d4b0(puVar1 + 0x25);" (call_expression "FUN_0028d4b0(puVar1 + 0x25)" identifier (argument_list "(puVar1 + 0x25)" ( (binary_expression "puVar1 + 0x25" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0027a5f0(int *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0027a5f0(int *param_1)" (identifier "FUN_0027a5f0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));\n  *puVar1 = &PTR_FUN_004119fc;\n  puVar1[2] = &PTR_FUN_00411a10;\n  puVar1[0x25] = &PTR_FUN_00411a24;\n  puVar1[3] = &PTR_FUN_00411844;\n  FUN_00278300(puVar1 + 3);\n  FUN_00248a60(puVar1 + 0x11);\n  puVar1[3] = &PTR_FUN_004110b0;\n  FUN_0024a980(puVar1 + 10);\n  puVar1[1] = 0;\n  puVar1[2] = &DAT_00411948;\n  *puVar1 = &DAT_00411970;\n  puVar1[0x25] = &PTR_FUN_004117c4;\n  FUN_0028d4b0(puVar1 + 0x25);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));" (assignment_expression "puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc))" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (expression_statement "*puVar1 = &PTR_FUN_004119fc;" (assignment_expression "*puVar1 = &PTR_FUN_004119fc" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&PTR_FUN_004119fc" (& "&") (identifier "PTR_FUN_004119fc"))) (; ";")) (expression_statement "puVar1[2] = &PTR_FUN_00411a10;" (assignment_expression "puVar1[2] = &PTR_FUN_00411a10" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00411a10" (& "&") (identifier "PTR_FUN_00411a10"))) (; ";")) (expression_statement "puVar1[0x25] = &PTR_FUN_00411a24;" (assignment_expression "puVar1[0x25] = &PTR_FUN_00411a24" (subscript_expression "puVar1[0x25]" (identifier "puVar1") ([ "[") (number_literal "0x25") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00411a24" (& "&") (identifier "PTR_FUN_00411a24"))) (; ";")) (expression_statement "puVar1[3] = &PTR_FUN_00411844;" (assignment_expression "puVar1[3] = &PTR_FUN_00411844" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00411844" (& "&") (identifier "PTR_FUN_00411844"))) (; ";")) (expression_statement "FUN_00278300(puVar1 + 3);" (call_expression "FUN_00278300(puVar1 + 3)" (identifier "FUN_00278300") (argument_list "(puVar1 + 3)" (( "(") (binary_expression "puVar1 + 3" (identifier "puVar1") (+ "+") (number_literal "3")) () ")"))) (; ";")) (expression_statement "FUN_00248a60(puVar1 + 0x11);" (call_expression "FUN_00248a60(puVar1 + 0x11)" (identifier "FUN_00248a60") (argument_list "(puVar1 + 0x11)" (( "(") (binary_expression "puVar1 + 0x11" (identifier "puVar1") (+ "+") (number_literal "0x11")) () ")"))) (; ";")) (expression_statement "puVar1[3] = &PTR_FUN_004110b0;" (assignment_expression "puVar1[3] = &PTR_FUN_004110b0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "&PTR_FUN_004110b0" (& "&") (identifier "PTR_FUN_004110b0"))) (; ";")) (expression_statement "FUN_0024a980(puVar1 + 10);" (call_expression "FUN_0024a980(puVar1 + 10)" (identifier "FUN_0024a980") (argument_list "(puVar1 + 10)" (( "(") (binary_expression "puVar1 + 10" (identifier "puVar1") (+ "+") (number_literal "10")) () ")"))) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[2] = &DAT_00411948;" (assignment_expression "puVar1[2] = &DAT_00411948" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&DAT_00411948" (& "&") (identifier "DAT_00411948"))) (; ";")) (expression_statement "*puVar1 = &DAT_00411970;" (assignment_expression "*puVar1 = &DAT_00411970" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&DAT_00411970" (& "&") (identifier "DAT_00411970"))) (; ";")) (expression_statement "puVar1[0x25] = &PTR_FUN_004117c4;" (assignment_expression "puVar1[0x25] = &PTR_FUN_004117c4" (subscript_expression "puVar1[0x25]" (identifier "puVar1") ([ "[") (number_literal "0x25") (] "]")) (= "=") (pointer_expression "&PTR_FUN_004117c4" (& "&") (identifier "PTR_FUN_004117c4"))) (; ";")) (expression_statement "FUN_0028d4b0(puVar1 + 0x25);" (call_expression "FUN_0028d4b0(puVar1 + 0x25)" (identifier "FUN_0028d4b0") (argument_list "(puVar1 + 0x25)" (( "(") (binary_expression "puVar1 + 0x25" (identifier "puVar1") (+ "+") (number_literal "0x25")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* virtual thunk to std::fstream::~fstream() */

void __thiscall std::function_1::~function_1(function_1 *this)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc));
  *puVar1 = &PTR_FUN_004119fc;
  puVar1[2] = &PTR_FUN_00411a10;
  puVar1[0x25] = &PTR_FUN_00411a24;
  puVar1[3] = &PTR_FUN_00411844;
  FUN_00278300(puVar1 + 3);
  FUN_00248a60(puVar1 + 0x11);
  puVar1[3] = &PTR_FUN_004110b0;
  FUN_0024a980(puVar1 + 10);
  puVar1[1] = 0;
  puVar1[2] = &DAT_00411948;
  *puVar1 = &DAT_00411970;
  puVar1[0x25] = &PTR_FUN_004117c4;
  FUN_0028d4b0(puVar1 + 0x25);
  return;
}

