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

void lex_redirect(char *string,char *fake_filename,uint count)

{
  size_t sVar1;
  YY_BUFFER_STATE pyVar2;
  char *pcVar3;
  char *pcVar4;
  
  yy_init = 0;
  if (9 < include_stack_ptr) {
    pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);
    einfo(pcVar4);
  }
  file_name_stack[include_stack_ptr] = fake_filename;
  lineno_stack[include_stack_ptr] = lineno;
  pyVar2 = (YY_BUFFER_STATE)yy_buffer_stack;
  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {
    pyVar2 = yy_buffer_stack[yy_buffer_stack_top];
  }
  lineno = count;
  include_stack[include_stack_ptr] = pyVar2;
  include_stack_ptr = include_stack_ptr + 1;
  sVar1 = strlen(string);
  pyVar2 = (YY_BUFFER_STATE)malloc(0x30);
  pyVar2->yy_buf_size = sVar1;
  pyVar2->yy_input_file = (FILE *)0x0;
  pcVar3 = (char *)malloc(sVar1 + 3);
  pyVar2->yy_ch_buf = pcVar3;
  *pcVar3 = '\n';
  memcpy(pcVar3 + 1,string,sVar1 + 1);
  pcVar3[sVar1 + 2] = '\0';
  pcVar4 = pyVar2->yy_ch_buf;
  pcVar3[sVar1 + 1] = '\0';
  pyVar2->yy_is_our_buffer = 1;
  pyVar2->yy_n_chars = sVar1 + 1;
  pyVar2->yy_buf_pos = pcVar4 + 1;
  pyVar2->yy_is_interactive = 0;
  pyVar2->yy_at_bol = 1;
  pyVar2->yy_fill_buffer = 0;
  pyVar2->yy_buffer_status = 0;
  yy_switch_to_buffer(pyVar2);
  return;
}



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

void FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)

{
  size_t sVar1;
  undefined4 *puVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  int iVar5;
  
  DAT_0013ce34 = 0;
  if (9 < DAT_0013cd34) {
    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);
    FUN_00033ba0(uVar4);
  }
  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;
  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;
  iVar5 = DAT_0013ce44;
  if (DAT_0013ce44 != 0) {
    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);
  }
  DAT_0013d64c = param_3;
  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;
  DAT_0013cd34 = DAT_0013cd34 + 1;
  sVar1 = strlen(param_1);
  puVar2 = (undefined4 *)malloc(0x30);
  puVar2[3] = sVar1;
  *puVar2 = 0;
  puVar3 = (undefined1 *)malloc(sVar1 + 3);
  puVar2[1] = puVar3;
  *puVar3 = 10;
  memcpy(puVar3 + 1,param_1,sVar1 + 1);
  puVar3[sVar1 + 2] = 0;
  iVar5 = puVar2[1];
  puVar3[sVar1 + 1] = 0;
  puVar2[5] = 1;
  puVar2[4] = sVar1 + 1;
  puVar2[2] = iVar5 + 1;
  puVar2[6] = 0;
  puVar2[7] = 1;
  puVar2[10] = 0;
  puVar2[0xb] = 0;
  FUN_00019820();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016a30
