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

bfd_vma parse_vma(char *s,char *arg)

{
  char *format;
  bfd_vma bVar1;
  char *end;
  undefined4 uStack_c;
  
  uStack_c = 0x48237;
  bVar1 = bfd_scan_vma(s,&end,0);
  if (*end == '\0') {
    return bVar1;
  }
  format = (char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1);
                    /* WARNING: Subroutine does not return */
  fatal(format,arg,s);
}



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

void FUN_00048230(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  char *local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x48237;
  uVar1 = bfd_scan_vma(param_1,&local_10,0);
  if (*local_10 == '\0') {
    return;
  }
  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);
                    /* WARNING: Subroutine does not return */
  FUN_000479f0(uVar1,param_2,param_1);
}


PUSH ESI
PUSH EBX
CALL 0x000153d0
ADD EBX,0x2adc9
SUB ESP,0x18
MOV ESI,dword ptr [ESP + 0x24]
PUSH 0x0
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH ESI
CALL 0x00014070
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
CMP byte ptr [ECX],0x0
JNZ 0x00048263
ADD ESP,0x14
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xfffe6144]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
ADD ESP,0xc
PUSH ESI
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
CALL 0x000479f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00048230(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    /* WARNING: Subroutine does not return */\n  FUN_000479f0(uVar1,param_2,param_1);\n}\n\n" comment (function_definition "void FUN_00048230(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    /* WARNING: Subroutine does not return */\n  FUN_000479f0(uVar1,param_2,param_1);\n}" primitive_type (function_declarator "FUN_00048230(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    /* WARNING: Subroutine does not return */\n  FUN_000479f0(uVar1,param_2,param_1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x48237;" (assignment_expression "uStack_c = 0x48237" identifier = number_literal) ;) (expression_statement "uVar1 = bfd_scan_vma(param_1,&local_10,0);" (assignment_expression "uVar1 = bfd_scan_vma(param_1,&local_10,0)" identifier = (call_expression "bfd_scan_vma(param_1,&local_10,0)" identifier (argument_list "(param_1,&local_10,0)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal )))) ;) (if_statement "if (*local_10 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*local_10 == '\0')" ( (binary_expression "*local_10 == '\0'" (pointer_expression "*local_10" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);" (assignment_expression "uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1)" identifier = (call_expression "dcgettext(0,"%s: bad number: %s",5,uVar1)" identifier (argument_list "(0,"%s: bad number: %s",5,uVar1)" ( number_literal , (string_literal ""%s: bad number: %s"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "FUN_000479f0(uVar1,param_2,param_1);" (call_expression "FUN_000479f0(uVar1,param_2,param_1)" identifier (argument_list "(uVar1,param_2,param_1)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_vma parse_vma(char *s,char *arg)\n\n{\n  char *format;\n  bfd_vma bVar1;\n  char *end;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  bVar1 = bfd_scan_vma(s,&end,0);\n  if (*end == '\0') {\n    return bVar1;\n  }\n  format = (char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1);\n                    /* WARNING: Subroutine does not return */\n  fatal(format,arg,s);\n}\n\n" comment comment (function_definition "bfd_vma parse_vma(char *s,char *arg)\n\n{\n  char *format;\n  bfd_vma bVar1;\n  char *end;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  bVar1 = bfd_scan_vma(s,&end,0);\n  if (*end == '\0') {\n    return bVar1;\n  }\n  format = (char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1);\n                    /* WARNING: Subroutine does not return */\n  fatal(format,arg,s);\n}" type_identifier (function_declarator "parse_vma(char *s,char *arg)" identifier (parameter_list "(char *s,char *arg)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  char *format;\n  bfd_vma bVar1;\n  char *end;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  bVar1 = bfd_scan_vma(s,&end,0);\n  if (*end == '\0') {\n    return bVar1;\n  }\n  format = (char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1);\n                    /* WARNING: Subroutine does not return */\n  fatal(format,arg,s);\n}" { (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "char *end;" primitive_type (pointer_declarator "*end" * identifier) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x48237;" (assignment_expression "uStack_c = 0x48237" identifier = number_literal) ;) (expression_statement "bVar1 = bfd_scan_vma(s,&end,0);" (assignment_expression "bVar1 = bfd_scan_vma(s,&end,0)" identifier = (call_expression "bfd_scan_vma(s,&end,0)" identifier (argument_list "(s,&end,0)" ( identifier , (pointer_expression "&end" & identifier) , number_literal )))) ;) (if_statement "if (*end == '\0') {\n    return bVar1;\n  }" if (parenthesized_expression "(*end == '\0')" ( (binary_expression "*end == '\0'" (pointer_expression "*end" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return bVar1;\n  }" { (return_statement "return bVar1;" return identifier ;) })) (expression_statement "format = (char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1);" (assignment_expression "format = (char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1)" identifier = (cast_expression "(char *)dcgettext(0,"%s: bad number: %s",5,(int)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: bad number: %s",5,(int)bVar1)" identifier (argument_list "(0,"%s: bad number: %s",5,(int)bVar1)" ( number_literal , (string_literal ""%s: bad number: %s"" " string_content ") , number_literal , (cast_expression "(int)bVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))))) ;) comment (expression_statement "fatal(format,arg,s);" (call_expression "fatal(format,arg,s)" identifier (argument_list "(format,arg,s)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "void FUN_00048230(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    \n  FUN_000479f0(uVar1,param_2,param_1);\n}\n\n" (function_definition "void FUN_00048230(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    \n  FUN_000479f0(uVar1,param_2,param_1);\n}" primitive_type (function_declarator "FUN_00048230(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    \n  FUN_000479f0(uVar1,param_2,param_1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x48237;" (assignment_expression "uStack_c = 0x48237" identifier = number_literal) ;) (expression_statement "uVar1 = bfd_scan_vma(param_1,&local_10,0);" (assignment_expression "uVar1 = bfd_scan_vma(param_1,&local_10,0)" identifier = (call_expression "bfd_scan_vma(param_1,&local_10,0)" identifier (argument_list "(param_1,&local_10,0)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal )))) ;) (if_statement "if (*local_10 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*local_10 == '\0')" ( (binary_expression "*local_10 == '\0'" (pointer_expression "*local_10" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);" (assignment_expression "uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1)" identifier = (call_expression "dcgettext(0,"%s: bad number: %s",5,uVar1)" identifier (argument_list "(0,"%s: bad number: %s",5,uVar1)" ( number_literal , (string_literal ""%s: bad number: %s"" " string_content ") , number_literal , identifier )))) ;) (expression_statement "FUN_000479f0(uVar1,param_2,param_1);" (call_expression "FUN_000479f0(uVar1,param_2,param_1)" identifier (argument_list "(uVar1,param_2,param_1)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })))
(function_definition "void FUN_00048230(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    \n  FUN_000479f0(uVar1,param_2,param_1);\n}" (primitive_type "void") (function_declarator "FUN_00048230(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00048230") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x48237;\n  uVar1 = bfd_scan_vma(param_1,&local_10,0);\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);\n                    \n  FUN_000479f0(uVar1,param_2,param_1);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char *local_10;" (primitive_type "char") (pointer_declarator "*local_10" (* "*") (identifier "local_10")) (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x48237;" (assignment_expression "uStack_c = 0x48237" (identifier "uStack_c") (= "=") (number_literal "0x48237")) (; ";")) (expression_statement "uVar1 = bfd_scan_vma(param_1,&local_10,0);" (assignment_expression "uVar1 = bfd_scan_vma(param_1,&local_10,0)" (identifier "uVar1") (= "=") (call_expression "bfd_scan_vma(param_1,&local_10,0)" (identifier "bfd_scan_vma") (argument_list "(param_1,&local_10,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (*local_10 == '\0') {\n    return;\n  }" (if "if") (parenthesized_expression "(*local_10 == '\0')" (( "(") (binary_expression "*local_10 == '\0'" (pointer_expression "*local_10" (* "*") (identifier "local_10")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);" (assignment_expression "uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%s: bad number: %s",5,uVar1)" (identifier "dcgettext") (argument_list "(0,"%s: bad number: %s",5,uVar1)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: bad number: %s"" (" """) (string_content "%s: bad number: %s") (" """)) (, ",") (number_literal "5") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "FUN_000479f0(uVar1,param_2,param_1);" (call_expression "FUN_000479f0(uVar1,param_2,param_1)" (identifier "FUN_000479f0") (argument_list "(uVar1,param_2,param_1)" (( "(") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

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

type_1 function_1(char *s,char *arg)

{
  char *format;
  type_1 bVar1;
  char *end;
  type_2 uStack_c;
  
  uStack_c = 0x48237;
  bVar1 = var_1(s,&end,0);
  if (*end == '\0') {
    return bVar1;
  }
  format = (char *)var_2(0,"%s: bad number: %s",5,(int)bVar1);
                    /* WARNING: Subroutine does not return */
  var_3(format,arg,s);
}


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

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  char *local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x48237;
  uVar1 = bfd_scan_vma(param_1,&local_10,0);
  if (*local_10 == '\0') {
    return;
  }
  uVar1 = dcgettext(0,"%s: bad number: %s",5,uVar1);
                    /* WARNING: Subroutine does not return */
  FUN_000479f0(uVar1,param_2,param_1);
}

