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

bfd_vma __regparm3 parse_number(char **pp,bfd_boolean *poverflow,char *p_end)

{
  char *__nptr;
  bfd_vma bVar1;
  int *piVar2;
  char *err;
  
  if (poverflow != (bfd_boolean *)0x0) {
    *poverflow = 0;
  }
  __nptr = *pp;
  bVar1 = 0;
  if ((__nptr < p_end) && (*__nptr != '\0')) {
    piVar2 = __errno_location();
    *piVar2 = 0;
    bVar1 = strtoul(__nptr,pp,0);
    if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {
      if (poverflow == (bfd_boolean *)0x0) {
        err = (char *)dcgettext(0,"numeric overflow",5);
        warn_stab(__nptr,err);
        bVar1 = 0;
      }
      else {
        *poverflow = 1;
        bVar1 = 0;
      }
    }
  }
  return bVar1;
}



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

ulong __regparm3 FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)

{
  char *__nptr;
  ulong uVar1;
  int *piVar2;
  
  if (param_2 != (undefined4 *)0x0) {
    *param_2 = 0;
  }
  __nptr = *param_1;
  uVar1 = 0;
  if ((__nptr < param_3) && (*__nptr != '\0')) {
    piVar2 = __errno_location();
    *piVar2 = 0;
    uVar1 = strtoul(__nptr,param_1,0);
    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {
      if (param_2 == (undefined4 *)0x0) {
        dcgettext(0,"numeric overflow",5);
        FUN_0001fd40();
        uVar1 = 0;
      }
      else {
        *param_2 = 1;
        uVar1 = 0;
      }
    }
  }
  return uVar1;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000165d0
ADD EBX,0x1f145
SUB ESP,0x1c
TEST EDX,EDX
JZ 0x0001fece
MOV dword ptr [EDX],0x0
MOV EDI,dword ptr [EBP]
XOR EAX,EAX
CMP EDI,ECX
JNC 0x0001fedc
CMP byte ptr [EDI],0x0
JNZ 0x0001fee8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],EDX
CALL 0x000135f0
SUB ESP,0x4
MOV dword ptr [EAX],0x0
MOV ESI,EAX
PUSH 0x0
PUSH EBP
PUSH EDI
CALL 0x000134b0
ADD ESP,0x10
CMP EAX,-0x1
JNZ 0x0001fedc
MOV EDX,dword ptr [ESI]
TEST EDX,EDX
JZ 0x0001fedc
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x0001ff25
MOV dword ptr [EAX],0x1
XOR EAX,EAX
JMP 0x0001fedc
SUB ESP,0x4
LEA EAX,[EBX + 0xffff3e14]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013200
MOV EDX,EAX
MOV EAX,EDI
CALL 0x0001fd40
ADD ESP,0x10
XOR EAX,EAX
JMP 0x0001fedc
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nulong __regparm3 FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "ulong __regparm3 FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)" identifier (parameter_list "(char **param_1,undefined4 *param_2,char *param_3)" ( (parameter_declaration "char **param_1" primitive_type (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = 0;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (expression_statement "__nptr = *param_1;" (assignment_expression "__nptr = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }" if (parenthesized_expression "((__nptr < param_3) && (*__nptr != '\0'))" ( (binary_expression "(__nptr < param_3) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < param_3)" ( (binary_expression "__nptr < param_3" identifier < identifier) )) && (parenthesized_expression "(*__nptr != '\0')" ( (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }" { (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "uVar1 = strtoul(__nptr,param_1,0);" (assignment_expression "uVar1 = strtoul(__nptr,param_1,0)" identifier = (call_expression "strtoul(__nptr,param_1,0)" identifier (argument_list "(__nptr,param_1,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }" if (parenthesized_expression "((uVar1 == 0xffffffff) && (*piVar2 != 0))" ( (binary_expression "(uVar1 == 0xffffffff) && (*piVar2 != 0)" (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }" { (expression_statement "dcgettext(0,"numeric overflow",5);" (call_expression "dcgettext(0,"numeric overflow",5)" identifier (argument_list "(0,"numeric overflow",5)" ( number_literal , (string_literal ""numeric overflow"" " string_content ") , number_literal ))) ;) (expression_statement "FUN_0001fd40();" (call_expression "FUN_0001fd40()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }" else (compound_statement "{\n        *param_2 = 1;\n        uVar1 = 0;\n      }" { (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }))) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_vma __regparm3 parse_number(char **pp,bfd_boolean *poverflow,char *p_end)\n\n{\n  char *__nptr;\n  bfd_vma bVar1;\n  int *piVar2;\n  char *err;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = *pp;\n  bVar1 = 0;\n  if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    bVar1 = strtoul(__nptr,pp,0);\n    if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }\n  }\n  return bVar1;\n}\n\n" comment (function_definition "bfd_vma __regparm3 parse_number(char **pp,bfd_boolean *poverflow,char *p_end)\n\n{\n  char *__nptr;\n  bfd_vma bVar1;\n  int *piVar2;\n  char *err;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = *pp;\n  bVar1 = 0;\n  if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    bVar1 = strtoul(__nptr,pp,0);\n    if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }\n  }\n  return bVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "parse_number(char **pp,bfd_boolean *poverflow,char *p_end)" identifier (parameter_list "(char **pp,bfd_boolean *poverflow,char *p_end)" ( (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "bfd_boolean *poverflow" type_identifier (pointer_declarator "*poverflow" * identifier)) , (parameter_declaration "char *p_end" primitive_type (pointer_declarator "*p_end" * identifier)) ))) (compound_statement "{\n  char *__nptr;\n  bfd_vma bVar1;\n  int *piVar2;\n  char *err;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = *pp;\n  bVar1 = 0;\n  if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    bVar1 = strtoul(__nptr,pp,0);\n    if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }\n  }\n  return bVar1;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (if_statement "if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }" if (parenthesized_expression "(poverflow != (bfd_boolean *)0x0)" ( (binary_expression "poverflow != (bfd_boolean *)0x0" identifier != (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *poverflow = 0;\n  }" { (expression_statement "*poverflow = 0;" (assignment_expression "*poverflow = 0" (pointer_expression "*poverflow" * identifier) = number_literal) ;) })) (expression_statement "__nptr = *pp;" (assignment_expression "__nptr = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "bVar1 = 0;" (assignment_expression "bVar1 = 0" identifier = number_literal) ;) (if_statement "if ((__nptr < p_end) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    bVar1 = strtoul(__nptr,pp,0);\n    if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }\n  }" if (parenthesized_expression "((__nptr < p_end) && (*__nptr != '\0'))" ( (binary_expression "(__nptr < p_end) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < p_end)" ( (binary_expression "__nptr < p_end" identifier < identifier) )) && (parenthesized_expression "(*__nptr != '\0')" ( (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    bVar1 = strtoul(__nptr,pp,0);\n    if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }\n  }" { (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "bVar1 = strtoul(__nptr,pp,0);" (assignment_expression "bVar1 = strtoul(__nptr,pp,0)" identifier = (call_expression "strtoul(__nptr,pp,0)" identifier (argument_list "(__nptr,pp,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((bVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }" if (parenthesized_expression "((bVar1 == 0xffffffff) && (*piVar2 != 0))" ( (binary_expression "(bVar1 == 0xffffffff) && (*piVar2 != 0)" (parenthesized_expression "(bVar1 == 0xffffffff)" ( (binary_expression "bVar1 == 0xffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }\n    }" { (if_statement "if (poverflow == (bfd_boolean *)0x0) {\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }\n      else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }" if (parenthesized_expression "(poverflow == (bfd_boolean *)0x0)" ( (binary_expression "poverflow == (bfd_boolean *)0x0" identifier == (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        err = (char *)dcgettext(0,"numeric overflow",5);\n        warn_stab(__nptr,err);\n        bVar1 = 0;\n      }" { (expression_statement "err = (char *)dcgettext(0,"numeric overflow",5);" (assignment_expression "err = (char *)dcgettext(0,"numeric overflow",5)" identifier = (cast_expression "(char *)dcgettext(0,"numeric overflow",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"numeric overflow",5)" identifier (argument_list "(0,"numeric overflow",5)" ( number_literal , (string_literal ""numeric overflow"" " string_content ") , number_literal ))))) ;) (expression_statement "warn_stab(__nptr,err);" (call_expression "warn_stab(__nptr,err)" identifier (argument_list "(__nptr,err)" ( identifier , identifier ))) ;) (expression_statement "bVar1 = 0;" (assignment_expression "bVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *poverflow = 1;\n        bVar1 = 0;\n      }" else (compound_statement "{\n        *poverflow = 1;\n        bVar1 = 0;\n      }" { (expression_statement "*poverflow = 1;" (assignment_expression "*poverflow = 1" (pointer_expression "*poverflow" * identifier) = number_literal) ;) (expression_statement "bVar1 = 0;" (assignment_expression "bVar1 = 0" identifier = number_literal) ;) }))) })) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "ulong __regparm3 FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "ulong __regparm3 FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)" identifier (parameter_list "(char **param_1,undefined4 *param_2,char *param_3)" ( (parameter_declaration "char **param_1" primitive_type (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = 0;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (expression_statement "__nptr = *param_1;" (assignment_expression "__nptr = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }" if (parenthesized_expression "((__nptr < param_3) && (*__nptr != '\0'))" ( (binary_expression "(__nptr < param_3) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < param_3)" ( (binary_expression "__nptr < param_3" identifier < identifier) )) && (parenthesized_expression "(*__nptr != '\0')" ( (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }" { (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "uVar1 = strtoul(__nptr,param_1,0);" (assignment_expression "uVar1 = strtoul(__nptr,param_1,0)" identifier = (call_expression "strtoul(__nptr,param_1,0)" identifier (argument_list "(__nptr,param_1,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }" if (parenthesized_expression "((uVar1 == 0xffffffff) && (*piVar2 != 0))" ( (binary_expression "(uVar1 == 0xffffffff) && (*piVar2 != 0)" (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }" { (expression_statement "dcgettext(0,"numeric overflow",5);" (call_expression "dcgettext(0,"numeric overflow",5)" identifier (argument_list "(0,"numeric overflow",5)" ( number_literal , (string_literal ""numeric overflow"" " string_content ") , number_literal ))) ;) (expression_statement "FUN_0001fd40();" (call_expression "FUN_0001fd40()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }" else (compound_statement "{\n        *param_2 = 1;\n        uVar1 = 0;\n      }" { (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }))) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) })) (return_statement return IDENT ;) })))
(function_definition "ulong __regparm3 FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)\n\n{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}" (type_identifier "ulong") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001feb0(char **param_1,undefined4 *param_2,char *param_3)" (identifier "FUN_0001feb0") (parameter_list "(char **param_1,undefined4 *param_2,char *param_3)" (( "(") (parameter_declaration "char **param_1" (primitive_type "char") (pointer_declarator "**param_1" (* "*") (pointer_declarator "*param_1" (* "*") (identifier "param_1")))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  char *__nptr;\n  ulong uVar1;\n  int *piVar2;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = *param_1;\n  uVar1 = 0;\n  if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "char *__nptr;" (primitive_type "char") (pointer_declarator "*__nptr" (* "*") (identifier "__nptr")) (; ";")) (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" (if "if") (parenthesized_expression "(param_2 != (undefined4 *)0x0)" (( "(") (binary_expression "param_2 != (undefined4 *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_2 = 0;\n  }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "__nptr = *param_1;" (assignment_expression "__nptr = *param_1" (identifier "__nptr") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((__nptr < param_3) && (*__nptr != '\0')) {\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((__nptr < param_3) && (*__nptr != '\0'))" (( "(") (binary_expression "(__nptr < param_3) && (*__nptr != '\0')" (parenthesized_expression "(__nptr < param_3)" (( "(") (binary_expression "__nptr < param_3" (identifier "__nptr") (< "<") (identifier "param_3")) () ")")) (&& "&&") (parenthesized_expression "(*__nptr != '\0')" (( "(") (binary_expression "*__nptr != '\0'" (pointer_expression "*__nptr" (* "*") (identifier "__nptr")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    piVar2 = __errno_location();\n    *piVar2 = 0;\n    uVar1 = strtoul(__nptr,param_1,0);\n    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }\n  }" ({ "{") (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = strtoul(__nptr,param_1,0);" (assignment_expression "uVar1 = strtoul(__nptr,param_1,0)" (identifier "uVar1") (= "=") (call_expression "strtoul(__nptr,param_1,0)" (identifier "strtoul") (argument_list "(__nptr,param_1,0)" (( "(") (identifier "__nptr") (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }" (if "if") (parenthesized_expression "((uVar1 == 0xffffffff) && (*piVar2 != 0))" (( "(") (binary_expression "(uVar1 == 0xffffffff) && (*piVar2 != 0)" (parenthesized_expression "(uVar1 == 0xffffffff)" (( "(") (binary_expression "uVar1 == 0xffffffff" (identifier "uVar1") (== "==") (number_literal "0xffffffff")) () ")")) (&& "&&") (parenthesized_expression "(*piVar2 != 0)" (( "(") (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }\n    }" ({ "{") (if_statement "if (param_2 == (undefined4 *)0x0) {\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }\n      else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        dcgettext(0,"numeric overflow",5);\n        FUN_0001fd40();\n        uVar1 = 0;\n      }" ({ "{") (expression_statement "dcgettext(0,"numeric overflow",5);" (call_expression "dcgettext(0,"numeric overflow",5)" (identifier "dcgettext") (argument_list "(0,"numeric overflow",5)" (( "(") (number_literal "0") (, ",") (string_literal ""numeric overflow"" (" """) (string_content "numeric overflow") (" """)) (, ",") (number_literal "5") () ")"))) (; ";")) (expression_statement "FUN_0001fd40();" (call_expression "FUN_0001fd40()" (identifier "FUN_0001fd40") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        *param_2 = 1;\n        uVar1 = 0;\n      }" (else "else") (compound_statement "{\n        *param_2 = 1;\n        uVar1 = 0;\n      }" ({ "{") (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(char **pp,type_2 *var_1,char *var_3)

{
  char *var_2;
  type_1 var_6;
  int *piVar2;
  char *err;
  
  if (var_1 != (type_2 *)0x0) {
    *var_1 = 0;
  }
  var_2 = *pp;
  var_6 = 0;
  if ((var_2 < var_3) && (*var_2 != '\0')) {
    piVar2 = var_4();
    *piVar2 = 0;
    var_6 = var_5(var_2,pp,0);
    if ((var_6 == 0xffffffff) && (*piVar2 != 0)) {
      if (var_1 == (type_2 *)0x0) {
        err = (char *)var_7(0,"numeric overflow",5);
        var_8(var_2,err);
        var_6 = 0;
      }
      else {
        *var_1 = 1;
        var_6 = 0;
      }
    }
  }
  return var_6;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))))) (return_statement (identifier)))))

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

ulong __regparm3 MASKED(char **param_1,undefined4 *param_2,char *param_3)

{
  char *__nptr;
  ulong uVar1;
  int *piVar2;
  
  if (param_2 != (undefined4 *)0x0) {
    *param_2 = 0;
  }
  __nptr = *param_1;
  uVar1 = 0;
  if ((__nptr < param_3) && (*__nptr != '\0')) {
    piVar2 = __errno_location();
    *piVar2 = 0;
    uVar1 = strtoul(__nptr,param_1,0);
    if ((uVar1 == 0xffffffff) && (*piVar2 != 0)) {
      if (param_2 == (undefined4 *)0x0) {
        dcgettext(0,"numeric overflow",5);
        FUN_0001fd40();
        uVar1 = 0;
      }
      else {
        *param_2 = 1;
        uVar1 = 0;
      }
    }
  }
  return uVar1;
}

