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

int i386_parse_name(char *name,expressionS *e,char *nextcharP)

{
  ushort uVar1;
  flag_code fVar2;
  char *pcVar3;
  reg_entry *prVar4;
  int iVar5;
  char *__s1;
  int iVar6;
  byte *pbVar7;
  byte *pbVar8;
  anon_struct_16_3_5c8c3acb *paVar9;
  bool bVar10;
  bool bVar11;
  byte bVar12;
  
  pcVar3 = input_line_pointer;
  bVar12 = 0;
  *input_line_pointer = *nextcharP;
  prVar4 = parse_register(name,&input_line_pointer);
  __s1 = (char *)intel_syntax;
  if ((prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer)) {
    iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;
    *nextcharP = *input_line_pointer;
    *input_line_pointer = '\0';
    *(int *)&e->X_add_number = iVar6 >> 4;
    *(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;
    e->field_0x10 = 5;
    return 1;
  }
  input_line_pointer = pcVar3;
  *pcVar3 = '\0';
  bVar10 = false;
  bVar11 = __s1 == (char *)0x0;
  if (!bVar11) {
    iVar6 = 2;
    pbVar7 = (byte *)name;
    pbVar8 = &DAT_000640e2;
    do {
      if (iVar6 == 0) break;
      iVar6 = iVar6 + -1;
      bVar10 = *pbVar7 < *pbVar8;
      bVar11 = *pbVar7 == *pbVar8;
      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;
      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;
    } while (bVar11);
    if ((!bVar10 && !bVar11) == bVar10) {
      current_location(e);
      __s1 = (char *)0x1;
    }
    else {
      paVar9 = i386_types;
      iVar6 = 0;
      __s1 = "byte";
      do {
        paVar9 = paVar9 + 1;
        iVar5 = strcasecmp(__s1,name);
        if (iVar5 == 0) {
          e->field_0x10 = 2;
          fVar2 = flag_code;
          *(undefined4 *)((int)&e->X_add_number + 4) = 0;
          e->X_add_symbol = (symbolS *)0x0;
          uVar1 = i386_types[iVar6].sz[fVar2];
          e->X_op_symbol = (symbolS *)0x0;
          *(uint *)&e->X_add_number = (uint)uVar1;
          return 1;
        }
        __s1 = paVar9->name;
        iVar6 = iVar6 + 1;
      } while (__s1 != (char *)0x0);
    }
  }
  return (int)__s1;
}



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

char * FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)

{
  ushort uVar1;
  undefined1 *puVar2;
  int iVar3;
  int iVar4;
  char *__s1;
  byte *pbVar5;
  byte *pbVar6;
  undefined **ppuVar7;
  bool bVar8;
  bool bVar9;
  byte bVar10;
  
  puVar2 = DAT_00089978;
  bVar10 = 0;
  *DAT_00089978 = *param_3;
  iVar3 = FUN_00044f30();
  __s1 = DAT_00088ef4;
  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {
    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;
    *param_3 = *DAT_00089978;
    *DAT_00089978 = 0;
    param_2[2] = iVar3 >> 4;
    param_2[3] = iVar3 >> 0x1f;
    *(undefined1 *)(param_2 + 4) = 5;
    return (char *)0x1;
  }
  DAT_00089978 = puVar2;
  *puVar2 = 0;
  bVar8 = false;
  bVar9 = __s1 == (char *)0x0;
  if (!bVar9) {
    iVar3 = 2;
    pbVar5 = param_1;
    pbVar6 = &DAT_000640e2;
    do {
      if (iVar3 == 0) break;
      iVar3 = iVar3 + -1;
      bVar8 = *pbVar5 < *pbVar6;
      bVar9 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;
      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;
    } while (bVar9);
    if ((!bVar8 && !bVar9) == bVar8) {
      FUN_000214a0(param_2);
      __s1 = (char *)0x1;
    }
    else {
      iVar3 = 0;
      __s1 = "byte";
      ppuVar7 = &PTR_s_word_0007dd90;
      do {
        iVar4 = strcasecmp(__s1,(char *)param_1);
        if (iVar4 == 0) {
          *(undefined1 *)(param_2 + 4) = 2;
          iVar4 = DAT_00088f0c;
          param_2[3] = 0;
          *param_2 = 0;
          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);
          param_2[1] = 0;
          param_2[2] = (uint)uVar1;
          return (char *)0x1;
        }
        __s1 = *ppuVar7;
        iVar3 = iVar3 + 1;
        ppuVar7 = ppuVar7 + 4;
      } while (__s1 != (char *)0x0);
    }
  }
  return __s1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016000
