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

void __regparm3 parse_error(char *filename)

{
  char *pcVar1;
  char *__format;
  
  pcVar1 = whoami;
  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);
  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename);
                    /* WARNING: Subroutine does not return */
  done(1);
}



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

void __regparm3 FUN_00018070(undefined4 param_1)

{
  undefined4 uVar1;
  char *__format;
  
  uVar1 = DAT_0002e508;
  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);
  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);
                    /* WARNING: Subroutine does not return */
  FUN_0001adb0(1);
}


PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x14f86
SUB ESP,0x4
LEA EAX,[EBX + 0x1508]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5a40]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
PUSH EDI
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
ADD ESP,0x14
PUSH 0x1
CALL 0x0001adb0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00018070(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001adb0(1);\n}\n\n" comment (function_definition "void __regparm3 FUN_00018070(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001adb0(1);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018070(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001adb0(1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar1 = DAT_0002e508;" (assignment_expression "uVar1 = DAT_0002e508" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" identifier (argument_list "("gprof","%s: unable to parse mapping file %s.\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: unable to parse mapping file %s.\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) comment (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 parse_error(char *filename)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  pcVar1 = whoami;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}\n\n" comment (function_definition "void __regparm3 parse_error(char *filename)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  pcVar1 = whoami;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "parse_error(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  char *__format;\n  \n  pcVar1 = whoami;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "pcVar1 = whoami;" (assignment_expression "pcVar1 = whoami" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" identifier (argument_list "("gprof","%s: unable to parse mapping file %s.\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: unable to parse mapping file %s.\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar1,filename)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void __regparm3 FUN_00018070(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    \n  FUN_0001adb0(1);\n}\n\n" (function_definition "void __regparm3 FUN_00018070(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    \n  FUN_0001adb0(1);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018070(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    \n  FUN_0001adb0(1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "uVar1 = DAT_0002e508;" (assignment_expression "uVar1 = DAT_0002e508" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" identifier (argument_list "("gprof","%s: unable to parse mapping file %s.\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: unable to parse mapping file %s.\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( 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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void __regparm3 FUN_00018070(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    \n  FUN_0001adb0(1);\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018070(undefined4 param_1)" (identifier "FUN_00018070") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char *__format;\n  \n  uVar1 = DAT_0002e508;\n  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);\n                    \n  FUN_0001adb0(1);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "uVar1 = DAT_0002e508;" (assignment_expression "uVar1 = DAT_0002e508" (identifier "uVar1") (= "=") (identifier "DAT_0002e508")) (; ";")) (expression_statement "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: unable to parse mapping file %s.\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: unable to parse mapping file %s.\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: unable to parse mapping file %s.\n"" (" """) (string_content "%s: unable to parse mapping file %s.") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002cfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002cfcc"))) (, ",") (identifier "__format") (, ",") (identifier "uVar1") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" (identifier "FUN_0001adb0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

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

void __regparm3 function_1(char *filename)

{
  char *pcVar1;
  char *__format;
  
  pcVar1 = whoami;
  __format = (char *)var_1("gprof","%s: unable to parse mapping file %s.\n",5);
  var_2(*(type_1 **)PTR_stderr_0002cfcc,__format,pcVar1,filename);
                    /* WARNING: Subroutine does not return */
  var_3(1);
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (string_literal (string_content)) (string_literal (string_content) (escape_sequence)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) (identifier) (identifier) (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 __regparm3 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  char *__format;
  
  uVar1 = DAT_0002e508;
  __format = (char *)dcgettext("gprof","%s: unable to parse mapping file %s.\n",5);
  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,uVar1,param_1);
                    /* WARNING: Subroutine does not return */
  FUN_0001adb0(1);
}

