
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void lang_add_output(char *name,int from_script)

{
  if ((had_output_filename == 0) || (from_script == 0)) {
    had_output_filename = 1;
    output_filename = name;
  }
  return;
}



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

void FUN_00028720(undefined *param_1,int param_2)

{
  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {
    DAT_001cf6ac = 1;
    PTR_DAT_001ce3fc = param_1;
  }
  return;
}


CALL 0x0001d2e2
ADD EAX,0x1a58db
MOV ECX,dword ptr [EAX + 0x16ac]
TEST ECX,ECX
JZ 0x0002873c
MOV EDX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JNZ 0x00028752
MOV ECX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0x3fc]
MOV dword ptr [EAX + 0x16ac],0x1
MOV dword ptr [EDX],ECX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00028720(undefined *param_1,int param_2)\n\n{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00028720(undefined *param_1,int param_2)\n\n{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00028720(undefined *param_1,int param_2)" identifier (parameter_list "(undefined *param_1,int param_2)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}" { (if_statement "if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }" if (parenthesized_expression "((DAT_001cf6ac == 0) || (param_2 == 0))" ( (binary_expression "(DAT_001cf6ac == 0) || (param_2 == 0)" (parenthesized_expression "(DAT_001cf6ac == 0)" ( (binary_expression "DAT_001cf6ac == 0" identifier == number_literal) )) || (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }" { (expression_statement "DAT_001cf6ac = 1;" (assignment_expression "DAT_001cf6ac = 1" identifier = number_literal) ;) (expression_statement "PTR_DAT_001ce3fc = param_1;" (assignment_expression "PTR_DAT_001ce3fc = param_1" identifier = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid lang_add_output(char *name,int from_script)\n\n{\n  if ((had_output_filename == 0) || (from_script == 0)) {\n    had_output_filename = 1;\n    output_filename = name;\n  }\n  return;\n}\n\n" comment comment (function_definition "void lang_add_output(char *name,int from_script)\n\n{\n  if ((had_output_filename == 0) || (from_script == 0)) {\n    had_output_filename = 1;\n    output_filename = name;\n  }\n  return;\n}" primitive_type (function_declarator "lang_add_output(char *name,int from_script)" identifier (parameter_list "(char *name,int from_script)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int from_script" primitive_type identifier) ))) (compound_statement "{\n  if ((had_output_filename == 0) || (from_script == 0)) {\n    had_output_filename = 1;\n    output_filename = name;\n  }\n  return;\n}" { (if_statement "if ((had_output_filename == 0) || (from_script == 0)) {\n    had_output_filename = 1;\n    output_filename = name;\n  }" if (parenthesized_expression "((had_output_filename == 0) || (from_script == 0))" ( (binary_expression "(had_output_filename == 0) || (from_script == 0)" (parenthesized_expression "(had_output_filename == 0)" ( (binary_expression "had_output_filename == 0" identifier == number_literal) )) || (parenthesized_expression "(from_script == 0)" ( (binary_expression "from_script == 0" identifier == number_literal) ))) )) (compound_statement "{\n    had_output_filename = 1;\n    output_filename = name;\n  }" { (expression_statement "had_output_filename = 1;" (assignment_expression "had_output_filename = 1" identifier = number_literal) ;) (expression_statement "output_filename = name;" (assignment_expression "output_filename = name" identifier = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00028720(undefined *param_1,int param_2)\n\n{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00028720(undefined *param_1,int param_2)\n\n{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00028720(undefined *param_1,int param_2)" identifier (parameter_list "(undefined *param_1,int param_2)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}" { (if_statement "if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }" if (parenthesized_expression "((DAT_001cf6ac == 0) || (param_2 == 0))" ( (binary_expression "(DAT_001cf6ac == 0) || (param_2 == 0)" (parenthesized_expression "(DAT_001cf6ac == 0)" ( (binary_expression "DAT_001cf6ac == 0" identifier == number_literal) )) || (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }" { (expression_statement "DAT_001cf6ac = 1;" (assignment_expression "DAT_001cf6ac = 1" identifier = number_literal) ;) (expression_statement "PTR_DAT_001ce3fc = param_1;" (assignment_expression "PTR_DAT_001ce3fc = param_1" identifier = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00028720(undefined *param_1,int param_2)\n\n{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00028720(undefined *param_1,int param_2)" (identifier "FUN_00028720") (parameter_list "(undefined *param_1,int param_2)" (( "(") (parameter_declaration "undefined *param_1" (type_identifier "undefined") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }\n  return;\n}" ({ "{") (if_statement "if ((DAT_001cf6ac == 0) || (param_2 == 0)) {\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }" (if "if") (parenthesized_expression "((DAT_001cf6ac == 0) || (param_2 == 0))" (( "(") (binary_expression "(DAT_001cf6ac == 0) || (param_2 == 0)" (parenthesized_expression "(DAT_001cf6ac == 0)" (( "(") (binary_expression "DAT_001cf6ac == 0" (identifier "DAT_001cf6ac") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    DAT_001cf6ac = 1;\n    PTR_DAT_001ce3fc = param_1;\n  }" ({ "{") (expression_statement "DAT_001cf6ac = 1;" (assignment_expression "DAT_001cf6ac = 1" (identifier "DAT_001cf6ac") (= "=") (number_literal "1")) (; ";")) (expression_statement "PTR_DAT_001ce3fc = param_1;" (assignment_expression "PTR_DAT_001ce3fc = param_1" (identifier "PTR_DAT_001ce3fc") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(char *name,int var_2)

{
  if ((var_1 == 0) || (var_2 == 0)) {
    var_1 = 1;
    output_filename = name;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement))))

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

void MASKED(undefined *param_1,int param_2)

{
  if ((DAT_001cf6ac == 0) || (param_2 == 0)) {
    DAT_001cf6ac = 1;
    PTR_DAT_001ce3fc = param_1;
  }
  return;
}

