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

int __regparm3 name_compare(char *first,char *second)

{
  byte bVar1;
  undefined *puVar2;
  size_t sVar3;
  char *haystack;
  char *haystack_00;
  byte *pbVar4;
  char *pcVar5;
  char *pcVar6;
  int iVar7;
  
  sVar3 = strlen(first);
  haystack = (char *)xmalloc(sVar3 + 1);
  sVar3 = strlen(second);
  haystack_00 = (char *)xmalloc(sVar3 + 1);
  puVar2 = PTR__sch_tolower_00097fe8;
  bVar1 = *first;
  pcVar6 = haystack;
  if (bVar1 != 0) {
    pbVar4 = (byte *)(first + 1);
    pcVar5 = haystack;
    do {
      *pcVar5 = puVar2[bVar1];
      bVar1 = *pbVar4;
      pbVar4 = pbVar4 + 1;
      pcVar6 = pcVar5 + 1;
      pcVar5 = pcVar5 + 1;
    } while (bVar1 != 0);
  }
  *pcVar6 = '\0';
  puVar2 = PTR__sch_tolower_00097fe8;
  bVar1 = *second;
  pcVar6 = haystack_00;
  while (bVar1 != 0) {
    second = (char *)((byte *)second + 1);
    *pcVar6 = puVar2[bVar1];
    pcVar6 = pcVar6 + 1;
    bVar1 = *second;
  }
  *pcVar6 = '\0';
  iVar7 = 0;
  strcut(haystack,"big");
  strcut(haystack,"little");
  strcut(haystack_00,"big");
  strcut(haystack_00,"little");
  if ((*haystack == *haystack_00) && (*haystack != '\0')) {
    do {
      iVar7 = iVar7 + 1;
      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;
    } while (haystack[iVar7] != '\0');
    iVar7 = iVar7 * 10;
  }
LAB_0001ea60:
  free(haystack);
  free(haystack_00);
  return iVar7;
}



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

int __regparm3 FUN_0001e960(byte *param_1,byte *param_2)

