
void __regparm3 __cxa_call_unexpected_cold_6(undefined4 param_1)

{
  undefined4 *puVar1;
  char cVar2;
  int *piVar3;
  undefined4 *puVar4;
  int unaff_EBP;
  int unaff_ESI;
  long unaff_EDI;
  
  __cxa_begin_catch(param_1);
  piVar3 = (int *)__cxa_get_globals_fast();
  puVar1 = (undefined4 *)*piVar3;
  puVar4 = puVar1 + 0x14;
  if ((*(byte *)(puVar1 + 0xc) & 1) != 0) {
    puVar4 = (undefined4 *)*puVar1;
  }
  *(lsda_header_info **)(unaff_EBP + -0x44) = (lsda_header_info *)(unaff_EBP + -0x30);
                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */
  parse_lsda_header((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),
                    (lsda_header_info *)(unaff_EBP + -0x30));
  cVar2 = check_exception_spec
                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,
                     unaff_EDI);
  if (cVar2 == '\0') {
    cVar2 = check_exception_spec
                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),
                       (void *)0x0,unaff_EDI);
    if (cVar2 == '\0') {
                    /* WARNING: Subroutine does not return */
      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));
    }
    piVar3 = (int *)__cxa_allocate_exception(4);
    *piVar3 = unaff_ESI + -0x30b8;
                    /* WARNING: Subroutine does not return */
    __cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */
  __cxa_rethrow();
}



void __regparm3 FUN_00031eb2(undefined4 param_1)

{
  char cVar1;
  int *piVar2;
  int unaff_EBP;
  int unaff_ESI;
  
  FUN_001e64c0(param_1);
  FUN_001e62b0();
  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;
                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */
  FUN_001e5b10();
  cVar1 = FUN_001e5a20();
  if (cVar1 != '\0') {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */
    FUN_001e5680();
  }
  cVar1 = FUN_001e5a20();
  if (cVar1 == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));
  }
  piVar2 = (int *)FUN_001e6be0(4);
  *piVar2 = unaff_ESI + -0x30b8;
                    /* WARNING: Subroutine does not return */
  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));
}


SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x001e64c0
CALL 0x001e62b0
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
LEA EBX,[EAX + 0x50]
TEST byte ptr [EAX + 0x30],0x1
JNZ 0x00031f24
LEA EAX,[EBP + -0x30]
MOV EDX,dword ptr [EBP + -0x3c]
MOV dword ptr [EBP + -0x44],EAX
MOV ECX,EAX
XOR EAX,EAX
CALL 0x001e5b10
SUB ESP,0xc
MOV EDX,dword ptr [EBX + -0x50]
MOV EAX,dword ptr [EBP + -0x44]
MOV ECX,EBX
PUSH EDI
CALL 0x001e5a20
ADD ESP,0x10
TEST AL,AL
JNZ 0x00031f3f
SUB ESP,0xc
MOV EAX,dword ptr [EBP + -0x44]
XOR ECX,ECX
PUSH EDI
LEA EDI,[ESI + 0xffffcf10]
MOV EDX,EDI
CALL 0x001e5a20
ADD ESP,0x10
TEST AL,AL
JNZ 0x00031f46
SUB ESP,0xc
PUSH dword ptr [EBP + -0x40]
MOV EBX,ESI
CALL 0x001e56f0
MOV EBX,dword ptr [EAX]
JMP 0x00031ed0
MOV EBX,ESI
CALL 0x001e5680
SUB ESP,0xc
MOV EBX,ESI
PUSH 0x4
CALL 0x001e6be0
LEA EDX,[ESI + 0xffffcf40]
ADD ESP,0xc
ADD EDX,0x8
MOV dword ptr [EAX],EDX
PUSH dword ptr [ESI + 0xffffff94]
PUSH EDI
PUSH EAX
CALL 0x001e5630
(translation_unit "void __regparm3 FUN_00031eb2(undefined4 param_1)\n\n{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */\n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}\n\n" (function_definition "void __regparm3 FUN_00031eb2(undefined4 param_1)\n\n{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */\n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00031eb2(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */\n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_001e62b0();" (call_expression "FUN_001e62b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;" (assignment_expression "*(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30" (pointer_expression "*(int *)(unaff_EBP + -0x44)" * (cast_expression "(int *)(unaff_EBP + -0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x44)" ( (binary_expression "unaff_EBP + -0x44" identifier + number_literal) )))) = (binary_expression "unaff_EBP + -0x30" identifier + number_literal)) ;) comment (expression_statement "FUN_001e5b10();" (call_expression "FUN_001e5b10()" identifier (argument_list "()" ( ))) ;) (expression_statement "cVar1 = FUN_001e5a20();" (assignment_expression "cVar1 = FUN_001e5a20()" identifier = (call_expression "FUN_001e5a20()" identifier (argument_list "()" ( )))) ;) (if_statement "if (cVar1 != '\0') {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n    FUN_001e5680();\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n    FUN_001e5680();\n  }" { comment comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "cVar1 = FUN_001e5a20();" (assignment_expression "cVar1 = FUN_001e5a20()" identifier = (call_expression "FUN_001e5a20()" identifier (argument_list "()" ( )))) ;) (if_statement "if (cVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }" { comment (expression_statement "FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));" (call_expression "FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40))" identifier (argument_list "(*(undefined4 *)(unaff_EBP + -0x40))" ( (pointer_expression "*(undefined4 *)(unaff_EBP + -0x40)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x40)" ( (binary_expression "unaff_EBP + -0x40" identifier + number_literal) )))) ))) ;) })) (expression_statement "piVar2 = (int *)FUN_001e6be0(4);" (assignment_expression "piVar2 = (int *)FUN_001e6be0(4)" identifier = (cast_expression "(int *)FUN_001e6be0(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e6be0(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "*piVar2 = unaff_ESI + -0x30b8;" (assignment_expression "*piVar2 = unaff_ESI + -0x30b8" (pointer_expression "*piVar2" * identifier) = (binary_expression "unaff_ESI + -0x30b8" identifier + number_literal)) ;) comment (expression_statement "FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));" (call_expression "FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c))" identifier (argument_list "(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c))" ( identifier , (binary_expression "unaff_ESI + -0x30f0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(unaff_ESI + -0x6c)" * (cast_expression "(undefined4 *)(unaff_ESI + -0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0x6c)" ( (binary_expression "unaff_ESI + -0x6c" identifier + number_literal) )))) ))) ;) })))
(translation_unit "void __regparm3 __cxa_call_unexpected_cold_6(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int unaff_EBP;\n  int unaff_ESI;\n  long unaff_EDI;\n  \n  __cxa_begin_catch(param_1);\n  piVar3 = (int *)__cxa_get_globals_fast();\n  puVar1 = (undefined4 *)*piVar3;\n  puVar4 = puVar1 + 0x14;\n  if ((*(byte *)(puVar1 + 0xc) & 1) != 0) {\n    puVar4 = (undefined4 *)*puVar1;\n  }\n  *(lsda_header_info **)(unaff_EBP + -0x44) = (lsda_header_info *)(unaff_EBP + -0x30);\n                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */\n  parse_lsda_header((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),\n                    (lsda_header_info *)(unaff_EBP + -0x30));\n  cVar2 = check_exception_spec\n                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI);\n  if (cVar2 == '\0') {\n    cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI);\n    if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }\n    piVar3 = (int *)__cxa_allocate_exception(4);\n    *piVar3 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n  __cxa_rethrow();\n}\n\n" (function_definition "void __regparm3 __cxa_call_unexpected_cold_6(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int unaff_EBP;\n  int unaff_ESI;\n  long unaff_EDI;\n  \n  __cxa_begin_catch(param_1);\n  piVar3 = (int *)__cxa_get_globals_fast();\n  puVar1 = (undefined4 *)*piVar3;\n  puVar4 = puVar1 + 0x14;\n  if ((*(byte *)(puVar1 + 0xc) & 1) != 0) {\n    puVar4 = (undefined4 *)*puVar1;\n  }\n  *(lsda_header_info **)(unaff_EBP + -0x44) = (lsda_header_info *)(unaff_EBP + -0x30);\n                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */\n  parse_lsda_header((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),\n                    (lsda_header_info *)(unaff_EBP + -0x30));\n  cVar2 = check_exception_spec\n                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI);\n  if (cVar2 == '\0') {\n    cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI);\n    if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }\n    piVar3 = (int *)__cxa_allocate_exception(4);\n    *piVar3 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n  __cxa_rethrow();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "__cxa_call_unexpected_cold_6(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  int *piVar3;\n  undefined4 *puVar4;\n  int unaff_EBP;\n  int unaff_ESI;\n  long unaff_EDI;\n  \n  __cxa_begin_catch(param_1);\n  piVar3 = (int *)__cxa_get_globals_fast();\n  puVar1 = (undefined4 *)*piVar3;\n  puVar4 = puVar1 + 0x14;\n  if ((*(byte *)(puVar1 + 0xc) & 1) != 0) {\n    puVar4 = (undefined4 *)*puVar1;\n  }\n  *(lsda_header_info **)(unaff_EBP + -0x44) = (lsda_header_info *)(unaff_EBP + -0x30);\n                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */\n  parse_lsda_header((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),\n                    (lsda_header_info *)(unaff_EBP + -0x30));\n  cVar2 = check_exception_spec\n                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI);\n  if (cVar2 == '\0') {\n    cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI);\n    if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }\n    piVar3 = (int *)__cxa_allocate_exception(4);\n    *piVar3 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */\n  __cxa_rethrow();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (declaration "long unaff_EDI;" (sized_type_specifier "long" long) identifier ;) (expression_statement "__cxa_begin_catch(param_1);" (call_expression "__cxa_begin_catch(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "piVar3 = (int *)__cxa_get_globals_fast();" (assignment_expression "piVar3 = (int *)__cxa_get_globals_fast()" identifier = (cast_expression "(int *)__cxa_get_globals_fast()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__cxa_get_globals_fast()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar1 = (undefined4 *)*piVar3;" (assignment_expression "puVar1 = (undefined4 *)*piVar3" identifier = (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "puVar4 = puVar1 + 0x14;" (assignment_expression "puVar4 = puVar1 + 0x14" identifier = (binary_expression "puVar1 + 0x14" identifier + number_literal)) ;) (if_statement "if ((*(byte *)(puVar1 + 0xc) & 1) != 0) {\n    puVar4 = (undefined4 *)*puVar1;\n  }" if (parenthesized_expression "((*(byte *)(puVar1 + 0xc) & 1) != 0)" ( (binary_expression "(*(byte *)(puVar1 + 0xc) & 1) != 0" (parenthesized_expression "(*(byte *)(puVar1 + 0xc) & 1)" ( (binary_expression "*(byte *)(puVar1 + 0xc) & 1" (pointer_expression "*(byte *)(puVar1 + 0xc)" * (cast_expression "(byte *)(puVar1 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0xc)" ( (binary_expression "puVar1 + 0xc" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)*puVar1;\n  }" { (expression_statement "puVar4 = (undefined4 *)*puVar1;" (assignment_expression "puVar4 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) (expression_statement "*(lsda_header_info **)(unaff_EBP + -0x44) = (lsda_header_info *)(unaff_EBP + -0x30);" (assignment_expression "*(lsda_header_info **)(unaff_EBP + -0x44) = (lsda_header_info *)(unaff_EBP + -0x30)" (pointer_expression "*(lsda_header_info **)(unaff_EBP + -0x44)" * (cast_expression "(lsda_header_info **)(unaff_EBP + -0x44)" ( (type_descriptor "lsda_header_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x44)" ( (binary_expression "unaff_EBP + -0x44" identifier + number_literal) )))) = (cast_expression "(lsda_header_info *)(unaff_EBP + -0x30)" ( (type_descriptor "lsda_header_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x30)" ( (binary_expression "unaff_EBP + -0x30" identifier + number_literal) )))) ;) comment (expression_statement "parse_lsda_header((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),\n                    (lsda_header_info *)(unaff_EBP + -0x30));" (call_expression "parse_lsda_header((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),\n                    (lsda_header_info *)(unaff_EBP + -0x30))" identifier (argument_list "((_Unwind_Context *)0x0,*(uchar **)(unaff_EBP + -0x3c),\n                    (lsda_header_info *)(unaff_EBP + -0x30))" ( (cast_expression "(_Unwind_Context *)0x0" ( (type_descriptor "_Unwind_Context *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "*(uchar **)(unaff_EBP + -0x3c)" * (cast_expression "(uchar **)(unaff_EBP + -0x3c)" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x3c)" ( (binary_expression "unaff_EBP + -0x3c" identifier + number_literal) )))) , (cast_expression "(lsda_header_info *)(unaff_EBP + -0x30)" ( (type_descriptor "lsda_header_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x30)" ( (binary_expression "unaff_EBP + -0x30" identifier + number_literal) ))) ))) ;) (expression_statement "cVar2 = check_exception_spec\n                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI);" (assignment_expression "cVar2 = check_exception_spec\n                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI)" identifier = (call_expression "check_exception_spec\n                    (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI)" identifier (argument_list "(*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)puVar4[-0x14],puVar4,\n                     unaff_EDI)" ( (pointer_expression "*(lsda_header_info **)(unaff_EBP + -0x44)" * (cast_expression "(lsda_header_info **)(unaff_EBP + -0x44)" ( (type_descriptor "lsda_header_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x44)" ( (binary_expression "unaff_EBP + -0x44" identifier + number_literal) )))) , (cast_expression "(type_info *)puVar4[-0x14]" ( (type_descriptor "type_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[-0x14]" identifier [ number_literal ])) , identifier , identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI);\n    if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }\n    piVar3 = (int *)__cxa_allocate_exception(4);\n    *piVar3 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI);\n    if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }\n    piVar3 = (int *)__cxa_allocate_exception(4);\n    *piVar3 = unaff_ESI + -0x30b8;\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));\n  }" { (expression_statement "cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI);" (assignment_expression "cVar2 = check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI)" identifier = (call_expression "check_exception_spec\n                      (*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI)" identifier (argument_list "(*(lsda_header_info **)(unaff_EBP + -0x44),(type_info *)(unaff_ESI + -0x30f0),\n                       (void *)0x0,unaff_EDI)" ( (pointer_expression "*(lsda_header_info **)(unaff_EBP + -0x44)" * (cast_expression "(lsda_header_info **)(unaff_EBP + -0x44)" ( (type_descriptor "lsda_header_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x44)" ( (binary_expression "unaff_EBP + -0x44" identifier + number_literal) )))) , (cast_expression "(type_info *)(unaff_ESI + -0x30f0)" ( (type_descriptor "type_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0x30f0)" ( (binary_expression "unaff_ESI + -0x30f0" identifier + number_literal) ))) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));\n    }" { comment (labeled_statement "__cxxabiv1::__terminate(*(_func_void **)(unaff_EBP + -0x40));" statement_identifier : (ERROR ":" :) (expression_statement "__terminate(*(_func_void **)(unaff_EBP + -0x40));" (call_expression "__terminate(*(_func_void **)(unaff_EBP + -0x40))" identifier (argument_list "(*(_func_void **)(unaff_EBP + -0x40))" ( (pointer_expression "*(_func_void **)(unaff_EBP + -0x40)" * (cast_expression "(_func_void **)(unaff_EBP + -0x40)" ( (type_descriptor "_func_void **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x40)" ( (binary_expression "unaff_EBP + -0x40" identifier + number_literal) )))) ))) ;)) })) (expression_statement "piVar3 = (int *)__cxa_allocate_exception(4);" (assignment_expression "piVar3 = (int *)__cxa_allocate_exception(4)" identifier = (cast_expression "(int *)__cxa_allocate_exception(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__cxa_allocate_exception(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "*piVar3 = unaff_ESI + -0x30b8;" (assignment_expression "*piVar3 = unaff_ESI + -0x30b8" (pointer_expression "*piVar3" * identifier) = (binary_expression "unaff_ESI + -0x30b8" identifier + number_literal)) ;) comment (expression_statement "__cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c));" (call_expression "__cxa_throw(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c))" identifier (argument_list "(piVar3,(type_info *)(unaff_ESI + -0x30f0),*(undefined4 *)(unaff_ESI + -0x6c))" ( identifier , (cast_expression "(type_info *)(unaff_ESI + -0x30f0)" ( (type_descriptor "type_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0x30f0)" ( (binary_expression "unaff_ESI + -0x30f0" identifier + number_literal) ))) , (pointer_expression "*(undefined4 *)(unaff_ESI + -0x6c)" * (cast_expression "(undefined4 *)(unaff_ESI + -0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0x6c)" ( (binary_expression "unaff_ESI + -0x6c" identifier + number_literal) )))) ))) ;) })) comment comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_00031eb2(undefined4 param_1)\n\n{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    \n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    \n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}\n\n" (function_definition "void __regparm3 FUN_00031eb2(undefined4 param_1)\n\n{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    \n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    \n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00031eb2(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    \n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    \n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_001e62b0();" (call_expression "FUN_001e62b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;" (assignment_expression "*(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30" (pointer_expression "*(int *)(unaff_EBP + -0x44)" * (cast_expression "(int *)(unaff_EBP + -0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x44)" ( (binary_expression "unaff_EBP + -0x44" identifier + number_literal) )))) = (binary_expression "unaff_EBP + -0x30" identifier + number_literal)) ;) (expression_statement "FUN_001e5b10();" (call_expression "FUN_001e5b10()" identifier (argument_list "()" ( ))) ;) (expression_statement "cVar1 = FUN_001e5a20();" (assignment_expression "cVar1 = FUN_001e5a20()" identifier = (call_expression "FUN_001e5a20()" identifier (argument_list "()" ( )))) ;) (if_statement "if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n                    \n    FUN_001e5680();\n  }" { (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "cVar1 = FUN_001e5a20();" (assignment_expression "cVar1 = FUN_001e5a20()" identifier = (call_expression "FUN_001e5a20()" identifier (argument_list "()" ( )))) ;) (if_statement "if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }" { (expression_statement "FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));" (call_expression "FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40))" identifier (argument_list "(*(undefined4 *)(unaff_EBP + -0x40))" ( (pointer_expression "*(undefined4 *)(unaff_EBP + -0x40)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x40)" ( (binary_expression "unaff_EBP + -0x40" identifier + number_literal) )))) ))) ;) })) (expression_statement "piVar2 = (int *)FUN_001e6be0(4);" (assignment_expression "piVar2 = (int *)FUN_001e6be0(4)" identifier = (cast_expression "(int *)FUN_001e6be0(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e6be0(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "*piVar2 = unaff_ESI + -0x30b8;" (assignment_expression "*piVar2 = unaff_ESI + -0x30b8" (pointer_expression "*piVar2" * identifier) = (binary_expression "unaff_ESI + -0x30b8" identifier + number_literal)) ;) (expression_statement "FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));" (call_expression "FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c))" identifier (argument_list "(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c))" ( identifier , (binary_expression "unaff_ESI + -0x30f0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(unaff_ESI + -0x6c)" * (cast_expression "(undefined4 *)(unaff_ESI + -0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0x6c)" ( (binary_expression "unaff_ESI + -0x6c" identifier + number_literal) )))) ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (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) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })))
(function_definition "void __regparm3 FUN_00031eb2(undefined4 param_1)\n\n{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    \n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    \n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00031eb2(undefined4 param_1)" (identifier "FUN_00031eb2") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  char cVar1;\n  int *piVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_001e64c0(param_1);\n  FUN_001e62b0();\n  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;\n                    \n  FUN_001e5b10();\n  cVar1 = FUN_001e5a20();\n  if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }\n  cVar1 = FUN_001e5a20();\n  if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }\n  piVar2 = (int *)FUN_001e6be0(4);\n  *piVar2 = unaff_ESI + -0x30b8;\n                    \n  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int unaff_ESI;" (primitive_type "int") (identifier "unaff_ESI") (; ";")) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" (identifier "FUN_001e64c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_001e62b0();" (call_expression "FUN_001e62b0()" (identifier "FUN_001e62b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;" (assignment_expression "*(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30" (pointer_expression "*(int *)(unaff_EBP + -0x44)" (* "*") (cast_expression "(int *)(unaff_EBP + -0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x44)" (( "(") (binary_expression "unaff_EBP + -0x44" (identifier "unaff_EBP") (+ "+") (number_literal "-0x44")) () ")")))) (= "=") (binary_expression "unaff_EBP + -0x30" (identifier "unaff_EBP") (+ "+") (number_literal "-0x30"))) (; ";")) (expression_statement "FUN_001e5b10();" (call_expression "FUN_001e5b10()" (identifier "FUN_001e5b10") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "cVar1 = FUN_001e5a20();" (assignment_expression "cVar1 = FUN_001e5a20()" (identifier "cVar1") (= "=") (call_expression "FUN_001e5a20()" (identifier "FUN_001e5a20") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (cVar1 != '\0') {\n                    \n                    \n    FUN_001e5680();\n  }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n                    \n    FUN_001e5680();\n  }" ({ "{") (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "cVar1 = FUN_001e5a20();" (assignment_expression "cVar1 = FUN_001e5a20()" (identifier "cVar1") (= "=") (call_expression "FUN_001e5a20()" (identifier "FUN_001e5a20") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (cVar1 == '\0') {\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));\n  }" ({ "{") (expression_statement "FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));" (call_expression "FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40))" (identifier "FUN_001e56f0") (argument_list "(*(undefined4 *)(unaff_EBP + -0x40))" (( "(") (pointer_expression "*(undefined4 *)(unaff_EBP + -0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_EBP + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x40)" (( "(") (binary_expression "unaff_EBP + -0x40" (identifier "unaff_EBP") (+ "+") (number_literal "-0x40")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)FUN_001e6be0(4);" (assignment_expression "piVar2 = (int *)FUN_001e6be0(4)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_001e6be0(4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e6be0(4)" (identifier "FUN_001e6be0") (argument_list "(4)" (( "(") (number_literal "4") () ")"))))) (; ";")) (expression_statement "*piVar2 = unaff_ESI + -0x30b8;" (assignment_expression "*piVar2 = unaff_ESI + -0x30b8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (binary_expression "unaff_ESI + -0x30b8" (identifier "unaff_ESI") (+ "+") (number_literal "-0x30b8"))) (; ";")) (expression_statement "FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));" (call_expression "FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c))" (identifier "FUN_001e5630") (argument_list "(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c))" (( "(") (identifier "piVar2") (, ",") (binary_expression "unaff_ESI + -0x30f0" (identifier "unaff_ESI") (+ "+") (number_literal "-0x30f0")) (, ",") (pointer_expression "*(undefined4 *)(unaff_ESI + -0x6c)" (* "*") (cast_expression "(undefined4 *)(unaff_ESI + -0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_ESI + -0x6c)" (( "(") (binary_expression "unaff_ESI + -0x6c" (identifier "unaff_ESI") (+ "+") (number_literal "-0x6c")) () ")")))) () ")"))) (; ";")) (} "}")))

void __regparm3 function_1(type_1 param_1)

{
  type_1 *var_3;
  char var_7;
  int *piVar3;
  type_1 *puVar4;
  int var_4;
  int var_8;
  long unaff_EDI;
  
  var_1(param_1);
  piVar3 = (int *)var_2();
  var_3 = (type_1 *)*piVar3;
  puVar4 = var_3 + 0x14;
  if ((*(type_2 *)(var_3 + 0xc) & 1) != 0) {
    puVar4 = (type_1 *)*var_3;
  }
  *(type_3 **)(var_4 + -0x44) = (type_3 *)(var_4 + -0x30);
                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */
  var_5((type_4 *)0x0,*(type_5 **)(var_4 + -0x3c),
                    (type_3 *)(var_4 + -0x30));
  var_7 = var_6
                    (*(type_3 **)(var_4 + -0x44),(type_6 *)puVar4[-0x14],puVar4,
                     unaff_EDI);
  if (var_7 == '\0') {
    var_7 = var_6
                      (*(type_3 **)(var_4 + -0x44),(type_6 *)(var_8 + -0x30f0),
                       (void *)0x0,unaff_EDI);
    if (var_7 == '\0') {
                    /* WARNING: Subroutine does not return */
      __cxxabiv1::var_9(*(type_7 **)(var_4 + -0x40));
    }
    piVar3 = (int *)var_10(4);
    *piVar3 = var_8 + -0x30b8;
                    /* WARNING: Subroutine does not return */
    var_11(piVar3,(type_6 *)(var_8 + -0x30f0),*(type_1 *)(var_8 + -0x6c));
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */
  var_12();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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)))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (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)))))))))))

void __regparm3 MASKED(undefined4 param_1)

{
  char cVar1;
  int *piVar2;
  int unaff_EBP;
  int unaff_ESI;
  
  FUN_001e64c0(param_1);
  FUN_001e62b0();
  *(int *)(unaff_EBP + -0x44) = unaff_EBP + -0x30;
                    /* try { // try from 00031edd to 00031f0f has its CatchHandler @ 00031f28 */
  FUN_001e5b10();
  cVar1 = FUN_001e5a20();
  if (cVar1 != '\0') {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00031f41 to 00031f6c has its CatchHandler @ 00031f28 */
    FUN_001e5680();
  }
  cVar1 = FUN_001e5a20();
  if (cVar1 == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_001e56f0(*(undefined4 *)(unaff_EBP + -0x40));
  }
  piVar2 = (int *)FUN_001e6be0(4);
  *piVar2 = unaff_ESI + -0x30b8;
                    /* WARNING: Subroutine does not return */
  FUN_001e5630(piVar2,unaff_ESI + -0x30f0,*(undefined4 *)(unaff_ESI + -0x6c));
}

