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

int __cxa_init_primary_exception(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  *(undefined4 *)(param_1 + -0x50) = param_2;
  *(undefined4 *)(param_1 + -0x60) = 0;
  *(undefined4 *)(param_1 + -0x4c) = param_3;
  uVar1 = std::get_unexpected();
  *(undefined4 *)(param_1 + -0x48) = uVar1;
  uVar1 = std::get_terminate();
  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;
  *(undefined4 *)(param_1 + -0x44) = uVar1;
  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;
  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;
  return param_1 + -0x60;
}



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

int FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  *(undefined4 *)(param_1 + -0x50) = param_2;
  *(undefined4 *)(param_1 + -0x60) = 0;
  *(undefined4 *)(param_1 + -0x4c) = param_3;
  uVar1 = FUN_001e57b0();
  *(undefined4 *)(param_1 + -0x48) = uVar1;
  uVar1 = FUN_001e5730();
  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;
  *(undefined4 *)(param_1 + -0x44) = uVar1;
  *(code **)(param_1 + -0x18) = FUN_001e5570;
  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;
  return param_1 + -0x60;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1a9a29
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESI + -0x50],EAX
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ESI + -0x60],0x0
MOV dword ptr [ESI + -0x4c],EAX
CALL 0x001e57b0
MOV dword ptr [ESI + -0x48],EAX
CALL 0x001e5730
MOV dword ptr [ESI + -0x20],0x432b2b00
MOV dword ptr [ESI + -0x44],EAX
LEA EAX,[EBX + 0xffe56570]
MOV dword ptr [ESI + -0x18],EAX
LEA EAX,[ESI + -0x60]
MOV dword ptr [ESI + -0x1c],0x474e5543
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}\n\n" comment (function_definition "int FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" primitive_type (function_declarator "FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + -0x50) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + -0x50) = param_2" (pointer_expression "*(undefined4 *)(param_1 + -0x50)" * (cast_expression "(undefined4 *)(param_1 + -0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x50)" ( (binary_expression "param_1 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + -0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x60)" * (cast_expression "(undefined4 *)(param_1 + -0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + -0x4c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + -0x4c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + -0x4c)" * (cast_expression "(undefined4 *)(param_1 + -0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x4c)" ( (binary_expression "param_1 + -0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_001e57b0();" (assignment_expression "uVar1 = FUN_001e57b0()" identifier = (call_expression "FUN_001e57b0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + -0x48) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x48) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x48)" * (cast_expression "(undefined4 *)(param_1 + -0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x48)" ( (binary_expression "param_1 + -0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_001e5730();" (assignment_expression "uVar1 = FUN_001e5730()" identifier = (call_expression "FUN_001e5730()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00;" (assignment_expression "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00" (pointer_expression "*(undefined4 *)(param_1 + -0x20)" * (cast_expression "(undefined4 *)(param_1 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x20)" ( (binary_expression "param_1 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + -0x44) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x44) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x44)" * (cast_expression "(undefined4 *)(param_1 + -0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x44)" ( (binary_expression "param_1 + -0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + -0x18) = FUN_001e5570;" (assignment_expression "*(code **)(param_1 + -0x18) = FUN_001e5570" (pointer_expression "*(code **)(param_1 + -0x18)" * (cast_expression "(code **)(param_1 + -0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + -0x18)" ( (binary_expression "param_1 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543;" (assignment_expression "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543" (pointer_expression "*(undefined4 *)(param_1 + -0x1c)" * (cast_expression "(undefined4 *)(param_1 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x1c)" ( (binary_expression "param_1 + -0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1 + -0x60;" return (binary_expression "param_1 + -0x60" identifier + number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __cxa_init_primary_exception(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = std::get_unexpected();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = std::get_terminate();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}\n\n" comment (function_definition "int __cxa_init_primary_exception(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = std::get_unexpected();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = std::get_terminate();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" primitive_type (function_declarator "__cxa_init_primary_exception(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = std::get_unexpected();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = std::get_terminate();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = __gxx_exception_cleanup;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + -0x50) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + -0x50) = param_2" (pointer_expression "*(undefined4 *)(param_1 + -0x50)" * (cast_expression "(undefined4 *)(param_1 + -0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x50)" ( (binary_expression "param_1 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + -0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x60)" * (cast_expression "(undefined4 *)(param_1 + -0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + -0x4c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + -0x4c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + -0x4c)" * (cast_expression "(undefined4 *)(param_1 + -0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x4c)" ( (binary_expression "param_1 + -0x4c" identifier + number_literal) )))) = identifier) ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (expression_statement "get_unexpected();" (call_expression "get_unexpected()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + -0x48) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x48) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x48)" * (cast_expression "(undefined4 *)(param_1 + -0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x48)" ( (binary_expression "param_1 + -0x48" identifier + number_literal) )))) = identifier) ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (expression_statement "get_terminate();" (call_expression "get_terminate()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00;" (assignment_expression "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00" (pointer_expression "*(undefined4 *)(param_1 + -0x20)" * (cast_expression "(undefined4 *)(param_1 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x20)" ( (binary_expression "param_1 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + -0x44) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x44) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x44)" * (cast_expression "(undefined4 *)(param_1 + -0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x44)" ( (binary_expression "param_1 + -0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + -0x18) = __gxx_exception_cleanup;" (assignment_expression "*(code **)(param_1 + -0x18) = __gxx_exception_cleanup" (pointer_expression "*(code **)(param_1 + -0x18)" * (cast_expression "(code **)(param_1 + -0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + -0x18)" ( (binary_expression "param_1 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543;" (assignment_expression "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543" (pointer_expression "*(undefined4 *)(param_1 + -0x1c)" * (cast_expression "(undefined4 *)(param_1 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x1c)" ( (binary_expression "param_1 + -0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1 + -0x60;" return (binary_expression "param_1 + -0x60" identifier + number_literal) ;) })))
(translation_unit "int FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}\n\n" (function_definition "int FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" primitive_type (function_declarator "FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + -0x50) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + -0x50) = param_2" (pointer_expression "*(undefined4 *)(param_1 + -0x50)" * (cast_expression "(undefined4 *)(param_1 + -0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x50)" ( (binary_expression "param_1 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + -0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x60)" * (cast_expression "(undefined4 *)(param_1 + -0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + -0x4c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + -0x4c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + -0x4c)" * (cast_expression "(undefined4 *)(param_1 + -0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x4c)" ( (binary_expression "param_1 + -0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_001e57b0();" (assignment_expression "uVar1 = FUN_001e57b0()" identifier = (call_expression "FUN_001e57b0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + -0x48) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x48) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x48)" * (cast_expression "(undefined4 *)(param_1 + -0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x48)" ( (binary_expression "param_1 + -0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = FUN_001e5730();" (assignment_expression "uVar1 = FUN_001e5730()" identifier = (call_expression "FUN_001e5730()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00;" (assignment_expression "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00" (pointer_expression "*(undefined4 *)(param_1 + -0x20)" * (cast_expression "(undefined4 *)(param_1 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x20)" ( (binary_expression "param_1 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + -0x44) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x44) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x44)" * (cast_expression "(undefined4 *)(param_1 + -0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x44)" ( (binary_expression "param_1 + -0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + -0x18) = FUN_001e5570;" (assignment_expression "*(code **)(param_1 + -0x18) = FUN_001e5570" (pointer_expression "*(code **)(param_1 + -0x18)" * (cast_expression "(code **)(param_1 + -0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + -0x18)" ( (binary_expression "param_1 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543;" (assignment_expression "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543" (pointer_expression "*(undefined4 *)(param_1 + -0x1c)" * (cast_expression "(undefined4 *)(param_1 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x1c)" ( (binary_expression "param_1 + -0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1 + -0x60;" return (binary_expression "param_1 + -0x60" identifier + number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return (binary_expression IDENT + LIT) ;) })))
(function_definition "int FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" (primitive_type "int") (function_declarator "FUN_001e55d0(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_001e55d0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *(undefined4 *)(param_1 + -0x50) = param_2;\n  *(undefined4 *)(param_1 + -0x60) = 0;\n  *(undefined4 *)(param_1 + -0x4c) = param_3;\n  uVar1 = FUN_001e57b0();\n  *(undefined4 *)(param_1 + -0x48) = uVar1;\n  uVar1 = FUN_001e5730();\n  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;\n  *(undefined4 *)(param_1 + -0x44) = uVar1;\n  *(code **)(param_1 + -0x18) = FUN_001e5570;\n  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;\n  return param_1 + -0x60;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x50) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + -0x50) = param_2" (pointer_expression "*(undefined4 *)(param_1 + -0x50)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x50)" (( "(") (binary_expression "param_1 + -0x50" (identifier "param_1") (+ "+") (number_literal "-0x50")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + -0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + -0x60)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x60)" (( "(") (binary_expression "param_1 + -0x60" (identifier "param_1") (+ "+") (number_literal "-0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x4c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + -0x4c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + -0x4c)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x4c)" (( "(") (binary_expression "param_1 + -0x4c" (identifier "param_1") (+ "+") (number_literal "-0x4c")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "uVar1 = FUN_001e57b0();" (assignment_expression "uVar1 = FUN_001e57b0()" (identifier "uVar1") (= "=") (call_expression "FUN_001e57b0()" (identifier "FUN_001e57b0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x48) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x48) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x48)" (( "(") (binary_expression "param_1 + -0x48" (identifier "param_1") (+ "+") (number_literal "-0x48")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = FUN_001e5730();" (assignment_expression "uVar1 = FUN_001e5730()" (identifier "uVar1") (= "=") (call_expression "FUN_001e5730()" (identifier "FUN_001e5730") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00;" (assignment_expression "*(undefined4 *)(param_1 + -0x20) = 0x432b2b00" (pointer_expression "*(undefined4 *)(param_1 + -0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x20)" (( "(") (binary_expression "param_1 + -0x20" (identifier "param_1") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (number_literal "0x432b2b00")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x44) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + -0x44) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + -0x44)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x44)" (( "(") (binary_expression "param_1 + -0x44" (identifier "param_1") (+ "+") (number_literal "-0x44")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(code **)(param_1 + -0x18) = FUN_001e5570;" (assignment_expression "*(code **)(param_1 + -0x18) = FUN_001e5570" (pointer_expression "*(code **)(param_1 + -0x18)" (* "*") (cast_expression "(code **)(param_1 + -0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + -0x18)" (( "(") (binary_expression "param_1 + -0x18" (identifier "param_1") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "FUN_001e5570")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543;" (assignment_expression "*(undefined4 *)(param_1 + -0x1c) = 0x474e5543" (pointer_expression "*(undefined4 *)(param_1 + -0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x1c)" (( "(") (binary_expression "param_1 + -0x1c" (identifier "param_1") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (number_literal "0x474e5543")) (; ";")) (return_statement "return param_1 + -0x60;" (return "return") (binary_expression "param_1 + -0x60" (identifier "param_1") (+ "+") (number_literal "-0x60")) (; ";")) (} "}")))

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

int function_1(int var_1,type_1 param_2,type_1 param_3)

{
  type_1 uVar1;
  
  *(type_1 *)(var_1 + -0x50) = param_2;
  *(type_1 *)(var_1 + -0x60) = 0;
  *(type_1 *)(var_1 + -0x4c) = param_3;
  uVar1 = std::var_2();
  *(type_1 *)(var_1 + -0x48) = uVar1;
  uVar1 = std::var_3();
  *(type_1 *)(var_1 + -0x20) = 0x432b2b00;
  *(type_1 *)(var_1 + -0x44) = uVar1;
  *(type_2 **)(var_1 + -0x18) = __gxx_exception_cleanup;
  *(type_1 *)(var_1 + -0x1c) = 0x474e5543;
  return var_1 + -0x60;
}


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

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

int MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  *(undefined4 *)(param_1 + -0x50) = param_2;
  *(undefined4 *)(param_1 + -0x60) = 0;
  *(undefined4 *)(param_1 + -0x4c) = param_3;
  uVar1 = FUN_001e57b0();
  *(undefined4 *)(param_1 + -0x48) = uVar1;
  uVar1 = FUN_001e5730();
  *(undefined4 *)(param_1 + -0x20) = 0x432b2b00;
  *(undefined4 *)(param_1 + -0x44) = uVar1;
  *(code **)(param_1 + -0x18) = FUN_001e5570;
  *(undefined4 *)(param_1 + -0x1c) = 0x474e5543;
  return param_1 + -0x60;
}

