
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void builtin_error_prolog(void)

{
  undefined *puVar1;
  char *pcVar2;
  int iVar3;
  undefined4 uVar4;
  
  pcVar2 = get_name_for_error();
  puVar1 = PTR_stderr_00149e54;
  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2);
  if (interactive_shell == 0) {
    iVar3 = executing_line_number();
    uVar4 = dcgettext(0,"line %d: ",5);
    __fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);
  }
  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {
    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);
    return;
  }
  return;
}



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

void FUN_0009b340(void)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  uVar2 = get_name_for_error();
  puVar1 = PTR_stderr_00149e54;
  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);
  if (interactive_shell == 0) {
    uVar2 = executing_line_number();
    uVar3 = dcgettext(0,"line %d: ",5);
    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);
  }
  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {
    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00031ed0
ADD EBX,0xaecb7
SUB ESP,0xc
CALL 0x00059470
MOV ESI,dword ptr [EBX + 0xfffffe54]
LEA EDI,[EBX + 0xfffa60f7]
PUSH EAX
PUSH EDI
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x0002fc00
LEA EAX,[EBX + 0x4848]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0009b3c0
LEA EAX,[EBX + 0x8dec]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0009b38e
CMP byte ptr [EAX],0x0
JNZ 0x0009b3a0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
PUSH EDI
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x0002fc00
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00048110
SUB ESP,0x4
MOV EBP,EAX
LEA EAX,[EBX + 0xfffa6932]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x0002f380
PUSH EBP
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x0002fc00
ADD ESP,0x20
JMP 0x0009b37d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0009b340(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0009b340(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009b340(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar2 = get_name_for_error();" (assignment_expression "uVar2 = get_name_for_error()" identifier = (call_expression "get_name_for_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1 = PTR_stderr_00149e54;" (assignment_expression "puVar1 = PTR_stderr_00149e54" identifier = identifier) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00149e54" * (cast_expression "(undefined4 *)PTR_stderr_00149e54" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (pointer_expression "&DAT_000f00f7" & identifier) , identifier ))) ;) (if_statement "if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }" if (parenthesized_expression "(interactive_shell == 0)" ( (binary_expression "interactive_shell == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }" { (expression_statement "uVar2 = executing_line_number();" (assignment_expression "uVar2 = executing_line_number()" identifier = (call_expression "executing_line_number()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar3 = dcgettext(0,"line %d: ",5);" (assignment_expression "uVar3 = dcgettext(0,"line %d: ",5)" identifier = (call_expression "dcgettext(0,"line %d: ",5)" identifier (argument_list "(0,"line %d: ",5)" ( number_literal , (string_literal ""line %d: "" " string_content ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2)" identifier (argument_list "(*(undefined4 *)puVar1,1,uVar3,uVar2)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier ))) ;) })) (if_statement "if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" if (parenthesized_expression "((this_command_name != (char *)0x0) && (*this_command_name != '\0'))" ( (binary_expression "(this_command_name != (char *)0x0) && (*this_command_name != '\0')" (parenthesized_expression "(this_command_name != (char *)0x0)" ( (binary_expression "this_command_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*this_command_name != '\0')" ( (binary_expression "*this_command_name != '\0'" (pointer_expression "*this_command_name" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" identifier (argument_list "(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (pointer_expression "&DAT_000f00f7" & identifier) , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid builtin_error_prolog(void)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  pcVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2);\n  if (interactive_shell == 0) {\n    iVar3 = executing_line_number();\n    uVar4 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void builtin_error_prolog(void)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  pcVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2);\n  if (interactive_shell == 0) {\n    iVar3 = executing_line_number();\n    uVar4 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "builtin_error_prolog(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  pcVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2);\n  if (interactive_shell == 0) {\n    iVar3 = executing_line_number();\n    uVar4 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "pcVar2 = get_name_for_error();" (assignment_expression "pcVar2 = get_name_for_error()" identifier = (call_expression "get_name_for_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1 = PTR_stderr_00149e54;" (assignment_expression "puVar1 = PTR_stderr_00149e54" identifier = identifier) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00149e54" * (cast_expression "(undefined4 *)PTR_stderr_00149e54" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (pointer_expression "&DAT_000f00f7" & identifier) , identifier ))) ;) (if_statement "if (interactive_shell == 0) {\n    iVar3 = executing_line_number();\n    uVar4 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);\n  }" if (parenthesized_expression "(interactive_shell == 0)" ( (binary_expression "interactive_shell == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = executing_line_number();\n    uVar4 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);\n  }" { (expression_statement "iVar3 = executing_line_number();" (assignment_expression "iVar3 = executing_line_number()" identifier = (call_expression "executing_line_number()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = dcgettext(0,"line %d: ",5);" (assignment_expression "uVar4 = dcgettext(0,"line %d: ",5)" identifier = (call_expression "dcgettext(0,"line %d: ",5)" identifier (argument_list "(0,"line %d: ",5)" ( number_literal , (string_literal ""line %d: "" " string_content ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,uVar4,iVar3)" identifier (argument_list "(*(undefined4 *)puVar1,1,uVar4,iVar3)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier ))) ;) })) (if_statement "if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" if (parenthesized_expression "((this_command_name != (char *)0x0) && (*this_command_name != '\0'))" ( (binary_expression "(this_command_name != (char *)0x0) && (*this_command_name != '\0')" (parenthesized_expression "(this_command_name != (char *)0x0)" ( (binary_expression "this_command_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*this_command_name != '\0')" ( (binary_expression "*this_command_name != '\0'" (pointer_expression "*this_command_name" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" identifier (argument_list "(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (pointer_expression "&DAT_000f00f7" & identifier) , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0009b340(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009b340(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009b340(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar2 = get_name_for_error();" (assignment_expression "uVar2 = get_name_for_error()" identifier = (call_expression "get_name_for_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1 = PTR_stderr_00149e54;" (assignment_expression "puVar1 = PTR_stderr_00149e54" identifier = identifier) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00149e54" * (cast_expression "(undefined4 *)PTR_stderr_00149e54" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (pointer_expression "&DAT_000f00f7" & identifier) , identifier ))) ;) (if_statement "if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }" if (parenthesized_expression "(interactive_shell == 0)" ( (binary_expression "interactive_shell == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }" { (expression_statement "uVar2 = executing_line_number();" (assignment_expression "uVar2 = executing_line_number()" identifier = (call_expression "executing_line_number()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar3 = dcgettext(0,"line %d: ",5);" (assignment_expression "uVar3 = dcgettext(0,"line %d: ",5)" identifier = (call_expression "dcgettext(0,"line %d: ",5)" identifier (argument_list "(0,"line %d: ",5)" ( number_literal , (string_literal ""line %d: "" " string_content ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2)" identifier (argument_list "(*(undefined4 *)puVar1,1,uVar3,uVar2)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier ))) ;) })) (if_statement "if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" if (parenthesized_expression "((this_command_name != (char *)0x0) && (*this_command_name != '\0'))" ( (binary_expression "(this_command_name != (char *)0x0) && (*this_command_name != '\0')" (parenthesized_expression "(this_command_name != (char *)0x0)" ( (binary_expression "this_command_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*this_command_name != '\0')" ( (binary_expression "*this_command_name != '\0'" (pointer_expression "*this_command_name" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" identifier (argument_list "(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (pointer_expression "&DAT_000f00f7" & identifier) , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_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 *)) ) IDENT)) , LIT , (pointer_expression & IDENT) , IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0009b340(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0009b340(void)" (identifier "FUN_0009b340") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar2 = get_name_for_error();\n  puVar1 = PTR_stderr_00149e54;\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);\n  if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }\n  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "uVar2 = get_name_for_error();" (assignment_expression "uVar2 = get_name_for_error()" (identifier "uVar2") (= "=") (call_expression "get_name_for_error()" (identifier "get_name_for_error") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_stderr_00149e54;" (assignment_expression "puVar1 = PTR_stderr_00149e54" (identifier "puVar1") (= "=") (identifier "PTR_stderr_00149e54")) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00149e54" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00149e54" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00149e54"))) (, ",") (number_literal "1") (, ",") (pointer_expression "&DAT_000f00f7" (& "&") (identifier "DAT_000f00f7")) (, ",") (identifier "uVar2") () ")"))) (; ";")) (if_statement "if (interactive_shell == 0) {\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }" (if "if") (parenthesized_expression "(interactive_shell == 0)" (( "(") (binary_expression "interactive_shell == 0" (identifier "interactive_shell") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = executing_line_number();\n    uVar3 = dcgettext(0,"line %d: ",5);\n    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);\n  }" ({ "{") (expression_statement "uVar2 = executing_line_number();" (assignment_expression "uVar2 = executing_line_number()" (identifier "uVar2") (= "=") (call_expression "executing_line_number()" (identifier "executing_line_number") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"line %d: ",5);" (assignment_expression "uVar3 = dcgettext(0,"line %d: ",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"line %d: ",5)" (identifier "dcgettext") (argument_list "(0,"line %d: ",5)" (( "(") (number_literal "0") (, ",") (string_literal ""line %d: "" (" """) (string_content "line %d: ") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)puVar1,1,uVar3,uVar2)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (if_statement "if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" (if "if") (parenthesized_expression "((this_command_name != (char *)0x0) && (*this_command_name != '\0'))" (( "(") (binary_expression "(this_command_name != (char *)0x0) && (*this_command_name != '\0')" (parenthesized_expression "(this_command_name != (char *)0x0)" (( "(") (binary_expression "this_command_name != (char *)0x0" (identifier "this_command_name") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*this_command_name != '\0')" (( "(") (binary_expression "*this_command_name != '\0'" (pointer_expression "*this_command_name" (* "*") (identifier "this_command_name")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);\n    return;\n  }" ({ "{") (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (number_literal "1") (, ",") (pointer_expression "&DAT_000f00f7" (& "&") (identifier "DAT_000f00f7")) (, ",") (identifier "this_command_name") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *puVar1;
  char *pcVar2;
  int iVar3;
  type_2 uVar4;
  
  pcVar2 = var_1();
  puVar1 = PTR_stderr_00149e54;
  var_2(*(type_2 *)PTR_stderr_00149e54,1,&DAT_000f00f7,pcVar2);
  if (var_3 == 0) {
    iVar3 = var_4();
    uVar4 = var_5(0,"line %d: ",5);
    var_2(*(type_2 *)puVar1,1,uVar4,iVar3);
  }
  if ((var_6 != (char *)0x0) && (*var_6 != '\0')) {
    var_2(*(type_2 *)puVar1,1,&DAT_000f00f7,var_6);
    return;
  }
  return;
}


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

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

void MASKED(void)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  uVar2 = get_name_for_error();
  puVar1 = PTR_stderr_00149e54;
  __fprintf_chk(*(undefined4 *)PTR_stderr_00149e54,1,&DAT_000f00f7,uVar2);
  if (interactive_shell == 0) {
    uVar2 = executing_line_number();
    uVar3 = dcgettext(0,"line %d: ",5);
    __fprintf_chk(*(undefined4 *)puVar1,1,uVar3,uVar2);
  }
  if ((this_command_name != (char *)0x0) && (*this_command_name != '\0')) {
    __fprintf_chk(*(undefined4 *)puVar1,1,&DAT_000f00f7,this_command_name);
    return;
  }
  return;
}