ADD EBX,0x120187
SUB ESP,0x1c
MOV ECX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x38]
MOV dword ptr [EBX + 0xe34],0x0
MOV EAX,dword ptr [EBX + 0xd34]
CMP EAX,0x9
JA 0x0001bf88
MOV dword ptr [EBX + EAX*0x4 + 0xdc0],EDI
LEA EDI,[EBX + 0x164c]
MOV EDX,dword ptr [EDI]
MOV dword ptr [EBX + EAX*0x4 + 0xd80],EDX
MOV EDX,dword ptr [EBX + 0xe44]
TEST EDX,EDX
JZ 0x0001bed0
MOV EBP,dword ptr [EBX + 0xe4c]
MOV EDX,dword ptr [EDX + EBP*0x4]
SUB ESP,0xc
MOV dword ptr [EDI],ESI
PUSH ECX
MOV dword ptr [EBX + EAX*0x4 + 0xe00],EDX
ADD EAX,0x1
MOV dword ptr [EBX + 0xd34],EAX
MOV dword ptr [ESP + 0x1c],ECX
CALL 0x00015700
MOV dword ptr [ESP],0x30
MOV EDI,EAX
CALL 0x000155d0
MOV dword ptr [EAX + 0xc],EDI
MOV ESI,EAX
MOV dword ptr [EAX],0x0
LEA EAX,[EDI + 0x3]
MOV dword ptr [ESP],EAX
CALL 0x000155d0
ADD ESP,0xc
LEA EDX,[EDI + 0x1]
MOV dword ptr [ESI + 0x4],EAX
MOV EBP,EAX
LEA EAX,[EAX + 0x1]
MOV byte ptr [EAX + -0x1],0xa
PUSH EDX
MOV ECX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x10],EDX
PUSH ECX
PUSH EAX
CALL 0x000151f0
MOV byte ptr [EBP + EDI*0x1 + 0x2],0x0
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESP + 0x18]
MOV byte ptr [EBP + EDI*0x1 + 0x1],0x0
ADD EAX,0x1
MOV dword ptr [ESI + 0x14],0x1
MOV dword ptr [ESI + 0x10],EDX
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x1c],0x1
MOV dword ptr [ESI + 0x28],0x0
MOV dword ptr [ESI + 0x2c],0x0
MOV dword ptr [ESP + 0x40],ESI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00019820
MOV dword ptr [ESP + 0x8],ECX
LEA EAX,[EBX + 0xfff1c26f]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000152e0
MOV dword ptr [ESP],EAX
CALL 0x00033ba0
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0xd34]
MOV ECX,dword ptr [ESP + 0x8]
JMP 0x0001bea7
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}\n\n" comment (function_definition "void FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}" primitive_type (function_declarator "FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "DAT_0013ce34 = 0;" (assignment_expression "DAT_0013ce34 = 0" identifier = number_literal) ;) (if_statement "if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }" if (parenthesized_expression "(9 < DAT_0013cd34)" ( (binary_expression "9 < DAT_0013cd34" number_literal < identifier) )) (compound_statement "{\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }" { (expression_statement "uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5)" identifier = (call_expression "dcgettext(0,"%F: macros nested too deeply\n",5)" identifier (argument_list "(0,"%F: macros nested too deeply\n",5)" ( number_literal , (string_literal ""%F: macros nested too deeply\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00033ba0(uVar4);" (call_expression "FUN_00033ba0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (expression_statement "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;" (assignment_expression "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2" (pointer_expression "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4)" * (cast_expression "(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013cdc0 + DAT_0013cd34 * 4)" ( (binary_expression "&DAT_0013cdc0 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013cdc0" & identifier) + (binary_expression "DAT_0013cd34 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;" (assignment_expression "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c" (pointer_expression "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4)" * (cast_expression "(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013cd80 + DAT_0013cd34 * 4)" ( (binary_expression "&DAT_0013cd80 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013cd80" & identifier) + (binary_expression "DAT_0013cd34 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar5 = DAT_0013ce44;" (assignment_expression "iVar5 = DAT_0013ce44" identifier = identifier) ;) (if_statement "if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }" if (parenthesized_expression "(DAT_0013ce44 != 0)" ( (binary_expression "DAT_0013ce44 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }" { (expression_statement "iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);" (assignment_expression "iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" identifier = (pointer_expression "*(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" * (cast_expression "(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013ce44 + DAT_0013ce4c * 4)" ( (binary_expression "DAT_0013ce44 + DAT_0013ce4c * 4" identifier + (binary_expression "DAT_0013ce4c * 4" identifier * number_literal)) ))))) ;) })) (expression_statement "DAT_0013d64c = param_3;" (assignment_expression "DAT_0013d64c = param_3" identifier = identifier) ;) (expression_statement "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;" (assignment_expression "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5" (pointer_expression "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4)" * (cast_expression "(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013ce00 + DAT_0013cd34 * 4)" ( (binary_expression "&DAT_0013ce00 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013ce00" & identifier) + (binary_expression "DAT_0013cd34 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "DAT_0013cd34 = DAT_0013cd34 + 1;" (assignment_expression "DAT_0013cd34 = DAT_0013cd34 + 1" identifier = (binary_expression "DAT_0013cd34 + 1" identifier + number_literal)) ;) (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar2 = (undefined4 *)malloc(0x30);" (assignment_expression "puVar2 = (undefined4 *)malloc(0x30)" identifier = (cast_expression "(undefined4 *)malloc(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "puVar2[3] = sVar1;" (assignment_expression "puVar2[3] = sVar1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar3 = (undefined1 *)malloc(sVar1 + 3);" (assignment_expression "puVar3 = (undefined1 *)malloc(sVar1 + 3)" identifier = (cast_expression "(undefined1 *)malloc(sVar1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar1 + 3)" identifier (argument_list "(sVar1 + 3)" ( (binary_expression "sVar1 + 3" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = puVar3;" (assignment_expression "puVar2[1] = puVar3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar3 = 10;" (assignment_expression "*puVar3 = 10" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "memcpy(puVar3 + 1,param_1,sVar1 + 1);" (call_expression "memcpy(puVar3 + 1,param_1,sVar1 + 1)" identifier (argument_list "(puVar3 + 1,param_1,sVar1 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) , identifier , (binary_expression "sVar1 + 1" identifier + number_literal) ))) ;) (expression_statement "puVar3[sVar1 + 2] = 0;" (assignment_expression "puVar3[sVar1 + 2] = 0" (subscript_expression "puVar3[sVar1 + 2]" identifier [ (binary_expression "sVar1 + 2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar5 = puVar2[1];" (assignment_expression "iVar5 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[sVar1 + 1] = 0;" (assignment_expression "puVar3[sVar1 + 1] = 0" (subscript_expression "puVar3[sVar1 + 1]" identifier [ (binary_expression "sVar1 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "puVar2[5] = 1;" (assignment_expression "puVar2[5] = 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[4] = sVar1 + 1;" (assignment_expression "puVar2[4] = sVar1 + 1" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2[2] = iVar5 + 1;" (assignment_expression "puVar2[2] = iVar5 + 1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[7] = 1;" (assignment_expression "puVar2[7] = 1" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00019820();" (call_expression "FUN_00019820()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid lex_redirect(char *string,char *fake_filename,uint count)\n\n{\n  size_t sVar1;\n  YY_BUFFER_STATE pyVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  yy_init = 0;\n  if (9 < include_stack_ptr) {\n    pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);\n    einfo(pcVar4);\n  }\n  file_name_stack[include_stack_ptr] = fake_filename;\n  lineno_stack[include_stack_ptr] = lineno;\n  pyVar2 = (YY_BUFFER_STATE)yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    pyVar2 = yy_buffer_stack[yy_buffer_stack_top];\n  }\n  lineno = count;\n  include_stack[include_stack_ptr] = pyVar2;\n  include_stack_ptr = include_stack_ptr + 1;\n  sVar1 = strlen(string);\n  pyVar2 = (YY_BUFFER_STATE)malloc(0x30);\n  pyVar2->yy_buf_size = sVar1;\n  pyVar2->yy_input_file = (FILE *)0x0;\n  pcVar3 = (char *)malloc(sVar1 + 3);\n  pyVar2->yy_ch_buf = pcVar3;\n  *pcVar3 = '\n';\n  memcpy(pcVar3 + 1,string,sVar1 + 1);\n  pcVar3[sVar1 + 2] = '\0';\n  pcVar4 = pyVar2->yy_ch_buf;\n  pcVar3[sVar1 + 1] = '\0';\n  pyVar2->yy_is_our_buffer = 1;\n  pyVar2->yy_n_chars = sVar1 + 1;\n  pyVar2->yy_buf_pos = pcVar4 + 1;\n  pyVar2->yy_is_interactive = 0;\n  pyVar2->yy_at_bol = 1;\n  pyVar2->yy_fill_buffer = 0;\n  pyVar2->yy_buffer_status = 0;\n  yy_switch_to_buffer(pyVar2);\n  return;\n}\n\n" comment (function_definition "void lex_redirect(char *string,char *fake_filename,uint count)\n\n{\n  size_t sVar1;\n  YY_BUFFER_STATE pyVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  yy_init = 0;\n  if (9 < include_stack_ptr) {\n    pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);\n    einfo(pcVar4);\n  }\n  file_name_stack[include_stack_ptr] = fake_filename;\n  lineno_stack[include_stack_ptr] = lineno;\n  pyVar2 = (YY_BUFFER_STATE)yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    pyVar2 = yy_buffer_stack[yy_buffer_stack_top];\n  }\n  lineno = count;\n  include_stack[include_stack_ptr] = pyVar2;\n  include_stack_ptr = include_stack_ptr + 1;\n  sVar1 = strlen(string);\n  pyVar2 = (YY_BUFFER_STATE)malloc(0x30);\n  pyVar2->yy_buf_size = sVar1;\n  pyVar2->yy_input_file = (FILE *)0x0;\n  pcVar3 = (char *)malloc(sVar1 + 3);\n  pyVar2->yy_ch_buf = pcVar3;\n  *pcVar3 = '\n';\n  memcpy(pcVar3 + 1,string,sVar1 + 1);\n  pcVar3[sVar1 + 2] = '\0';\n  pcVar4 = pyVar2->yy_ch_buf;\n  pcVar3[sVar1 + 1] = '\0';\n  pyVar2->yy_is_our_buffer = 1;\n  pyVar2->yy_n_chars = sVar1 + 1;\n  pyVar2->yy_buf_pos = pcVar4 + 1;\n  pyVar2->yy_is_interactive = 0;\n  pyVar2->yy_at_bol = 1;\n  pyVar2->yy_fill_buffer = 0;\n  pyVar2->yy_buffer_status = 0;\n  yy_switch_to_buffer(pyVar2);\n  return;\n}" primitive_type (function_declarator "lex_redirect(char *string,char *fake_filename,uint count)" identifier (parameter_list "(char *string,char *fake_filename,uint count)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "char *fake_filename" primitive_type (pointer_declarator "*fake_filename" * identifier)) , (parameter_declaration "uint count" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  YY_BUFFER_STATE pyVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  yy_init = 0;\n  if (9 < include_stack_ptr) {\n    pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);\n    einfo(pcVar4);\n  }\n  file_name_stack[include_stack_ptr] = fake_filename;\n  lineno_stack[include_stack_ptr] = lineno;\n  pyVar2 = (YY_BUFFER_STATE)yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    pyVar2 = yy_buffer_stack[yy_buffer_stack_top];\n  }\n  lineno = count;\n  include_stack[include_stack_ptr] = pyVar2;\n  include_stack_ptr = include_stack_ptr + 1;\n  sVar1 = strlen(string);\n  pyVar2 = (YY_BUFFER_STATE)malloc(0x30);\n  pyVar2->yy_buf_size = sVar1;\n  pyVar2->yy_input_file = (FILE *)0x0;\n  pcVar3 = (char *)malloc(sVar1 + 3);\n  pyVar2->yy_ch_buf = pcVar3;\n  *pcVar3 = '\n';\n  memcpy(pcVar3 + 1,string,sVar1 + 1);\n  pcVar3[sVar1 + 2] = '\0';\n  pcVar4 = pyVar2->yy_ch_buf;\n  pcVar3[sVar1 + 1] = '\0';\n  pyVar2->yy_is_our_buffer = 1;\n  pyVar2->yy_n_chars = sVar1 + 1;\n  pyVar2->yy_buf_pos = pcVar4 + 1;\n  pyVar2->yy_is_interactive = 0;\n  pyVar2->yy_at_bol = 1;\n  pyVar2->yy_fill_buffer = 0;\n  pyVar2->yy_buffer_status = 0;\n  yy_switch_to_buffer(pyVar2);\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "YY_BUFFER_STATE pyVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "yy_init = 0;" (assignment_expression "yy_init = 0" identifier = number_literal) ;) (if_statement "if (9 < include_stack_ptr) {\n    pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);\n    einfo(pcVar4);\n  }" if (parenthesized_expression "(9 < include_stack_ptr)" ( (binary_expression "9 < include_stack_ptr" number_literal < identifier) )) (compound_statement "{\n    pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);\n    einfo(pcVar4);\n  }" { (expression_statement "pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%F: macros nested too deeply\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F: macros nested too deeply\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F: macros nested too deeply\n",5)" identifier (argument_list "(0,"%F: macros nested too deeply\n",5)" ( number_literal , (string_literal ""%F: macros nested too deeply\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar4);" (call_expression "einfo(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "file_name_stack[include_stack_ptr] = fake_filename;" (assignment_expression "file_name_stack[include_stack_ptr] = fake_filename" (subscript_expression "file_name_stack[include_stack_ptr]" identifier [ identifier ]) = identifier) ;) (expression_statement "lineno_stack[include_stack_ptr] = lineno;" (assignment_expression "lineno_stack[include_stack_ptr] = lineno" (subscript_expression "lineno_stack[include_stack_ptr]" identifier [ identifier ]) = identifier) ;) (expression_statement "pyVar2 = (YY_BUFFER_STATE)yy_buffer_stack;" (assignment_expression "pyVar2 = (YY_BUFFER_STATE)yy_buffer_stack" identifier = (cast_expression "(YY_BUFFER_STATE)yy_buffer_stack" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) identifier)) ;) (if_statement "if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    pyVar2 = yy_buffer_stack[yy_buffer_stack_top];\n  }" if (parenthesized_expression "(yy_buffer_stack != (YY_BUFFER_STATE *)0x0)" ( (binary_expression "yy_buffer_stack != (YY_BUFFER_STATE *)0x0" identifier != (cast_expression "(YY_BUFFER_STATE *)0x0" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pyVar2 = yy_buffer_stack[yy_buffer_stack_top];\n  }" { (expression_statement "pyVar2 = yy_buffer_stack[yy_buffer_stack_top];" (assignment_expression "pyVar2 = yy_buffer_stack[yy_buffer_stack_top]" identifier = (subscript_expression "yy_buffer_stack[yy_buffer_stack_top]" identifier [ identifier ])) ;) })) (expression_statement "lineno = count;" (assignment_expression "lineno = count" identifier = identifier) ;) (expression_statement "include_stack[include_stack_ptr] = pyVar2;" (assignment_expression "include_stack[include_stack_ptr] = pyVar2" (subscript_expression "include_stack[include_stack_ptr]" identifier [ identifier ]) = identifier) ;) (expression_statement "include_stack_ptr = include_stack_ptr + 1;" (assignment_expression "include_stack_ptr = include_stack_ptr + 1" identifier = (binary_expression "include_stack_ptr + 1" identifier + number_literal)) ;) (expression_statement "sVar1 = strlen(string);" (assignment_expression "sVar1 = strlen(string)" identifier = (call_expression "strlen(string)" identifier (argument_list "(string)" ( identifier )))) ;) (expression_statement "pyVar2 = (YY_BUFFER_STATE)malloc(0x30);" (assignment_expression "pyVar2 = (YY_BUFFER_STATE)malloc(0x30)" identifier = (cast_expression "(YY_BUFFER_STATE)malloc(0x30)" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) (call_expression "malloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "pyVar2->yy_buf_size = sVar1;" (assignment_expression "pyVar2->yy_buf_size = sVar1" (field_expression "pyVar2->yy_buf_size" identifier -> field_identifier) = identifier) ;) (expression_statement "pyVar2->yy_input_file = (FILE *)0x0;" (assignment_expression "pyVar2->yy_input_file = (FILE *)0x0" (field_expression "pyVar2->yy_input_file" identifier -> field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar3 = (char *)malloc(sVar1 + 3);" (assignment_expression "pcVar3 = (char *)malloc(sVar1 + 3)" identifier = (cast_expression "(char *)malloc(sVar1 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar1 + 3)" identifier (argument_list "(sVar1 + 3)" ( (binary_expression "sVar1 + 3" identifier + number_literal) ))))) ;) (expression_statement "pyVar2->yy_ch_buf = pcVar3;" (assignment_expression "pyVar2->yy_ch_buf = pcVar3" (field_expression "pyVar2->yy_ch_buf" identifier -> field_identifier) = identifier) ;) (expression_statement "*pcVar3 = '\n';" (assignment_expression "*pcVar3 = '\n'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "memcpy(pcVar3 + 1,string,sVar1 + 1);" (call_expression "memcpy(pcVar3 + 1,string,sVar1 + 1)" identifier (argument_list "(pcVar3 + 1,string,sVar1 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) , identifier , (binary_expression "sVar1 + 1" identifier + number_literal) ))) ;) (expression_statement "pcVar3[sVar1 + 2] = '\0';" (assignment_expression "pcVar3[sVar1 + 2] = '\0'" (subscript_expression "pcVar3[sVar1 + 2]" identifier [ (binary_expression "sVar1 + 2" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar4 = pyVar2->yy_ch_buf;" (assignment_expression "pcVar4 = pyVar2->yy_ch_buf" identifier = (field_expression "pyVar2->yy_ch_buf" identifier -> field_identifier)) ;) (expression_statement "pcVar3[sVar1 + 1] = '\0';" (assignment_expression "pcVar3[sVar1 + 1] = '\0'" (subscript_expression "pcVar3[sVar1 + 1]" identifier [ (binary_expression "sVar1 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pyVar2->yy_is_our_buffer = 1;" (assignment_expression "pyVar2->yy_is_our_buffer = 1" (field_expression "pyVar2->yy_is_our_buffer" identifier -> field_identifier) = number_literal) ;) (expression_statement "pyVar2->yy_n_chars = sVar1 + 1;" (assignment_expression "pyVar2->yy_n_chars = sVar1 + 1" (field_expression "pyVar2->yy_n_chars" identifier -> field_identifier) = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) (expression_statement "pyVar2->yy_buf_pos = pcVar4 + 1;" (assignment_expression "pyVar2->yy_buf_pos = pcVar4 + 1" (field_expression "pyVar2->yy_buf_pos" identifier -> field_identifier) = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "pyVar2->yy_is_interactive = 0;" (assignment_expression "pyVar2->yy_is_interactive = 0" (field_expression "pyVar2->yy_is_interactive" identifier -> field_identifier) = number_literal) ;) (expression_statement "pyVar2->yy_at_bol = 1;" (assignment_expression "pyVar2->yy_at_bol = 1" (field_expression "pyVar2->yy_at_bol" identifier -> field_identifier) = number_literal) ;) (expression_statement "pyVar2->yy_fill_buffer = 0;" (assignment_expression "pyVar2->yy_fill_buffer = 0" (field_expression "pyVar2->yy_fill_buffer" identifier -> field_identifier) = number_literal) ;) (expression_statement "pyVar2->yy_buffer_status = 0;" (assignment_expression "pyVar2->yy_buffer_status = 0" (field_expression "pyVar2->yy_buffer_status" identifier -> field_identifier) = number_literal) ;) (expression_statement "yy_switch_to_buffer(pyVar2);" (call_expression "yy_switch_to_buffer(pyVar2)" identifier (argument_list "(pyVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}\n\n" (function_definition "void FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}" primitive_type (function_declarator "FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "DAT_0013ce34 = 0;" (assignment_expression "DAT_0013ce34 = 0" identifier = number_literal) ;) (if_statement "if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }" if (parenthesized_expression "(9 < DAT_0013cd34)" ( (binary_expression "9 < DAT_0013cd34" number_literal < identifier) )) (compound_statement "{\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }" { (expression_statement "uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5)" identifier = (call_expression "dcgettext(0,"%F: macros nested too deeply\n",5)" identifier (argument_list "(0,"%F: macros nested too deeply\n",5)" ( number_literal , (string_literal ""%F: macros nested too deeply\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00033ba0(uVar4);" (call_expression "FUN_00033ba0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (expression_statement "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;" (assignment_expression "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2" (pointer_expression "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4)" * (cast_expression "(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013cdc0 + DAT_0013cd34 * 4)" ( (binary_expression "&DAT_0013cdc0 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013cdc0" & identifier) + (binary_expression "DAT_0013cd34 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;" (assignment_expression "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c" (pointer_expression "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4)" * (cast_expression "(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013cd80 + DAT_0013cd34 * 4)" ( (binary_expression "&DAT_0013cd80 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013cd80" & identifier) + (binary_expression "DAT_0013cd34 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar5 = DAT_0013ce44;" (assignment_expression "iVar5 = DAT_0013ce44" identifier = identifier) ;) (if_statement "if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }" if (parenthesized_expression "(DAT_0013ce44 != 0)" ( (binary_expression "DAT_0013ce44 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }" { (expression_statement "iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);" (assignment_expression "iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" identifier = (pointer_expression "*(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" * (cast_expression "(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013ce44 + DAT_0013ce4c * 4)" ( (binary_expression "DAT_0013ce44 + DAT_0013ce4c * 4" identifier + (binary_expression "DAT_0013ce4c * 4" identifier * number_literal)) ))))) ;) })) (expression_statement "DAT_0013d64c = param_3;" (assignment_expression "DAT_0013d64c = param_3" identifier = identifier) ;) (expression_statement "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;" (assignment_expression "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5" (pointer_expression "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4)" * (cast_expression "(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013ce00 + DAT_0013cd34 * 4)" ( (binary_expression "&DAT_0013ce00 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013ce00" & identifier) + (binary_expression "DAT_0013cd34 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "DAT_0013cd34 = DAT_0013cd34 + 1;" (assignment_expression "DAT_0013cd34 = DAT_0013cd34 + 1" identifier = (binary_expression "DAT_0013cd34 + 1" identifier + number_literal)) ;) (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar2 = (undefined4 *)malloc(0x30);" (assignment_expression "puVar2 = (undefined4 *)malloc(0x30)" identifier = (cast_expression "(undefined4 *)malloc(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "puVar2[3] = sVar1;" (assignment_expression "puVar2[3] = sVar1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar3 = (undefined1 *)malloc(sVar1 + 3);" (assignment_expression "puVar3 = (undefined1 *)malloc(sVar1 + 3)" identifier = (cast_expression "(undefined1 *)malloc(sVar1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar1 + 3)" identifier (argument_list "(sVar1 + 3)" ( (binary_expression "sVar1 + 3" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = puVar3;" (assignment_expression "puVar2[1] = puVar3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar3 = 10;" (assignment_expression "*puVar3 = 10" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "memcpy(puVar3 + 1,param_1,sVar1 + 1);" (call_expression "memcpy(puVar3 + 1,param_1,sVar1 + 1)" identifier (argument_list "(puVar3 + 1,param_1,sVar1 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) , identifier , (binary_expression "sVar1 + 1" identifier + number_literal) ))) ;) (expression_statement "puVar3[sVar1 + 2] = 0;" (assignment_expression "puVar3[sVar1 + 2] = 0" (subscript_expression "puVar3[sVar1 + 2]" identifier [ (binary_expression "sVar1 + 2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar5 = puVar2[1];" (assignment_expression "iVar5 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3[sVar1 + 1] = 0;" (assignment_expression "puVar3[sVar1 + 1] = 0" (subscript_expression "puVar3[sVar1 + 1]" identifier [ (binary_expression "sVar1 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "puVar2[5] = 1;" (assignment_expression "puVar2[5] = 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[4] = sVar1 + 1;" (assignment_expression "puVar2[4] = sVar1 + 1" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2[2] = iVar5 + 1;" (assignment_expression "puVar2[2] = iVar5 + 1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[7] = 1;" (assignment_expression "puVar2[7] = 1" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00019820();" (call_expression "FUN_00019820()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001be70(char *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0001be70") (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  size_t sVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  DAT_0013ce34 = 0;\n  if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }\n  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;\n  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;\n  iVar5 = DAT_0013ce44;\n  if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }\n  DAT_0013d64c = param_3;\n  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;\n  DAT_0013cd34 = DAT_0013cd34 + 1;\n  sVar1 = strlen(param_1);\n  puVar2 = (undefined4 *)malloc(0x30);\n  puVar2[3] = sVar1;\n  *puVar2 = 0;\n  puVar3 = (undefined1 *)malloc(sVar1 + 3);\n  puVar2[1] = puVar3;\n  *puVar3 = 10;\n  memcpy(puVar3 + 1,param_1,sVar1 + 1);\n  puVar3[sVar1 + 2] = 0;\n  iVar5 = puVar2[1];\n  puVar3[sVar1 + 1] = 0;\n  puVar2[5] = 1;\n  puVar2[4] = sVar1 + 1;\n  puVar2[2] = iVar5 + 1;\n  puVar2[6] = 0;\n  puVar2[7] = 1;\n  puVar2[10] = 0;\n  puVar2[0xb] = 0;\n  FUN_00019820();\n  return;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "DAT_0013ce34 = 0;" (assignment_expression "DAT_0013ce34 = 0" (identifier "DAT_0013ce34") (= "=") (number_literal "0")) (; ";")) (if_statement "if (9 < DAT_0013cd34) {\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }" (if "if") (parenthesized_expression "(9 < DAT_0013cd34)" (( "(") (binary_expression "9 < DAT_0013cd34" (number_literal "9") (< "<") (identifier "DAT_0013cd34")) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);\n    FUN_00033ba0(uVar4);\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"%F: macros nested too deeply\n",5)" (identifier "dcgettext") (argument_list "(0,"%F: macros nested too deeply\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F: macros nested too deeply\n"" (" """) (string_content "%F: macros nested too deeply") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00033ba0(uVar4);" (call_expression "FUN_00033ba0(uVar4)" (identifier "FUN_00033ba0") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;" (assignment_expression "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2" (pointer_expression "*(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4)" (* "*") (cast_expression "(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0013cdc0 + DAT_0013cd34 * 4)" (( "(") (binary_expression "&DAT_0013cdc0 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013cdc0" (& "&") (identifier "DAT_0013cdc0")) (+ "+") (binary_expression "DAT_0013cd34 * 4" (identifier "DAT_0013cd34") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;" (assignment_expression "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c" (pointer_expression "*(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4)" (* "*") (cast_expression "(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0013cd80 + DAT_0013cd34 * 4)" (( "(") (binary_expression "&DAT_0013cd80 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013cd80" (& "&") (identifier "DAT_0013cd80")) (+ "+") (binary_expression "DAT_0013cd34 * 4" (identifier "DAT_0013cd34") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "DAT_0013d64c")) (; ";")) (expression_statement "iVar5 = DAT_0013ce44;" (assignment_expression "iVar5 = DAT_0013ce44" (identifier "iVar5") (= "=") (identifier "DAT_0013ce44")) (; ";")) (if_statement "if (DAT_0013ce44 != 0) {\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }" (if "if") (parenthesized_expression "(DAT_0013ce44 != 0)" (( "(") (binary_expression "DAT_0013ce44 != 0" (identifier "DAT_0013ce44") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);\n  }" ({ "{") (expression_statement "iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);" (assignment_expression "iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" (* "*") (cast_expression "(int *)(DAT_0013ce44 + DAT_0013ce4c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013ce44 + DAT_0013ce4c * 4)" (( "(") (binary_expression "DAT_0013ce44 + DAT_0013ce4c * 4" (identifier "DAT_0013ce44") (+ "+") (binary_expression "DAT_0013ce4c * 4" (identifier "DAT_0013ce4c") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (expression_statement "DAT_0013d64c = param_3;" (assignment_expression "DAT_0013d64c = param_3" (identifier "DAT_0013d64c") (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;" (assignment_expression "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5" (pointer_expression "*(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4)" (* "*") (cast_expression "(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0013ce00 + DAT_0013cd34 * 4)" (( "(") (binary_expression "&DAT_0013ce00 + DAT_0013cd34 * 4" (pointer_expression "&DAT_0013ce00" (& "&") (identifier "DAT_0013ce00")) (+ "+") (binary_expression "DAT_0013cd34 * 4" (identifier "DAT_0013cd34") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "DAT_0013cd34 = DAT_0013cd34 + 1;" (assignment_expression "DAT_0013cd34 = DAT_0013cd34 + 1" (identifier "DAT_0013cd34") (= "=") (binary_expression "DAT_0013cd34 + 1" (identifier "DAT_0013cd34") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" (identifier "sVar1") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)malloc(0x30);" (assignment_expression "puVar2 = (undefined4 *)malloc(0x30)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)malloc(0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(0x30)" (identifier "malloc") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "puVar2[3] = sVar1;" (assignment_expression "puVar2[3] = sVar1" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "sVar1")) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined1 *)malloc(sVar1 + 3);" (assignment_expression "puVar3 = (undefined1 *)malloc(sVar1 + 3)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)malloc(sVar1 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(sVar1 + 3)" (identifier "malloc") (argument_list "(sVar1 + 3)" (( "(") (binary_expression "sVar1 + 3" (identifier "sVar1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "puVar2[1] = puVar3;" (assignment_expression "puVar2[1] = puVar3" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "*puVar3 = 10;" (assignment_expression "*puVar3 = 10" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "10")) (; ";")) (expression_statement "memcpy(puVar3 + 1,param_1,sVar1 + 1);" (call_expression "memcpy(puVar3 + 1,param_1,sVar1 + 1)" (identifier "memcpy") (argument_list "(puVar3 + 1,param_1,sVar1 + 1)" (( "(") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1")) (, ",") (identifier "param_1") (, ",") (binary_expression "sVar1 + 1" (identifier "sVar1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "puVar3[sVar1 + 2] = 0;" (assignment_expression "puVar3[sVar1 + 2] = 0" (subscript_expression "puVar3[sVar1 + 2]" (identifier "puVar3") ([ "[") (binary_expression "sVar1 + 2" (identifier "sVar1") (+ "+") (number_literal "2")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = puVar2[1];" (assignment_expression "iVar5 = puVar2[1]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar3[sVar1 + 1] = 0;" (assignment_expression "puVar3[sVar1 + 1] = 0" (subscript_expression "puVar3[sVar1 + 1]" (identifier "puVar3") ([ "[") (binary_expression "sVar1 + 1" (identifier "sVar1") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[5] = 1;" (assignment_expression "puVar2[5] = 1" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar2[4] = sVar1 + 1;" (assignment_expression "puVar2[4] = sVar1 + 1" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "sVar1 + 1" (identifier "sVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2[2] = iVar5 + 1;" (assignment_expression "puVar2[2] = iVar5 + 1" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[7] = 1;" (assignment_expression "puVar2[7] = 1" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" (identifier "puVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" (identifier "puVar2") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00019820();" (call_expression "FUN_00019820()" (identifier "FUN_00019820") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(char *string,char *fake_filename,type_1 count)

{
  size_t var_7;
  type_2 pyVar2;
  char *var_9;
  char *var_10;
  
  yy_init = 0;
  if (9 < var_1) {
    var_10 = (char *)var_2(0,"%F: macros nested too deeply\n",5);
    var_3(var_10);
  }
  file_name_stack[var_1] = fake_filename;
  lineno_stack[var_1] = lineno;
  pyVar2 = (type_2)var_4;
  if (var_4 != (type_2 *)0x0) {
    pyVar2 = var_4[yy_buffer_stack_top];
  }
  lineno = count;
  include_stack[var_1] = pyVar2;
  var_1 = var_1 + 1;
  var_7 = var_5(string);
  pyVar2 = (type_2)var_6(0x30);
  pyVar2->yy_buf_size = var_7;
  pyVar2->yy_input_file = (type_3 *)0x0;
  var_9 = (char *)var_6(var_7 + 3);
  pyVar2->yy_ch_buf = var_9;
  *var_9 = '\n';
  var_8(var_9 + 1,string,var_7 + 1);
  var_9[var_7 + 2] = '\0';
  var_10 = pyVar2->yy_ch_buf;
  var_9[var_7 + 1] = '\0';
  pyVar2->yy_is_our_buffer = 1;
  pyVar2->yy_n_chars = var_7 + 1;
  pyVar2->yy_buf_pos = var_10 + 1;
  pyVar2->yy_is_interactive = 0;
  pyVar2->yy_at_bol = 1;
  pyVar2->yy_fill_buffer = 0;
  pyVar2->yy_buffer_status = 0;
  var_11(pyVar2);
  return;
}


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

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

void MASKED(char *param_1,undefined4 param_2,undefined4 param_3)

{
  size_t sVar1;
  undefined4 *puVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  int iVar5;
  
  DAT_0013ce34 = 0;
  if (9 < DAT_0013cd34) {
    uVar4 = dcgettext(0,"%F: macros nested too deeply\n",5);
    FUN_00033ba0(uVar4);
  }
  *(undefined4 *)(&DAT_0013cdc0 + DAT_0013cd34 * 4) = param_2;
  *(undefined4 *)(&DAT_0013cd80 + DAT_0013cd34 * 4) = DAT_0013d64c;
  iVar5 = DAT_0013ce44;
  if (DAT_0013ce44 != 0) {
    iVar5 = *(int *)(DAT_0013ce44 + DAT_0013ce4c * 4);
  }
  DAT_0013d64c = param_3;
  *(int *)(&DAT_0013ce00 + DAT_0013cd34 * 4) = iVar5;
  DAT_0013cd34 = DAT_0013cd34 + 1;
  sVar1 = strlen(param_1);
  puVar2 = (undefined4 *)malloc(0x30);
  puVar2[3] = sVar1;
  *puVar2 = 0;
  puVar3 = (undefined1 *)malloc(sVar1 + 3);
  puVar2[1] = puVar3;
  *puVar3 = 10;
  memcpy(puVar3 + 1,param_1,sVar1 + 1);
  puVar3[sVar1 + 2] = 0;
  iVar5 = puVar2[1];
  puVar3[sVar1 + 1] = 0;
  puVar2[5] = 1;
  puVar2[4] = sVar1 + 1;
  puVar2[2] = iVar5 + 1;
  puVar2[6] = 0;
  puVar2[7] = 1;
  puVar2[10] = 0;
  puVar2[0xb] = 0;
  FUN_00019820();
  return;
}