{
  byte bVar1;
  undefined *puVar2;
  size_t sVar3;
  char *__ptr;
  char *__ptr_00;
  byte *pbVar4;
  char *pcVar5;
  char *pcVar6;
  int iVar7;
  
  sVar3 = strlen((char *)param_1);
  __ptr = (char *)xmalloc(sVar3 + 1);
  sVar3 = strlen((char *)param_2);
  __ptr_00 = (char *)xmalloc(sVar3 + 1);
  puVar2 = PTR__sch_tolower_00097fe8;
  bVar1 = *param_1;
  pcVar6 = __ptr;
  if (bVar1 != 0) {
    pbVar4 = param_1 + 1;
    pcVar5 = __ptr;
    do {
      *pcVar5 = puVar2[bVar1];
      bVar1 = *pbVar4;
      pbVar4 = pbVar4 + 1;
      pcVar6 = pcVar5 + 1;
      pcVar5 = pcVar5 + 1;
    } while (bVar1 != 0);
  }
  *pcVar6 = '\0';
  puVar2 = PTR__sch_tolower_00097fe8;
  bVar1 = *param_2;
  pcVar6 = __ptr_00;
  while (bVar1 != 0) {
    param_2 = param_2 + 1;
    *pcVar6 = puVar2[bVar1];
    pcVar6 = pcVar6 + 1;
    bVar1 = *param_2;
  }
  *pcVar6 = '\0';
  iVar7 = 0;
  FUN_0001e900();
  FUN_0001e900();
  FUN_0001e900();
  FUN_0001e900();
  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {
    do {
      iVar7 = iVar7 + 1;
      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;
    } while (__ptr[iVar7] != '\0');
    iVar7 = iVar7 * 10;
  }
LAB_0001ea60:
  free(__ptr);
  free(__ptr_00);
  return iVar7;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00015a40
ADD EBX,0x79693
SUB ESP,0x28
MOV dword ptr [ESP + 0x18],EDX
PUSH EAX
CALL 0x00014700
ADD EAX,0x1
MOV dword ptr [ESP],EAX
CALL 0x00014c88
MOV dword ptr [ESP],ESI
MOV EDI,EAX
CALL 0x00014700
ADD EAX,0x1
MOV dword ptr [ESP],EAX
CALL 0x00014c88
ADD ESP,0x10
MOV ESI,EAX
MOVZX EAX,byte ptr [EBP]
TEST AL,AL
JZ 0x0001ea90
LEA ECX,[EBP + 0x1]
MOV EBP,dword ptr [EBX + 0xffffffe8]
MOV EDX,EDI
LEA ESI,[ESI]
MOVZX EAX,byte ptr [EBP + EAX*0x1]
ADD EDX,0x1
ADD ECX,0x1
MOV byte ptr [EDX + -0x1],AL
MOVZX EAX,byte ptr [ECX + -0x1]
TEST AL,AL
JNZ 0x0001e9c0
MOV EAX,dword ptr [ESP + 0xc]
MOV byte ptr [EDX],0x0
MOV ECX,ESI
LEA EDX,[EAX + 0x1]
MOVZX EAX,byte ptr [EAX]
TEST AL,AL
JZ 0x0001ea06
MOV EBP,dword ptr [EBX + 0xffffffe8]
NOP
MOVZX EAX,byte ptr [EBP + EAX*0x1]
ADD ECX,0x1
ADD EDX,0x1
MOV byte ptr [ECX + -0x1],AL
MOVZX EAX,byte ptr [EDX + -0x1]
TEST AL,AL
JNZ 0x0001e9f0
MOV byte ptr [ECX],0x0
LEA EDX,[EBX + 0xfffb4f2a]
MOV EAX,EDI
XOR EBP,EBP
CALL 0x0001e900
LEA EDX,[EBX + 0xfffb4f3e]
MOV EAX,EDI
CALL 0x0001e900
LEA EDX,[EBX + 0xfffb4f2a]
MOV EAX,ESI
CALL 0x0001e900
MOV EAX,ESI
LEA EDX,[EBX + 0xfffb4f3e]
CALL 0x0001e900
MOVZX EAX,byte ptr [EDI]
CMP AL,byte ptr [ESI]
JNZ 0x0001ea60
TEST AL,AL
JNZ 0x0001ea54
JMP 0x0001ea60
TEST AL,AL
JZ 0x0001ea80
ADD EBP,0x1
MOVZX EAX,byte ptr [EDI + EBP*0x1]
CMP AL,byte ptr [ESI + EBP*0x1]
JZ 0x0001ea50
SUB ESP,0xc
PUSH EDI
CALL 0x00014c70
MOV dword ptr [ESP],ESI
CALL 0x00014c70
ADD ESP,0x2c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[EBP + EBP*0x4]
ADD EBP,EBP
JMP 0x0001ea60
MOV EDX,EDI
JMP 0x0001e9d6
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_0001e960(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}\n\n" comment (function_definition "int __regparm3 FUN_0001e960(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e960(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "sVar3 = strlen((char *)param_1);" (assignment_expression "sVar3 = strlen((char *)param_1)" identifier = (call_expression "strlen((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "__ptr = (char *)xmalloc(sVar3 + 1);" (assignment_expression "__ptr = (char *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = strlen((char *)param_2);" (assignment_expression "sVar3 = strlen((char *)param_2)" identifier = (call_expression "strlen((char *)param_2)" identifier (argument_list "((char *)param_2)" ( (cast_expression "(char *)param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "__ptr_00 = (char *)xmalloc(sVar3 + 1);" (assignment_expression "__ptr_00 = (char *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" identifier = identifier) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pcVar6 = __ptr;" (assignment_expression "pcVar6 = __ptr" identifier = identifier) ;) (if_statement "if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" { (expression_statement "pbVar4 = param_1 + 1;" (assignment_expression "pbVar4 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = __ptr;" (assignment_expression "pcVar5 = __ptr" identifier = identifier) ;) (do_statement "do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);" do (compound_statement "{\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" { (expression_statement "*pcVar5 = puVar2[bVar1];" (assignment_expression "*pcVar5 = puVar2[bVar1]" (pointer_expression "*pcVar5" * identifier) = (subscript_expression "puVar2[bVar1]" identifier [ identifier ])) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar5 + 1;" (assignment_expression "pcVar6 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) ;) })) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" identifier = identifier) ;) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pcVar6 = __ptr_00;" (assignment_expression "pcVar6 = __ptr_00" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar6 = puVar2[bVar1];" (assignment_expression "*pcVar6 = puVar2[bVar1]" (pointer_expression "*pcVar6" * identifier) = (subscript_expression "puVar2[bVar1]" identifier [ identifier ])) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" if (parenthesized_expression "((*__ptr == *__ptr_00) && (*__ptr != '\0'))" ( (binary_expression "(*__ptr == *__ptr_00) && (*__ptr != '\0')" (parenthesized_expression "(*__ptr == *__ptr_00)" ( (binary_expression "*__ptr == *__ptr_00" (pointer_expression "*__ptr" * identifier) == (pointer_expression "*__ptr_00" * identifier)) )) && (parenthesized_expression "(*__ptr != '\0')" ( (binary_expression "*__ptr != '\0'" (pointer_expression "*__ptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" { (do_statement "do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');" do (compound_statement "{\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;" if (parenthesized_expression "(__ptr[iVar7] != __ptr_00[iVar7])" ( (binary_expression "__ptr[iVar7] != __ptr_00[iVar7]" (subscript_expression "__ptr[iVar7]" identifier [ identifier ]) != (subscript_expression "__ptr_00[iVar7]" identifier [ identifier ])) )) (goto_statement "goto LAB_0001ea60;" goto statement_identifier ;)) }) while (parenthesized_expression "(__ptr[iVar7] != '\0')" ( (binary_expression "__ptr[iVar7] != '\0'" (subscript_expression "__ptr[iVar7]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "iVar7 = iVar7 * 10;" (assignment_expression "iVar7 = iVar7 * 10" identifier = (binary_expression "iVar7 * 10" identifier * number_literal)) ;) })) (labeled_statement "LAB_0001ea60:\n  free(__ptr);" statement_identifier : (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;)) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (return_statement "return iVar7;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 name_compare(char *first,char *second)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *haystack;\n  char *haystack_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen(first);\n  haystack = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen(second);\n  haystack_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *first;\n  pcVar6 = haystack;\n  if (bVar1 != 0) {\n    pbVar4 = (byte *)(first + 1);\n    pcVar5 = haystack;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *second;\n  pcVar6 = haystack_00;\n  while (bVar1 != 0) {\n    second = (char *)((byte *)second + 1);\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *second;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  strcut(haystack,"big");\n  strcut(haystack,"little");\n  strcut(haystack_00,"big");\n  strcut(haystack_00,"little");\n  if ((*haystack == *haystack_00) && (*haystack != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    } while (haystack[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(haystack);\n  free(haystack_00);\n  return iVar7;\n}\n\n" comment (function_definition "int __regparm3 name_compare(char *first,char *second)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *haystack;\n  char *haystack_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen(first);\n  haystack = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen(second);\n  haystack_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *first;\n  pcVar6 = haystack;\n  if (bVar1 != 0) {\n    pbVar4 = (byte *)(first + 1);\n    pcVar5 = haystack;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *second;\n  pcVar6 = haystack_00;\n  while (bVar1 != 0) {\n    second = (char *)((byte *)second + 1);\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *second;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  strcut(haystack,"big");\n  strcut(haystack,"little");\n  strcut(haystack_00,"big");\n  strcut(haystack_00,"little");\n  if ((*haystack == *haystack_00) && (*haystack != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    } while (haystack[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(haystack);\n  free(haystack_00);\n  return iVar7;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "name_compare(char *first,char *second)" identifier (parameter_list "(char *first,char *second)" ( (parameter_declaration "char *first" primitive_type (pointer_declarator "*first" * identifier)) , (parameter_declaration "char *second" primitive_type (pointer_declarator "*second" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *haystack;\n  char *haystack_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen(first);\n  haystack = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen(second);\n  haystack_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *first;\n  pcVar6 = haystack;\n  if (bVar1 != 0) {\n    pbVar4 = (byte *)(first + 1);\n    pcVar5 = haystack;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *second;\n  pcVar6 = haystack_00;\n  while (bVar1 != 0) {\n    second = (char *)((byte *)second + 1);\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *second;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  strcut(haystack,"big");\n  strcut(haystack,"little");\n  strcut(haystack_00,"big");\n  strcut(haystack_00,"little");\n  if ((*haystack == *haystack_00) && (*haystack != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    } while (haystack[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(haystack);\n  free(haystack_00);\n  return iVar7;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *haystack;" primitive_type (pointer_declarator "*haystack" * identifier) ;) (declaration "char *haystack_00;" primitive_type (pointer_declarator "*haystack_00" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "sVar3 = strlen(first);" (assignment_expression "sVar3 = strlen(first)" identifier = (call_expression "strlen(first)" identifier (argument_list "(first)" ( identifier )))) ;) (expression_statement "haystack = (char *)xmalloc(sVar3 + 1);" (assignment_expression "haystack = (char *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = strlen(second);" (assignment_expression "sVar3 = strlen(second)" identifier = (call_expression "strlen(second)" identifier (argument_list "(second)" ( identifier )))) ;) (expression_statement "haystack_00 = (char *)xmalloc(sVar3 + 1);" (assignment_expression "haystack_00 = (char *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" identifier = identifier) ;) (expression_statement "bVar1 = *first;" (assignment_expression "bVar1 = *first" identifier = (pointer_expression "*first" * identifier)) ;) (expression_statement "pcVar6 = haystack;" (assignment_expression "pcVar6 = haystack" identifier = identifier) ;) (if_statement "if (bVar1 != 0) {\n    pbVar4 = (byte *)(first + 1);\n    pcVar5 = haystack;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar4 = (byte *)(first + 1);\n    pcVar5 = haystack;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" { (expression_statement "pbVar4 = (byte *)(first + 1);" (assignment_expression "pbVar4 = (byte *)(first + 1)" identifier = (cast_expression "(byte *)(first + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(first + 1)" ( (binary_expression "first + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = haystack;" (assignment_expression "pcVar5 = haystack" identifier = identifier) ;) (do_statement "do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);" do (compound_statement "{\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" { (expression_statement "*pcVar5 = puVar2[bVar1];" (assignment_expression "*pcVar5 = puVar2[bVar1]" (pointer_expression "*pcVar5" * identifier) = (subscript_expression "puVar2[bVar1]" identifier [ identifier ])) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar5 + 1;" (assignment_expression "pcVar6 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) ;) })) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" identifier = identifier) ;) (expression_statement "bVar1 = *second;" (assignment_expression "bVar1 = *second" identifier = (pointer_expression "*second" * identifier)) ;) (expression_statement "pcVar6 = haystack_00;" (assignment_expression "pcVar6 = haystack_00" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n    second = (char *)((byte *)second + 1);\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *second;\n  }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    second = (char *)((byte *)second + 1);\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *second;\n  }" { (expression_statement "second = (char *)((byte *)second + 1);" (assignment_expression "second = (char *)((byte *)second + 1)" identifier = (cast_expression "(char *)((byte *)second + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)second + 1)" ( (binary_expression "(byte *)second + 1" (cast_expression "(byte *)second" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "*pcVar6 = puVar2[bVar1];" (assignment_expression "*pcVar6 = puVar2[bVar1]" (pointer_expression "*pcVar6" * identifier) = (subscript_expression "puVar2[bVar1]" identifier [ identifier ])) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *second;" (assignment_expression "bVar1 = *second" identifier = (pointer_expression "*second" * identifier)) ;) })) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "strcut(haystack,"big");" (call_expression "strcut(haystack,"big")" identifier (argument_list "(haystack,"big")" ( identifier , (string_literal ""big"" " string_content ") ))) ;) (expression_statement "strcut(haystack,"little");" (call_expression "strcut(haystack,"little")" identifier (argument_list "(haystack,"little")" ( identifier , (string_literal ""little"" " string_content ") ))) ;) (expression_statement "strcut(haystack_00,"big");" (call_expression "strcut(haystack_00,"big")" identifier (argument_list "(haystack_00,"big")" ( identifier , (string_literal ""big"" " string_content ") ))) ;) (expression_statement "strcut(haystack_00,"little");" (call_expression "strcut(haystack_00,"little")" identifier (argument_list "(haystack_00,"little")" ( identifier , (string_literal ""little"" " string_content ") ))) ;) (if_statement "if ((*haystack == *haystack_00) && (*haystack != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    } while (haystack[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" if (parenthesized_expression "((*haystack == *haystack_00) && (*haystack != '\0'))" ( (binary_expression "(*haystack == *haystack_00) && (*haystack != '\0')" (parenthesized_expression "(*haystack == *haystack_00)" ( (binary_expression "*haystack == *haystack_00" (pointer_expression "*haystack" * identifier) == (pointer_expression "*haystack_00" * identifier)) )) && (parenthesized_expression "(*haystack != '\0')" ( (binary_expression "*haystack != '\0'" (pointer_expression "*haystack" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    do {\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    } while (haystack[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" { (do_statement "do {\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    } while (haystack[iVar7] != '\0');" do (compound_statement "{\n      iVar7 = iVar7 + 1;\n      if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;\n    }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (haystack[iVar7] != haystack_00[iVar7]) goto LAB_0001ea60;" if (parenthesized_expression "(haystack[iVar7] != haystack_00[iVar7])" ( (binary_expression "haystack[iVar7] != haystack_00[iVar7]" (subscript_expression "haystack[iVar7]" identifier [ identifier ]) != (subscript_expression "haystack_00[iVar7]" identifier [ identifier ])) )) (goto_statement "goto LAB_0001ea60;" goto statement_identifier ;)) }) while (parenthesized_expression "(haystack[iVar7] != '\0')" ( (binary_expression "haystack[iVar7] != '\0'" (subscript_expression "haystack[iVar7]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "iVar7 = iVar7 * 10;" (assignment_expression "iVar7 = iVar7 * 10" identifier = (binary_expression "iVar7 * 10" identifier * number_literal)) ;) })) (labeled_statement "LAB_0001ea60:\n  free(haystack);" statement_identifier : (expression_statement "free(haystack);" (call_expression "free(haystack)" identifier (argument_list "(haystack)" ( identifier ))) ;)) (expression_statement "free(haystack_00);" (call_expression "free(haystack_00)" identifier (argument_list "(haystack_00)" ( identifier ))) ;) (return_statement "return iVar7;" return identifier ;) })))
(translation_unit "int __regparm3 FUN_0001e960(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}\n\n" (function_definition "int __regparm3 FUN_0001e960(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e960(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "sVar3 = strlen((char *)param_1);" (assignment_expression "sVar3 = strlen((char *)param_1)" identifier = (call_expression "strlen((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "__ptr = (char *)xmalloc(sVar3 + 1);" (assignment_expression "__ptr = (char *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = strlen((char *)param_2);" (assignment_expression "sVar3 = strlen((char *)param_2)" identifier = (call_expression "strlen((char *)param_2)" identifier (argument_list "((char *)param_2)" ( (cast_expression "(char *)param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "__ptr_00 = (char *)xmalloc(sVar3 + 1);" (assignment_expression "__ptr_00 = (char *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" identifier = identifier) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pcVar6 = __ptr;" (assignment_expression "pcVar6 = __ptr" identifier = identifier) ;) (if_statement "if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" { (expression_statement "pbVar4 = param_1 + 1;" (assignment_expression "pbVar4 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = __ptr;" (assignment_expression "pcVar5 = __ptr" identifier = identifier) ;) (do_statement "do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);" do (compound_statement "{\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" { (expression_statement "*pcVar5 = puVar2[bVar1];" (assignment_expression "*pcVar5 = puVar2[bVar1]" (pointer_expression "*pcVar5" * identifier) = (subscript_expression "puVar2[bVar1]" identifier [ identifier ])) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar5 + 1;" (assignment_expression "pcVar6 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) ;) })) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" identifier = identifier) ;) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pcVar6 = __ptr_00;" (assignment_expression "pcVar6 = __ptr_00" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar6 = puVar2[bVar1];" (assignment_expression "*pcVar6 = puVar2[bVar1]" (pointer_expression "*pcVar6" * identifier) = (subscript_expression "puVar2[bVar1]" identifier [ identifier ])) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" if (parenthesized_expression "((*__ptr == *__ptr_00) && (*__ptr != '\0'))" ( (binary_expression "(*__ptr == *__ptr_00) && (*__ptr != '\0')" (parenthesized_expression "(*__ptr == *__ptr_00)" ( (binary_expression "*__ptr == *__ptr_00" (pointer_expression "*__ptr" * identifier) == (pointer_expression "*__ptr_00" * identifier)) )) && (parenthesized_expression "(*__ptr != '\0')" ( (binary_expression "*__ptr != '\0'" (pointer_expression "*__ptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" { (do_statement "do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');" do (compound_statement "{\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;" if (parenthesized_expression "(__ptr[iVar7] != __ptr_00[iVar7])" ( (binary_expression "__ptr[iVar7] != __ptr_00[iVar7]" (subscript_expression "__ptr[iVar7]" identifier [ identifier ]) != (subscript_expression "__ptr_00[iVar7]" identifier [ identifier ])) )) (goto_statement "goto LAB_0001ea60;" goto statement_identifier ;)) }) while (parenthesized_expression "(__ptr[iVar7] != '\0')" ( (binary_expression "__ptr[iVar7] != '\0'" (subscript_expression "__ptr[iVar7]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "iVar7 = iVar7 * 10;" (assignment_expression "iVar7 = iVar7 * 10" identifier = (binary_expression "iVar7 * 10" identifier * number_literal)) ;) })) (labeled_statement "LAB_0001ea60:\n  free(__ptr);" statement_identifier : (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;)) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (return_statement "return iVar7;" return identifier ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (subscript_expression IDENT [ IDENT ])) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_0001e960(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001e960(byte *param_1,byte *param_2)" (identifier "FUN_0001e960") (parameter_list "(byte *param_1,byte *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  size_t sVar3;\n  char *__ptr;\n  char *__ptr_00;\n  byte *pbVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  \n  sVar3 = strlen((char *)param_1);\n  __ptr = (char *)xmalloc(sVar3 + 1);\n  sVar3 = strlen((char *)param_2);\n  __ptr_00 = (char *)xmalloc(sVar3 + 1);\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_1;\n  pcVar6 = __ptr;\n  if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }\n  *pcVar6 = '\0';\n  puVar2 = PTR__sch_tolower_00097fe8;\n  bVar1 = *param_2;\n  pcVar6 = __ptr_00;\n  while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }\n  *pcVar6 = '\0';\n  iVar7 = 0;\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  FUN_0001e900();\n  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }\nLAB_0001ea60:\n  free(__ptr);\n  free(__ptr_00);\n  return iVar7;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *__ptr;" (primitive_type "char") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "char *__ptr_00;" (primitive_type "char") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "sVar3 = strlen((char *)param_1);" (assignment_expression "sVar3 = strlen((char *)param_1)" (identifier "sVar3") (= "=") (call_expression "strlen((char *)param_1)" (identifier "strlen") (argument_list "((char *)param_1)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "__ptr = (char *)xmalloc(sVar3 + 1);" (assignment_expression "__ptr = (char *)xmalloc(sVar3 + 1)" (identifier "__ptr") (= "=") (cast_expression "(char *)xmalloc(sVar3 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar3 + 1)" (identifier "xmalloc") (argument_list "(sVar3 + 1)" (( "(") (binary_expression "sVar3 + 1" (identifier "sVar3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "sVar3 = strlen((char *)param_2);" (assignment_expression "sVar3 = strlen((char *)param_2)" (identifier "sVar3") (= "=") (call_expression "strlen((char *)param_2)" (identifier "strlen") (argument_list "((char *)param_2)" (( "(") (cast_expression "(char *)param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "__ptr_00 = (char *)xmalloc(sVar3 + 1);" (assignment_expression "__ptr_00 = (char *)xmalloc(sVar3 + 1)" (identifier "__ptr_00") (= "=") (cast_expression "(char *)xmalloc(sVar3 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar3 + 1)" (identifier "xmalloc") (argument_list "(sVar3 + 1)" (( "(") (binary_expression "sVar3 + 1" (identifier "sVar3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" (identifier "puVar2") (= "=") (identifier "PTR__sch_tolower_00097fe8")) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pcVar6 = __ptr;" (assignment_expression "pcVar6 = __ptr" (identifier "pcVar6") (= "=") (identifier "__ptr")) (; ";")) (if_statement "if (bVar1 != 0) {\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" (if "if") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pbVar4 = param_1 + 1;\n    pcVar5 = __ptr;\n    do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);\n  }" ({ "{") (expression_statement "pbVar4 = param_1 + 1;" (assignment_expression "pbVar4 = param_1 + 1" (identifier "pbVar4") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar5 = __ptr;" (assignment_expression "pcVar5 = __ptr" (identifier "pcVar5") (= "=") (identifier "__ptr")) (; ";")) (do_statement "do {\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (bVar1 != 0);" (do "do") (compound_statement "{\n      *pcVar5 = puVar2[bVar1];\n      bVar1 = *pbVar4;\n      pbVar4 = pbVar4 + 1;\n      pcVar6 = pcVar5 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" ({ "{") (expression_statement "*pcVar5 = puVar2[bVar1];" (assignment_expression "*pcVar5 = puVar2[bVar1]" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (= "=") (subscript_expression "puVar2[bVar1]" (identifier "puVar2") ([ "[") (identifier "bVar1") (] "]"))) (; ";")) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar6 = pcVar5 + 1;" (assignment_expression "pcVar6 = pcVar5 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "puVar2 = PTR__sch_tolower_00097fe8;" (assignment_expression "puVar2 = PTR__sch_tolower_00097fe8" (identifier "puVar2") (= "=") (identifier "PTR__sch_tolower_00097fe8")) (; ";")) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" (identifier "bVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "pcVar6 = __ptr_00;" (assignment_expression "pcVar6 = __ptr_00" (identifier "pcVar6") (= "=") (identifier "__ptr_00")) (; ";")) (while_statement "while (bVar1 != 0) {\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }" (while "while") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_2 = param_2 + 1;\n    *pcVar6 = puVar2[bVar1];\n    pcVar6 = pcVar6 + 1;\n    bVar1 = *param_2;\n  }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar6 = puVar2[bVar1];" (assignment_expression "*pcVar6 = puVar2[bVar1]" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (= "=") (subscript_expression "puVar2[bVar1]" (identifier "puVar2") ([ "[") (identifier "bVar1") (] "]"))) (; ";")) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" (identifier "bVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}"))) (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" (identifier "FUN_0001e900") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" (identifier "FUN_0001e900") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" (identifier "FUN_0001e900") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001e900();" (call_expression "FUN_0001e900()" (identifier "FUN_0001e900") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" (if "if") (parenthesized_expression "((*__ptr == *__ptr_00) && (*__ptr != '\0'))" (( "(") (binary_expression "(*__ptr == *__ptr_00) && (*__ptr != '\0')" (parenthesized_expression "(*__ptr == *__ptr_00)" (( "(") (binary_expression "*__ptr == *__ptr_00" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (== "==") (pointer_expression "*__ptr_00" (* "*") (identifier "__ptr_00"))) () ")")) (&& "&&") (parenthesized_expression "(*__ptr != '\0')" (( "(") (binary_expression "*__ptr != '\0'" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');\n    iVar7 = iVar7 * 10;\n  }" ({ "{") (do_statement "do {\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    } while (__ptr[iVar7] != '\0');" (do "do") (compound_statement "{\n      iVar7 = iVar7 + 1;\n      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;\n    }" ({ "{") (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;" (if "if") (parenthesized_expression "(__ptr[iVar7] != __ptr_00[iVar7])" (( "(") (binary_expression "__ptr[iVar7] != __ptr_00[iVar7]" (subscript_expression "__ptr[iVar7]" (identifier "__ptr") ([ "[") (identifier "iVar7") (] "]")) (!= "!=") (subscript_expression "__ptr_00[iVar7]" (identifier "__ptr_00") ([ "[") (identifier "iVar7") (] "]"))) () ")")) (goto_statement "goto LAB_0001ea60;" (goto "goto") (statement_identifier "LAB_0001ea60") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(__ptr[iVar7] != '\0')" (( "(") (binary_expression "__ptr[iVar7] != '\0'" (subscript_expression "__ptr[iVar7]" (identifier "__ptr") ([ "[") (identifier "iVar7") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "iVar7 = iVar7 * 10;" (assignment_expression "iVar7 = iVar7 * 10" (identifier "iVar7") (= "=") (binary_expression "iVar7 * 10" (identifier "iVar7") (* "*") (number_literal "10"))) (; ";")) (} "}"))) (labeled_statement "LAB_0001ea60:\n  free(__ptr);" (statement_identifier "LAB_0001ea60") (: ":") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";"))) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}")))

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

int __regparm3 function_1(char *var_5,char *second)

{
  type_1 var_4;
  type_2 *puVar2;
  size_t var_3;
  char *haystack;
  char *haystack_00;
  type_1 *var_6;
  char *var_7;
  char *var_8;
  int var_10;
  
  var_3 = var_1(var_5);
  haystack = (char *)var_2(var_3 + 1);
  var_3 = var_1(second);
  haystack_00 = (char *)var_2(var_3 + 1);
  puVar2 = PTR__sch_tolower_00097fe8;
  var_4 = *var_5;
  var_8 = haystack;
  if (var_4 != 0) {
    var_6 = (type_1 *)(var_5 + 1);
    var_7 = haystack;
    do {
      *var_7 = puVar2[var_4];
      var_4 = *var_6;
      var_6 = var_6 + 1;
      var_8 = var_7 + 1;
      var_7 = var_7 + 1;
    } while (var_4 != 0);
  }
  *var_8 = '\0';
  puVar2 = PTR__sch_tolower_00097fe8;
  var_4 = *second;
  var_8 = haystack_00;
  while (var_4 != 0) {
    second = (char *)((type_1 *)second + 1);
    *var_8 = puVar2[var_4];
    var_8 = var_8 + 1;
    var_4 = *second;
  }
  *var_8 = '\0';
  var_10 = 0;
  var_9(haystack,"big");
  var_9(haystack,"little");
  var_9(haystack_00,"big");
  var_9(haystack_00,"little");
  if ((*haystack == *haystack_00) && (*haystack != '\0')) {
    do {
      var_10 = var_10 + 1;
      if (haystack[var_10] != haystack_00[var_10]) goto LAB_0001ea60;
    } while (haystack[var_10] != '\0');
    var_10 = var_10 * 10;
  }
LAB_0001ea60:
  var_11(haystack);
  var_11(haystack_00);
  return var_10;
}


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

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

int __regparm3 MASKED(byte *param_1,byte *param_2)

{
  byte bVar1;
  undefined *puVar2;
  size_t sVar3;
  char *__ptr;
  char *__ptr_00;
  byte *pbVar4;
  char *pcVar5;
  char *pcVar6;
  int iVar7;
  
  sVar3 = strlen((char *)param_1);
  __ptr = (char *)xmalloc(sVar3 + 1);
  sVar3 = strlen((char *)param_2);
  __ptr_00 = (char *)xmalloc(sVar3 + 1);
  puVar2 = PTR__sch_tolower_00097fe8;
  bVar1 = *param_1;
  pcVar6 = __ptr;
  if (bVar1 != 0) {
    pbVar4 = param_1 + 1;
    pcVar5 = __ptr;
    do {
      *pcVar5 = puVar2[bVar1];
      bVar1 = *pbVar4;
      pbVar4 = pbVar4 + 1;
      pcVar6 = pcVar5 + 1;
      pcVar5 = pcVar5 + 1;
    } while (bVar1 != 0);
  }
  *pcVar6 = '\0';
  puVar2 = PTR__sch_tolower_00097fe8;
  bVar1 = *param_2;
  pcVar6 = __ptr_00;
  while (bVar1 != 0) {
    param_2 = param_2 + 1;
    *pcVar6 = puVar2[bVar1];
    pcVar6 = pcVar6 + 1;
    bVar1 = *param_2;
  }
  *pcVar6 = '\0';
  iVar7 = 0;
  FUN_0001e900();
  FUN_0001e900();
  FUN_0001e900();
  FUN_0001e900();
  if ((*__ptr == *__ptr_00) && (*__ptr != '\0')) {
    do {
      iVar7 = iVar7 + 1;
      if (__ptr[iVar7] != __ptr_00[iVar7]) goto LAB_0001ea60;
    } while (__ptr[iVar7] != '\0');
    iVar7 = iVar7 * 10;
  }
LAB_0001ea60:
  free(__ptr);
  free(__ptr_00);
  return iVar7;
}

