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

int input(void)

{
  byte *pbVar1;
  byte bVar2;
  char *pcVar3;
  char cVar4;
  char *pcVar5;
  int iVar6;
  byte *pbVar7;
  
  cVar4 = yy_hold_char;
  pcVar3 = yy_c_buf_p;
  pbVar7 = (byte *)(yy_c_buf_p + 1);
  *yy_c_buf_p = yy_hold_char;
  pcVar5 = yytext;
  if ((cVar4 == '\0') &&
     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)) {
    yy_c_buf_p = (char *)pbVar7;
    iVar6 = yy_get_next_buffer();
    if (iVar6 == 1) {
      return 0;
    }
    if (iVar6 == 2) {
      yyrestart(yyin);
      return 0;
    }
    if (iVar6 == 0) {
      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);
      pbVar7 = (byte *)yy_c_buf_p + 1;
    }
    else {
      pbVar7 = (byte *)(yy_c_buf_p + 1);
    }
  }
  pbVar1 = (byte *)yy_c_buf_p + 1;
  bVar2 = *yy_c_buf_p;
  *yy_c_buf_p = 0;
  yy_c_buf_p = (char *)pbVar7;
  yy_hold_char = *pbVar1;
  return (uint)bVar2;
}



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

char FUN_00018e90(void)

{
  char *pcVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  
  cVar2 = DAT_00091760;
  pcVar1 = DAT_00091758;
  pcVar5 = DAT_00091758 + 1;
  *DAT_00091758 = DAT_00091760;
  iVar3 = DAT_00091ba4;
  if ((cVar2 == '\0') &&
     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=
      DAT_00091758)) {
    DAT_00091758 = pcVar5;
    iVar4 = FUN_00018b70();
    if (iVar4 == 1) {
      return '\0';
    }
    if (iVar4 == 2) {
      FUN_00018ad0(DAT_000915ec);
      return '\0';
    }
    if (iVar4 == 0) {
      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);
      pcVar5 = DAT_00091758 + 1;
    }
    else {
      pcVar5 = DAT_00091758 + 1;
    }
  }
  pcVar1 = DAT_00091758 + 1;
  cVar2 = *DAT_00091758;
  *DAT_00091758 = '\0';
  DAT_00091758 = pcVar5;
  DAT_00091760 = *pcVar1;
  return cVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015a80