ADD EBX,0x2e167
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x28]
MOVZX EAX,byte ptr [EDI]
LEA ESI,[EBX + 0x9978]
MOV EBP,dword ptr [ESI]
MOV EDX,ESI
MOV byte ptr [EBP],AL
MOV EAX,dword ptr [ESP + 0x20]
CALL 0x00044f30
TEST EAX,EAX
JZ 0x00051ec9
MOV EDX,dword ptr [ESI]
CMP EDX,EBP
JNC 0x00051ee8
MOV EAX,dword ptr [EBX + 0x8ef4]
MOV dword ptr [ESI],EBP
MOV byte ptr [EBP],0x0
TEST EAX,EAX
JNZ 0x00051f20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EDX,byte ptr [EDX]
MOV ECX,dword ptr [ESP + 0x24]
SUB EAX,dword ptr [EBX + 0xffffff5c]
MOV byte ptr [EDI],DL
MOV EDX,dword ptr [ESI]
SAR EAX,0x4
MOV byte ptr [EDX],0x0
MOV dword ptr [ECX + 0x8],EAX
SAR EAX,0x1f
MOV dword ptr [ECX + 0xc],EAX
MOV EAX,0x1
MOV byte ptr [ECX + 0x10],0x5
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0x20]
MOV ECX,0x2
LEA EDI,[EBX + 0xfffe40e2]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x00051fb8
LEA EDI,[EBX + 0xffffdd90]
XOR ESI,ESI
LEA EAX,[EBX + 0xfffe0556]
JMP 0x00051f61
ADD EDI,0x10
MOV EAX,dword ptr [EDI + -0x10]
ADD ESI,0x1
TEST EAX,EAX
JZ 0x00051ed9
SUB ESP,0x8
PUSH dword ptr [ESP + 0x28]
PUSH EAX
CALL 0x00014460
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00051f50
MOV EAX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x24]
MOV byte ptr [EAX + 0x10],0x2
MOV EAX,dword ptr [EBX + 0x8f0c]
MOV dword ptr [ECX + 0xc],0x0
LEA EAX,[EAX + ESI*0x8]
MOV dword ptr [ECX],0x0
MOVZX EAX,word ptr [EBX + EAX*0x2 + 0xffffdd88]
MOV dword ptr [ECX + 0x4],0x0
MOV dword ptr [ECX + 0x8],EAX
MOV EAX,0x1
JMP 0x00051ed9
SUB ESP,0xc
PUSH dword ptr [ESP + 0x30]
CALL 0x000214a0
ADD ESP,0x10
MOV EAX,0x1
JMP 0x00051ed9
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}\n\n" comment (function_definition "char * FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}" primitive_type (pointer_declarator "* FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)" * (function_declarator "FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)" identifier (parameter_list "(byte *param_1,undefined4 *param_2,undefined1 *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "undefined **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (expression_statement "puVar2 = DAT_00089978;" (assignment_expression "puVar2 = DAT_00089978" identifier = identifier) ;) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (expression_statement "*DAT_00089978 = *param_3;" (assignment_expression "*DAT_00089978 = *param_3" (pointer_expression "*DAT_00089978" * identifier) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar3 = FUN_00044f30();" (assignment_expression "iVar3 = FUN_00044f30()" identifier = (call_expression "FUN_00044f30()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s1 = DAT_00088ef4;" (assignment_expression "__s1 = DAT_00088ef4" identifier = identifier) ;) (if_statement "if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }" if (parenthesized_expression "((iVar3 != 0) && (puVar2 <= DAT_00089978))" ( (binary_expression "(iVar3 != 0) && (puVar2 <= DAT_00089978)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar2 <= DAT_00089978)" ( (binary_expression "puVar2 <= DAT_00089978" identifier <= identifier) ))) )) (compound_statement "{\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }" { (expression_statement "iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;" (assignment_expression "iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c" identifier = (binary_expression "iVar3 - (int)PTR_i386_regtab_0007ff5c" identifier - (cast_expression "(int)PTR_i386_regtab_0007ff5c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*param_3 = *DAT_00089978;" (assignment_expression "*param_3 = *DAT_00089978" (pointer_expression "*param_3" * identifier) = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "*DAT_00089978 = 0;" (assignment_expression "*DAT_00089978 = 0" (pointer_expression "*DAT_00089978" * identifier) = number_literal) ;) (expression_statement "param_2[2] = iVar3 >> 4;" (assignment_expression "param_2[2] = iVar3 >> 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "iVar3 >> 4" identifier >> number_literal)) ;) (expression_statement "param_2[3] = iVar3 >> 0x1f;" (assignment_expression "param_2[3] = iVar3 >> 0x1f" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "iVar3 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "*(undefined1 *)(param_2 + 4) = 5;" (assignment_expression "*(undefined1 *)(param_2 + 4) = 5" (pointer_expression "*(undefined1 *)(param_2 + 4)" * (cast_expression "(undefined1 *)(param_2 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return (char *)0x1;" return (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "DAT_00089978 = puVar2;" (assignment_expression "DAT_00089978 = puVar2" identifier = identifier) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar9 = __s1 == (char *)0x0;" (assignment_expression "bVar9 = __s1 == (char *)0x0" identifier = (binary_expression "__s1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }" if (parenthesized_expression "(!bVar9)" ( (unary_expression "!bVar9" ! identifier) )) (compound_statement "{\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }" { (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" identifier = identifier) ;) (expression_statement "pbVar6 = &DAT_000640e2;" (assignment_expression "pbVar6 = &DAT_000640e2" identifier = (pointer_expression "&DAT_000640e2" & identifier)) ;) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 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 "bVar8 = *pbVar5 < *pbVar6;" (assignment_expression "bVar8 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar5 == *pbVar6;" (assignment_expression "bVar9 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;" (assignment_expression "pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1" identifier = (binary_expression "pbVar5 + (uint)bVar10 * -2 + 1" (binary_expression "pbVar5 + (uint)bVar10 * -2" identifier + (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar10 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar10 * -2" identifier + (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" if (parenthesized_expression "((!bVar8 && !bVar9) == bVar8)" ( (binary_expression "(!bVar8 && !bVar9) == bVar8" (parenthesized_expression "(!bVar8 && !bVar9)" ( (binary_expression "!bVar8 && !bVar9" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier) )) (compound_statement "{\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }" { (expression_statement "FUN_000214a0(param_2);" (call_expression "FUN_000214a0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "__s1 = (char *)0x1;" (assignment_expression "__s1 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" else (compound_statement "{\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "__s1 = "byte";" (assignment_expression "__s1 = "byte"" identifier = (string_literal ""byte"" " string_content ")) ;) (expression_statement "ppuVar7 = &PTR_s_word_0007dd90;" (assignment_expression "ppuVar7 = &PTR_s_word_0007dd90" identifier = (pointer_expression "&PTR_s_word_0007dd90" & identifier)) ;) (do_statement "do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);" do (compound_statement "{\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      }" { (expression_statement "iVar4 = strcasecmp(__s1,(char *)param_1);" (assignment_expression "iVar4 = strcasecmp(__s1,(char *)param_1)" identifier = (call_expression "strcasecmp(__s1,(char *)param_1)" identifier (argument_list "(__s1,(char *)param_1)" ( identifier , (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }" { (expression_statement "*(undefined1 *)(param_2 + 4) = 2;" (assignment_expression "*(undefined1 *)(param_2 + 4) = 2" (pointer_expression "*(undefined1 *)(param_2 + 4)" * (cast_expression "(undefined1 *)(param_2 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = DAT_00088f0c;" (assignment_expression "iVar4 = DAT_00088f0c" identifier = identifier) ;) (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);" (assignment_expression "uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" identifier = (pointer_expression "*(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" * (cast_expression "(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" ( (binary_expression "&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2" (pointer_expression "&DAT_0007dd88" & identifier) + (binary_expression "(iVar4 + iVar3 * 8) * 2" (parenthesized_expression "(iVar4 + iVar3 * 8)" ( (binary_expression "iVar4 + iVar3 * 8" identifier + (binary_expression "iVar3 * 8" identifier * number_literal)) )) * number_literal)) ))))) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = (uint)uVar1;" (assignment_expression "param_2[2] = (uint)uVar1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (return_statement "return (char *)0x1;" return (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "__s1 = *ppuVar7;" (assignment_expression "__s1 = *ppuVar7" identifier = (pointer_expression "*ppuVar7" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar7 = ppuVar7 + 4;" (assignment_expression "ppuVar7 = ppuVar7 + 4" identifier = (binary_expression "ppuVar7 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) })) (return_statement "return __s1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint i386_parse_name(char *name,expressionS *e,char *nextcharP)\n\n{\n  ushort uVar1;\n  flag_code fVar2;\n  char *pcVar3;\n  reg_entry *prVar4;\n  int iVar5;\n  char *__s1;\n  int iVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  anon_struct_16_3_5c8c3acb *paVar9;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  \n  pcVar3 = input_line_pointer;\n  bVar12 = 0;\n  *input_line_pointer = *nextcharP;\n  prVar4 = parse_register(name,&input_line_pointer);\n  __s1 = (char *)intel_syntax;\n  if ((prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer)) {\n    iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;\n    *nextcharP = *input_line_pointer;\n    *input_line_pointer = '\0';\n    *(int *)&e->X_add_number = iVar6 >> 4;\n    *(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;\n    e->field_0x10 = 5;\n    return 1;\n  }\n  input_line_pointer = pcVar3;\n  *pcVar3 = '\0';\n  bVar10 = false;\n  bVar11 = __s1 == (char *)0x0;\n  if (!bVar11) {\n    iVar6 = 2;\n    pbVar7 = (byte *)name;\n    pbVar8 = &DAT_000640e2;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    } while (bVar11);\n    if ((!bVar10 && !bVar11) == bVar10) {\n      current_location(e);\n      __s1 = (char *)0x1;\n    }\n    else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return (int)__s1;\n}\n\n" comment (function_definition "int i386_parse_name(char *name,expressionS *e,char *nextcharP)\n\n{\n  ushort uVar1;\n  flag_code fVar2;\n  char *pcVar3;\n  reg_entry *prVar4;\n  int iVar5;\n  char *__s1;\n  int iVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  anon_struct_16_3_5c8c3acb *paVar9;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  \n  pcVar3 = input_line_pointer;\n  bVar12 = 0;\n  *input_line_pointer = *nextcharP;\n  prVar4 = parse_register(name,&input_line_pointer);\n  __s1 = (char *)intel_syntax;\n  if ((prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer)) {\n    iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;\n    *nextcharP = *input_line_pointer;\n    *input_line_pointer = '\0';\n    *(int *)&e->X_add_number = iVar6 >> 4;\n    *(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;\n    e->field_0x10 = 5;\n    return 1;\n  }\n  input_line_pointer = pcVar3;\n  *pcVar3 = '\0';\n  bVar10 = false;\n  bVar11 = __s1 == (char *)0x0;\n  if (!bVar11) {\n    iVar6 = 2;\n    pbVar7 = (byte *)name;\n    pbVar8 = &DAT_000640e2;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    } while (bVar11);\n    if ((!bVar10 && !bVar11) == bVar10) {\n      current_location(e);\n      __s1 = (char *)0x1;\n    }\n    else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return (int)__s1;\n}" primitive_type (function_declarator "i386_parse_name(char *name,expressionS *e,char *nextcharP)" identifier (parameter_list "(char *name,expressionS *e,char *nextcharP)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "expressionS *e" type_identifier (pointer_declarator "*e" * identifier)) , (parameter_declaration "char *nextcharP" primitive_type (pointer_declarator "*nextcharP" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  flag_code fVar2;\n  char *pcVar3;\n  reg_entry *prVar4;\n  int iVar5;\n  char *__s1;\n  int iVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  anon_struct_16_3_5c8c3acb *paVar9;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  \n  pcVar3 = input_line_pointer;\n  bVar12 = 0;\n  *input_line_pointer = *nextcharP;\n  prVar4 = parse_register(name,&input_line_pointer);\n  __s1 = (char *)intel_syntax;\n  if ((prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer)) {\n    iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;\n    *nextcharP = *input_line_pointer;\n    *input_line_pointer = '\0';\n    *(int *)&e->X_add_number = iVar6 >> 4;\n    *(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;\n    e->field_0x10 = 5;\n    return 1;\n  }\n  input_line_pointer = pcVar3;\n  *pcVar3 = '\0';\n  bVar10 = false;\n  bVar11 = __s1 == (char *)0x0;\n  if (!bVar11) {\n    iVar6 = 2;\n    pbVar7 = (byte *)name;\n    pbVar8 = &DAT_000640e2;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    } while (bVar11);\n    if ((!bVar10 && !bVar11) == bVar10) {\n      current_location(e);\n      __s1 = (char *)0x1;\n    }\n    else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return (int)__s1;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "flag_code fVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "reg_entry *prVar4;" type_identifier (pointer_declarator "*prVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "anon_struct_16_3_5c8c3acb *paVar9;" type_identifier (pointer_declarator "*paVar9" * identifier) ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (expression_statement "pcVar3 = input_line_pointer;" (assignment_expression "pcVar3 = input_line_pointer" identifier = identifier) ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "*input_line_pointer = *nextcharP;" (assignment_expression "*input_line_pointer = *nextcharP" (pointer_expression "*input_line_pointer" * identifier) = (pointer_expression "*nextcharP" * identifier)) ;) (expression_statement "prVar4 = parse_register(name,&input_line_pointer);" (assignment_expression "prVar4 = parse_register(name,&input_line_pointer)" identifier = (call_expression "parse_register(name,&input_line_pointer)" identifier (argument_list "(name,&input_line_pointer)" ( identifier , (pointer_expression "&input_line_pointer" & identifier) )))) ;) (expression_statement "__s1 = (char *)intel_syntax;" (assignment_expression "__s1 = (char *)intel_syntax" identifier = (cast_expression "(char *)intel_syntax" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer)) {\n    iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;\n    *nextcharP = *input_line_pointer;\n    *input_line_pointer = '\0';\n    *(int *)&e->X_add_number = iVar6 >> 4;\n    *(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;\n    e->field_0x10 = 5;\n    return 1;\n  }" if (parenthesized_expression "((prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer))" ( (binary_expression "(prVar4 != (reg_entry *)0x0) && (pcVar3 <= input_line_pointer)" (parenthesized_expression "(prVar4 != (reg_entry *)0x0)" ( (binary_expression "prVar4 != (reg_entry *)0x0" identifier != (cast_expression "(reg_entry *)0x0" ( (type_descriptor "reg_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3 <= input_line_pointer)" ( (binary_expression "pcVar3 <= input_line_pointer" identifier <= identifier) ))) )) (compound_statement "{\n    iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;\n    *nextcharP = *input_line_pointer;\n    *input_line_pointer = '\0';\n    *(int *)&e->X_add_number = iVar6 >> 4;\n    *(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;\n    e->field_0x10 = 5;\n    return 1;\n  }" { (expression_statement "iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c;" (assignment_expression "iVar6 = (int)prVar4 - (int)PTR_i386_regtab_0007ff5c" identifier = (binary_expression "(int)prVar4 - (int)PTR_i386_regtab_0007ff5c" (cast_expression "(int)prVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)PTR_i386_regtab_0007ff5c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*nextcharP = *input_line_pointer;" (assignment_expression "*nextcharP = *input_line_pointer" (pointer_expression "*nextcharP" * identifier) = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "*input_line_pointer = '\0';" (assignment_expression "*input_line_pointer = '\0'" (pointer_expression "*input_line_pointer" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(int *)&e->X_add_number = iVar6 >> 4;" (assignment_expression "*(int *)&e->X_add_number = iVar6 >> 4" (pointer_expression "*(int *)&e->X_add_number" * (cast_expression "(int *)&e->X_add_number" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&e->X_add_number" & (field_expression "e->X_add_number" identifier -> field_identifier)))) = (binary_expression "iVar6 >> 4" identifier >> number_literal)) ;) (expression_statement "*(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f;" (assignment_expression "*(int *)((int)&e->X_add_number + 4) = iVar6 >> 0x1f" (pointer_expression "*(int *)((int)&e->X_add_number + 4)" * (cast_expression "(int *)((int)&e->X_add_number + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&e->X_add_number + 4)" ( (binary_expression "(int)&e->X_add_number + 4" (cast_expression "(int)&e->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&e->X_add_number" & (field_expression "e->X_add_number" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "iVar6 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "e->field_0x10 = 5;" (assignment_expression "e->field_0x10 = 5" (field_expression "e->field_0x10" identifier -> field_identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "input_line_pointer = pcVar3;" (assignment_expression "input_line_pointer = pcVar3" identifier = identifier) ;) (expression_statement "*pcVar3 = '\0';" (assignment_expression "*pcVar3 = '\0'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) (expression_statement "bVar11 = __s1 == (char *)0x0;" (assignment_expression "bVar11 = __s1 == (char *)0x0" identifier = (binary_expression "__s1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar11) {\n    iVar6 = 2;\n    pbVar7 = (byte *)name;\n    pbVar8 = &DAT_000640e2;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    } while (bVar11);\n    if ((!bVar10 && !bVar11) == bVar10) {\n      current_location(e);\n      __s1 = (char *)0x1;\n    }\n    else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }\n  }" if (parenthesized_expression "(!bVar11)" ( (unary_expression "!bVar11" ! identifier) )) (compound_statement "{\n    iVar6 = 2;\n    pbVar7 = (byte *)name;\n    pbVar8 = &DAT_000640e2;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    } while (bVar11);\n    if ((!bVar10 && !bVar11) == bVar10) {\n      current_location(e);\n      __s1 = (char *)0x1;\n    }\n    else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }\n  }" { (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) (expression_statement "pbVar7 = (byte *)name;" (assignment_expression "pbVar7 = (byte *)name" identifier = (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar8 = &DAT_000640e2;" (assignment_expression "pbVar8 = &DAT_000640e2" identifier = (pointer_expression "&DAT_000640e2" & identifier)) ;) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    } while (bVar11);" do (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar10 = *pbVar7 < *pbVar8;\n      bVar11 = *pbVar7 == *pbVar8;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n      pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;\n    }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar10 = *pbVar7 < *pbVar8;" (assignment_expression "bVar10 = *pbVar7 < *pbVar8" identifier = (binary_expression "*pbVar7 < *pbVar8" (pointer_expression "*pbVar7" * identifier) < (pointer_expression "*pbVar8" * identifier))) ;) (expression_statement "bVar11 = *pbVar7 == *pbVar8;" (assignment_expression "bVar11 = *pbVar7 == *pbVar8" identifier = (binary_expression "*pbVar7 == *pbVar8" (pointer_expression "*pbVar7" * identifier) == (pointer_expression "*pbVar8" * identifier))) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar12 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar12 * -2" identifier + (binary_expression "(uint)bVar12 * -2" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar12 * -2 + 1" identifier = (binary_expression "pbVar8 + (uint)bVar12 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar12 * -2" identifier + (binary_expression "(uint)bVar12 * -2" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar11)" ( identifier )) ;) (if_statement "if ((!bVar10 && !bVar11) == bVar10) {\n      current_location(e);\n      __s1 = (char *)0x1;\n    }\n    else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }" if (parenthesized_expression "((!bVar10 && !bVar11) == bVar10)" ( (binary_expression "(!bVar10 && !bVar11) == bVar10" (parenthesized_expression "(!bVar10 && !bVar11)" ( (binary_expression "!bVar10 && !bVar11" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar11" ! identifier)) )) == identifier) )) (compound_statement "{\n      current_location(e);\n      __s1 = (char *)0x1;\n    }" { (expression_statement "current_location(e);" (call_expression "current_location(e)" identifier (argument_list "(e)" ( identifier ))) ;) (expression_statement "__s1 = (char *)0x1;" (assignment_expression "__s1 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }" else (compound_statement "{\n      paVar9 = i386_types;\n      iVar6 = 0;\n      __s1 = "byte";\n      do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);\n    }" { (expression_statement "paVar9 = i386_types;" (assignment_expression "paVar9 = i386_types" identifier = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "__s1 = "byte";" (assignment_expression "__s1 = "byte"" identifier = (string_literal ""byte"" " string_content ")) ;) (do_statement "do {\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      } while (__s1 != (char *)0x0);" do (compound_statement "{\n        paVar9 = paVar9 + 1;\n        iVar5 = strcasecmp(__s1,name);\n        if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }\n        __s1 = paVar9->name;\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "paVar9 = paVar9 + 1;" (assignment_expression "paVar9 = paVar9 + 1" identifier = (binary_expression "paVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = strcasecmp(__s1,name);" (assignment_expression "iVar5 = strcasecmp(__s1,name)" identifier = (call_expression "strcasecmp(__s1,name)" identifier (argument_list "(__s1,name)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          e->field_0x10 = 2;\n          fVar2 = flag_code;\n          *(undefined4 *)((int)&e->X_add_number + 4) = 0;\n          e->X_add_symbol = (symbolS *)0x0;\n          uVar1 = i386_types[iVar6].sz[fVar2];\n          e->X_op_symbol = (symbolS *)0x0;\n          *(uint *)&e->X_add_number = (uint)uVar1;\n          return 1;\n        }" { (expression_statement "e->field_0x10 = 2;" (assignment_expression "e->field_0x10 = 2" (field_expression "e->field_0x10" identifier -> field_identifier) = number_literal) ;) (expression_statement "fVar2 = flag_code;" (assignment_expression "fVar2 = flag_code" identifier = identifier) ;) (expression_statement "*(undefined4 *)((int)&e->X_add_number + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&e->X_add_number + 4) = 0" (pointer_expression "*(undefined4 *)((int)&e->X_add_number + 4)" * (cast_expression "(undefined4 *)((int)&e->X_add_number + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&e->X_add_number + 4)" ( (binary_expression "(int)&e->X_add_number + 4" (cast_expression "(int)&e->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&e->X_add_number" & (field_expression "e->X_add_number" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "e->X_add_symbol = (symbolS *)0x0;" (assignment_expression "e->X_add_symbol = (symbolS *)0x0" (field_expression "e->X_add_symbol" identifier -> field_identifier) = (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar1 = i386_types[iVar6].sz[fVar2];" (assignment_expression "uVar1 = i386_types[iVar6].sz[fVar2]" identifier = (subscript_expression "i386_types[iVar6].sz[fVar2]" (field_expression "i386_types[iVar6].sz" (subscript_expression "i386_types[iVar6]" identifier [ identifier ]) . field_identifier) [ identifier ])) ;) (expression_statement "e->X_op_symbol = (symbolS *)0x0;" (assignment_expression "e->X_op_symbol = (symbolS *)0x0" (field_expression "e->X_op_symbol" identifier -> field_identifier) = (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(uint *)&e->X_add_number = (uint)uVar1;" (assignment_expression "*(uint *)&e->X_add_number = (uint)uVar1" (pointer_expression "*(uint *)&e->X_add_number" * (cast_expression "(uint *)&e->X_add_number" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&e->X_add_number" & (field_expression "e->X_add_number" identifier -> field_identifier)))) = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "__s1 = paVar9->name;" (assignment_expression "__s1 = paVar9->name" identifier = (field_expression "paVar9->name" identifier -> field_identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) })) (return_statement "return (int)__s1;" return (cast_expression "(int)__s1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "char * FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}\n\n" (function_definition "char * FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}" primitive_type (pointer_declarator "* FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)" * (function_declarator "FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)" identifier (parameter_list "(byte *param_1,undefined4 *param_2,undefined1 *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "undefined **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (expression_statement "puVar2 = DAT_00089978;" (assignment_expression "puVar2 = DAT_00089978" identifier = identifier) ;) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (expression_statement "*DAT_00089978 = *param_3;" (assignment_expression "*DAT_00089978 = *param_3" (pointer_expression "*DAT_00089978" * identifier) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar3 = FUN_00044f30();" (assignment_expression "iVar3 = FUN_00044f30()" identifier = (call_expression "FUN_00044f30()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s1 = DAT_00088ef4;" (assignment_expression "__s1 = DAT_00088ef4" identifier = identifier) ;) (if_statement "if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }" if (parenthesized_expression "((iVar3 != 0) && (puVar2 <= DAT_00089978))" ( (binary_expression "(iVar3 != 0) && (puVar2 <= DAT_00089978)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar2 <= DAT_00089978)" ( (binary_expression "puVar2 <= DAT_00089978" identifier <= identifier) ))) )) (compound_statement "{\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }" { (expression_statement "iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;" (assignment_expression "iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c" identifier = (binary_expression "iVar3 - (int)PTR_i386_regtab_0007ff5c" identifier - (cast_expression "(int)PTR_i386_regtab_0007ff5c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*param_3 = *DAT_00089978;" (assignment_expression "*param_3 = *DAT_00089978" (pointer_expression "*param_3" * identifier) = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "*DAT_00089978 = 0;" (assignment_expression "*DAT_00089978 = 0" (pointer_expression "*DAT_00089978" * identifier) = number_literal) ;) (expression_statement "param_2[2] = iVar3 >> 4;" (assignment_expression "param_2[2] = iVar3 >> 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "iVar3 >> 4" identifier >> number_literal)) ;) (expression_statement "param_2[3] = iVar3 >> 0x1f;" (assignment_expression "param_2[3] = iVar3 >> 0x1f" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "iVar3 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "*(undefined1 *)(param_2 + 4) = 5;" (assignment_expression "*(undefined1 *)(param_2 + 4) = 5" (pointer_expression "*(undefined1 *)(param_2 + 4)" * (cast_expression "(undefined1 *)(param_2 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return (char *)0x1;" return (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "DAT_00089978 = puVar2;" (assignment_expression "DAT_00089978 = puVar2" identifier = identifier) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar9 = __s1 == (char *)0x0;" (assignment_expression "bVar9 = __s1 == (char *)0x0" identifier = (binary_expression "__s1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }" if (parenthesized_expression "(!bVar9)" ( (unary_expression "!bVar9" ! identifier) )) (compound_statement "{\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }" { (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" identifier = identifier) ;) (expression_statement "pbVar6 = &DAT_000640e2;" (assignment_expression "pbVar6 = &DAT_000640e2" identifier = (pointer_expression "&DAT_000640e2" & identifier)) ;) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 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 "bVar8 = *pbVar5 < *pbVar6;" (assignment_expression "bVar8 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar5 == *pbVar6;" (assignment_expression "bVar9 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;" (assignment_expression "pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1" identifier = (binary_expression "pbVar5 + (uint)bVar10 * -2 + 1" (binary_expression "pbVar5 + (uint)bVar10 * -2" identifier + (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar10 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar10 * -2" identifier + (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" if (parenthesized_expression "((!bVar8 && !bVar9) == bVar8)" ( (binary_expression "(!bVar8 && !bVar9) == bVar8" (parenthesized_expression "(!bVar8 && !bVar9)" ( (binary_expression "!bVar8 && !bVar9" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier) )) (compound_statement "{\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }" { (expression_statement "FUN_000214a0(param_2);" (call_expression "FUN_000214a0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "__s1 = (char *)0x1;" (assignment_expression "__s1 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" else (compound_statement "{\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "__s1 = "byte";" (assignment_expression "__s1 = "byte"" identifier = (string_literal ""byte"" " string_content ")) ;) (expression_statement "ppuVar7 = &PTR_s_word_0007dd90;" (assignment_expression "ppuVar7 = &PTR_s_word_0007dd90" identifier = (pointer_expression "&PTR_s_word_0007dd90" & identifier)) ;) (do_statement "do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);" do (compound_statement "{\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      }" { (expression_statement "iVar4 = strcasecmp(__s1,(char *)param_1);" (assignment_expression "iVar4 = strcasecmp(__s1,(char *)param_1)" identifier = (call_expression "strcasecmp(__s1,(char *)param_1)" identifier (argument_list "(__s1,(char *)param_1)" ( identifier , (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }" { (expression_statement "*(undefined1 *)(param_2 + 4) = 2;" (assignment_expression "*(undefined1 *)(param_2 + 4) = 2" (pointer_expression "*(undefined1 *)(param_2 + 4)" * (cast_expression "(undefined1 *)(param_2 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = DAT_00088f0c;" (assignment_expression "iVar4 = DAT_00088f0c" identifier = identifier) ;) (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);" (assignment_expression "uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" identifier = (pointer_expression "*(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" * (cast_expression "(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" ( (binary_expression "&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2" (pointer_expression "&DAT_0007dd88" & identifier) + (binary_expression "(iVar4 + iVar3 * 8) * 2" (parenthesized_expression "(iVar4 + iVar3 * 8)" ( (binary_expression "iVar4 + iVar3 * 8" identifier + (binary_expression "iVar3 * 8" identifier * number_literal)) )) * number_literal)) ))))) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = (uint)uVar1;" (assignment_expression "param_2[2] = (uint)uVar1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (return_statement "return (char *)0x1;" return (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "__s1 = *ppuVar7;" (assignment_expression "__s1 = *ppuVar7" identifier = (pointer_expression "*ppuVar7" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar7 = ppuVar7 + 4;" (assignment_expression "ppuVar7 = ppuVar7 + 4" identifier = (binary_expression "ppuVar7 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) })) (return_statement "return __s1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (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 (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )) * LIT)) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (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)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) })) (return_statement return IDENT ;) })))
(function_definition "char * FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}" (primitive_type "char") (pointer_declarator "* FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)" (* "*") (function_declarator "FUN_00051e90(byte *param_1,undefined4 *param_2,undefined1 *param_3)" (identifier "FUN_00051e90") (parameter_list "(byte *param_1,undefined4 *param_2,undefined1 *param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  ushort uVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  int iVar4;\n  char *__s1;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined **ppuVar7;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  \n  puVar2 = DAT_00089978;\n  bVar10 = 0;\n  *DAT_00089978 = *param_3;\n  iVar3 = FUN_00044f30();\n  __s1 = DAT_00088ef4;\n  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }\n  DAT_00089978 = puVar2;\n  *puVar2 = 0;\n  bVar8 = false;\n  bVar9 = __s1 == (char *)0x0;\n  if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }\n  return __s1;\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "undefined **ppuVar7;" (type_identifier "undefined") (pointer_declarator "**ppuVar7" (* "*") (pointer_declarator "*ppuVar7" (* "*") (identifier "ppuVar7"))) (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "byte bVar10;" (type_identifier "byte") (identifier "bVar10") (; ";")) (expression_statement "puVar2 = DAT_00089978;" (assignment_expression "puVar2 = DAT_00089978" (identifier "puVar2") (= "=") (identifier "DAT_00089978")) (; ";")) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" (identifier "bVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "*DAT_00089978 = *param_3;" (assignment_expression "*DAT_00089978 = *param_3" (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978")) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar3 = FUN_00044f30();" (assignment_expression "iVar3 = FUN_00044f30()" (identifier "iVar3") (= "=") (call_expression "FUN_00044f30()" (identifier "FUN_00044f30") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__s1 = DAT_00088ef4;" (assignment_expression "__s1 = DAT_00088ef4" (identifier "__s1") (= "=") (identifier "DAT_00088ef4")) (; ";")) (if_statement "if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }" (if "if") (parenthesized_expression "((iVar3 != 0) && (puVar2 <= DAT_00089978))" (( "(") (binary_expression "(iVar3 != 0) && (puVar2 <= DAT_00089978)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar2 <= DAT_00089978)" (( "(") (binary_expression "puVar2 <= DAT_00089978" (identifier "puVar2") (<= "<=") (identifier "DAT_00089978")) () ")"))) () ")")) (compound_statement "{\n    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;\n    *param_3 = *DAT_00089978;\n    *DAT_00089978 = 0;\n    param_2[2] = iVar3 >> 4;\n    param_2[3] = iVar3 >> 0x1f;\n    *(undefined1 *)(param_2 + 4) = 5;\n    return (char *)0x1;\n  }" ({ "{") (expression_statement "iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;" (assignment_expression "iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c" (identifier "iVar3") (= "=") (binary_expression "iVar3 - (int)PTR_i386_regtab_0007ff5c" (identifier "iVar3") (- "-") (cast_expression "(int)PTR_i386_regtab_0007ff5c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "PTR_i386_regtab_0007ff5c")))) (; ";")) (expression_statement "*param_3 = *DAT_00089978;" (assignment_expression "*param_3 = *DAT_00089978" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (expression_statement "*DAT_00089978 = 0;" (assignment_expression "*DAT_00089978 = 0" (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[2] = iVar3 >> 4;" (assignment_expression "param_2[2] = iVar3 >> 4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar3 >> 4" (identifier "iVar3") (>> ">>") (number_literal "4"))) (; ";")) (expression_statement "param_2[3] = iVar3 >> 0x1f;" (assignment_expression "param_2[3] = iVar3 >> 0x1f" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "iVar3 >> 0x1f" (identifier "iVar3") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 4) = 5;" (assignment_expression "*(undefined1 *)(param_2 + 4) = 5" (pointer_expression "*(undefined1 *)(param_2 + 4)" (* "*") (cast_expression "(undefined1 *)(param_2 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "5")) (; ";")) (return_statement "return (char *)0x1;" (return "return") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (; ";")) (} "}"))) (expression_statement "DAT_00089978 = puVar2;" (assignment_expression "DAT_00089978 = puVar2" (identifier "DAT_00089978") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (expression_statement "bVar9 = __s1 == (char *)0x0;" (assignment_expression "bVar9 = __s1 == (char *)0x0" (identifier "bVar9") (= "=") (binary_expression "__s1 == (char *)0x0" (identifier "__s1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (if_statement "if (!bVar9) {\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }" (if "if") (parenthesized_expression "(!bVar9)" (( "(") (unary_expression "!bVar9" (! "!") (identifier "bVar9")) () ")")) (compound_statement "{\n    iVar3 = 2;\n    pbVar5 = param_1;\n    pbVar6 = &DAT_000640e2;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);\n    if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }\n  }" ({ "{") (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" (identifier "iVar3") (= "=") (number_literal "2")) (; ";")) (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" (identifier "pbVar5") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar6 = &DAT_000640e2;" (assignment_expression "pbVar6 = &DAT_000640e2" (identifier "pbVar6") (= "=") (pointer_expression "&DAT_000640e2" (& "&") (identifier "DAT_000640e2"))) (; ";")) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;\n    } while (bVar9);" (do "do") (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar8 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 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 "bVar8 = *pbVar5 < *pbVar6;" (assignment_expression "bVar8 = *pbVar5 < *pbVar6" (identifier "bVar8") (= "=") (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "bVar9 = *pbVar5 == *pbVar6;" (assignment_expression "bVar9 = *pbVar5 == *pbVar6" (identifier "bVar9") (= "=") (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;" (assignment_expression "pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + (uint)bVar10 * -2 + 1" (binary_expression "pbVar5 + (uint)bVar10 * -2" (identifier "pbVar5") (+ "+") (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar10")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar10 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar10 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar10")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar9)" (( "(") (identifier "bVar9") () ")")) (; ";")) (if_statement "if ((!bVar8 && !bVar9) == bVar8) {\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }\n    else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" (if "if") (parenthesized_expression "((!bVar8 && !bVar9) == bVar8)" (( "(") (binary_expression "(!bVar8 && !bVar9) == bVar8" (parenthesized_expression "(!bVar8 && !bVar9)" (( "(") (binary_expression "!bVar8 && !bVar9" (unary_expression "!bVar8" (! "!") (identifier "bVar8")) (&& "&&") (unary_expression "!bVar9" (! "!") (identifier "bVar9"))) () ")")) (== "==") (identifier "bVar8")) () ")")) (compound_statement "{\n      FUN_000214a0(param_2);\n      __s1 = (char *)0x1;\n    }" ({ "{") (expression_statement "FUN_000214a0(param_2);" (call_expression "FUN_000214a0(param_2)" (identifier "FUN_000214a0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "__s1 = (char *)0x1;" (assignment_expression "__s1 = (char *)0x1" (identifier "__s1") (= "=") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (} "}")) (else_clause "else {\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" (else "else") (compound_statement "{\n      iVar3 = 0;\n      __s1 = "byte";\n      ppuVar7 = &PTR_s_word_0007dd90;\n      do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);\n    }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "__s1 = "byte";" (assignment_expression "__s1 = "byte"" (identifier "__s1") (= "=") (string_literal ""byte"" (" """) (string_content "byte") (" """))) (; ";")) (expression_statement "ppuVar7 = &PTR_s_word_0007dd90;" (assignment_expression "ppuVar7 = &PTR_s_word_0007dd90" (identifier "ppuVar7") (= "=") (pointer_expression "&PTR_s_word_0007dd90" (& "&") (identifier "PTR_s_word_0007dd90"))) (; ";")) (do_statement "do {\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      } while (__s1 != (char *)0x0);" (do "do") (compound_statement "{\n        iVar4 = strcasecmp(__s1,(char *)param_1);\n        if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }\n        __s1 = *ppuVar7;\n        iVar3 = iVar3 + 1;\n        ppuVar7 = ppuVar7 + 4;\n      }" ({ "{") (expression_statement "iVar4 = strcasecmp(__s1,(char *)param_1);" (assignment_expression "iVar4 = strcasecmp(__s1,(char *)param_1)" (identifier "iVar4") (= "=") (call_expression "strcasecmp(__s1,(char *)param_1)" (identifier "strcasecmp") (argument_list "(__s1,(char *)param_1)" (( "(") (identifier "__s1") (, ",") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined1 *)(param_2 + 4) = 2;\n          iVar4 = DAT_00088f0c;\n          param_2[3] = 0;\n          *param_2 = 0;\n          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);\n          param_2[1] = 0;\n          param_2[2] = (uint)uVar1;\n          return (char *)0x1;\n        }" ({ "{") (expression_statement "*(undefined1 *)(param_2 + 4) = 2;" (assignment_expression "*(undefined1 *)(param_2 + 4) = 2" (pointer_expression "*(undefined1 *)(param_2 + 4)" (* "*") (cast_expression "(undefined1 *)(param_2 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar4 = DAT_00088f0c;" (assignment_expression "iVar4 = DAT_00088f0c" (identifier "iVar4") (= "=") (identifier "DAT_00088f0c")) (; ";")) (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);" (assignment_expression "uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" (* "*") (cast_expression "(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2)" (( "(") (binary_expression "&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2" (pointer_expression "&DAT_0007dd88" (& "&") (identifier "DAT_0007dd88")) (+ "+") (binary_expression "(iVar4 + iVar3 * 8) * 2" (parenthesized_expression "(iVar4 + iVar3 * 8)" (( "(") (binary_expression "iVar4 + iVar3 * 8" (identifier "iVar4") (+ "+") (binary_expression "iVar3 * 8" (identifier "iVar3") (* "*") (number_literal "8"))) () ")")) (* "*") (number_literal "2"))) () ")"))))) (; ";")) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[2] = (uint)uVar1;" (assignment_expression "param_2[2] = (uint)uVar1" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1"))) (; ";")) (return_statement "return (char *)0x1;" (return "return") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (; ";")) (} "}"))) (expression_statement "__s1 = *ppuVar7;" (assignment_expression "__s1 = *ppuVar7" (identifier "__s1") (= "=") (pointer_expression "*ppuVar7" (* "*") (identifier "ppuVar7"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppuVar7 = ppuVar7 + 4;" (assignment_expression "ppuVar7 = ppuVar7 + 4" (identifier "ppuVar7") (= "=") (binary_expression "ppuVar7 + 4" (identifier "ppuVar7") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__s1 != (char *)0x0)" (( "(") (binary_expression "__s1 != (char *)0x0" (identifier "__s1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (} "}"))) (return_statement "return __s1;" (return "return") (identifier "__s1") (; ";")) (} "}")))

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

int function_1(char *name,type_1 *e,char *nextcharP)

{
  type_2 uVar1;
  type_3 fVar2;
  char *var_3;
  type_4 *var_2;
  int var_13;
  char *var_6;
  int var_5;
  type_5 *var_7;
  type_5 *var_8;
  type_6 *var_11;
  bool var_9;
  bool bVar11;
  type_5 bVar12;
  
  var_3 = var_4;
  bVar12 = 0;
  *var_4 = *nextcharP;
  var_2 = var_1(name,&var_4);
  var_6 = (char *)intel_syntax;
  if ((var_2 != (type_4 *)0x0) && (var_3 <= var_4)) {
    var_5 = (int)var_2 - (int)PTR_i386_regtab_0007ff5c;
    *nextcharP = *var_4;
    *var_4 = '\0';
    *(int *)&e->X_add_number = var_5 >> 4;
    *(int *)((int)&e->X_add_number + 4) = var_5 >> 0x1f;
    e->field_0x10 = 5;
    return 1;
  }
  var_4 = var_3;
  *var_3 = '\0';
  var_9 = false;
  bVar11 = var_6 == (char *)0x0;
  if (!bVar11) {
    var_5 = 2;
    var_7 = (type_5 *)name;
    var_8 = &DAT_000640e2;
    do {
      if (var_5 == 0) break;
      var_5 = var_5 + -1;
      var_9 = *var_7 < *var_8;
      bVar11 = *var_7 == *var_8;
      var_7 = var_7 + (type_7)bVar12 * -2 + 1;
      var_8 = var_8 + (type_7)bVar12 * -2 + 1;
    } while (bVar11);
    if ((!var_9 && !bVar11) == var_9) {
      var_10(e);
      var_6 = (char *)0x1;
    }
    else {
      var_11 = i386_types;
      var_5 = 0;
      var_6 = "byte";
      do {
        var_11 = var_11 + 1;
        var_13 = var_12(var_6,name);
        if (var_13 == 0) {
          e->field_0x10 = 2;
          fVar2 = type_3;
          *(type_8 *)((int)&e->X_add_number + 4) = 0;
          e->X_add_symbol = (type_9 *)0x0;
          uVar1 = i386_types[var_5].sz[fVar2];
          e->X_op_symbol = (type_9 *)0x0;
          *(type_7 *)&e->X_add_number = (type_7)uVar1;
          return 1;
        }
        var_6 = var_11->name;
        var_5 = var_5 + 1;
      } while (var_6 != (char *)0x0);
    }
  }
  return (int)var_6;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator 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))) (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: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (compound_statement (expression_statement (assignment_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)))) (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: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))))))) (return_statement (identifier)))))

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

char * MASKED(byte *param_1,undefined4 *param_2,undefined1 *param_3)

{
  ushort uVar1;
  undefined1 *puVar2;
  int iVar3;
  int iVar4;
  char *__s1;
  byte *pbVar5;
  byte *pbVar6;
  undefined **ppuVar7;
  bool bVar8;
  bool bVar9;
  byte bVar10;
  
  puVar2 = DAT_00089978;
  bVar10 = 0;
  *DAT_00089978 = *param_3;
  iVar3 = FUN_00044f30();
  __s1 = DAT_00088ef4;
  if ((iVar3 != 0) && (puVar2 <= DAT_00089978)) {
    iVar3 = iVar3 - (int)PTR_i386_regtab_0007ff5c;
    *param_3 = *DAT_00089978;
    *DAT_00089978 = 0;
    param_2[2] = iVar3 >> 4;
    param_2[3] = iVar3 >> 0x1f;
    *(undefined1 *)(param_2 + 4) = 5;
    return (char *)0x1;
  }
  DAT_00089978 = puVar2;
  *puVar2 = 0;
  bVar8 = false;
  bVar9 = __s1 == (char *)0x0;
  if (!bVar9) {
    iVar3 = 2;
    pbVar5 = param_1;
    pbVar6 = &DAT_000640e2;
    do {
      if (iVar3 == 0) break;
      iVar3 = iVar3 + -1;
      bVar8 = *pbVar5 < *pbVar6;
      bVar9 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + (uint)bVar10 * -2 + 1;
      pbVar6 = pbVar6 + (uint)bVar10 * -2 + 1;
    } while (bVar9);
    if ((!bVar8 && !bVar9) == bVar8) {
      FUN_000214a0(param_2);
      __s1 = (char *)0x1;
    }
    else {
      iVar3 = 0;
      __s1 = "byte";
      ppuVar7 = &PTR_s_word_0007dd90;
      do {
        iVar4 = strcasecmp(__s1,(char *)param_1);
        if (iVar4 == 0) {
          *(undefined1 *)(param_2 + 4) = 2;
          iVar4 = DAT_00088f0c;
          param_2[3] = 0;
          *param_2 = 0;
          uVar1 = *(ushort *)(&DAT_0007dd88 + (iVar4 + iVar3 * 8) * 2);
          param_2[1] = 0;
          param_2[2] = (uint)uVar1;
          return (char *)0x1;
        }
        __s1 = *ppuVar7;
        iVar3 = iVar3 + 1;
        ppuVar7 = ppuVar7 + 4;
      } while (__s1 != (char *)0x0);
    }
  }
  return __s1;
}

