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

int __regparm3 ssh_versioncmp(char *a,char *b)

{
  ulong uVar1;
  ulong uVar2;
  int iVar3;
  int in_GS_OFFSET;
  bool bVar4;
  char *ae;
  char *be;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x34f29;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar1 = strtoul(a,&ae,10);
  uVar2 = strtoul(b,&be,10);
  bVar4 = uVar1 < uVar2;
  if (uVar1 == uVar2) {
    if (*ae == '.') {
      ae = ae + 1;
    }
    if (*be == '.') {
      be = be + 1;
    }
    uVar1 = strtoul(ae,&ae,10);
    uVar2 = strtoul(be,&be,10);
    iVar3 = 0;
    bVar4 = uVar1 < uVar2;
    if (uVar1 == uVar2) goto LAB_00034fae;
  }
  iVar3 = 1;
  if (bVar4) {
    iVar3 = -1;
  }
LAB_00034fae:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined4 __regparm3 FUN_00034f20(char *param_1,char *param_2)

{
  ulong uVar1;
  ulong uVar2;
  undefined4 uVar3;
  int in_GS_OFFSET;
  bool bVar4;
  char *local_28;
  char *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x34f29;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar1 = strtoul(param_1,&local_28,10);
  uVar2 = strtoul(param_2,&local_24,10);
  bVar4 = uVar1 < uVar2;
  if (uVar1 == uVar2) {
    if (*local_28 == '.') {
      local_28 = local_28 + 1;
    }
    if (*local_24 == '.') {
      local_24 = local_24 + 1;
    }
    uVar1 = strtoul(local_28,&local_28,10);
    uVar2 = strtoul(local_24,&local_24,10);
    uVar3 = 0;
    bVar4 = uVar1 < uVar2;
    if (uVar1 == uVar2) goto LAB_00034fae;
  }
  uVar3 = 1;
  if (bVar4) {
    uVar3 = 0xffffffff;
  }
LAB_00034fae:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0x97e47
SUB ESP,0x30
MOV dword ptr [ESP + 0x10],EDX
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x20],ECX
XOR ECX,ECX
PUSH 0xa
LEA EBP,[ESP + 0x1c]
PUSH EBP
PUSH EAX
CALL 0x00014430
ADD ESP,0xc
PUSH 0xa
MOV EDI,EAX
LEA ESI,[ESP + 0x20]
PUSH ESI
MOV EDX,dword ptr [ESP + 0x18]
PUSH EDX
CALL 0x00014430
ADD ESP,0x10
CMP EDI,EAX
JNZ 0x00034fc8
MOV EAX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX],0x2e
JZ 0x00034fe0
MOV EDX,dword ptr [ESP + 0x18]
CMP byte ptr [EDX],0x2e
JNZ 0x00034f86
ADD EDX,0x1
MOV dword ptr [ESP + 0x18],EDX
SUB ESP,0x4
PUSH 0xa
PUSH EBP
PUSH EAX
CALL 0x00014430
ADD ESP,0xc
PUSH 0xa
MOV EDI,EAX
PUSH ESI
PUSH dword ptr [ESP + 0x24]
CALL 0x00014430
ADD ESP,0x10
MOV EDX,EAX
XOR EAX,EAX
CMP EDI,EDX
JNZ 0x00034fc8
MOV ECX,dword ptr [ESP + 0x1c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x00034fe9
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x1
JNC 0x00034fae
MOV EAX,0xffffffff
JMP 0x00034fae
ADD EAX,0x1
MOV dword ptr [ESP + 0x14],EAX
JMP 0x00034f76
CALL 0x0008d800
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00034f20(char *param_1,char *param_2)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00034f20(char *param_1,char *param_2)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00034f20(char *param_1,char *param_2)" identifier (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34f29;" (assignment_expression "uStack_14 = 0x34f29" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = strtoul(param_1,&local_28,10);" (assignment_expression "uVar1 = strtoul(param_1,&local_28,10)" identifier = (call_expression "strtoul(param_1,&local_28,10)" identifier (argument_list "(param_1,&local_28,10)" ( identifier , (pointer_expression "&local_28" & identifier) , number_literal )))) ;) (expression_statement "uVar2 = strtoul(param_2,&local_24,10);" (assignment_expression "uVar2 = strtoul(param_2,&local_24,10)" identifier = (call_expression "strtoul(param_2,&local_24,10)" identifier (argument_list "(param_2,&local_24,10)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (compound_statement "{\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" { (if_statement "if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }" if (parenthesized_expression "(*local_28 == '.')" ( (binary_expression "*local_28 == '.'" (pointer_expression "*local_28" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      local_28 = local_28 + 1;\n    }" { (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) })) (if_statement "if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }" if (parenthesized_expression "(*local_24 == '.')" ( (binary_expression "*local_24 == '.'" (pointer_expression "*local_24" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = strtoul(local_28,&local_28,10);" (assignment_expression "uVar1 = strtoul(local_28,&local_28,10)" identifier = (call_expression "strtoul(local_28,&local_28,10)" identifier (argument_list "(local_28,&local_28,10)" ( identifier , (pointer_expression "&local_28" & identifier) , number_literal )))) ;) (expression_statement "uVar2 = strtoul(local_24,&local_24,10);" (assignment_expression "uVar2 = strtoul(local_24,&local_24,10)" identifier = (call_expression "strtoul(local_24,&local_24,10)" identifier (argument_list "(local_24,&local_24,10)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) goto LAB_00034fae;" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_00034fae;" goto statement_identifier ;)) })) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (if_statement "if (bVar4) {\n    uVar3 = 0xffffffff;\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) })) (labeled_statement "LAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) comment (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 ssh_versioncmp(char *a,char *b)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  int iVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *ae;\n  char *be;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(a,&ae,10);\n  uVar2 = strtoul(b,&be,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*ae == '.') {\n      ae = ae + 1;\n    }\n    if (*be == '.') {\n      be = be + 1;\n    }\n    uVar1 = strtoul(ae,&ae,10);\n    uVar2 = strtoul(be,&be,10);\n    iVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  iVar3 = 1;\n  if (bVar4) {\n    iVar3 = -1;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int __regparm3 ssh_versioncmp(char *a,char *b)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  int iVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *ae;\n  char *be;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(a,&ae,10);\n  uVar2 = strtoul(b,&be,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*ae == '.') {\n      ae = ae + 1;\n    }\n    if (*be == '.') {\n      be = be + 1;\n    }\n    uVar1 = strtoul(ae,&ae,10);\n    uVar2 = strtoul(be,&be,10);\n    iVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  iVar3 = 1;\n  if (bVar4) {\n    iVar3 = -1;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "ssh_versioncmp(char *a,char *b)" identifier (parameter_list "(char *a,char *b)" ( (parameter_declaration "char *a" primitive_type (pointer_declarator "*a" * identifier)) , (parameter_declaration "char *b" primitive_type (pointer_declarator "*b" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  int iVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *ae;\n  char *be;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(a,&ae,10);\n  uVar2 = strtoul(b,&be,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*ae == '.') {\n      ae = ae + 1;\n    }\n    if (*be == '.') {\n      be = be + 1;\n    }\n    uVar1 = strtoul(ae,&ae,10);\n    uVar2 = strtoul(be,&be,10);\n    iVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  iVar3 = 1;\n  if (bVar4) {\n    iVar3 = -1;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "char *ae;" primitive_type (pointer_declarator "*ae" * identifier) ;) (declaration "char *be;" primitive_type (pointer_declarator "*be" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34f29;" (assignment_expression "uStack_14 = 0x34f29" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = strtoul(a,&ae,10);" (assignment_expression "uVar1 = strtoul(a,&ae,10)" identifier = (call_expression "strtoul(a,&ae,10)" identifier (argument_list "(a,&ae,10)" ( identifier , (pointer_expression "&ae" & identifier) , number_literal )))) ;) (expression_statement "uVar2 = strtoul(b,&be,10);" (assignment_expression "uVar2 = strtoul(b,&be,10)" identifier = (call_expression "strtoul(b,&be,10)" identifier (argument_list "(b,&be,10)" ( identifier , (pointer_expression "&be" & identifier) , number_literal )))) ;) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) {\n    if (*ae == '.') {\n      ae = ae + 1;\n    }\n    if (*be == '.') {\n      be = be + 1;\n    }\n    uVar1 = strtoul(ae,&ae,10);\n    uVar2 = strtoul(be,&be,10);\n    iVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (compound_statement "{\n    if (*ae == '.') {\n      ae = ae + 1;\n    }\n    if (*be == '.') {\n      be = be + 1;\n    }\n    uVar1 = strtoul(ae,&ae,10);\n    uVar2 = strtoul(be,&be,10);\n    iVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" { (if_statement "if (*ae == '.') {\n      ae = ae + 1;\n    }" if (parenthesized_expression "(*ae == '.')" ( (binary_expression "*ae == '.'" (pointer_expression "*ae" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      ae = ae + 1;\n    }" { (expression_statement "ae = ae + 1;" (assignment_expression "ae = ae + 1" identifier = (binary_expression "ae + 1" identifier + number_literal)) ;) })) (if_statement "if (*be == '.') {\n      be = be + 1;\n    }" if (parenthesized_expression "(*be == '.')" ( (binary_expression "*be == '.'" (pointer_expression "*be" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      be = be + 1;\n    }" { (expression_statement "be = be + 1;" (assignment_expression "be = be + 1" identifier = (binary_expression "be + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = strtoul(ae,&ae,10);" (assignment_expression "uVar1 = strtoul(ae,&ae,10)" identifier = (call_expression "strtoul(ae,&ae,10)" identifier (argument_list "(ae,&ae,10)" ( identifier , (pointer_expression "&ae" & identifier) , number_literal )))) ;) (expression_statement "uVar2 = strtoul(be,&be,10);" (assignment_expression "uVar2 = strtoul(be,&be,10)" identifier = (call_expression "strtoul(be,&be,10)" identifier (argument_list "(be,&be,10)" ( identifier , (pointer_expression "&be" & identifier) , number_literal )))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) goto LAB_00034fae;" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_00034fae;" goto statement_identifier ;)) })) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (if_statement "if (bVar4) {\n    iVar3 = -1;\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    iVar3 = -1;\n  }" { (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) })) (labeled_statement "LAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 __regparm3 FUN_00034f20(char *param_1,char *param_2)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    \n  FUN_0008d800();\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00034f20(char *param_1,char *param_2)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    \n  FUN_0008d800();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00034f20(char *param_1,char *param_2)" identifier (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    \n  FUN_0008d800();\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34f29;" (assignment_expression "uStack_14 = 0x34f29" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = strtoul(param_1,&local_28,10);" (assignment_expression "uVar1 = strtoul(param_1,&local_28,10)" identifier = (call_expression "strtoul(param_1,&local_28,10)" identifier (argument_list "(param_1,&local_28,10)" ( identifier , (pointer_expression "&local_28" & identifier) , number_literal )))) ;) (expression_statement "uVar2 = strtoul(param_2,&local_24,10);" (assignment_expression "uVar2 = strtoul(param_2,&local_24,10)" identifier = (call_expression "strtoul(param_2,&local_24,10)" identifier (argument_list "(param_2,&local_24,10)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (compound_statement "{\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" { (if_statement "if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }" if (parenthesized_expression "(*local_28 == '.')" ( (binary_expression "*local_28 == '.'" (pointer_expression "*local_28" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      local_28 = local_28 + 1;\n    }" { (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) })) (if_statement "if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }" if (parenthesized_expression "(*local_24 == '.')" ( (binary_expression "*local_24 == '.'" (pointer_expression "*local_24" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = strtoul(local_28,&local_28,10);" (assignment_expression "uVar1 = strtoul(local_28,&local_28,10)" identifier = (call_expression "strtoul(local_28,&local_28,10)" identifier (argument_list "(local_28,&local_28,10)" ( identifier , (pointer_expression "&local_28" & identifier) , number_literal )))) ;) (expression_statement "uVar2 = strtoul(local_24,&local_24,10);" (assignment_expression "uVar2 = strtoul(local_24,&local_24,10)" identifier = (call_expression "strtoul(local_24,&local_24,10)" identifier (argument_list "(local_24,&local_24,10)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) goto LAB_00034fae;" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_00034fae;" goto statement_identifier ;)) })) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (if_statement "if (bVar4) {\n    uVar3 = 0xffffffff;\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) })) (labeled_statement "LAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_00034f20(char *param_1,char *param_2)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    \n  FUN_0008d800();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00034f20(char *param_1,char *param_2)" (identifier "FUN_00034f20") (parameter_list "(char *param_1,char *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  undefined4 uVar3;\n  int in_GS_OFFSET;\n  bool bVar4;\n  char *local_28;\n  char *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34f29;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar1 = strtoul(param_1,&local_28,10);\n  uVar2 = strtoul(param_2,&local_24,10);\n  bVar4 = uVar1 < uVar2;\n  if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }\n  uVar3 = 1;\n  if (bVar4) {\n    uVar3 = 0xffffffff;\n  }\nLAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }\n                    \n  FUN_0008d800();\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "char *local_28;" (primitive_type "char") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "char *local_24;" (primitive_type "char") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x34f29;" (assignment_expression "uStack_14 = 0x34f29" (identifier "uStack_14") (= "=") (number_literal "0x34f29")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar1 = strtoul(param_1,&local_28,10);" (assignment_expression "uVar1 = strtoul(param_1,&local_28,10)" (identifier "uVar1") (= "=") (call_expression "strtoul(param_1,&local_28,10)" (identifier "strtoul") (argument_list "(param_1,&local_28,10)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar2 = strtoul(param_2,&local_24,10);" (assignment_expression "uVar2 = strtoul(param_2,&local_24,10)" (identifier "uVar2") (= "=") (call_expression "strtoul(param_2,&local_24,10)" (identifier "strtoul") (argument_list "(param_2,&local_24,10)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" (identifier "bVar4") (= "=") (binary_expression "uVar1 < uVar2" (identifier "uVar1") (< "<") (identifier "uVar2"))) (; ";")) (if_statement "if (uVar1 == uVar2) {\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" (if "if") (parenthesized_expression "(uVar1 == uVar2)" (( "(") (binary_expression "uVar1 == uVar2" (identifier "uVar1") (== "==") (identifier "uVar2")) () ")")) (compound_statement "{\n    if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }\n    if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }\n    uVar1 = strtoul(local_28,&local_28,10);\n    uVar2 = strtoul(local_24,&local_24,10);\n    uVar3 = 0;\n    bVar4 = uVar1 < uVar2;\n    if (uVar1 == uVar2) goto LAB_00034fae;\n  }" ({ "{") (if_statement "if (*local_28 == '.') {\n      local_28 = local_28 + 1;\n    }" (if "if") (parenthesized_expression "(*local_28 == '.')" (( "(") (binary_expression "*local_28 == '.'" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n      local_28 = local_28 + 1;\n    }" ({ "{") (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" (identifier "local_28") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (*local_24 == '.') {\n      local_24 = local_24 + 1;\n    }" (if "if") (parenthesized_expression "(*local_24 == '.')" (( "(") (binary_expression "*local_24 == '.'" (pointer_expression "*local_24" (* "*") (identifier "local_24")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" ({ "{") (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar1 = strtoul(local_28,&local_28,10);" (assignment_expression "uVar1 = strtoul(local_28,&local_28,10)" (identifier "uVar1") (= "=") (call_expression "strtoul(local_28,&local_28,10)" (identifier "strtoul") (argument_list "(local_28,&local_28,10)" (( "(") (identifier "local_28") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar2 = strtoul(local_24,&local_24,10);" (assignment_expression "uVar2 = strtoul(local_24,&local_24,10)" (identifier "uVar2") (= "=") (call_expression "strtoul(local_24,&local_24,10)" (identifier "strtoul") (argument_list "(local_24,&local_24,10)" (( "(") (identifier "local_24") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar4 = uVar1 < uVar2;" (assignment_expression "bVar4 = uVar1 < uVar2" (identifier "bVar4") (= "=") (binary_expression "uVar1 < uVar2" (identifier "uVar1") (< "<") (identifier "uVar2"))) (; ";")) (if_statement "if (uVar1 == uVar2) goto LAB_00034fae;" (if "if") (parenthesized_expression "(uVar1 == uVar2)" (( "(") (binary_expression "uVar1 == uVar2" (identifier "uVar1") (== "==") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_00034fae;" (goto "goto") (statement_identifier "LAB_00034fae") (; ";"))) (} "}"))) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (if_statement "if (bVar4) {\n    uVar3 = 0xffffffff;\n  }" (if "if") (parenthesized_expression "(bVar4)" (( "(") (identifier "bVar4") () ")")) (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" ({ "{") (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}"))) (labeled_statement "LAB_00034fae:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }" (statement_identifier "LAB_00034fae") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" (identifier "FUN_0008d800") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int __regparm3 function_1(char *a,char *b)

{
  type_1 var_3;
  type_1 var_4;
  int iVar3;
  int var_1;
  bool bVar4;
  char *var_5;
  char *var_6;
  int var_7;
  type_2 uStack_14;
  
  uStack_14 = 0x34f29;
  var_7 = *(int *)(var_1 + 0x14);
  var_3 = var_2(a,&var_5,10);
  var_4 = var_2(b,&var_6,10);
  bVar4 = var_3 < var_4;
  if (var_3 == var_4) {
    if (*var_5 == '.') {
      var_5 = var_5 + 1;
    }
    if (*var_6 == '.') {
      var_6 = var_6 + 1;
    }
    var_3 = var_2(var_5,&var_5,10);
    var_4 = var_2(var_6,&var_6,10);
    iVar3 = 0;
    bVar4 = var_3 < var_4;
    if (var_3 == var_4) goto LAB_00034fae;
  }
  iVar3 = 1;
  if (bVar4) {
    iVar3 = -1;
  }
LAB_00034fae:
  if (var_7 == *(int *)(var_1 + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  var_8();
}


(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: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) 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)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

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

{
  ulong uVar1;
  ulong uVar2;
  undefined4 uVar3;
  int in_GS_OFFSET;
  bool bVar4;
  char *local_28;
  char *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x34f29;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar1 = strtoul(param_1,&local_28,10);
  uVar2 = strtoul(param_2,&local_24,10);
  bVar4 = uVar1 < uVar2;
  if (uVar1 == uVar2) {
    if (*local_28 == '.') {
      local_28 = local_28 + 1;
    }
    if (*local_24 == '.') {
      local_24 = local_24 + 1;
    }
    uVar1 = strtoul(local_28,&local_28,10);
    uVar2 = strtoul(local_24,&local_24,10);
    uVar3 = 0;
    bVar4 = uVar1 < uVar2;
    if (uVar1 == uVar2) goto LAB_00034fae;
  }
  uVar3 = 1;
  if (bVar4) {
    uVar3 = 0xffffffff;
  }
LAB_00034fae:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}

