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

int __regparm3 ctor_prio(char *name)

{
  byte bVar1;
  int iVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  
  bVar1 = *name;
  while (bVar6 = bVar1 == 0x5f, bVar6) {
    name = (char *)((byte *)name + 1);
    bVar1 = *name;
  }
  bVar5 = bVar1 < 0x5f;
  iVar2 = 7;
  pbVar3 = (byte *)name;
  pbVar4 = (byte *)"GLOBAL_";
  do {
    if (iVar2 == 0) break;
    iVar2 = iVar2 + -1;
    bVar5 = *pbVar3 < *pbVar4;
    bVar6 = *pbVar3 == *pbVar4;
    pbVar3 = pbVar3 + 1;
    pbVar4 = pbVar4 + 1;
  } while (bVar6);
  if (((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&
      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&
     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)) {
    iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);
  }
  else {
    iVar2 = -1;
  }
  return iVar2;
}



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

long __regparm3 FUN_0002c7a0(byte *param_1)

{
  byte bVar1;
  long lVar2;
  int iVar3;
  byte *pbVar4;
  byte *pbVar5;
  bool bVar6;
  bool bVar7;
  
  bVar1 = *param_1;
  while (bVar7 = bVar1 == 0x5f, bVar7) {
    param_1 = param_1 + 1;
    bVar1 = *param_1;
  }
  bVar6 = bVar1 < 0x5f;
  iVar3 = 7;
  pbVar4 = param_1;
  pbVar5 = (byte *)"GLOBAL_";
  do {
    if (iVar3 == 0) break;
    iVar3 = iVar3 + -1;
    bVar6 = *pbVar4 < *pbVar5;
    bVar7 = *pbVar4 == *pbVar5;
    pbVar4 = pbVar4 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&
      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&
     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {
    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);
  }
  else {
    lVar2 = -1;
  }
  return lVar2;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016a30
ADD EBX,0x10f858
CMP byte ptr [EAX],0x5f
JNZ 0x0002c7c0
LEA ESI,[ESI]
NOP
ADD EAX,0x1
CMP byte ptr [EAX],0x5f
JZ 0x0002c7b8
MOV ECX,0x7
LEA EDI,[EBX + 0xfff270b7]
MOV ESI,EAX
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x0002c817
MOVZX ECX,byte ptr [EAX + 0x9]
CMP byte ptr [EAX + 0x7],CL
JNZ 0x0002c817
MOVZX EDX,byte ptr [EAX + 0x8]
CMP DL,0x49
JZ 0x0002c7f0
CMP DL,0x44
JNZ 0x0002c817
MOVZX ECX,byte ptr [EAX + 0xa]
MOV EDX,dword ptr [EBX + 0xffffffa8]
TEST byte ptr [EDX + ECX*0x2],0x4
JZ 0x0002c817
SUB ESP,0x4
ADD EAX,0xa
PUSH 0xa
PUSH 0x0
PUSH EAX
CALL 0x00015bb0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
MOV EAX,0xffffffff
JMP 0x0002c813
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nlong __regparm3 FUN_0002c7a0(byte *param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}\n\n" comment (function_definition "long __regparm3 FUN_0002c7a0(byte *param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}" (sized_type_specifier "long __regparm3" long type_identifier) (function_declarator "FUN_0002c7a0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }" while (parenthesized_expression "(bVar7 = bVar1 == 0x5f, bVar7)" ( (comma_expression "bVar7 = bVar1 == 0x5f, bVar7" (assignment_expression "bVar7 = bVar1 == 0x5f" identifier = (binary_expression "bVar1 == 0x5f" identifier == number_literal)) , identifier) )) (compound_statement "{\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }" { (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "bVar6 = bVar1 < 0x5f;" (assignment_expression "bVar6 = bVar1 < 0x5f" identifier = (binary_expression "bVar1 < 0x5f" identifier < number_literal)) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (expression_statement "pbVar4 = param_1;" (assignment_expression "pbVar4 = param_1" identifier = identifier) ;) (expression_statement "pbVar5 = (byte *)"GLOBAL_";" (assignment_expression "pbVar5 = (byte *)"GLOBAL_"" identifier = (cast_expression "(byte *)"GLOBAL_"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""GLOBAL_"" " string_content "))) ;) (do_statement "do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar4 < *pbVar5;" (assignment_expression "bVar6 = *pbVar4 < *pbVar5" identifier = (binary_expression "*pbVar4 < *pbVar5" (pointer_expression "*pbVar4" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar4 == *pbVar5;" (assignment_expression "bVar7 = *pbVar4 == *pbVar5" identifier = (binary_expression "*pbVar4 == *pbVar5" (pointer_expression "*pbVar4" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }" if (parenthesized_expression "(((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0))" ( (binary_expression "((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)" (parenthesized_expression "((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44))))" ( (binary_expression "(((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))" (parenthesized_expression "(((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9]))" ( (binary_expression "((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])" (parenthesized_expression "((!bVar6 && !bVar7) == bVar6)" ( (binary_expression "(!bVar6 && !bVar7) == bVar6" (parenthesized_expression "(!bVar6 && !bVar7)" ( (binary_expression "!bVar6 && !bVar7" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) && (parenthesized_expression "(param_1[7] == param_1[9])" ( (binary_expression "param_1[7] == param_1[9]" (subscript_expression "param_1[7]" identifier [ number_literal ]) == (subscript_expression "param_1[9]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "((param_1[8] == 0x49 || (param_1[8] == 0x44)))" ( (parenthesized_expression "(param_1[8] == 0x49 || (param_1[8] == 0x44))" ( (binary_expression "param_1[8] == 0x49 || (param_1[8] == 0x44)" (binary_expression "param_1[8] == 0x49" (subscript_expression "param_1[8]" identifier [ number_literal ]) == number_literal) || (parenthesized_expression "(param_1[8] == 0x44)" ( (binary_expression "param_1[8] == 0x44" (subscript_expression "param_1[8]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) && (parenthesized_expression "((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)" ( (binary_expression "(PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4)" ( (binary_expression "PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4" (subscript_expression "PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2]" identifier [ (binary_expression "(uint)param_1[10] * 2" (cast_expression "(uint)param_1[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[10]" identifier [ number_literal ])) * number_literal) ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }" { (expression_statement "lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);" (assignment_expression "lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10)" identifier = (call_expression "strtol((char *)(param_1 + 10),(char **)0x0,10)" identifier (argument_list "((char *)(param_1 + 10),(char **)0x0,10)" ( (cast_expression "(char *)(param_1 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) }) (else_clause "else {\n    lVar2 = -1;\n  }" else (compound_statement "{\n    lVar2 = -1;\n  }" { (expression_statement "lVar2 = -1;" (assignment_expression "lVar2 = -1" identifier = number_literal) ;) }))) (return_statement "return lVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 ctor_prio(char *name)\n\n{\n  byte bVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  \n  bVar1 = *name;\n  while (bVar6 = bVar1 == 0x5f, bVar6) {\n    name = (char *)((byte *)name + 1);\n    bVar1 = *name;\n  }\n  bVar5 = bVar1 < 0x5f;\n  iVar2 = 7;\n  pbVar3 = (byte *)name;\n  pbVar4 = (byte *)"GLOBAL_";\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar6 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar6);\n  if (((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)) {\n    iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);\n  }\n  else {\n    iVar2 = -1;\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int __regparm3 ctor_prio(char *name)\n\n{\n  byte bVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  \n  bVar1 = *name;\n  while (bVar6 = bVar1 == 0x5f, bVar6) {\n    name = (char *)((byte *)name + 1);\n    bVar1 = *name;\n  }\n  bVar5 = bVar1 < 0x5f;\n  iVar2 = 7;\n  pbVar3 = (byte *)name;\n  pbVar4 = (byte *)"GLOBAL_";\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar6 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar6);\n  if (((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)) {\n    iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);\n  }\n  else {\n    iVar2 = -1;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "ctor_prio(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  \n  bVar1 = *name;\n  while (bVar6 = bVar1 == 0x5f, bVar6) {\n    name = (char *)((byte *)name + 1);\n    bVar1 = *name;\n  }\n  bVar5 = bVar1 < 0x5f;\n  iVar2 = 7;\n  pbVar3 = (byte *)name;\n  pbVar4 = (byte *)"GLOBAL_";\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar6 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar6);\n  if (((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)) {\n    iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);\n  }\n  else {\n    iVar2 = -1;\n  }\n  return iVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "bVar1 = *name;" (assignment_expression "bVar1 = *name" identifier = (pointer_expression "*name" * identifier)) ;) (while_statement "while (bVar6 = bVar1 == 0x5f, bVar6) {\n    name = (char *)((byte *)name + 1);\n    bVar1 = *name;\n  }" while (parenthesized_expression "(bVar6 = bVar1 == 0x5f, bVar6)" ( (comma_expression "bVar6 = bVar1 == 0x5f, bVar6" (assignment_expression "bVar6 = bVar1 == 0x5f" identifier = (binary_expression "bVar1 == 0x5f" identifier == number_literal)) , identifier) )) (compound_statement "{\n    name = (char *)((byte *)name + 1);\n    bVar1 = *name;\n  }" { (expression_statement "name = (char *)((byte *)name + 1);" (assignment_expression "name = (char *)((byte *)name + 1)" identifier = (cast_expression "(char *)((byte *)name + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)name + 1)" ( (binary_expression "(byte *)name + 1" (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar1 = *name;" (assignment_expression "bVar1 = *name" identifier = (pointer_expression "*name" * identifier)) ;) })) (expression_statement "bVar5 = bVar1 < 0x5f;" (assignment_expression "bVar5 = bVar1 < 0x5f" identifier = (binary_expression "bVar1 < 0x5f" identifier < number_literal)) ;) (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (expression_statement "pbVar3 = (byte *)name;" (assignment_expression "pbVar3 = (byte *)name" identifier = (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar4 = (byte *)"GLOBAL_";" (assignment_expression "pbVar4 = (byte *)"GLOBAL_"" identifier = (cast_expression "(byte *)"GLOBAL_"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""GLOBAL_"" " string_content "))) ;) (do_statement "do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar6 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar6);" do (compound_statement "{\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar6 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar6 = *pbVar3 == *pbVar4;" (assignment_expression "bVar6 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar6)" ( identifier )) ;) (if_statement "if (((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)) {\n    iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);\n  }\n  else {\n    iVar2 = -1;\n  }" if (parenthesized_expression "(((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0))" ( (binary_expression "((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)" (parenthesized_expression "((((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44))))" ( (binary_expression "(((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])) &&\n      ((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))" (parenthesized_expression "(((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9]))" ( (binary_expression "((!bVar5 && !bVar6) == bVar5) && (((byte *)name)[7] == ((byte *)name)[9])" (parenthesized_expression "((!bVar5 && !bVar6) == bVar5)" ( (binary_expression "(!bVar5 && !bVar6) == bVar5" (parenthesized_expression "(!bVar5 && !bVar6)" ( (binary_expression "!bVar5 && !bVar6" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar6" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((byte *)name)[7] == ((byte *)name)[9])" ( (binary_expression "((byte *)name)[7] == ((byte *)name)[9]" (subscript_expression "((byte *)name)[7]" (parenthesized_expression "((byte *)name)" ( (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) == (subscript_expression "((byte *)name)[9]" (parenthesized_expression "((byte *)name)" ( (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ])) ))) )) && (parenthesized_expression "((((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)))" ( (parenthesized_expression "(((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44))" ( (binary_expression "((byte *)name)[8] == 0x49 || (((byte *)name)[8] == 0x44)" (binary_expression "((byte *)name)[8] == 0x49" (subscript_expression "((byte *)name)[8]" (parenthesized_expression "((byte *)name)" ( (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) == number_literal) || (parenthesized_expression "(((byte *)name)[8] == 0x44)" ( (binary_expression "((byte *)name)[8] == 0x44" (subscript_expression "((byte *)name)[8]" (parenthesized_expression "((byte *)name)" ( (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) == number_literal) ))) )) ))) )) && (parenthesized_expression "((PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0)" ( (binary_expression "(PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4)" ( (binary_expression "PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2] & 4" (subscript_expression "PTR__sch_istable_0013bfa8[(uint)((byte *)name)[10] * 2]" identifier [ (binary_expression "(uint)((byte *)name)[10] * 2" (subscript_expression "(uint)((byte *)name)[10]" (call_expression "(uint)((byte *)name)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte *)name)" ( (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) [ number_literal ]) * number_literal) ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);\n  }" { (expression_statement "iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10);" (assignment_expression "iVar2 = strtol((char *)((byte *)name + 10),(char **)0x0,10)" identifier = (call_expression "strtol((char *)((byte *)name + 10),(char **)0x0,10)" identifier (argument_list "((char *)((byte *)name + 10),(char **)0x0,10)" ( (cast_expression "(char *)((byte *)name + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)name + 10)" ( (binary_expression "(byte *)name + 10" (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) }) (else_clause "else {\n    iVar2 = -1;\n  }" else (compound_statement "{\n    iVar2 = -1;\n  }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "long __regparm3 FUN_0002c7a0(byte *param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}\n\n" (function_definition "long __regparm3 FUN_0002c7a0(byte *param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}" (sized_type_specifier "long __regparm3" long type_identifier) (function_declarator "FUN_0002c7a0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }" while (parenthesized_expression "(bVar7 = bVar1 == 0x5f, bVar7)" ( (comma_expression "bVar7 = bVar1 == 0x5f, bVar7" (assignment_expression "bVar7 = bVar1 == 0x5f" identifier = (binary_expression "bVar1 == 0x5f" identifier == number_literal)) , identifier) )) (compound_statement "{\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }" { (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "bVar6 = bVar1 < 0x5f;" (assignment_expression "bVar6 = bVar1 < 0x5f" identifier = (binary_expression "bVar1 < 0x5f" identifier < number_literal)) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (expression_statement "pbVar4 = param_1;" (assignment_expression "pbVar4 = param_1" identifier = identifier) ;) (expression_statement "pbVar5 = (byte *)"GLOBAL_";" (assignment_expression "pbVar5 = (byte *)"GLOBAL_"" identifier = (cast_expression "(byte *)"GLOBAL_"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""GLOBAL_"" " string_content "))) ;) (do_statement "do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar4 < *pbVar5;" (assignment_expression "bVar6 = *pbVar4 < *pbVar5" identifier = (binary_expression "*pbVar4 < *pbVar5" (pointer_expression "*pbVar4" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar4 == *pbVar5;" (assignment_expression "bVar7 = *pbVar4 == *pbVar5" identifier = (binary_expression "*pbVar4 == *pbVar5" (pointer_expression "*pbVar4" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }" if (parenthesized_expression "(((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0))" ( (binary_expression "((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)" (parenthesized_expression "((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44))))" ( (binary_expression "(((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))" (parenthesized_expression "(((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9]))" ( (binary_expression "((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])" (parenthesized_expression "((!bVar6 && !bVar7) == bVar6)" ( (binary_expression "(!bVar6 && !bVar7) == bVar6" (parenthesized_expression "(!bVar6 && !bVar7)" ( (binary_expression "!bVar6 && !bVar7" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) && (parenthesized_expression "(param_1[7] == param_1[9])" ( (binary_expression "param_1[7] == param_1[9]" (subscript_expression "param_1[7]" identifier [ number_literal ]) == (subscript_expression "param_1[9]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "((param_1[8] == 0x49 || (param_1[8] == 0x44)))" ( (parenthesized_expression "(param_1[8] == 0x49 || (param_1[8] == 0x44))" ( (binary_expression "param_1[8] == 0x49 || (param_1[8] == 0x44)" (binary_expression "param_1[8] == 0x49" (subscript_expression "param_1[8]" identifier [ number_literal ]) == number_literal) || (parenthesized_expression "(param_1[8] == 0x44)" ( (binary_expression "param_1[8] == 0x44" (subscript_expression "param_1[8]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) && (parenthesized_expression "((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)" ( (binary_expression "(PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4)" ( (binary_expression "PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4" (subscript_expression "PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2]" identifier [ (binary_expression "(uint)param_1[10] * 2" (cast_expression "(uint)param_1[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[10]" identifier [ number_literal ])) * number_literal) ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }" { (expression_statement "lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);" (assignment_expression "lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10)" identifier = (call_expression "strtol((char *)(param_1 + 10),(char **)0x0,10)" identifier (argument_list "((char *)(param_1 + 10),(char **)0x0,10)" ( (cast_expression "(char *)(param_1 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) }) (else_clause "else {\n    lVar2 = -1;\n  }" else (compound_statement "{\n    lVar2 = -1;\n  }" { (expression_statement "lVar2 = -1;" (assignment_expression "lVar2 = -1" identifier = number_literal) ;) }))) (return_statement "return lVar2;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long TYPE) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT == LIT)) , IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) ]) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "long __regparm3 FUN_0002c7a0(byte *param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}" (sized_type_specifier "long __regparm3" (long "long") (type_identifier "__regparm3")) (function_declarator "FUN_0002c7a0(byte *param_1)" (identifier "FUN_0002c7a0") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  long lVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  bVar1 = *param_1;\n  while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }\n  bVar6 = bVar1 < 0x5f;\n  iVar3 = 7;\n  pbVar4 = param_1;\n  pbVar5 = (byte *)"GLOBAL_";\n  do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }\n  return lVar2;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (while_statement "while (bVar7 = bVar1 == 0x5f, bVar7) {\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }" (while "while") (parenthesized_expression "(bVar7 = bVar1 == 0x5f, bVar7)" (( "(") (comma_expression "bVar7 = bVar1 == 0x5f, bVar7" (assignment_expression "bVar7 = bVar1 == 0x5f" (identifier "bVar7") (= "=") (binary_expression "bVar1 == 0x5f" (identifier "bVar1") (== "==") (number_literal "0x5f"))) (, ",") (identifier "bVar7")) () ")")) (compound_statement "{\n    param_1 = param_1 + 1;\n    bVar1 = *param_1;\n  }" ({ "{") (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "bVar6 = bVar1 < 0x5f;" (assignment_expression "bVar6 = bVar1 < 0x5f" (identifier "bVar6") (= "=") (binary_expression "bVar1 < 0x5f" (identifier "bVar1") (< "<") (number_literal "0x5f"))) (; ";")) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" (identifier "iVar3") (= "=") (number_literal "7")) (; ";")) (expression_statement "pbVar4 = param_1;" (assignment_expression "pbVar4 = param_1" (identifier "pbVar4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar5 = (byte *)"GLOBAL_";" (assignment_expression "pbVar5 = (byte *)"GLOBAL_"" (identifier "pbVar5") (= "=") (cast_expression "(byte *)"GLOBAL_"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""GLOBAL_"" (" """) (string_content "GLOBAL_") (" """)))) (; ";")) (do_statement "do {\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" (do "do") (compound_statement "{\n    if (iVar3 == 0) break;\n    iVar3 = iVar3 + -1;\n    bVar6 = *pbVar4 < *pbVar5;\n    bVar7 = *pbVar4 == *pbVar5;\n    pbVar4 = pbVar4 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" ({ "{") (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar6 = *pbVar4 < *pbVar5;" (assignment_expression "bVar6 = *pbVar4 < *pbVar5" (identifier "bVar6") (= "=") (binary_expression "*pbVar4 < *pbVar5" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (< "<") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "bVar7 = *pbVar4 == *pbVar5;" (assignment_expression "bVar7 = *pbVar4 == *pbVar5" (identifier "bVar7") (= "=") (binary_expression "*pbVar4 == *pbVar5" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (== "==") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (; ";")) (if_statement "if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }\n  else {\n    lVar2 = -1;\n  }" (if "if") (parenthesized_expression "(((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0))" (( "(") (binary_expression "((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&\n     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)" (parenthesized_expression "((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44))))" (( "(") (binary_expression "(((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&\n      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))" (parenthesized_expression "(((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9]))" (( "(") (binary_expression "((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])" (parenthesized_expression "((!bVar6 && !bVar7) == bVar6)" (( "(") (binary_expression "(!bVar6 && !bVar7) == bVar6" (parenthesized_expression "(!bVar6 && !bVar7)" (( "(") (binary_expression "!bVar6 && !bVar7" (unary_expression "!bVar6" (! "!") (identifier "bVar6")) (&& "&&") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (== "==") (identifier "bVar6")) () ")")) (&& "&&") (parenthesized_expression "(param_1[7] == param_1[9])" (( "(") (binary_expression "param_1[7] == param_1[9]" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (== "==") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((param_1[8] == 0x49 || (param_1[8] == 0x44)))" (( "(") (parenthesized_expression "(param_1[8] == 0x49 || (param_1[8] == 0x44))" (( "(") (binary_expression "param_1[8] == 0x49 || (param_1[8] == 0x44)" (binary_expression "param_1[8] == 0x49" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (== "==") (number_literal "0x49")) (|| "||") (parenthesized_expression "(param_1[8] == 0x44)" (( "(") (binary_expression "param_1[8] == 0x44" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (== "==") (number_literal "0x44")) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)" (( "(") (binary_expression "(PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4)" (( "(") (binary_expression "PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4" (subscript_expression "PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2]" (identifier "PTR__sch_istable_0013bfa8") ([ "[") (binary_expression "(uint)param_1[10] * 2" (cast_expression "(uint)param_1[10]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);\n  }" ({ "{") (expression_statement "lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);" (assignment_expression "lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10)" (identifier "lVar2") (= "=") (call_expression "strtol((char *)(param_1 + 10),(char **)0x0,10)" (identifier "strtol") (argument_list "((char *)(param_1 + 10),(char **)0x0,10)" (( "(") (cast_expression "(char *)(param_1 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")"))) (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    lVar2 = -1;\n  }" (else "else") (compound_statement "{\n    lVar2 = -1;\n  }" ({ "{") (expression_statement "lVar2 = -1;" (assignment_expression "lVar2 = -1" (identifier "lVar2") (= "=") (number_literal "-1")) (; ";")) (} "}")))) (return_statement "return lVar2;" (return "return") (identifier "lVar2") (; ";")) (} "}")))

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

int __regparm3 function_1(char *name)

{
  type_1 var_1;
  int var_2;
  type_1 *var_3;
  type_1 *var_4;
  bool var_5;
  bool bVar6;
  
  var_1 = *name;
  while (bVar6 = var_1 == 0x5f, bVar6) {
    name = (char *)((type_1 *)name + 1);
    var_1 = *name;
  }
  var_5 = var_1 < 0x5f;
  var_2 = 7;
  var_3 = (type_1 *)name;
  var_4 = (type_1 *)"GLOBAL_";
  do {
    if (var_2 == 0) break;
    var_2 = var_2 + -1;
    var_5 = *var_3 < *var_4;
    bVar6 = *var_3 == *var_4;
    var_3 = var_3 + 1;
    var_4 = var_4 + 1;
  } while (bVar6);
  if (((((!var_5 && !bVar6) == var_5) && (((type_1 *)name)[7] == ((type_1 *)name)[9])) &&
      ((((type_1 *)name)[8] == 0x49 || (((type_1 *)name)[8] == 0x44)))) &&
     ((PTR__sch_istable_0013bfa8[(uint)((type_1 *)name)[10] * 2] & 4) != 0)) {
    var_2 = var_6((char *)((type_1 *)name + 10),(char **)0x0,10);
  }
  else {
    var_2 = -1;
  }
  return var_2;
}


(translation_unit (function_definition type: (sized_type_specifier type: (type_identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (identifier))) body: (compound_statement (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (string_literal (string_content))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (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))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (number_literal))) right: (number_literal))))) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (number_literal)) (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 */

long __regparm3 MASKED(byte *param_1)

{
  byte bVar1;
  long lVar2;
  int iVar3;
  byte *pbVar4;
  byte *pbVar5;
  bool bVar6;
  bool bVar7;
  
  bVar1 = *param_1;
  while (bVar7 = bVar1 == 0x5f, bVar7) {
    param_1 = param_1 + 1;
    bVar1 = *param_1;
  }
  bVar6 = bVar1 < 0x5f;
  iVar3 = 7;
  pbVar4 = param_1;
  pbVar5 = (byte *)"GLOBAL_";
  do {
    if (iVar3 == 0) break;
    iVar3 = iVar3 + -1;
    bVar6 = *pbVar4 < *pbVar5;
    bVar7 = *pbVar4 == *pbVar5;
    pbVar4 = pbVar4 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  if (((((!bVar6 && !bVar7) == bVar6) && (param_1[7] == param_1[9])) &&
      ((param_1[8] == 0x49 || (param_1[8] == 0x44)))) &&
     ((PTR__sch_istable_0013bfa8[(uint)param_1[10] * 2] & 4) != 0)) {
    lVar2 = strtol((char *)(param_1 + 10),(char **)0x0,10);
  }
  else {
    lVar2 = -1;
  }
  return lVar2;
}

