
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* __verbose_terminate_handler() [clone .cold.1] */

void __verbose_terminate_handler(void)

{
  FILE *__s;
  int *piVar1;
  undefined4 uVar2;
  int in_EDX;
  int unaff_EBP;
  int unaff_ESI;
  undefined4 *unaff_EDI;
  
                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e
                        */
  if (in_EDX == 1) {
    piVar1 = (int *)__cxa_begin_catch();
    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);
    __s = (FILE *)*unaff_EDI;
    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;
                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */
    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);
    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);
    fputc(10,(FILE *)*unaff_EDI);
    __cxa_end_catch();
  }
  else {
    __cxa_begin_catch();
    __cxa_end_catch();
  }
                    /* WARNING: Subroutine does not return */
  abort();
}



void __regparm3 FUN_0003472d(undefined4 param_1,int param_2)

{
  FILE *__s;
  int *piVar1;
  undefined4 uVar2;
  int unaff_EBP;
  int unaff_ESI;
  undefined4 *unaff_EDI;
  
                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e
                        */
  if (param_2 == 1) {
    piVar1 = (int *)FUN_001fe740(param_1);
    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);
    __s = (FILE *)*unaff_EDI;
    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;
                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */
    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);
    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);
    fputc(10,(FILE *)*unaff_EDI);
    FUN_001fe7e0();
  }
  else {
    FUN_001fe740(param_1);
    FUN_001fe7e0();
  }
                    /* WARNING: Subroutine does not return */
  abort();
}


