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

void __regparm3 yy_stack_print(yytype_int16 *yybottom,yytype_int16 *yytop)

{
  short *psVar1;
  short sVar2;
  undefined *puVar3;
  
  puVar3 = PTR_stderr_001bef98;
  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);
  if (yybottom <= yytop) {
    psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);
    do {
      sVar2 = *yybottom;
      yybottom = yybottom + 1;
      fprintf(*(FILE **)puVar3," %d",(int)sVar2);
    } while (yybottom != psVar1);
  }
  fputc(10,*(FILE **)puVar3);
  return;
}



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

void __regparm3 FUN_00017d00(short *param_1,short *param_2)

{
  short *psVar1;
  short sVar2;
  undefined *puVar3;
  
  puVar3 = PTR_stderr_001bef98;
  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);
  if (param_1 <= param_2) {
    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);
    do {
      sVar2 = *param_1;
      param_1 = param_1 + 1;
      fprintf(*(FILE **)puVar3," %d",(int)sVar2);
    } while (param_1 != psVar1);
  }
  fputc(10,*(FILE **)puVar3);
  return;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00017bc0
ADD EBX,0x1a72f3
SUB ESP,0x1c
MOV ESI,dword ptr [EBX + 0xffffff98]
LEA EAX,[EBX + 0xffea2008]
PUSH dword ptr [ESI]
PUSH 0x9
PUSH 0x1
PUSH EAX
CALL 0x000164f0
ADD ESP,0x10
CMP EBP,EDI
JA 0x00017d6c
SUB EDI,EBP
SHR EDI,0x1
LEA EAX,[EBP + EDI*0x2 + 0x2]
LEA EDI,[EBX + 0xffea2012]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
NOP
MOVSX EAX,word ptr [EBP]
SUB ESP,0x4
ADD EBP,0x2
PUSH EAX
PUSH EDI
PUSH dword ptr [ESI]
CALL 0x000167f0
ADD ESP,0x10
CMP EBP,dword ptr [ESP + 0xc]
JNZ 0x00017d50
SUB ESP,0x8
PUSH dword ptr [ESI]
PUSH 0xa
CALL 0x00016a60
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00017d00(short *param_1,short *param_2)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00017d00(short *param_1,short *param_2)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017d00(short *param_1,short *param_2)" identifier (parameter_list "(short *param_1,short *param_2)" ( (parameter_declaration "short *param_1" (sized_type_specifier "short" short) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "short *param_2" (sized_type_specifier "short" short) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR_stderr_001bef98;" (assignment_expression "puVar3 = PTR_stderr_001bef98" identifier = identifier) ;) (expression_statement "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);" (call_expression "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" identifier (argument_list "("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" ( (string_literal ""Stack now"" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_001bef98" * (cast_expression "(FILE **)PTR_stderr_001bef98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (if_statement "if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }" if (parenthesized_expression "(param_1 <= param_2)" ( (binary_expression "param_1 <= param_2" identifier <= identifier) )) (compound_statement "{\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }" { (expression_statement "psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);" (assignment_expression "psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" identifier = (cast_expression "(short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" ( (binary_expression "(int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2" (binary_expression "(int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)param_1 & 0xfffffffeU)" ( (binary_expression "(int)param_2 - (int)param_1 & 0xfffffffeU" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) ))) + number_literal) )))) ;) (do_statement "do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);" do (compound_statement "{\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    }" { (expression_statement "sVar2 = *param_1;" (assignment_expression "sVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "fprintf(*(FILE **)puVar3," %d",(int)sVar2);" (call_expression "fprintf(*(FILE **)puVar3," %d",(int)sVar2)" identifier (argument_list "(*(FILE **)puVar3," %d",(int)sVar2)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" %d"" " string_content ") , (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }) while (parenthesized_expression "(param_1 != psVar1)" ( (binary_expression "param_1 != psVar1" identifier != identifier) )) ;) })) (expression_statement "fputc(10,*(FILE **)puVar3);" (call_expression "fputc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 yy_stack_print(yytype_int16 *yybottom,yytype_int16 *yytop)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (yybottom <= yytop) {\n    psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (yybottom != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}\n\n" comment (function_definition "void __regparm3 yy_stack_print(yytype_int16 *yybottom,yytype_int16 *yytop)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (yybottom <= yytop) {\n    psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (yybottom != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "yy_stack_print(yytype_int16 *yybottom,yytype_int16 *yytop)" identifier (parameter_list "(yytype_int16 *yybottom,yytype_int16 *yytop)" ( (parameter_declaration "yytype_int16 *yybottom" type_identifier (pointer_declarator "*yybottom" * identifier)) , (parameter_declaration "yytype_int16 *yytop" type_identifier (pointer_declarator "*yytop" * identifier)) ))) (compound_statement "{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (yybottom <= yytop) {\n    psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (yybottom != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR_stderr_001bef98;" (assignment_expression "puVar3 = PTR_stderr_001bef98" identifier = identifier) ;) (expression_statement "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);" (call_expression "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" identifier (argument_list "("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" ( (string_literal ""Stack now"" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_001bef98" * (cast_expression "(FILE **)PTR_stderr_001bef98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (if_statement "if (yybottom <= yytop) {\n    psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (yybottom != psVar1);\n  }" if (parenthesized_expression "(yybottom <= yytop)" ( (binary_expression "yybottom <= yytop" identifier <= identifier) )) (compound_statement "{\n    psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (yybottom != psVar1);\n  }" { (expression_statement "psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2);" (assignment_expression "psVar1 = (short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2)" identifier = (cast_expression "(short *)((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2)" ( (binary_expression "(int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU) + 2" (binary_expression "(int)yybottom + ((int)yytop - (int)yybottom & 0xfffffffeU)" (cast_expression "(int)yybottom" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)yytop - (int)yybottom & 0xfffffffeU)" ( (binary_expression "(int)yytop - (int)yybottom & 0xfffffffeU" (binary_expression "(int)yytop - (int)yybottom" (cast_expression "(int)yytop" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)yybottom" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) ))) + number_literal) )))) ;) (do_statement "do {\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (yybottom != psVar1);" do (compound_statement "{\n      sVar2 = *yybottom;\n      yybottom = yybottom + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    }" { (expression_statement "sVar2 = *yybottom;" (assignment_expression "sVar2 = *yybottom" identifier = (pointer_expression "*yybottom" * identifier)) ;) (expression_statement "yybottom = yybottom + 1;" (assignment_expression "yybottom = yybottom + 1" identifier = (binary_expression "yybottom + 1" identifier + number_literal)) ;) (expression_statement "fprintf(*(FILE **)puVar3," %d",(int)sVar2);" (call_expression "fprintf(*(FILE **)puVar3," %d",(int)sVar2)" identifier (argument_list "(*(FILE **)puVar3," %d",(int)sVar2)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" %d"" " string_content ") , (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }) while (parenthesized_expression "(yybottom != psVar1)" ( (binary_expression "yybottom != psVar1" identifier != identifier) )) ;) })) (expression_statement "fputc(10,*(FILE **)puVar3);" (call_expression "fputc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00017d00(short *param_1,short *param_2)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00017d00(short *param_1,short *param_2)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017d00(short *param_1,short *param_2)" identifier (parameter_list "(short *param_1,short *param_2)" ( (parameter_declaration "short *param_1" (sized_type_specifier "short" short) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "short *param_2" (sized_type_specifier "short" short) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR_stderr_001bef98;" (assignment_expression "puVar3 = PTR_stderr_001bef98" identifier = identifier) ;) (expression_statement "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);" (call_expression "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" identifier (argument_list "("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" ( (string_literal ""Stack now"" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_001bef98" * (cast_expression "(FILE **)PTR_stderr_001bef98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (if_statement "if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }" if (parenthesized_expression "(param_1 <= param_2)" ( (binary_expression "param_1 <= param_2" identifier <= identifier) )) (compound_statement "{\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }" { (expression_statement "psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);" (assignment_expression "psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" identifier = (cast_expression "(short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" ( (binary_expression "(int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2" (binary_expression "(int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)param_1 & 0xfffffffeU)" ( (binary_expression "(int)param_2 - (int)param_1 & 0xfffffffeU" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) ))) + number_literal) )))) ;) (do_statement "do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);" do (compound_statement "{\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    }" { (expression_statement "sVar2 = *param_1;" (assignment_expression "sVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "fprintf(*(FILE **)puVar3," %d",(int)sVar2);" (call_expression "fprintf(*(FILE **)puVar3," %d",(int)sVar2)" identifier (argument_list "(*(FILE **)puVar3," %d",(int)sVar2)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" %d"" " string_content ") , (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }) while (parenthesized_expression "(param_1 != psVar1)" ( (binary_expression "param_1 != psVar1" identifier != identifier) )) ;) })) (expression_statement "fputc(10,*(FILE **)puVar3);" (call_expression "fputc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT) ))) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00017d00(short *param_1,short *param_2)\n\n{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00017d00(short *param_1,short *param_2)" (identifier "FUN_00017d00") (parameter_list "(short *param_1,short *param_2)" (( "(") (parameter_declaration "short *param_1" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "short *param_2" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  short *psVar1;\n  short sVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stderr_001bef98;\n  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);\n  if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }\n  fputc(10,*(FILE **)puVar3);\n  return;\n}" ({ "{") (declaration "short *psVar1;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar1" (* "*") (identifier "psVar1")) (; ";")) (declaration "short sVar2;" (sized_type_specifier "short" (short "short")) (identifier "sVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = PTR_stderr_001bef98;" (assignment_expression "puVar3 = PTR_stderr_001bef98" (identifier "puVar3") (= "=") (identifier "PTR_stderr_001bef98")) (; ";")) (expression_statement "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);" (call_expression "fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" (identifier "fwrite") (argument_list "("Stack now",1,9,*(FILE **)PTR_stderr_001bef98)" (( "(") (string_literal ""Stack now"" (" """) (string_content "Stack now") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "9") (, ",") (pointer_expression "*(FILE **)PTR_stderr_001bef98" (* "*") (cast_expression "(FILE **)PTR_stderr_001bef98" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_001bef98"))) () ")"))) (; ";")) (if_statement "if (param_1 <= param_2) {\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }" (if "if") (parenthesized_expression "(param_1 <= param_2)" (( "(") (binary_expression "param_1 <= param_2" (identifier "param_1") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);\n    do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);\n  }" ({ "{") (expression_statement "psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);" (assignment_expression "psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" (identifier "psVar1") (= "=") (cast_expression "(short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2)" (( "(") (binary_expression "(int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2" (binary_expression "(int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "((int)param_2 - (int)param_1 & 0xfffffffeU)" (( "(") (binary_expression "(int)param_2 - (int)param_1 & 0xfffffffeU" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (& "&") (number_literal "0xfffffffeU")) () ")"))) (+ "+") (number_literal "2")) () ")")))) (; ";")) (do_statement "do {\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    } while (param_1 != psVar1);" (do "do") (compound_statement "{\n      sVar2 = *param_1;\n      param_1 = param_1 + 1;\n      fprintf(*(FILE **)puVar3," %d",(int)sVar2);\n    }" ({ "{") (expression_statement "sVar2 = *param_1;" (assignment_expression "sVar2 = *param_1" (identifier "sVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "fprintf(*(FILE **)puVar3," %d",(int)sVar2);" (call_expression "fprintf(*(FILE **)puVar3," %d",(int)sVar2)" (identifier "fprintf") (argument_list "(*(FILE **)puVar3," %d",(int)sVar2)" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) (, ",") (string_literal "" %d"" (" """) (string_content " %d") (" """)) (, ",") (cast_expression "(int)sVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar2")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != psVar1)" (( "(") (binary_expression "param_1 != psVar1" (identifier "param_1") (!= "!=") (identifier "psVar1")) () ")")) (; ";")) (} "}"))) (expression_statement "fputc(10,*(FILE **)puVar3);" (call_expression "fputc(10,*(FILE **)puVar3)" (identifier "fputc") (argument_list "(10,*(FILE **)puVar3)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *var_2,type_1 *var_3)

{
  short *var_5;
  short sVar2;
  type_2 *puVar3;
  
  puVar3 = PTR_stderr_001bef98;
  var_1("Stack now",1,9,*(type_3 **)PTR_stderr_001bef98);
  if (var_2 <= var_3) {
    var_5 = (short *)((int)var_2 + ((int)var_3 - (int)var_2 & 0xfffffffeU) + 2);
    do {
      sVar2 = *var_2;
      var_2 = var_2 + 1;
      var_4(*(type_3 **)puVar3," %d",(int)sVar2);
    } while (var_2 != var_5);
  }
  var_6(10,*(type_3 **)puVar3);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) (string_literal (string_content)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) (return_statement))))

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

void __regparm3 MASKED(short *param_1,short *param_2)

{
  short *psVar1;
  short sVar2;
  undefined *puVar3;
  
  puVar3 = PTR_stderr_001bef98;
  fwrite("Stack now",1,9,*(FILE **)PTR_stderr_001bef98);
  if (param_1 <= param_2) {
    psVar1 = (short *)((int)param_1 + ((int)param_2 - (int)param_1 & 0xfffffffeU) + 2);
    do {
      sVar2 = *param_1;
      param_1 = param_1 + 1;
      fprintf(*(FILE **)puVar3," %d",(int)sVar2);
    } while (param_1 != psVar1);
  }
  fputc(10,*(FILE **)puVar3);
  return;
}

