
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::messages<wchar_t>::~messages() */

void __thiscall std::messages<wchar_t>::~messages(messages<wchar_t> *this)

{
}



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

void FUN_00412cf0(undefined4 *param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = param_1[3];
  *param_1 = &PTR_FUN_005e932c;
  iVar2 = FUN_003b05c0();
  if ((iVar1 != iVar2) && (iVar1 != 0)) {
    FUN_003ae020(iVar1);
  }
  FUN_003f6540(param_1 + 2);
  FUN_003aff10(param_1);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00050b50
ADD EBX,0x1d7304
MOV EDI,dword ptr [ESI + 0xc]
LEA EAX,[EBX + 0xfffff324]
ADD EAX,0x8
MOV dword ptr [ESI],EAX
CALL 0x003b05c0
CMP EDI,EAX
JZ 0x00412d29
TEST EDI,EDI
JZ 0x00412d29
SUB ESP,0xc
PUSH EDI
CALL 0x003ae020
ADD ESP,0x10
SUB ESP,0xc
LEA EAX,[ESI + 0x8]
PUSH EAX
CALL 0x003f6540
MOV dword ptr [ESP],ESI
CALL 0x003aff10
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00412cf0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_00412cf0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00412cf0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = param_1[3];" (assignment_expression "iVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = &PTR_FUN_005e932c;" (assignment_expression "*param_1 = &PTR_FUN_005e932c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_005e932c" & identifier)) ;) (expression_statement "iVar2 = FUN_003b05c0();" (assignment_expression "iVar2 = FUN_003b05c0()" identifier = (call_expression "FUN_003b05c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }" if (parenthesized_expression "((iVar1 != iVar2) && (iVar1 != 0))" ( (binary_expression "(iVar1 != iVar2) && (iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" ( (binary_expression "iVar1 != iVar2" identifier != identifier) )) && (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    FUN_003ae020(iVar1);\n  }" { (expression_statement "FUN_003ae020(iVar1);" (call_expression "FUN_003ae020(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "FUN_003f6540(param_1 + 2);" (call_expression "FUN_003f6540(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "FUN_003aff10(param_1);" (call_expression "FUN_003aff10(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::messages<wchar_t>::~messages() */\n\nvoid __thiscall std::messages<wchar_t>::~messages(messages<wchar_t> *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall std::messages<wchar_t>::~messages(messages<wchar_t> *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::messages<wchar_t>::~" identifier : : identifier < identifier > : : ~) (function_declarator "messages(messages<wchar_t> *this)" identifier (parameter_list "(messages<wchar_t> *this)" ( (parameter_declaration "messages<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_00412cf0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00412cf0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00412cf0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = param_1[3];" (assignment_expression "iVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = &PTR_FUN_005e932c;" (assignment_expression "*param_1 = &PTR_FUN_005e932c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_005e932c" & identifier)) ;) (expression_statement "iVar2 = FUN_003b05c0();" (assignment_expression "iVar2 = FUN_003b05c0()" identifier = (call_expression "FUN_003b05c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }" if (parenthesized_expression "((iVar1 != iVar2) && (iVar1 != 0))" ( (binary_expression "(iVar1 != iVar2) && (iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" ( (binary_expression "iVar1 != iVar2" identifier != identifier) )) && (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    FUN_003ae020(iVar1);\n  }" { (expression_statement "FUN_003ae020(iVar1);" (call_expression "FUN_003ae020(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "FUN_003f6540(param_1 + 2);" (call_expression "FUN_003f6540(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "FUN_003aff10(param_1);" (call_expression "FUN_003aff10(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 { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( 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_00412cf0(undefined4 *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00412cf0(undefined4 *param_1)" (identifier "FUN_00412cf0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = param_1[3];\n  *param_1 = &PTR_FUN_005e932c;\n  iVar2 = FUN_003b05c0();\n  if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }\n  FUN_003f6540(param_1 + 2);\n  FUN_003aff10(param_1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar1 = param_1[3];" (assignment_expression "iVar1 = param_1[3]" (identifier "iVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_005e932c;" (assignment_expression "*param_1 = &PTR_FUN_005e932c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_005e932c" (& "&") (identifier "PTR_FUN_005e932c"))) (; ";")) (expression_statement "iVar2 = FUN_003b05c0();" (assignment_expression "iVar2 = FUN_003b05c0()" (identifier "iVar2") (= "=") (call_expression "FUN_003b05c0()" (identifier "FUN_003b05c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar1 != iVar2) && (iVar1 != 0)) {\n    FUN_003ae020(iVar1);\n  }" (if "if") (parenthesized_expression "((iVar1 != iVar2) && (iVar1 != 0))" (( "(") (binary_expression "(iVar1 != iVar2) && (iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" (( "(") (binary_expression "iVar1 != iVar2" (identifier "iVar1") (!= "!=") (identifier "iVar2")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_003ae020(iVar1);\n  }" ({ "{") (expression_statement "FUN_003ae020(iVar1);" (call_expression "FUN_003ae020(iVar1)" (identifier "FUN_003ae020") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_003f6540(param_1 + 2);" (call_expression "FUN_003f6540(param_1 + 2)" (identifier "FUN_003f6540") (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "FUN_003aff10(param_1);" (call_expression "FUN_003aff10(param_1)" (identifier "FUN_003aff10") (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::messages<wchar_t>::~messages() */

void __thiscall std::function_1<wchar_t>::~function_1(function_1<wchar_t> *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 (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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)

{
  int iVar1;
  int iVar2;
  
  iVar1 = param_1[3];
  *param_1 = &PTR_FUN_005e932c;
  iVar2 = FUN_003b05c0();
  if ((iVar1 != iVar2) && (iVar1 != 0)) {
    FUN_003ae020(iVar1);
  }
  FUN_003f6540(param_1 + 2);
  FUN_003aff10(param_1);
  return;
}

