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

void fatalbox(char *p,...)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00084fe4;
  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);
  __vfprintf_chk(*(undefined4 *)puVar1,1,p,&stack0x00000008);
  fputc(10,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
  exit(1);
}



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

void FUN_00055440(undefined4 param_1)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00084fe4;
  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);
  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);
  fputc(10,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
  exit(1);
}


PUSH ESI
PUSH EBX
CALL 0x00015340
ADD EBX,0x2f8a1
SUB ESP,0x4
MOV ESI,dword ptr [EBX + 0x2fc]
LEA EAX,[EBX + 0xfffe0cab]
PUSH dword ptr [ESI]
PUSH 0xd
PUSH 0x1
PUSH EAX
CALL 0x000142b0
LEA EAX,[ESP + 0x24]
PUSH EAX
PUSH dword ptr [ESP + 0x24]
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x00014180
ADD ESP,0x18
PUSH dword ptr [ESI]
PUSH 0xa
CALL 0x00014290
MOV dword ptr [ESP],0x1
CALL 0x000147e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00055440(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}\n\n" comment (function_definition "void FUN_00055440(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" primitive_type (function_declarator "FUN_00055440(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00084fe4;" (assignment_expression "puVar1 = PTR_stderr_00084fe4" identifier = identifier) ;) (expression_statement "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);" (call_expression "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" identifier (argument_list "("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" ( (string_literal ""FATAL ERROR: "" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00084fe4" * (cast_expression "(FILE **)PTR_stderr_00084fe4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" identifier (argument_list "(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&stack0x00000008" & identifier) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" identifier (argument_list "(10,*(FILE **)puVar1)" ( number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid fatalbox(char *p,...)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,p,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}\n\n" comment comment (function_definition "void fatalbox(char *p,...)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,p,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" primitive_type (function_declarator "fatalbox(char *p,...)" identifier (parameter_list "(char *p,...)" ( (parameter_declaration "char *p" primitive_type (pointer_declarator "*p" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,p,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00084fe4;" (assignment_expression "puVar1 = PTR_stderr_00084fe4" identifier = identifier) ;) (expression_statement "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);" (call_expression "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" identifier (argument_list "("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" ( (string_literal ""FATAL ERROR: "" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00084fe4" * (cast_expression "(FILE **)PTR_stderr_00084fe4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,p,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,p,&stack0x00000008)" identifier (argument_list "(*(undefined4 *)puVar1,1,p,&stack0x00000008)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&stack0x00000008" & identifier) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" identifier (argument_list "(10,*(FILE **)puVar1)" ( number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void FUN_00055440(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    \n  exit(1);\n}\n\n" (function_definition "void FUN_00055440(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    \n  exit(1);\n}" primitive_type (function_declarator "FUN_00055440(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    \n  exit(1);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00084fe4;" (assignment_expression "puVar1 = PTR_stderr_00084fe4" identifier = identifier) ;) (expression_statement "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);" (call_expression "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" identifier (argument_list "("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" ( (string_literal ""FATAL ERROR: "" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00084fe4" * (cast_expression "(FILE **)PTR_stderr_00084fe4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" identifier (argument_list "(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&stack0x00000008" & identifier) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" identifier (argument_list "(10,*(FILE **)puVar1)" ( number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_00055440(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    \n  exit(1);\n}" (primitive_type "void") (function_declarator "FUN_00055440(undefined4 param_1)" (identifier "FUN_00055440") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00084fe4;\n  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);\n  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);\n  fputc(10,*(FILE **)puVar1);\n                    \n  exit(1);\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = PTR_stderr_00084fe4;" (assignment_expression "puVar1 = PTR_stderr_00084fe4" (identifier "puVar1") (= "=") (identifier "PTR_stderr_00084fe4")) (; ";")) (expression_statement "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);" (call_expression "fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" (identifier "fwrite") (argument_list "("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4)" (( "(") (string_literal ""FATAL ERROR: "" (" """) (string_content "FATAL ERROR: ") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0xd") (, ",") (pointer_expression "*(FILE **)PTR_stderr_00084fe4" (* "*") (cast_expression "(FILE **)PTR_stderr_00084fe4" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_00084fe4"))) () ")"))) (; ";")) (expression_statement "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);" (call_expression "__vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" (identifier "__vfprintf_chk") (argument_list "(*(undefined4 *)puVar1,1,param_1,&stack0x00000008)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (number_literal "1") (, ",") (identifier "param_1") (, ",") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")) () ")"))) (; ";")) (expression_statement "fputc(10,*(FILE **)puVar1);" (call_expression "fputc(10,*(FILE **)puVar1)" (identifier "fputc") (argument_list "(10,*(FILE **)puVar1)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar1" (* "*") (cast_expression "(FILE **)puVar1" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "exit(1);" (call_expression "exit(1)" (identifier "exit") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

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

void function_1(char *p,...)

{
  type_1 *puVar1;
  
  puVar1 = PTR_stderr_00084fe4;
  var_1("FATAL ERROR: ",1,0xd,*(type_2 **)PTR_stderr_00084fe4);
  var_2(*(type_3 *)puVar1,1,p,&stack0x00000008);
  var_3(10,*(type_2 **)puVar1);
                    /* WARNING: Subroutine does not return */
  var_4(1);
}


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

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

void MASKED(undefined4 param_1)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00084fe4;
  fwrite("FATAL ERROR: ",1,0xd,*(FILE **)PTR_stderr_00084fe4);
  __vfprintf_chk(*(undefined4 *)puVar1,1,param_1,&stack0x00000008);
  fputc(10,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
  exit(1);
}