ADD EBX,0x78167
SUB ESP,0x1c
MOV ESI,dword ptr [EBX + 0x758]
MOVZX EAX,byte ptr [EBX + 0x760]
LEA EDX,[ESI + 0x1]
MOV byte ptr [ESI],AL
TEST AL,AL
JNZ 0x00018ed4
MOV EAX,dword ptr [EBX + 0x764]
MOV ECX,dword ptr [EBX + 0x76c]
MOV ECX,dword ptr [EAX + ECX*0x4]
MOV EAX,dword ptr [EBX + 0x75c]
ADD EAX,dword ptr [ECX + 0x4]
CMP ESI,EAX
JNC 0x00018ef8
MOV dword ptr [EBX + 0x758],EDX
MOVZX EDX,byte ptr [ESI + 0x1]
MOVZX EAX,byte ptr [ESI]
MOV byte ptr [ESI],0x0
MOV byte ptr [EBX + 0x760],DL
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[EBX + 0xba4]
MOV dword ptr [EBX + 0x758],EDX
MOV EDI,dword ptr [EBP]
CALL 0x00018b70
MOV EDX,EAX
XOR EAX,EAX
CMP EDX,0x1
JZ 0x00018eea
CMP EDX,0x2
JZ 0x00018f30
TEST EDX,EDX
JZ 0x00018f50
MOV ESI,dword ptr [EBX + 0x758]
LEA EDX,[ESI + 0x1]
JMP 0x00018ed4
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH dword ptr [EBX + 0x5ec]
CALL 0x00018ad0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x00018eea
SUB ESI,EDI
ADD ESI,dword ptr [EBP]
LEA EDX,[ESI + 0x1]
JMP 0x00018ed4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar FUN_00018e90(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}\n\n" comment (function_definition "char FUN_00018e90(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}" primitive_type (function_declarator "FUN_00018e90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "cVar2 = DAT_00091760;" (assignment_expression "cVar2 = DAT_00091760" identifier = identifier) ;) (expression_statement "pcVar1 = DAT_00091758;" (assignment_expression "pcVar1 = DAT_00091758" identifier = identifier) ;) (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_00091758 = DAT_00091760;" (assignment_expression "*DAT_00091758 = DAT_00091760" (pointer_expression "*DAT_00091758" * identifier) = identifier) ;) (expression_statement "iVar3 = DAT_00091ba4;" (assignment_expression "iVar3 = DAT_00091ba4" identifier = identifier) ;) (if_statement "if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }" if (parenthesized_expression "((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758))" ( (binary_expression "(cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)" (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)" ( (binary_expression "(char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758" (cast_expression "(char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4))" ( (binary_expression "DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" identifier + (pointer_expression "*(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" * (cast_expression "(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" ( (binary_expression "*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4" (pointer_expression "*(int *)(DAT_00091764 + DAT_0009176c * 4)" * (cast_expression "(int *)(DAT_00091764 + DAT_0009176c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00091764 + DAT_0009176c * 4)" ( (binary_expression "DAT_00091764 + DAT_0009176c * 4" identifier + (binary_expression "DAT_0009176c * 4" identifier * number_literal)) )))) + number_literal) ))))) ))) <= identifier) ))) )) (compound_statement "{\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }" { (expression_statement "DAT_00091758 = pcVar5;" (assignment_expression "DAT_00091758 = pcVar5" identifier = identifier) ;) (expression_statement "iVar4 = FUN_00018b70();" (assignment_expression "iVar4 = FUN_00018b70()" identifier = (call_expression "FUN_00018b70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 1) {\n      return '\0';\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      return '\0';\n    }" { (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })) (if_statement "if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }" { (expression_statement "FUN_00018ad0(DAT_000915ec);" (call_expression "FUN_00018ad0(DAT_000915ec)" identifier (argument_list "(DAT_000915ec)" ( identifier ))) ;) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })) (if_statement "if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }" { (expression_statement "DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);" (assignment_expression "DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3)" identifier = (binary_expression "pcVar1 + (DAT_00091ba4 - iVar3)" identifier + (parenthesized_expression "(DAT_00091ba4 - iVar3)" ( (binary_expression "DAT_00091ba4 - iVar3" identifier - identifier) )))) ;) (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      pcVar5 = DAT_00091758 + 1;\n    }" else (compound_statement "{\n      pcVar5 = DAT_00091758 + 1;\n    }" { (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) }))) })) (expression_statement "pcVar1 = DAT_00091758 + 1;" (assignment_expression "pcVar1 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *DAT_00091758;" (assignment_expression "cVar2 = *DAT_00091758" identifier = (pointer_expression "*DAT_00091758" * identifier)) ;) (expression_statement "*DAT_00091758 = '\0';" (assignment_expression "*DAT_00091758 = '\0'" (pointer_expression "*DAT_00091758" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "DAT_00091758 = pcVar5;" (assignment_expression "DAT_00091758 = pcVar5" identifier = identifier) ;) (expression_statement "DAT_00091760 = *pcVar1;" (assignment_expression "DAT_00091760 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) (return_statement "return cVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint input(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char *pcVar3;\n  char cVar4;\n  char *pcVar5;\n  int iVar6;\n  byte *pbVar7;\n  \n  cVar4 = yy_hold_char;\n  pcVar3 = yy_c_buf_p;\n  pbVar7 = (byte *)(yy_c_buf_p + 1);\n  *yy_c_buf_p = yy_hold_char;\n  pcVar5 = yytext;\n  if ((cVar4 == '\0') &&\n     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)) {\n    yy_c_buf_p = (char *)pbVar7;\n    iVar6 = yy_get_next_buffer();\n    if (iVar6 == 1) {\n      return 0;\n    }\n    if (iVar6 == 2) {\n      yyrestart(yyin);\n      return 0;\n    }\n    if (iVar6 == 0) {\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }\n    else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }\n  }\n  pbVar1 = (byte *)yy_c_buf_p + 1;\n  bVar2 = *yy_c_buf_p;\n  *yy_c_buf_p = 0;\n  yy_c_buf_p = (char *)pbVar7;\n  yy_hold_char = *pbVar1;\n  return (uint)bVar2;\n}\n\n" comment comment (function_definition "int input(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char *pcVar3;\n  char cVar4;\n  char *pcVar5;\n  int iVar6;\n  byte *pbVar7;\n  \n  cVar4 = yy_hold_char;\n  pcVar3 = yy_c_buf_p;\n  pbVar7 = (byte *)(yy_c_buf_p + 1);\n  *yy_c_buf_p = yy_hold_char;\n  pcVar5 = yytext;\n  if ((cVar4 == '\0') &&\n     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)) {\n    yy_c_buf_p = (char *)pbVar7;\n    iVar6 = yy_get_next_buffer();\n    if (iVar6 == 1) {\n      return 0;\n    }\n    if (iVar6 == 2) {\n      yyrestart(yyin);\n      return 0;\n    }\n    if (iVar6 == 0) {\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }\n    else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }\n  }\n  pbVar1 = (byte *)yy_c_buf_p + 1;\n  bVar2 = *yy_c_buf_p;\n  *yy_c_buf_p = 0;\n  yy_c_buf_p = (char *)pbVar7;\n  yy_hold_char = *pbVar1;\n  return (uint)bVar2;\n}" primitive_type (function_declarator "input(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  char *pcVar3;\n  char cVar4;\n  char *pcVar5;\n  int iVar6;\n  byte *pbVar7;\n  \n  cVar4 = yy_hold_char;\n  pcVar3 = yy_c_buf_p;\n  pbVar7 = (byte *)(yy_c_buf_p + 1);\n  *yy_c_buf_p = yy_hold_char;\n  pcVar5 = yytext;\n  if ((cVar4 == '\0') &&\n     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)) {\n    yy_c_buf_p = (char *)pbVar7;\n    iVar6 = yy_get_next_buffer();\n    if (iVar6 == 1) {\n      return 0;\n    }\n    if (iVar6 == 2) {\n      yyrestart(yyin);\n      return 0;\n    }\n    if (iVar6 == 0) {\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }\n    else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }\n  }\n  pbVar1 = (byte *)yy_c_buf_p + 1;\n  bVar2 = *yy_c_buf_p;\n  *yy_c_buf_p = 0;\n  yy_c_buf_p = (char *)pbVar7;\n  yy_hold_char = *pbVar1;\n  return (uint)bVar2;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (expression_statement "cVar4 = yy_hold_char;" (assignment_expression "cVar4 = yy_hold_char" identifier = identifier) ;) (expression_statement "pcVar3 = yy_c_buf_p;" (assignment_expression "pcVar3 = yy_c_buf_p" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)(yy_c_buf_p + 1);" (assignment_expression "pbVar7 = (byte *)(yy_c_buf_p + 1)" identifier = (cast_expression "(byte *)(yy_c_buf_p + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(yy_c_buf_p + 1)" ( (binary_expression "yy_c_buf_p + 1" identifier + number_literal) )))) ;) (expression_statement "*yy_c_buf_p = yy_hold_char;" (assignment_expression "*yy_c_buf_p = yy_hold_char" (pointer_expression "*yy_c_buf_p" * identifier) = identifier) ;) (expression_statement "pcVar5 = yytext;" (assignment_expression "pcVar5 = yytext" identifier = identifier) ;) (if_statement "if ((cVar4 == '\0') &&\n     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)) {\n    yy_c_buf_p = (char *)pbVar7;\n    iVar6 = yy_get_next_buffer();\n    if (iVar6 == 1) {\n      return 0;\n    }\n    if (iVar6 == 2) {\n      yyrestart(yyin);\n      return 0;\n    }\n    if (iVar6 == 0) {\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }\n    else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }\n  }" if (parenthesized_expression "((cVar4 == '\0') &&\n     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p))" ( (binary_expression "(cVar4 == '\0') &&\n     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)" (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p)" ( (binary_expression "yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars <= yy_c_buf_p" (binary_expression "yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + yy_n_chars" (field_expression "yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf" (subscript_expression "yy_buffer_stack[yy_buffer_stack_top]" identifier [ identifier ]) -> field_identifier) + identifier) <= identifier) ))) )) (compound_statement "{\n    yy_c_buf_p = (char *)pbVar7;\n    iVar6 = yy_get_next_buffer();\n    if (iVar6 == 1) {\n      return 0;\n    }\n    if (iVar6 == 2) {\n      yyrestart(yyin);\n      return 0;\n    }\n    if (iVar6 == 0) {\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }\n    else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }\n  }" { (expression_statement "yy_c_buf_p = (char *)pbVar7;" (assignment_expression "yy_c_buf_p = (char *)pbVar7" identifier = (cast_expression "(char *)pbVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar6 = yy_get_next_buffer();" (assignment_expression "iVar6 = yy_get_next_buffer()" identifier = (call_expression "yy_get_next_buffer()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar6 == 2) {\n      yyrestart(yyin);\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n      yyrestart(yyin);\n      return 0;\n    }" { (expression_statement "yyrestart(yyin);" (call_expression "yyrestart(yyin)" identifier (argument_list "(yyin)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar6 == 0) {\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }\n    else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);\n      pbVar7 = (byte *)yy_c_buf_p + 1;\n    }" { (expression_statement "yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5);" (assignment_expression "yy_c_buf_p = yytext + ((int)pcVar3 - (int)pcVar5)" identifier = (binary_expression "yytext + ((int)pcVar3 - (int)pcVar5)" identifier + (parenthesized_expression "((int)pcVar3 - (int)pcVar5)" ( (binary_expression "(int)pcVar3 - (int)pcVar5" (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pbVar7 = (byte *)yy_c_buf_p + 1;" (assignment_expression "pbVar7 = (byte *)yy_c_buf_p + 1" identifier = (binary_expression "(byte *)yy_c_buf_p + 1" (cast_expression "(byte *)yy_c_buf_p" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal)) ;) }) (else_clause "else {\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }" else (compound_statement "{\n      pbVar7 = (byte *)(yy_c_buf_p + 1);\n    }" { (expression_statement "pbVar7 = (byte *)(yy_c_buf_p + 1);" (assignment_expression "pbVar7 = (byte *)(yy_c_buf_p + 1)" identifier = (cast_expression "(byte *)(yy_c_buf_p + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(yy_c_buf_p + 1)" ( (binary_expression "yy_c_buf_p + 1" identifier + number_literal) )))) ;) }))) })) (expression_statement "pbVar1 = (byte *)yy_c_buf_p + 1;" (assignment_expression "pbVar1 = (byte *)yy_c_buf_p + 1" identifier = (binary_expression "(byte *)yy_c_buf_p + 1" (cast_expression "(byte *)yy_c_buf_p" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal)) ;) (expression_statement "bVar2 = *yy_c_buf_p;" (assignment_expression "bVar2 = *yy_c_buf_p" identifier = (pointer_expression "*yy_c_buf_p" * identifier)) ;) (expression_statement "*yy_c_buf_p = 0;" (assignment_expression "*yy_c_buf_p = 0" (pointer_expression "*yy_c_buf_p" * identifier) = number_literal) ;) (expression_statement "yy_c_buf_p = (char *)pbVar7;" (assignment_expression "yy_c_buf_p = (char *)pbVar7" identifier = (cast_expression "(char *)pbVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "yy_hold_char = *pbVar1;" (assignment_expression "yy_hold_char = *pbVar1" identifier = (pointer_expression "*pbVar1" * identifier)) ;) (return_statement "return (uint)bVar2;" return (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) ;) })))
(translation_unit "char FUN_00018e90(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}\n\n" (function_definition "char FUN_00018e90(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}" primitive_type (function_declarator "FUN_00018e90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "cVar2 = DAT_00091760;" (assignment_expression "cVar2 = DAT_00091760" identifier = identifier) ;) (expression_statement "pcVar1 = DAT_00091758;" (assignment_expression "pcVar1 = DAT_00091758" identifier = identifier) ;) (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_00091758 = DAT_00091760;" (assignment_expression "*DAT_00091758 = DAT_00091760" (pointer_expression "*DAT_00091758" * identifier) = identifier) ;) (expression_statement "iVar3 = DAT_00091ba4;" (assignment_expression "iVar3 = DAT_00091ba4" identifier = identifier) ;) (if_statement "if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }" if (parenthesized_expression "((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758))" ( (binary_expression "(cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)" (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)" ( (binary_expression "(char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758" (cast_expression "(char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4))" ( (binary_expression "DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" identifier + (pointer_expression "*(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" * (cast_expression "(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" ( (binary_expression "*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4" (pointer_expression "*(int *)(DAT_00091764 + DAT_0009176c * 4)" * (cast_expression "(int *)(DAT_00091764 + DAT_0009176c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00091764 + DAT_0009176c * 4)" ( (binary_expression "DAT_00091764 + DAT_0009176c * 4" identifier + (binary_expression "DAT_0009176c * 4" identifier * number_literal)) )))) + number_literal) ))))) ))) <= identifier) ))) )) (compound_statement "{\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }" { (expression_statement "DAT_00091758 = pcVar5;" (assignment_expression "DAT_00091758 = pcVar5" identifier = identifier) ;) (expression_statement "iVar4 = FUN_00018b70();" (assignment_expression "iVar4 = FUN_00018b70()" identifier = (call_expression "FUN_00018b70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 1) {\n      return '\0';\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      return '\0';\n    }" { (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })) (if_statement "if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }" { (expression_statement "FUN_00018ad0(DAT_000915ec);" (call_expression "FUN_00018ad0(DAT_000915ec)" identifier (argument_list "(DAT_000915ec)" ( identifier ))) ;) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })) (if_statement "if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }" { (expression_statement "DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);" (assignment_expression "DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3)" identifier = (binary_expression "pcVar1 + (DAT_00091ba4 - iVar3)" identifier + (parenthesized_expression "(DAT_00091ba4 - iVar3)" ( (binary_expression "DAT_00091ba4 - iVar3" identifier - identifier) )))) ;) (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      pcVar5 = DAT_00091758 + 1;\n    }" else (compound_statement "{\n      pcVar5 = DAT_00091758 + 1;\n    }" { (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) }))) })) (expression_statement "pcVar1 = DAT_00091758 + 1;" (assignment_expression "pcVar1 = DAT_00091758 + 1" identifier = (binary_expression "DAT_00091758 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *DAT_00091758;" (assignment_expression "cVar2 = *DAT_00091758" identifier = (pointer_expression "*DAT_00091758" * identifier)) ;) (expression_statement "*DAT_00091758 = '\0';" (assignment_expression "*DAT_00091758 = '\0'" (pointer_expression "*DAT_00091758" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "DAT_00091758 = pcVar5;" (assignment_expression "DAT_00091758 = pcVar5" identifier = identifier) ;) (expression_statement "DAT_00091760 = *pcVar1;" (assignment_expression "DAT_00091760 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) (return_statement "return cVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) + LIT) ))))) ))) <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (char_literal ' escape_sequence ') ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return (char_literal ' escape_sequence ') ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (return_statement return IDENT ;) })))
(function_definition "char FUN_00018e90(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}" (primitive_type "char") (function_declarator "FUN_00018e90(void)" (identifier "FUN_00018e90") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  cVar2 = DAT_00091760;\n  pcVar1 = DAT_00091758;\n  pcVar5 = DAT_00091758 + 1;\n  *DAT_00091758 = DAT_00091760;\n  iVar3 = DAT_00091ba4;\n  if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }\n  pcVar1 = DAT_00091758 + 1;\n  cVar2 = *DAT_00091758;\n  *DAT_00091758 = '\0';\n  DAT_00091758 = pcVar5;\n  DAT_00091760 = *pcVar1;\n  return cVar2;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "cVar2 = DAT_00091760;" (assignment_expression "cVar2 = DAT_00091760" (identifier "cVar2") (= "=") (identifier "DAT_00091760")) (; ";")) (expression_statement "pcVar1 = DAT_00091758;" (assignment_expression "pcVar1 = DAT_00091758" (identifier "pcVar1") (= "=") (identifier "DAT_00091758")) (; ";")) (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" (identifier "pcVar5") (= "=") (binary_expression "DAT_00091758 + 1" (identifier "DAT_00091758") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*DAT_00091758 = DAT_00091760;" (assignment_expression "*DAT_00091758 = DAT_00091760" (pointer_expression "*DAT_00091758" (* "*") (identifier "DAT_00091758")) (= "=") (identifier "DAT_00091760")) (; ";")) (expression_statement "iVar3 = DAT_00091ba4;" (assignment_expression "iVar3 = DAT_00091ba4" (identifier "iVar3") (= "=") (identifier "DAT_00091ba4")) (; ";")) (if_statement "if ((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)) {\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }" (if "if") (parenthesized_expression "((cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758))" (( "(") (binary_expression "(cVar2 == '\0') &&\n     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)" (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758)" (( "(") (binary_expression "(char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=\n      DAT_00091758" (cast_expression "(char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4))" (( "(") (binary_expression "DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" (identifier "DAT_0009175c") (+ "+") (pointer_expression "*(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" (* "*") (cast_expression "(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)" (( "(") (binary_expression "*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4" (pointer_expression "*(int *)(DAT_00091764 + DAT_0009176c * 4)" (* "*") (cast_expression "(int *)(DAT_00091764 + DAT_0009176c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00091764 + DAT_0009176c * 4)" (( "(") (binary_expression "DAT_00091764 + DAT_0009176c * 4" (identifier "DAT_00091764") (+ "+") (binary_expression "DAT_0009176c * 4" (identifier "DAT_0009176c") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "4")) () ")"))))) () ")"))) (<= "<=") (identifier "DAT_00091758")) () ")"))) () ")")) (compound_statement "{\n    DAT_00091758 = pcVar5;\n    iVar4 = FUN_00018b70();\n    if (iVar4 == 1) {\n      return '\0';\n    }\n    if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }\n    if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }\n  }" ({ "{") (expression_statement "DAT_00091758 = pcVar5;" (assignment_expression "DAT_00091758 = pcVar5" (identifier "DAT_00091758") (= "=") (identifier "pcVar5")) (; ";")) (expression_statement "iVar4 = FUN_00018b70();" (assignment_expression "iVar4 = FUN_00018b70()" (identifier "iVar4") (= "=") (call_expression "FUN_00018b70()" (identifier "FUN_00018b70") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 == 1) {\n      return '\0';\n    }" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      return '\0';\n    }" ({ "{") (return_statement "return '\0';" (return "return") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (; ";")) (} "}"))) (if_statement "if (iVar4 == 2) {\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      FUN_00018ad0(DAT_000915ec);\n      return '\0';\n    }" ({ "{") (expression_statement "FUN_00018ad0(DAT_000915ec);" (call_expression "FUN_00018ad0(DAT_000915ec)" (identifier "FUN_00018ad0") (argument_list "(DAT_000915ec)" (( "(") (identifier "DAT_000915ec") () ")"))) (; ";")) (return_statement "return '\0';" (return "return") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (; ";")) (} "}"))) (if_statement "if (iVar4 == 0) {\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }\n    else {\n      pcVar5 = DAT_00091758 + 1;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);\n      pcVar5 = DAT_00091758 + 1;\n    }" ({ "{") (expression_statement "DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);" (assignment_expression "DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3)" (identifier "DAT_00091758") (= "=") (binary_expression "pcVar1 + (DAT_00091ba4 - iVar3)" (identifier "pcVar1") (+ "+") (parenthesized_expression "(DAT_00091ba4 - iVar3)" (( "(") (binary_expression "DAT_00091ba4 - iVar3" (identifier "DAT_00091ba4") (- "-") (identifier "iVar3")) () ")")))) (; ";")) (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" (identifier "pcVar5") (= "=") (binary_expression "DAT_00091758 + 1" (identifier "DAT_00091758") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n      pcVar5 = DAT_00091758 + 1;\n    }" (else "else") (compound_statement "{\n      pcVar5 = DAT_00091758 + 1;\n    }" ({ "{") (expression_statement "pcVar5 = DAT_00091758 + 1;" (assignment_expression "pcVar5 = DAT_00091758 + 1" (identifier "pcVar5") (= "=") (binary_expression "DAT_00091758 + 1" (identifier "DAT_00091758") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "pcVar1 = DAT_00091758 + 1;" (assignment_expression "pcVar1 = DAT_00091758 + 1" (identifier "pcVar1") (= "=") (binary_expression "DAT_00091758 + 1" (identifier "DAT_00091758") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar2 = *DAT_00091758;" (assignment_expression "cVar2 = *DAT_00091758" (identifier "cVar2") (= "=") (pointer_expression "*DAT_00091758" (* "*") (identifier "DAT_00091758"))) (; ";")) (expression_statement "*DAT_00091758 = '\0';" (assignment_expression "*DAT_00091758 = '\0'" (pointer_expression "*DAT_00091758" (* "*") (identifier "DAT_00091758")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "DAT_00091758 = pcVar5;" (assignment_expression "DAT_00091758 = pcVar5" (identifier "DAT_00091758") (= "=") (identifier "pcVar5")) (; ";")) (expression_statement "DAT_00091760 = *pcVar1;" (assignment_expression "DAT_00091760 = *pcVar1" (identifier "DAT_00091760") (= "=") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1"))) (; ";")) (return_statement "return cVar2;" (return "return") (identifier "cVar2") (; ";")) (} "}")))

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

int function_1(void)

{
  type_1 *pbVar1;
  type_1 bVar2;
  char *pcVar3;
  char var_2;
  char *pcVar5;
  int var_5;
  type_1 *pbVar7;
  
  var_2 = yy_hold_char;
  pcVar3 = var_1;
  pbVar7 = (type_1 *)(var_1 + 1);
  *var_1 = yy_hold_char;
  pcVar5 = var_7;
  if ((var_2 == '\0') &&
     (yy_buffer_stack[yy_buffer_stack_top]->yy_ch_buf + var_3 <= var_1)) {
    var_1 = (char *)pbVar7;
    var_5 = var_4();
    if (var_5 == 1) {
      return 0;
    }
    if (var_5 == 2) {
      var_6(yyin);
      return 0;
    }
    if (var_5 == 0) {
      var_1 = var_7 + ((int)pcVar3 - (int)pcVar5);
      pbVar7 = (type_1 *)var_1 + 1;
    }
    else {
      pbVar7 = (type_1 *)(var_1 + 1);
    }
  }
  pbVar1 = (type_1 *)var_1 + 1;
  bVar2 = *var_1;
  *var_1 = 0;
  var_1 = (char *)pbVar7;
  yy_hold_char = *pbVar1;
  return (type_2)bVar2;
}


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

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

char MASKED(void)

{
  char *pcVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  
  cVar2 = DAT_00091760;
  pcVar1 = DAT_00091758;
  pcVar5 = DAT_00091758 + 1;
  *DAT_00091758 = DAT_00091760;
  iVar3 = DAT_00091ba4;
  if ((cVar2 == '\0') &&
     ((char *)(DAT_0009175c + *(int *)(*(int *)(DAT_00091764 + DAT_0009176c * 4) + 4)) <=
      DAT_00091758)) {
    DAT_00091758 = pcVar5;
    iVar4 = FUN_00018b70();
    if (iVar4 == 1) {
      return '\0';
    }
    if (iVar4 == 2) {
      FUN_00018ad0(DAT_000915ec);
      return '\0';
    }
    if (iVar4 == 0) {
      DAT_00091758 = pcVar1 + (DAT_00091ba4 - iVar3);
      pcVar5 = DAT_00091758 + 1;
    }
    else {
      pcVar5 = DAT_00091758 + 1;
    }
  }
  pcVar1 = DAT_00091758 + 1;
  cVar2 = *DAT_00091758;
  *DAT_00091758 = '\0';
  DAT_00091758 = pcVar5;
  DAT_00091760 = *pcVar1;
  return cVar2;
}

