
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ofstream::~ofstream() */

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

{
}



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

void FUN_003e0990(undefined4 *param_1)

{
  param_1[0x23] = &PTR_FUN_005e7940;
  *param_1 = &PTR_FUN_005e792c;
  param_1[1] = &PTR_FUN_005e7850;
  FUN_003de160(param_1 + 1);
  FUN_003ae8c0(param_1 + 0xf);
  param_1[1] = &PTR_FUN_005e70bc;
  FUN_003b07e0(param_1 + 8);
  *param_1 = &DAT_005e78f4;
  param_1[0x23] = &PTR_FUN_005e77d0;
  FUN_003f3310(param_1 + 0x23);
  FUN_003ae080(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x209669
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
LEA EAX,[EBX + 0xffffd920]
LEA EDX,[EAX + 0xc]
ADD EAX,0x20
MOV dword ptr [ESI + 0x8c],EAX
LEA EAX,[EBX + 0xffffd848]
MOV dword ptr [ESI],EDX
ADD EAX,0x8
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[ESI + 0x4]
PUSH EAX
CALL 0x003de160
LEA EAX,[ESI + 0x3c]
MOV dword ptr [ESP],EAX
CALL 0x003ae8c0
LEA EAX,[EBX + 0xffffd0b4]
ADD EAX,0x8
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[ESI + 0x20]
MOV dword ptr [ESP],EAX
CALL 0x003b07e0
LEA EAX,[EBX + 0xffffd8f4]
MOV dword ptr [ESI],EAX
LEA EAX,[EBX + 0xffffd7c8]
ADD EAX,0x8
MOV dword ptr [ESI + 0x8c],EAX
LEA EAX,[ESI + 0x8c]
MOV dword ptr [ESP],EAX
CALL 0x003f3310
MOV dword ptr [ESP],ESI
CALL 0x003ae080
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_003e0990(undefined4 *param_1)\n\n{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_003e0990(undefined4 *param_1)\n\n{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_003e0990(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}" { (expression_statement "param_1[0x23] = &PTR_FUN_005e7940;" (assignment_expression "param_1[0x23] = &PTR_FUN_005e7940" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e7940" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_005e792c;" (assignment_expression "*param_1 = &PTR_FUN_005e792c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_005e792c" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_005e7850;" (assignment_expression "param_1[1] = &PTR_FUN_005e7850" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e7850" & identifier)) ;) (expression_statement "FUN_003de160(param_1 + 1);" (call_expression "FUN_003de160(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_003ae8c0(param_1 + 0xf);" (call_expression "FUN_003ae8c0(param_1 + 0xf)" identifier (argument_list "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) ))) ;) (expression_statement "param_1[1] = &PTR_FUN_005e70bc;" (assignment_expression "param_1[1] = &PTR_FUN_005e70bc" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e70bc" & identifier)) ;) (expression_statement "FUN_003b07e0(param_1 + 8);" (call_expression "FUN_003b07e0(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*param_1 = &DAT_005e78f4;" (assignment_expression "*param_1 = &DAT_005e78f4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_005e78f4" & identifier)) ;) (expression_statement "param_1[0x23] = &PTR_FUN_005e77d0;" (assignment_expression "param_1[0x23] = &PTR_FUN_005e77d0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e77d0" & identifier)) ;) (expression_statement "FUN_003f3310(param_1 + 0x23);" (call_expression "FUN_003f3310(param_1 + 0x23)" identifier (argument_list "(param_1 + 0x23)" ( (binary_expression "param_1 + 0x23" identifier + number_literal) ))) ;) (expression_statement "FUN_003ae080(param_1);" (call_expression "FUN_003ae080(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ofstream::~ofstream() */\n\nvoid __thiscall std::ofstream::~ofstream(ofstream *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall std::ofstream::~ofstream(ofstream *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ofstream::~" identifier : : identifier : : ~) (function_declarator "ofstream(ofstream *this)" identifier (parameter_list "(ofstream *this)" ( (parameter_declaration "ofstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_003e0990(undefined4 *param_1)\n\n{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}\n\n" (function_definition "void FUN_003e0990(undefined4 *param_1)\n\n{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_003e0990(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}" { (expression_statement "param_1[0x23] = &PTR_FUN_005e7940;" (assignment_expression "param_1[0x23] = &PTR_FUN_005e7940" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e7940" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_005e792c;" (assignment_expression "*param_1 = &PTR_FUN_005e792c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_005e792c" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_005e7850;" (assignment_expression "param_1[1] = &PTR_FUN_005e7850" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e7850" & identifier)) ;) (expression_statement "FUN_003de160(param_1 + 1);" (call_expression "FUN_003de160(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_003ae8c0(param_1 + 0xf);" (call_expression "FUN_003ae8c0(param_1 + 0xf)" identifier (argument_list "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) ))) ;) (expression_statement "param_1[1] = &PTR_FUN_005e70bc;" (assignment_expression "param_1[1] = &PTR_FUN_005e70bc" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e70bc" & identifier)) ;) (expression_statement "FUN_003b07e0(param_1 + 8);" (call_expression "FUN_003b07e0(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*param_1 = &DAT_005e78f4;" (assignment_expression "*param_1 = &DAT_005e78f4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_005e78f4" & identifier)) ;) (expression_statement "param_1[0x23] = &PTR_FUN_005e77d0;" (assignment_expression "param_1[0x23] = &PTR_FUN_005e77d0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_005e77d0" & identifier)) ;) (expression_statement "FUN_003f3310(param_1 + 0x23);" (call_expression "FUN_003f3310(param_1 + 0x23)" identifier (argument_list "(param_1 + 0x23)" ( (binary_expression "param_1 + 0x23" identifier + number_literal) ))) ;) (expression_statement "FUN_003ae080(param_1);" (call_expression "FUN_003ae080(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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) ))) ;) (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 (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) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_003e0990(undefined4 *param_1)\n\n{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003e0990(undefined4 *param_1)" (identifier "FUN_003e0990") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  param_1[0x23] = &PTR_FUN_005e7940;\n  *param_1 = &PTR_FUN_005e792c;\n  param_1[1] = &PTR_FUN_005e7850;\n  FUN_003de160(param_1 + 1);\n  FUN_003ae8c0(param_1 + 0xf);\n  param_1[1] = &PTR_FUN_005e70bc;\n  FUN_003b07e0(param_1 + 8);\n  *param_1 = &DAT_005e78f4;\n  param_1[0x23] = &PTR_FUN_005e77d0;\n  FUN_003f3310(param_1 + 0x23);\n  FUN_003ae080(param_1);\n  return;\n}" ({ "{") (expression_statement "param_1[0x23] = &PTR_FUN_005e7940;" (assignment_expression "param_1[0x23] = &PTR_FUN_005e7940" (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (= "=") (pointer_expression "&PTR_FUN_005e7940" (& "&") (identifier "PTR_FUN_005e7940"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_005e792c;" (assignment_expression "*param_1 = &PTR_FUN_005e792c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_005e792c" (& "&") (identifier "PTR_FUN_005e792c"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_005e7850;" (assignment_expression "param_1[1] = &PTR_FUN_005e7850" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_005e7850" (& "&") (identifier "PTR_FUN_005e7850"))) (; ";")) (expression_statement "FUN_003de160(param_1 + 1);" (call_expression "FUN_003de160(param_1 + 1)" (identifier "FUN_003de160") (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_003ae8c0(param_1 + 0xf);" (call_expression "FUN_003ae8c0(param_1 + 0xf)" (identifier "FUN_003ae8c0") (argument_list "(param_1 + 0xf)" (( "(") (binary_expression "param_1 + 0xf" (identifier "param_1") (+ "+") (number_literal "0xf")) () ")"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_005e70bc;" (assignment_expression "param_1[1] = &PTR_FUN_005e70bc" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_005e70bc" (& "&") (identifier "PTR_FUN_005e70bc"))) (; ";")) (expression_statement "FUN_003b07e0(param_1 + 8);" (call_expression "FUN_003b07e0(param_1 + 8)" (identifier "FUN_003b07e0") (argument_list "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "*param_1 = &DAT_005e78f4;" (assignment_expression "*param_1 = &DAT_005e78f4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_005e78f4" (& "&") (identifier "DAT_005e78f4"))) (; ";")) (expression_statement "param_1[0x23] = &PTR_FUN_005e77d0;" (assignment_expression "param_1[0x23] = &PTR_FUN_005e77d0" (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (= "=") (pointer_expression "&PTR_FUN_005e77d0" (& "&") (identifier "PTR_FUN_005e77d0"))) (; ";")) (expression_statement "FUN_003f3310(param_1 + 0x23);" (call_expression "FUN_003f3310(param_1 + 0x23)" (identifier "FUN_003f3310") (argument_list "(param_1 + 0x23)" (( "(") (binary_expression "param_1 + 0x23" (identifier "param_1") (+ "+") (number_literal "0x23")) () ")"))) (; ";")) (expression_statement "FUN_003ae080(param_1);" (call_expression "FUN_003ae080(param_1)" (identifier "FUN_003ae080") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ofstream::~ofstream() */

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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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))))) (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: (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))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  param_1[0x23] = &PTR_FUN_005e7940;
  *param_1 = &PTR_FUN_005e792c;
  param_1[1] = &PTR_FUN_005e7850;
  FUN_003de160(param_1 + 1);
  FUN_003ae8c0(param_1 + 0xf);
  param_1[1] = &PTR_FUN_005e70bc;
  FUN_003b07e0(param_1 + 8);
  *param_1 = &DAT_005e78f4;
  param_1[0x23] = &PTR_FUN_005e77d0;
  FUN_003f3310(param_1 + 0x23);
  FUN_003ae080(param_1);
  return;
}

