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

int strcmp_size(V a,V b)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  
  iVar4 = *(int *)((int)b + 0x3c);
  uVar3 = *(uint *)((int)a + 0x38);
  uVar1 = *(uint *)((int)b + 0x38);
  iVar2 = *(int *)((int)a + 0x3c);
  if ((SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==
      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0) {
    if (iVar4 == iVar2 && uVar1 == uVar3) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
      iVar4 = strcmp(*a,*b);
      return iVar4;
    }
    uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=
                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);
  }
  else {
    uVar3 = 0xffffffff;
  }
  return uVar3;
}



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

uint FUN_00017f10(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  
  iVar1 = param_2[0xf];
  uVar4 = param_1[0xe];
  uVar2 = param_2[0xe];
  iVar3 = param_1[0xf];
  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==
      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {
    if (iVar1 == iVar3 && uVar2 == uVar4) {
      uVar4 = strcmp((char *)*param_1,(char *)*param_2);
      return uVar4;
    }
    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=
                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);
  }
  else {
    uVar4 = 0xffffffff;
  }
  return uVar4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014250
ADD EBX,0x230e7
SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [EDX + 0x3c]
MOV EDX,dword ptr [ECX + 0x38]
MOV EAX,dword ptr [EAX + 0x38]
MOV ECX,dword ptr [ECX + 0x3c]
MOV EDI,ESI
CMP EAX,EDX
SBB EDI,ECX
JL 0x00017f80
MOV EDI,EAX
MOV EBP,ESI
XOR EDI,EDX
XOR EBP,ECX
OR EBP,EDI
JZ 0x00017f60
CMP EDX,EAX
SBB ECX,ESI
SETL AL
MOVZX EAX,AL
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX]
CALL 0x000120a0
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0xffffffff
JMP 0x00017f58
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00017f10(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}\n\n" comment (function_definition "uint FUN_00017f10(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00017f10(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "iVar1 = param_2[0xf];" (assignment_expression "iVar1 = param_2[0xf]" identifier = (subscript_expression "param_2[0xf]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_1[0xe];" (assignment_expression "uVar4 = param_1[0xe]" identifier = (subscript_expression "param_1[0xe]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = param_2[0xe];" (assignment_expression "uVar2 = param_2[0xe]" identifier = (subscript_expression "param_2[0xe]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[0xf];" (assignment_expression "iVar3 = param_1[0xf]" identifier = (subscript_expression "param_1[0xf]" identifier [ number_literal ])) ;) (if_statement "if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }" if (parenthesized_expression "((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0)" ( (binary_expression "(SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4)))" ( (binary_expression "SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))" (call_expression "SBORROW4(iVar1,iVar3)" identifier (argument_list "(iVar1,iVar3)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))" identifier (argument_list "(iVar1 - iVar3,(uint)(uVar2 < uVar4))" ( (binary_expression "iVar1 - iVar3" identifier - identifier) , (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) )))) )) == (binary_expression "(int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0" (cast_expression "(int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar1 - iVar3) - (uint)(uVar2 < uVar4))" ( (binary_expression "(iVar1 - iVar3) - (uint)(uVar2 < uVar4)" (parenthesized_expression "(iVar1 - iVar3)" ( (binary_expression "iVar1 - iVar3" identifier - identifier) )) - (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }" { (if_statement "if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }" if (parenthesized_expression "(iVar1 == iVar3 && uVar2 == uVar4)" ( (binary_expression "iVar1 == iVar3 && uVar2 == uVar4" (binary_expression "iVar1 == iVar3" identifier == identifier) && (binary_expression "uVar2 == uVar4" identifier == identifier)) )) (compound_statement "{\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }" { (expression_statement "uVar4 = strcmp((char *)*param_1,(char *)*param_2);" (assignment_expression "uVar4 = strcmp((char *)*param_1,(char *)*param_2)" identifier = (call_expression "strcmp((char *)*param_1,(char *)*param_2)" identifier (argument_list "((char *)*param_1,(char *)*param_2)" ( (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);" (assignment_expression "uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" identifier = (call_expression "(uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" ( (binary_expression "(SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2)))" ( (binary_expression "SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))" (call_expression "SBORROW4(iVar3,iVar1)" identifier (argument_list "(iVar3,iVar1)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))" identifier (argument_list "(iVar3 - iVar1,(uint)(uVar4 < uVar2))" ( (binary_expression "iVar3 - iVar1" identifier - identifier) , (call_expression "(uint)(uVar4 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) ))) )))) )) != (binary_expression "(int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0" (cast_expression "(int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar3 - iVar1) - (uint)(uVar4 < uVar2))" ( (binary_expression "(iVar3 - iVar1) - (uint)(uVar4 < uVar2)" (parenthesized_expression "(iVar3 - iVar1)" ( (binary_expression "iVar3 - iVar1" identifier - identifier) )) - (call_expression "(uint)(uVar4 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) )))) ))) < number_literal)) )))) ;) }) (else_clause "else {\n    uVar4 = 0xffffffff;\n  }" else (compound_statement "{\n    uVar4 = 0xffffffff;\n  }" { (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint strcmp_size(V a,V b)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)((int)b + 0x3c);\n  uVar3 = *(uint *)((int)a + 0x38);\n  uVar1 = *(uint *)((int)b + 0x38);\n  iVar2 = *(int *)((int)a + 0x3c);\n  if ((SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==\n      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0) {\n    if (iVar4 == iVar2 && uVar1 == uVar3) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }\n    uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}\n\n" comment comment (function_definition "int strcmp_size(V a,V b)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)((int)b + 0x3c);\n  uVar3 = *(uint *)((int)a + 0x38);\n  uVar1 = *(uint *)((int)b + 0x38);\n  iVar2 = *(int *)((int)a + 0x3c);\n  if ((SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==\n      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0) {\n    if (iVar4 == iVar2 && uVar1 == uVar3) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }\n    uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" primitive_type (function_declarator "strcmp_size(V a,V b)" identifier (parameter_list "(V a,V b)" ( (parameter_declaration "V a" type_identifier identifier) , (parameter_declaration "V b" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)((int)b + 0x3c);\n  uVar3 = *(uint *)((int)a + 0x38);\n  uVar1 = *(uint *)((int)b + 0x38);\n  iVar2 = *(int *)((int)a + 0x3c);\n  if ((SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==\n      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0) {\n    if (iVar4 == iVar2 && uVar1 == uVar3) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }\n    uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)((int)b + 0x3c);" (assignment_expression "iVar4 = *(int *)((int)b + 0x3c)" identifier = (pointer_expression "*(int *)((int)b + 0x3c)" * (cast_expression "(int *)((int)b + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x3c)" ( (binary_expression "(int)b + 0x3c" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)((int)a + 0x38);" (assignment_expression "uVar3 = *(uint *)((int)a + 0x38)" identifier = (pointer_expression "*(uint *)((int)a + 0x38)" * (cast_expression "(uint *)((int)a + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x38)" ( (binary_expression "(int)a + 0x38" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)((int)b + 0x38);" (assignment_expression "uVar1 = *(uint *)((int)b + 0x38)" identifier = (pointer_expression "*(uint *)((int)b + 0x38)" * (cast_expression "(uint *)((int)b + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x38)" ( (binary_expression "(int)b + 0x38" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)((int)a + 0x3c);" (assignment_expression "iVar2 = *(int *)((int)a + 0x3c)" identifier = (pointer_expression "*(int *)((int)a + 0x3c)" * (cast_expression "(int *)((int)a + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x3c)" ( (binary_expression "(int)a + 0x3c" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==\n      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0) {\n    if (iVar4 == iVar2 && uVar1 == uVar3) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }\n    uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }" if (parenthesized_expression "((SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==\n      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0)" ( (binary_expression "(SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))) ==\n      (int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0" (parenthesized_expression "(SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3)))" ( (binary_expression "SBORROW4(iVar4,iVar2) != SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))" (call_expression "SBORROW4(iVar4,iVar2)" identifier (argument_list "(iVar4,iVar2)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar4 - iVar2,(uint)(uVar1 < uVar3))" identifier (argument_list "(iVar4 - iVar2,(uint)(uVar1 < uVar3))" ( (binary_expression "iVar4 - iVar2" identifier - identifier) , (call_expression "(uint)(uVar1 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar3)" ( (binary_expression "uVar1 < uVar3" identifier < identifier) ))) )))) )) == (binary_expression "(int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3)) < 0" (cast_expression "(int)((iVar4 - iVar2) - (uint)(uVar1 < uVar3))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar4 - iVar2) - (uint)(uVar1 < uVar3))" ( (binary_expression "(iVar4 - iVar2) - (uint)(uVar1 < uVar3)" (parenthesized_expression "(iVar4 - iVar2)" ( (binary_expression "iVar4 - iVar2" identifier - identifier) )) - (call_expression "(uint)(uVar1 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar3)" ( (binary_expression "uVar1 < uVar3" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n    if (iVar4 == iVar2 && uVar1 == uVar3) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }\n    uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);\n  }" { (if_statement "if (iVar4 == iVar2 && uVar1 == uVar3) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }" if (parenthesized_expression "(iVar4 == iVar2 && uVar1 == uVar3)" ( (binary_expression "iVar4 == iVar2 && uVar1 == uVar3" (binary_expression "iVar4 == iVar2" identifier == identifier) && (binary_expression "uVar1 == uVar3" identifier == identifier)) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = strcmp(*a,*b);\n      return iVar4;\n    }" { comment comment (expression_statement "iVar4 = strcmp(*a,*b);" (assignment_expression "iVar4 = strcmp(*a,*b)" identifier = (call_expression "strcmp(*a,*b)" identifier (argument_list "(*a,*b)" ( (pointer_expression "*a" * identifier) , (pointer_expression "*b" * identifier) )))) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0);" (assignment_expression "uVar3 = (uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0)" identifier = (call_expression "(uint)((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0)" ( (binary_expression "(SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))) !=\n                  (int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0" (parenthesized_expression "(SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1)))" ( (binary_expression "SBORROW4(iVar2,iVar4) != SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))" (call_expression "SBORROW4(iVar2,iVar4)" identifier (argument_list "(iVar2,iVar4)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar2 - iVar4,(uint)(uVar3 < uVar1))" identifier (argument_list "(iVar2 - iVar4,(uint)(uVar3 < uVar1))" ( (binary_expression "iVar2 - iVar4" identifier - identifier) , (call_expression "(uint)(uVar3 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) ))) )))) )) != (binary_expression "(int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1)) < 0" (cast_expression "(int)((iVar2 - iVar4) - (uint)(uVar3 < uVar1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar2 - iVar4) - (uint)(uVar3 < uVar1))" ( (binary_expression "(iVar2 - iVar4) - (uint)(uVar3 < uVar1)" (parenthesized_expression "(iVar2 - iVar4)" ( (binary_expression "iVar2 - iVar4" identifier - identifier) )) - (call_expression "(uint)(uVar3 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )))) ))) < number_literal)) )))) ;) }) (else_clause "else {\n    uVar3 = 0xffffffff;\n  }" else (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "uint FUN_00017f10(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}\n\n" (function_definition "uint FUN_00017f10(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00017f10(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "iVar1 = param_2[0xf];" (assignment_expression "iVar1 = param_2[0xf]" identifier = (subscript_expression "param_2[0xf]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_1[0xe];" (assignment_expression "uVar4 = param_1[0xe]" identifier = (subscript_expression "param_1[0xe]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = param_2[0xe];" (assignment_expression "uVar2 = param_2[0xe]" identifier = (subscript_expression "param_2[0xe]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[0xf];" (assignment_expression "iVar3 = param_1[0xf]" identifier = (subscript_expression "param_1[0xf]" identifier [ number_literal ])) ;) (if_statement "if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }" if (parenthesized_expression "((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0)" ( (binary_expression "(SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4)))" ( (binary_expression "SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))" (call_expression "SBORROW4(iVar1,iVar3)" identifier (argument_list "(iVar1,iVar3)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))" identifier (argument_list "(iVar1 - iVar3,(uint)(uVar2 < uVar4))" ( (binary_expression "iVar1 - iVar3" identifier - identifier) , (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) )))) )) == (binary_expression "(int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0" (cast_expression "(int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar1 - iVar3) - (uint)(uVar2 < uVar4))" ( (binary_expression "(iVar1 - iVar3) - (uint)(uVar2 < uVar4)" (parenthesized_expression "(iVar1 - iVar3)" ( (binary_expression "iVar1 - iVar3" identifier - identifier) )) - (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }" { (if_statement "if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }" if (parenthesized_expression "(iVar1 == iVar3 && uVar2 == uVar4)" ( (binary_expression "iVar1 == iVar3 && uVar2 == uVar4" (binary_expression "iVar1 == iVar3" identifier == identifier) && (binary_expression "uVar2 == uVar4" identifier == identifier)) )) (compound_statement "{\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }" { (expression_statement "uVar4 = strcmp((char *)*param_1,(char *)*param_2);" (assignment_expression "uVar4 = strcmp((char *)*param_1,(char *)*param_2)" identifier = (call_expression "strcmp((char *)*param_1,(char *)*param_2)" identifier (argument_list "((char *)*param_1,(char *)*param_2)" ( (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);" (assignment_expression "uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" identifier = (call_expression "(uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" ( (binary_expression "(SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2)))" ( (binary_expression "SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))" (call_expression "SBORROW4(iVar3,iVar1)" identifier (argument_list "(iVar3,iVar1)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))" identifier (argument_list "(iVar3 - iVar1,(uint)(uVar4 < uVar2))" ( (binary_expression "iVar3 - iVar1" identifier - identifier) , (call_expression "(uint)(uVar4 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) ))) )))) )) != (binary_expression "(int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0" (cast_expression "(int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar3 - iVar1) - (uint)(uVar4 < uVar2))" ( (binary_expression "(iVar3 - iVar1) - (uint)(uVar4 < uVar2)" (parenthesized_expression "(iVar3 - iVar1)" ( (binary_expression "iVar3 - iVar1" identifier - identifier) )) - (call_expression "(uint)(uVar4 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) )))) ))) < number_literal)) )))) ;) }) (else_clause "else {\n    uVar4 = 0xffffffff;\n  }" else (compound_statement "{\n    uVar4 = 0xffffffff;\n  }" { (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (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 ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (binary_expression IDENT == IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00017f10(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}" (type_identifier "uint") (function_declarator "FUN_00017f10(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00017f10") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar1 = param_2[0xf];\n  uVar4 = param_1[0xe];\n  uVar2 = param_2[0xe];\n  iVar3 = param_1[0xf];\n  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }\n  return uVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "iVar1 = param_2[0xf];" (assignment_expression "iVar1 = param_2[0xf]" (identifier "iVar1") (= "=") (subscript_expression "param_2[0xf]" (identifier "param_2") ([ "[") (number_literal "0xf") (] "]"))) (; ";")) (expression_statement "uVar4 = param_1[0xe];" (assignment_expression "uVar4 = param_1[0xe]" (identifier "uVar4") (= "=") (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "uVar2 = param_2[0xe];" (assignment_expression "uVar2 = param_2[0xe]" (identifier "uVar2") (= "=") (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[0xf];" (assignment_expression "iVar3 = param_1[0xf]" (identifier "iVar3") (= "=") (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]"))) (; ";")) (if_statement "if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }\n  else {\n    uVar4 = 0xffffffff;\n  }" (if "if") (parenthesized_expression "((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0)" (( "(") (binary_expression "(SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==\n      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4)))" (( "(") (binary_expression "SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))" (call_expression "SBORROW4(iVar1,iVar3)" (identifier "SBORROW4") (argument_list "(iVar1,iVar3)" (( "(") (identifier "iVar1") (, ",") (identifier "iVar3") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))" (identifier "SBORROW4") (argument_list "(iVar1 - iVar3,(uint)(uVar2 < uVar4))" (( "(") (binary_expression "iVar1 - iVar3" (identifier "iVar1") (- "-") (identifier "iVar3")) (, ",") (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < uVar4)" (( "(") (binary_expression "uVar2 < uVar4" (identifier "uVar2") (< "<") (identifier "uVar4")) () ")"))) () ")")))) () ")")) (== "==") (binary_expression "(int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0" (cast_expression "(int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((iVar1 - iVar3) - (uint)(uVar2 < uVar4))" (( "(") (binary_expression "(iVar1 - iVar3) - (uint)(uVar2 < uVar4)" (parenthesized_expression "(iVar1 - iVar3)" (( "(") (binary_expression "iVar1 - iVar3" (identifier "iVar1") (- "-") (identifier "iVar3")) () ")")) (- "-") (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < uVar4)" (( "(") (binary_expression "uVar2 < uVar4" (identifier "uVar2") (< "<") (identifier "uVar4")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n    if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }\n    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);\n  }" ({ "{") (if_statement "if (iVar1 == iVar3 && uVar2 == uVar4) {\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }" (if "if") (parenthesized_expression "(iVar1 == iVar3 && uVar2 == uVar4)" (( "(") (binary_expression "iVar1 == iVar3 && uVar2 == uVar4" (binary_expression "iVar1 == iVar3" (identifier "iVar1") (== "==") (identifier "iVar3")) (&& "&&") (binary_expression "uVar2 == uVar4" (identifier "uVar2") (== "==") (identifier "uVar4"))) () ")")) (compound_statement "{\n      uVar4 = strcmp((char *)*param_1,(char *)*param_2);\n      return uVar4;\n    }" ({ "{") (expression_statement "uVar4 = strcmp((char *)*param_1,(char *)*param_2);" (assignment_expression "uVar4 = strcmp((char *)*param_1,(char *)*param_2)" (identifier "uVar4") (= "=") (call_expression "strcmp((char *)*param_1,(char *)*param_2)" (identifier "strcmp") (argument_list "((char *)*param_1,(char *)*param_2)" (( "(") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);" (assignment_expression "uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" (identifier "uVar4") (= "=") (call_expression "(uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0)" (( "(") (binary_expression "(SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=\n                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2)))" (( "(") (binary_expression "SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))" (call_expression "SBORROW4(iVar3,iVar1)" (identifier "SBORROW4") (argument_list "(iVar3,iVar1)" (( "(") (identifier "iVar3") (, ",") (identifier "iVar1") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))" (identifier "SBORROW4") (argument_list "(iVar3 - iVar1,(uint)(uVar4 < uVar2))" (( "(") (binary_expression "iVar3 - iVar1" (identifier "iVar3") (- "-") (identifier "iVar1")) (, ",") (call_expression "(uint)(uVar4 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 < uVar2)" (( "(") (binary_expression "uVar4 < uVar2" (identifier "uVar4") (< "<") (identifier "uVar2")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0" (cast_expression "(int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((iVar3 - iVar1) - (uint)(uVar4 < uVar2))" (( "(") (binary_expression "(iVar3 - iVar1) - (uint)(uVar4 < uVar2)" (parenthesized_expression "(iVar3 - iVar1)" (( "(") (binary_expression "iVar3 - iVar1" (identifier "iVar3") (- "-") (identifier "iVar1")) () ")")) (- "-") (call_expression "(uint)(uVar4 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 < uVar2)" (( "(") (binary_expression "uVar4 < uVar2" (identifier "uVar4") (< "<") (identifier "uVar2")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar4 = 0xffffffff;\n  }" (else "else") (compound_statement "{\n    uVar4 = 0xffffffff;\n  }" ({ "{") (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" (identifier "uVar4") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

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

int function_1(type_1 a,type_1 b)

{
  type_2 var_4;
  int var_3;
  type_2 var_5;
  int var_2;
  
  var_2 = *(int *)((int)b + 0x3c);
  var_5 = *(type_2 *)((int)a + 0x38);
  var_4 = *(type_2 *)((int)b + 0x38);
  var_3 = *(int *)((int)a + 0x3c);
  if ((var_1(var_2,var_3) != var_1(var_2 - var_3,(type_2)(var_4 < var_5))) ==
      (int)((var_2 - var_3) - (type_2)(var_4 < var_5)) < 0) {
    if (var_2 == var_3 && var_4 == var_5) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
      var_2 = var_6(*a,*b);
      return var_2;
    }
    var_5 = (type_2)((var_1(var_3,var_2) != var_1(var_3 - var_2,(type_2)(var_5 < var_4))) !=
                  (int)((var_3 - var_2) - (type_2)(var_5 < var_4)) < 0);
  }
  else {
    var_5 = 0xffffffff;
  }
  return var_5;
}


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

uint MASKED(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  
  iVar1 = param_2[0xf];
  uVar4 = param_1[0xe];
  uVar2 = param_2[0xe];
  iVar3 = param_1[0xf];
  if ((SBORROW4(iVar1,iVar3) != SBORROW4(iVar1 - iVar3,(uint)(uVar2 < uVar4))) ==
      (int)((iVar1 - iVar3) - (uint)(uVar2 < uVar4)) < 0) {
    if (iVar1 == iVar3 && uVar2 == uVar4) {
      uVar4 = strcmp((char *)*param_1,(char *)*param_2);
      return uVar4;
    }
    uVar4 = (uint)((SBORROW4(iVar3,iVar1) != SBORROW4(iVar3 - iVar1,(uint)(uVar4 < uVar2))) !=
                  (int)((iVar3 - iVar1) - (uint)(uVar4 < uVar2)) < 0);
  }
  else {
    uVar4 = 0xffffffff;
  }
  return uVar4;
}

