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

void bad_prog(char *why)

{
  char *pcVar1;
  char *pcVar2;
  undefined4 uVar3;
  countT cVar4;
  char *pcVar5;
  
  pcVar2 = program_name;
  pcVar5 = (char *)cur_input.string_expr_count;
  cVar4 = cur_input.line;
  pcVar1 = cur_input.name;
  if (cur_input.name == (char *)0x0) {
    cVar4 = (int)prog.cur - (int)prog.base;
    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);
  }
  else {
    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);
    pcVar5 = pcVar1;
  }
  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why);
                    /* WARNING: Subroutine does not return */
  exit(1);
}



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

void FUN_000131d0(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  
  uVar2 = DAT_00031438;
  iVar5 = DAT_00031348;
  iVar4 = DAT_00031344;
  iVar1 = DAT_00031340;
  if (DAT_00031340 == 0) {
    iVar4 = DAT_00031350 - DAT_0003134c;
    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);
  }
  else {
    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);
    iVar5 = iVar1;
  }
  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);
                    /* WARNING: Subroutine does not return */
  exit(1);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00012c30
ADD EBX,0x1de27
SUB ESP,0xc
LEA EAX,[EBX + 0x438]
MOV ESI,dword ptr [EBX + 0x340]
MOV EDI,dword ptr [EAX]
TEST ESI,ESI
JZ 0x00013234
SUB ESP,0x4
LEA EAX,[EBX + 0xffff5082]
MOV EBP,dword ptr [EBX + 0x344]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012140
ADD ESP,0xc
PUSH dword ptr [ESP + 0x24]
PUSH EBP
PUSH ESI
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffc0]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x000125d0
ADD ESP,0x20
SUB ESP,0xc
PUSH 0x1
CALL 0x00012350
MOV EBP,dword ptr [EBX + 0x348]
MOV ESI,dword ptr [EBX + 0x350]
PUSH EAX
LEA EAX,[EBX + 0xffff5038]
PUSH 0x5
SUB ESI,dword ptr [EBX + 0x34c]
PUSH EAX
PUSH 0x0
CALL 0x00012140
ADD ESP,0xc
PUSH dword ptr [ESP + 0x24]
PUSH ESI
PUSH EBP
JMP 0x00013216
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000131d0(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}\n\n" comment (function_definition "void FUN_000131d0(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" primitive_type (function_declarator "FUN_000131d0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "uVar2 = DAT_00031438;" (assignment_expression "uVar2 = DAT_00031438" identifier = identifier) ;) (expression_statement "iVar5 = DAT_00031348;" (assignment_expression "iVar5 = DAT_00031348" identifier = identifier) ;) (expression_statement "iVar4 = DAT_00031344;" (assignment_expression "iVar4 = DAT_00031344" identifier = identifier) ;) (expression_statement "iVar1 = DAT_00031340;" (assignment_expression "iVar1 = DAT_00031340" identifier = identifier) ;) (if_statement "if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" if (parenthesized_expression "(DAT_00031340 == 0)" ( (binary_expression "DAT_00031340 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }" { (expression_statement "iVar4 = DAT_00031350 - DAT_0003134c;" (assignment_expression "iVar4 = DAT_00031350 - DAT_0003134c" identifier = (binary_expression "DAT_00031350 - DAT_0003134c" identifier - identifier)) ;) (expression_statement "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);" (assignment_expression "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" identifier = (call_expression "dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" identifier (argument_list "(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" ( number_literal , (string_literal ""%s: -e expression #%lu, char %lu: %s\n"" " string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_00031438" & identifier) )))) ;) }) (else_clause "else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" else (compound_statement "{\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5)" identifier = (call_expression "dcgettext(0,"%s: file %s line %lu: %s\n",5)" identifier (argument_list "(0,"%s: file %s line %lu: %s\n",5)" ( number_literal , (string_literal ""%s: file %s line %lu: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) }))) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00030fc0" * (cast_expression "(undefined4 *)PTR_stderr_00030fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , 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 bad_prog(char *why)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  countT cVar4;\n  char *pcVar5;\n  \n  pcVar2 = program_name;\n  pcVar5 = (char *)cur_input.string_expr_count;\n  cVar4 = cur_input.line;\n  pcVar1 = cur_input.name;\n  if (cur_input.name == (char *)0x0) {\n    cVar4 = (int)prog.cur - (int)prog.base;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    pcVar5 = pcVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}\n\n" comment comment (function_definition "void bad_prog(char *why)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  countT cVar4;\n  char *pcVar5;\n  \n  pcVar2 = program_name;\n  pcVar5 = (char *)cur_input.string_expr_count;\n  cVar4 = cur_input.line;\n  pcVar1 = cur_input.name;\n  if (cur_input.name == (char *)0x0) {\n    cVar4 = (int)prog.cur - (int)prog.base;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    pcVar5 = pcVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" primitive_type (function_declarator "bad_prog(char *why)" identifier (parameter_list "(char *why)" ( (parameter_declaration "char *why" primitive_type (pointer_declarator "*why" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  countT cVar4;\n  char *pcVar5;\n  \n  pcVar2 = program_name;\n  pcVar5 = (char *)cur_input.string_expr_count;\n  cVar4 = cur_input.line;\n  pcVar1 = cur_input.name;\n  if (cur_input.name == (char *)0x0) {\n    cVar4 = (int)prog.cur - (int)prog.base;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    pcVar5 = pcVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why);\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "countT cVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "pcVar2 = program_name;" (assignment_expression "pcVar2 = program_name" identifier = identifier) ;) (expression_statement "pcVar5 = (char *)cur_input.string_expr_count;" (assignment_expression "pcVar5 = (char *)cur_input.string_expr_count" identifier = (cast_expression "(char *)cur_input.string_expr_count" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "cur_input.string_expr_count" identifier . field_identifier))) ;) (expression_statement "cVar4 = cur_input.line;" (assignment_expression "cVar4 = cur_input.line" identifier = (field_expression "cur_input.line" identifier . field_identifier)) ;) (expression_statement "pcVar1 = cur_input.name;" (assignment_expression "pcVar1 = cur_input.name" identifier = (field_expression "cur_input.name" identifier . field_identifier)) ;) (if_statement "if (cur_input.name == (char *)0x0) {\n    cVar4 = (int)prog.cur - (int)prog.base;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    pcVar5 = pcVar1;\n  }" if (parenthesized_expression "(cur_input.name == (char *)0x0)" ( (binary_expression "cur_input.name == (char *)0x0" (field_expression "cur_input.name" identifier . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar4 = (int)prog.cur - (int)prog.base;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);\n  }" { (expression_statement "cVar4 = (int)prog.cur - (int)prog.base;" (assignment_expression "cVar4 = (int)prog.cur - (int)prog.base" identifier = (binary_expression "(int)prog.cur - (int)prog.base" (cast_expression "(int)prog.cur" ( (type_descriptor "int" primitive_type) ) (field_expression "prog.cur" identifier . field_identifier)) - (cast_expression "(int)prog.base" ( (type_descriptor "int" primitive_type) ) (field_expression "prog.base" identifier . field_identifier)))) ;) (expression_statement "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);" (assignment_expression "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name)" identifier = (call_expression "dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name)" identifier (argument_list "(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name)" ( number_literal , (string_literal ""%s: -e expression #%lu, char %lu: %s\n"" " string_content escape_sequence ") , number_literal , (pointer_expression "&program_name" & identifier) )))) ;) }) (else_clause "else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    pcVar5 = pcVar1;\n  }" else (compound_statement "{\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    pcVar5 = pcVar1;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5)" identifier = (call_expression "dcgettext(0,"%s: file %s line %lu: %s\n",5)" identifier (argument_list "(0,"%s: file %s line %lu: %s\n",5)" ( number_literal , (string_literal ""%s: file %s line %lu: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "pcVar5 = pcVar1;" (assignment_expression "pcVar5 = pcVar1" identifier = identifier) ;) }))) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00030fc0" * (cast_expression "(undefined4 *)PTR_stderr_00030fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , identifier ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void FUN_000131d0(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    \n  exit(1);\n}\n\n" (function_definition "void FUN_000131d0(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    \n  exit(1);\n}" primitive_type (function_declarator "FUN_000131d0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    \n  exit(1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "uVar2 = DAT_00031438;" (assignment_expression "uVar2 = DAT_00031438" identifier = identifier) ;) (expression_statement "iVar5 = DAT_00031348;" (assignment_expression "iVar5 = DAT_00031348" identifier = identifier) ;) (expression_statement "iVar4 = DAT_00031344;" (assignment_expression "iVar4 = DAT_00031344" identifier = identifier) ;) (expression_statement "iVar1 = DAT_00031340;" (assignment_expression "iVar1 = DAT_00031340" identifier = identifier) ;) (if_statement "if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" if (parenthesized_expression "(DAT_00031340 == 0)" ( (binary_expression "DAT_00031340 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }" { (expression_statement "iVar4 = DAT_00031350 - DAT_0003134c;" (assignment_expression "iVar4 = DAT_00031350 - DAT_0003134c" identifier = (binary_expression "DAT_00031350 - DAT_0003134c" identifier - identifier)) ;) (expression_statement "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);" (assignment_expression "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" identifier = (call_expression "dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" identifier (argument_list "(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" ( number_literal , (string_literal ""%s: -e expression #%lu, char %lu: %s\n"" " string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_00031438" & identifier) )))) ;) }) (else_clause "else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" else (compound_statement "{\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" { (expression_statement "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5)" identifier = (call_expression "dcgettext(0,"%s: file %s line %lu: %s\n",5)" identifier (argument_list "(0,"%s: file %s line %lu: %s\n",5)" ( number_literal , (string_literal ""%s: file %s line %lu: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) }))) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00030fc0" * (cast_expression "(undefined4 *)PTR_stderr_00030fc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier , 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT , (pointer_expression & IDENT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (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 , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_000131d0(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    \n  exit(1);\n}" (primitive_type "void") (function_declarator "FUN_000131d0(undefined4 param_1)" (identifier "FUN_000131d0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  \n  uVar2 = DAT_00031438;\n  iVar5 = DAT_00031348;\n  iVar4 = DAT_00031344;\n  iVar1 = DAT_00031340;\n  if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }\n  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);\n                    \n  exit(1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "uVar2 = DAT_00031438;" (assignment_expression "uVar2 = DAT_00031438" (identifier "uVar2") (= "=") (identifier "DAT_00031438")) (; ";")) (expression_statement "iVar5 = DAT_00031348;" (assignment_expression "iVar5 = DAT_00031348" (identifier "iVar5") (= "=") (identifier "DAT_00031348")) (; ";")) (expression_statement "iVar4 = DAT_00031344;" (assignment_expression "iVar4 = DAT_00031344" (identifier "iVar4") (= "=") (identifier "DAT_00031344")) (; ";")) (expression_statement "iVar1 = DAT_00031340;" (assignment_expression "iVar1 = DAT_00031340" (identifier "iVar1") (= "=") (identifier "DAT_00031340")) (; ";")) (if_statement "if (DAT_00031340 == 0) {\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }\n  else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" (if "if") (parenthesized_expression "(DAT_00031340 == 0)" (( "(") (binary_expression "DAT_00031340 == 0" (identifier "DAT_00031340") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = DAT_00031350 - DAT_0003134c;\n    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);\n  }" ({ "{") (expression_statement "iVar4 = DAT_00031350 - DAT_0003134c;" (assignment_expression "iVar4 = DAT_00031350 - DAT_0003134c" (identifier "iVar4") (= "=") (binary_expression "DAT_00031350 - DAT_0003134c" (identifier "DAT_00031350") (- "-") (identifier "DAT_0003134c"))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);" (assignment_expression "uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" (identifier "dcgettext") (argument_list "(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: -e expression #%lu, char %lu: %s\n"" (" """) (string_content "%s: -e expression #%lu, char %lu: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_00031438" (& "&") (identifier "DAT_00031438")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" (else "else") (compound_statement "{\n    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);\n    iVar5 = iVar1;\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%s: file %s line %lu: %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: file %s line %lu: %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: file %s line %lu: %s\n"" (" """) (string_content "%s: file %s line %lu: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" (identifier "iVar5") (= "=") (identifier "iVar1")) (; ";")) (} "}")))) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00030fc0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00030fc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00030fc0"))) (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") (, ",") (identifier "iVar5") (, ",") (identifier "iVar4") (, ",") (identifier "param_1") () ")"))) (; ";")) (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 *why)

{
  char *pcVar1;
  char *pcVar2;
  type_1 uVar3;
  type_2 cVar4;
  char *pcVar5;
  
  pcVar2 = program_name;
  pcVar5 = (char *)cur_input.string_expr_count;
  cVar4 = cur_input.line;
  pcVar1 = cur_input.name;
  if (cur_input.name == (char *)0x0) {
    cVar4 = (int)prog.cur - (int)prog.base;
    uVar3 = var_1(0,"%s: -e expression #%lu, char %lu: %s\n",5,&program_name);
  }
  else {
    uVar3 = var_1(0,"%s: file %s line %lu: %s\n",5);
    pcVar5 = pcVar1;
  }
  var_2(*(type_1 *)PTR_stderr_00030fc0,1,uVar3,pcVar2,pcVar5,cVar4,why);
                    /* WARNING: Subroutine does not return */
  var_3(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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal) (pointer_expression argument: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (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) (identifier) (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 MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  
  uVar2 = DAT_00031438;
  iVar5 = DAT_00031348;
  iVar4 = DAT_00031344;
  iVar1 = DAT_00031340;
  if (DAT_00031340 == 0) {
    iVar4 = DAT_00031350 - DAT_0003134c;
    uVar3 = dcgettext(0,"%s: -e expression #%lu, char %lu: %s\n",5,&DAT_00031438);
  }
  else {
    uVar3 = dcgettext(0,"%s: file %s line %lu: %s\n",5);
    iVar5 = iVar1;
  }
  __fprintf_chk(*(undefined4 *)PTR_stderr_00030fc0,1,uVar3,uVar2,iVar5,iVar4,param_1);
                    /* WARNING: Subroutine does not return */
  exit(1);
}

