
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void pop_stat_ptr(void)

{
  lang_statement_list_type **pplVar1;
  
  if (stat_save < stat_save_ptr) {
    pplVar1 = stat_save_ptr + -1;
    stat_save_ptr = stat_save_ptr + -1;
    stat_ptr = *pplVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  pop_stat_ptr();
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_00023f00(void)

{
  undefined4 *puVar1;
  
  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {
    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);
    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;
    PTR_DAT_001c23b8 = (undefined *)*puVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00023780();
}


CALL 0x0001d3b2
ADD EAX,0x19e0fb
MOV EDX,dword ptr [EAX + 0x3bc]
LEA ECX,[EAX + 0x18e0]
CMP EDX,ECX
JBE 0x00023f2d
LEA ECX,[EDX + -0x4]
MOV EDX,dword ptr [EDX + -0x4]
MOV dword ptr [EAX + 0x3bc],ECX
MOV dword ptr [EAX + 0x3b8],EDX
RET
SUB ESP,0xc
CALL 0x00023780
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00023f00(void)\n\n{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00023780();\n}\n\n" comment (function_definition "void FUN_00023f00(void)\n\n{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00023780();\n}" primitive_type (function_declarator "FUN_00023f00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00023780();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }" if (parenthesized_expression "(&DAT_001c38e0 < PTR_DAT_001c23bc)" ( (binary_expression "&DAT_001c38e0 < PTR_DAT_001c23bc" (pointer_expression "&DAT_001c38e0" & identifier) < identifier) )) (compound_statement "{\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }" { (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_001c23bc + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001c23bc + -4)" ( (binary_expression "PTR_DAT_001c23bc + -4" identifier + number_literal) )))) ;) (expression_statement "PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;" (assignment_expression "PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4" identifier = (binary_expression "PTR_DAT_001c23bc + -4" identifier + number_literal)) ;) (expression_statement "PTR_DAT_001c23b8 = (undefined *)*puVar1;" (assignment_expression "PTR_DAT_001c23b8 = (undefined *)*puVar1" identifier = (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00023780();" (call_expression "FUN_00023780()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid pop_stat_ptr(void)\n\n{\n  lang_statement_list_type **pplVar1;\n  \n  if (stat_save < stat_save_ptr) {\n    pplVar1 = stat_save_ptr + -1;\n    stat_save_ptr = stat_save_ptr + -1;\n    stat_ptr = *pplVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  pop_stat_ptr();\n}\n\n" comment comment (function_definition "void pop_stat_ptr(void)\n\n{\n  lang_statement_list_type **pplVar1;\n  \n  if (stat_save < stat_save_ptr) {\n    pplVar1 = stat_save_ptr + -1;\n    stat_save_ptr = stat_save_ptr + -1;\n    stat_ptr = *pplVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  pop_stat_ptr();\n}" primitive_type (function_declarator "pop_stat_ptr(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  lang_statement_list_type **pplVar1;\n  \n  if (stat_save < stat_save_ptr) {\n    pplVar1 = stat_save_ptr + -1;\n    stat_save_ptr = stat_save_ptr + -1;\n    stat_ptr = *pplVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  pop_stat_ptr();\n}" { (declaration "lang_statement_list_type **pplVar1;" type_identifier (pointer_declarator "**pplVar1" * (pointer_declarator "*pplVar1" * identifier)) ;) (if_statement "if (stat_save < stat_save_ptr) {\n    pplVar1 = stat_save_ptr + -1;\n    stat_save_ptr = stat_save_ptr + -1;\n    stat_ptr = *pplVar1;\n    return;\n  }" if (parenthesized_expression "(stat_save < stat_save_ptr)" ( (binary_expression "stat_save < stat_save_ptr" identifier < identifier) )) (compound_statement "{\n    pplVar1 = stat_save_ptr + -1;\n    stat_save_ptr = stat_save_ptr + -1;\n    stat_ptr = *pplVar1;\n    return;\n  }" { (expression_statement "pplVar1 = stat_save_ptr + -1;" (assignment_expression "pplVar1 = stat_save_ptr + -1" identifier = (binary_expression "stat_save_ptr + -1" identifier + number_literal)) ;) (expression_statement "stat_save_ptr = stat_save_ptr + -1;" (assignment_expression "stat_save_ptr = stat_save_ptr + -1" identifier = (binary_expression "stat_save_ptr + -1" identifier + number_literal)) ;) (expression_statement "stat_ptr = *pplVar1;" (assignment_expression "stat_ptr = *pplVar1" identifier = (pointer_expression "*pplVar1" * identifier)) ;) (return_statement "return;" return ;) })) comment (expression_statement "pop_stat_ptr();" (call_expression "pop_stat_ptr()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00023f00(void)\n\n{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    \n  FUN_00023780();\n}\n\n" (function_definition "void FUN_00023f00(void)\n\n{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    \n  FUN_00023780();\n}" primitive_type (function_declarator "FUN_00023f00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    \n  FUN_00023780();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }" if (parenthesized_expression "(&DAT_001c38e0 < PTR_DAT_001c23bc)" ( (binary_expression "&DAT_001c38e0 < PTR_DAT_001c23bc" (pointer_expression "&DAT_001c38e0" & identifier) < identifier) )) (compound_statement "{\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }" { (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_001c23bc + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001c23bc + -4)" ( (binary_expression "PTR_DAT_001c23bc + -4" identifier + number_literal) )))) ;) (expression_statement "PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;" (assignment_expression "PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4" identifier = (binary_expression "PTR_DAT_001c23bc + -4" identifier + number_literal)) ;) (expression_statement "PTR_DAT_001c23b8 = (undefined *)*puVar1;" (assignment_expression "PTR_DAT_001c23b8 = (undefined *)*puVar1" identifier = (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00023780();" (call_expression "FUN_00023780()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00023f00(void)\n\n{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    \n  FUN_00023780();\n}" (primitive_type "void") (function_declarator "FUN_00023f00(void)" (identifier "FUN_00023f00") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }\n                    \n  FUN_00023780();\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (&DAT_001c38e0 < PTR_DAT_001c23bc) {\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }" (if "if") (parenthesized_expression "(&DAT_001c38e0 < PTR_DAT_001c23bc)" (( "(") (binary_expression "&DAT_001c38e0 < PTR_DAT_001c23bc" (pointer_expression "&DAT_001c38e0" (& "&") (identifier "DAT_001c38e0")) (< "<") (identifier "PTR_DAT_001c23bc")) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);\n    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;\n    PTR_DAT_001c23b8 = (undefined *)*puVar1;\n    return;\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_001c23bc + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_001c23bc + -4)" (( "(") (binary_expression "PTR_DAT_001c23bc + -4" (identifier "PTR_DAT_001c23bc") (+ "+") (number_literal "-4")) () ")")))) (; ";")) (expression_statement "PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;" (assignment_expression "PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4" (identifier "PTR_DAT_001c23bc") (= "=") (binary_expression "PTR_DAT_001c23bc + -4" (identifier "PTR_DAT_001c23bc") (+ "+") (number_literal "-4"))) (; ";")) (expression_statement "PTR_DAT_001c23b8 = (undefined *)*puVar1;" (assignment_expression "PTR_DAT_001c23b8 = (undefined *)*puVar1" (identifier "PTR_DAT_001c23b8") (= "=") (cast_expression "(undefined *)*puVar1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00023780();" (call_expression "FUN_00023780()" (identifier "FUN_00023780") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 **pplVar1;
  
  if (var_1 < var_2) {
    pplVar1 = var_2 + -1;
    var_2 = var_2 + -1;
    stat_ptr = *pplVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  function_1();
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(void)

{
  undefined4 *puVar1;
  
  if (&DAT_001c38e0 < PTR_DAT_001c23bc) {
    puVar1 = (undefined4 *)(PTR_DAT_001c23bc + -4);
    PTR_DAT_001c23bc = PTR_DAT_001c23bc + -4;
    PTR_DAT_001c23b8 = (undefined *)*puVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00023780();
}