NOP
SUB EDX,0x1
JNZ 0x00034799
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x001fe740
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP],EAX
CALL dword ptr [EDX + 0x8]
ADD ESP,0x10
PUSH dword ptr [EDI]
MOV dword ptr [EBP + -0x2c],EAX
LEA EAX,[ESI + 0xfff12ab1]
PUSH 0xb
PUSH 0x1
PUSH EAX
CALL 0x0002a730
POP ECX
POP EAX
PUSH dword ptr [EDI]
PUSH dword ptr [EBP + -0x2c]
CALL 0x0002a060
POP EAX
POP EDX
PUSH dword ptr [EDI]
PUSH 0xa
CALL 0x0002a800
ADD ESP,0x10
CALL 0x001fe7e0
MOV EBX,ESI
CALL 0x0002a080
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x001fe740
ADD ESP,0x10
CALL 0x001fe7e0
JMP 0x0003477d
(translation_unit "void __regparm3 FUN_0003472d(undefined4 param_1,int param_2)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e\n                        */\n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" (function_definition "void __regparm3 FUN_0003472d(undefined4 param_1,int param_2)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e\n                        */\n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003472d(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e\n                        */\n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "FILE *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (declaration "undefined4 *unaff_EDI;" type_identifier (pointer_declarator "*unaff_EDI" * identifier) ;) comment (if_statement "if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }" { (expression_statement "piVar1 = (int *)FUN_001fe740(param_1);" (assignment_expression "piVar1 = (int *)FUN_001fe740(param_1)" identifier = (cast_expression "(int *)FUN_001fe740(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fe740(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "uVar2 = (**(code **)(*piVar1 + 8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 8))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "__s = (FILE *)*unaff_EDI;" (assignment_expression "__s = (FILE *)*unaff_EDI" identifier = (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier))) ;) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);" (call_expression "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" identifier (argument_list "((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" ( (cast_expression "(void *)(unaff_ESI + -0xed54f)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0xed54f)" ( (binary_expression "unaff_ESI + -0xed54f" identifier + number_literal) ))) , number_literal , number_literal , identifier ))) ;) (expression_statement "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);" (call_expression "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" identifier (argument_list "(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" ( (pointer_expression "*(char **)(unaff_EBP + -0x2c)" * (cast_expression "(char **)(unaff_EBP + -0x2c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) , (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier)) ))) ;) (expression_statement "fputc(10,(FILE *)*unaff_EDI);" (call_expression "fputc(10,(FILE *)*unaff_EDI)" identifier (argument_list "(10,(FILE *)*unaff_EDI)" ( number_literal , (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier)) ))) ;) (expression_statement "FUN_001fe7e0();" (call_expression "FUN_001fe7e0()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" else (compound_statement "{\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" { (expression_statement "FUN_001fe740(param_1);" (call_expression "FUN_001fe740(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_001fe7e0();" (call_expression "FUN_001fe7e0()" identifier (argument_list "()" ( ))) ;) }))) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* __verbose_terminate_handler() [clone .cold.1] */\n\nvoid __verbose_terminate_handler(void)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int in_EDX;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e\n                        */\n  if (in_EDX == 1) {\n    piVar1 = (int *)__cxa_begin_catch();\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    __cxa_end_catch();\n  }\n  else {\n    __cxa_begin_catch();\n    __cxa_end_catch();\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment comment (function_definition "void __verbose_terminate_handler(void)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int in_EDX;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e\n                        */\n  if (in_EDX == 1) {\n    piVar1 = (int *)__cxa_begin_catch();\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    __cxa_end_catch();\n  }\n  else {\n    __cxa_begin_catch();\n    __cxa_end_catch();\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (function_declarator "__verbose_terminate_handler(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int in_EDX;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e\n                        */\n  if (in_EDX == 1) {\n    piVar1 = (int *)__cxa_begin_catch();\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    __cxa_end_catch();\n  }\n  else {\n    __cxa_begin_catch();\n    __cxa_end_catch();\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "FILE *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_EDX;" primitive_type identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (declaration "undefined4 *unaff_EDI;" type_identifier (pointer_declarator "*unaff_EDI" * identifier) ;) comment (if_statement "if (in_EDX == 1) {\n    piVar1 = (int *)__cxa_begin_catch();\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    __cxa_end_catch();\n  }\n  else {\n    __cxa_begin_catch();\n    __cxa_end_catch();\n  }" if (parenthesized_expression "(in_EDX == 1)" ( (binary_expression "in_EDX == 1" identifier == number_literal) )) (compound_statement "{\n    piVar1 = (int *)__cxa_begin_catch();\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */\n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    __cxa_end_catch();\n  }" { (expression_statement "piVar1 = (int *)__cxa_begin_catch();" (assignment_expression "piVar1 = (int *)__cxa_begin_catch()" identifier = (cast_expression "(int *)__cxa_begin_catch()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar2 = (**(code **)(*piVar1 + 8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 8))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "__s = (FILE *)*unaff_EDI;" (assignment_expression "__s = (FILE *)*unaff_EDI" identifier = (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier))) ;) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);" (call_expression "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" identifier (argument_list "((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" ( (cast_expression "(void *)(unaff_ESI + -0xed54f)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0xed54f)" ( (binary_expression "unaff_ESI + -0xed54f" identifier + number_literal) ))) , number_literal , number_literal , identifier ))) ;) (expression_statement "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);" (call_expression "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" identifier (argument_list "(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" ( (pointer_expression "*(char **)(unaff_EBP + -0x2c)" * (cast_expression "(char **)(unaff_EBP + -0x2c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) , (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier)) ))) ;) (expression_statement "fputc(10,(FILE *)*unaff_EDI);" (call_expression "fputc(10,(FILE *)*unaff_EDI)" identifier (argument_list "(10,(FILE *)*unaff_EDI)" ( number_literal , (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier)) ))) ;) (expression_statement "__cxa_end_catch();" (call_expression "__cxa_end_catch()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    __cxa_begin_catch();\n    __cxa_end_catch();\n  }" else (compound_statement "{\n    __cxa_begin_catch();\n    __cxa_end_catch();\n  }" { (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "__cxa_end_catch();" (call_expression "__cxa_end_catch()" identifier (argument_list "()" ( ))) ;) }))) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_0003472d(undefined4 param_1,int param_2)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    \n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    \n  abort();\n}\n\n" (function_definition "void __regparm3 FUN_0003472d(undefined4 param_1,int param_2)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    \n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    \n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003472d(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    \n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    \n  abort();\n}" { (declaration "FILE *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (declaration "undefined4 *unaff_EDI;" type_identifier (pointer_declarator "*unaff_EDI" * identifier) ;) (if_statement "if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }" { (expression_statement "piVar1 = (int *)FUN_001fe740(param_1);" (assignment_expression "piVar1 = (int *)FUN_001fe740(param_1)" identifier = (cast_expression "(int *)FUN_001fe740(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fe740(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "uVar2 = (**(code **)(*piVar1 + 8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 8))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "__s = (FILE *)*unaff_EDI;" (assignment_expression "__s = (FILE *)*unaff_EDI" identifier = (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier))) ;) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);" (call_expression "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" identifier (argument_list "((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" ( (cast_expression "(void *)(unaff_ESI + -0xed54f)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + -0xed54f)" ( (binary_expression "unaff_ESI + -0xed54f" identifier + number_literal) ))) , number_literal , number_literal , identifier ))) ;) (expression_statement "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);" (call_expression "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" identifier (argument_list "(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" ( (pointer_expression "*(char **)(unaff_EBP + -0x2c)" * (cast_expression "(char **)(unaff_EBP + -0x2c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) , (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier)) ))) ;) (expression_statement "fputc(10,(FILE *)*unaff_EDI);" (call_expression "fputc(10,(FILE *)*unaff_EDI)" identifier (argument_list "(10,(FILE *)*unaff_EDI)" ( number_literal , (cast_expression "(FILE *)*unaff_EDI" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_EDI" * identifier)) ))) ;) (expression_statement "FUN_001fe7e0();" (call_expression "FUN_001fe7e0()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" else (compound_statement "{\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" { (expression_statement "FUN_001fe740(param_1);" (call_expression "FUN_001fe740(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_001fe7e0();" (call_expression "FUN_001fe7e0()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_0003472d(undefined4 param_1,int param_2)\n\n{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    \n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    \n  abort();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0003472d(undefined4 param_1,int param_2)" (identifier "FUN_0003472d") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  FILE *__s;\n  int *piVar1;\n  undefined4 uVar2;\n  int unaff_EBP;\n  int unaff_ESI;\n  undefined4 *unaff_EDI;\n  \n                    \n  if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }\n                    \n  abort();\n}" ({ "{") (declaration "FILE *__s;" (type_identifier "FILE") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int unaff_ESI;" (primitive_type "int") (identifier "unaff_ESI") (; ";")) (declaration "undefined4 *unaff_EDI;" (type_identifier "undefined4") (pointer_declarator "*unaff_EDI" (* "*") (identifier "unaff_EDI")) (; ";")) (if_statement "if (param_2 == 1) {\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }\n  else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" (if "if") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    piVar1 = (int *)FUN_001fe740(param_1);\n    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);\n    __s = (FILE *)*unaff_EDI;\n    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;\n                    \n    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);\n    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);\n    fputc(10,(FILE *)*unaff_EDI);\n    FUN_001fe7e0();\n  }" ({ "{") (expression_statement "piVar1 = (int *)FUN_001fe740(param_1);" (assignment_expression "piVar1 = (int *)FUN_001fe740(param_1)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_001fe740(param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001fe740(param_1)" (identifier "FUN_001fe740") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "uVar2 = (**(code **)(*piVar1 + 8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 8))(piVar1)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" (( "(") (pointer_expression "**(code **)(*piVar1 + 8)" (* "*") (pointer_expression "*(code **)(*piVar1 + 8)" (* "*") (cast_expression "(code **)(*piVar1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 8)" (( "(") (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (expression_statement "__s = (FILE *)*unaff_EDI;" (assignment_expression "__s = (FILE *)*unaff_EDI" (identifier "__s") (= "=") (cast_expression "(FILE *)*unaff_EDI" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*unaff_EDI" (* "*") (identifier "unaff_EDI")))) (; ";")) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" (* "*") (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x2c)" (( "(") (binary_expression "unaff_EBP + -0x2c" (identifier "unaff_EBP") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);" (call_expression "fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" (identifier "fwrite") (argument_list "((void *)(unaff_ESI + -0xed54f),1,0xb,__s)" (( "(") (cast_expression "(void *)(unaff_ESI + -0xed54f)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_ESI + -0xed54f)" (( "(") (binary_expression "unaff_ESI + -0xed54f" (identifier "unaff_ESI") (+ "+") (number_literal "-0xed54f")) () ")"))) (, ",") (number_literal "1") (, ",") (number_literal "0xb") (, ",") (identifier "__s") () ")"))) (; ";")) (expression_statement "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);" (call_expression "fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" (identifier "fputs") (argument_list "(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI)" (( "(") (pointer_expression "*(char **)(unaff_EBP + -0x2c)" (* "*") (cast_expression "(char **)(unaff_EBP + -0x2c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBP + -0x2c)" (( "(") (binary_expression "unaff_EBP + -0x2c" (identifier "unaff_EBP") (+ "+") (number_literal "-0x2c")) () ")")))) (, ",") (cast_expression "(FILE *)*unaff_EDI" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*unaff_EDI" (* "*") (identifier "unaff_EDI"))) () ")"))) (; ";")) (expression_statement "fputc(10,(FILE *)*unaff_EDI);" (call_expression "fputc(10,(FILE *)*unaff_EDI)" (identifier "fputc") (argument_list "(10,(FILE *)*unaff_EDI)" (( "(") (number_literal "10") (, ",") (cast_expression "(FILE *)*unaff_EDI" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*unaff_EDI" (* "*") (identifier "unaff_EDI"))) () ")"))) (; ";")) (expression_statement "FUN_001fe7e0();" (call_expression "FUN_001fe7e0()" (identifier "FUN_001fe7e0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" (else "else") (compound_statement "{\n    FUN_001fe740(param_1);\n    FUN_001fe7e0();\n  }" ({ "{") (expression_statement "FUN_001fe740(param_1);" (call_expression "FUN_001fe740(param_1)" (identifier "FUN_001fe740") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_001fe7e0();" (call_expression "FUN_001fe7e0()" (identifier "FUN_001fe7e0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* __verbose_terminate_handler() [clone .cold.1] */

void function_1(void)

{
  type_1 *__s;
  int *piVar1;
  type_2 uVar2;
  int var_1;
  int var_3;
  int var_5;
  type_2 *unaff_EDI;
  
                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e
                        */
  if (var_1 == 1) {
    piVar1 = (int *)var_2();
    uVar2 = (**(type_3 **)(*piVar1 + 8))(piVar1);
    __s = (type_1 *)*unaff_EDI;
    *(type_2 *)(var_3 + -0x2c) = uVar2;
                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */
    var_4((void *)(var_5 + -0xed54f),1,0xb,__s);
    var_6(*(char **)(var_3 + -0x2c),(type_1 *)*unaff_EDI);
    var_7(10,(type_1 *)*unaff_EDI);
    var_8();
  }
  else {
    var_2();
    var_8();
  }
                    /* WARNING: Subroutine does not return */
  var_9();
}


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

void __regparm3 MASKED(undefined4 param_1,int param_2)

{
  FILE *__s;
  int *piVar1;
  undefined4 uVar2;
  int unaff_EBP;
  int unaff_ESI;
  undefined4 *unaff_EDI;
  
                    /* catch(type#1 @ 003abf20) { ... } // from try @ 00034794 with catch @ 0003472e
                        */
  if (param_2 == 1) {
    piVar1 = (int *)FUN_001fe740(param_1);
    uVar2 = (**(code **)(*piVar1 + 8))(piVar1);
    __s = (FILE *)*unaff_EDI;
    *(undefined4 *)(unaff_EBP + -0x2c) = uVar2;
                    /* try { // try from 00034759 to 00034774 has its CatchHandler @ 000347ae */
    fwrite((void *)(unaff_ESI + -0xed54f),1,0xb,__s);
    fputs(*(char **)(unaff_EBP + -0x2c),(FILE *)*unaff_EDI);
    fputc(10,(FILE *)*unaff_EDI);
    FUN_001fe7e0();
  }
  else {
    FUN_001fe740(param_1);
    FUN_001fe7e0();
  }
                    /* WARNING: Subroutine does not return */
  abort();
}

