
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void set_local_file(char **file,char *default_file)

{
  if (opt.output_document == (char *)0x0) {
    *file = default_file;
  }
  else if (output_stream_regular) {
    *file = opt.output_document;
    return;
  }
  return;
}



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

void FUN_00043f00(int *param_1,int param_2)

{
  if (DAT_000a8ad4 == 0) {
    *param_1 = param_2;
  }
  else if (DAT_000a8c88 != '\0') {
    *param_1 = DAT_000a8ad4;
    return;
  }
  return;
}


CALL 0x000247ed
ADD EAX,0x5cccb
LEA EDX,[EAX + 0x7e70]
MOV EDX,dword ptr [EDX + 0x94]
TEST EDX,EDX
JZ 0x00043f30
LEA EAX,[EAX + 0x80b8]
CMP byte ptr [EAX],0x0
JZ 0x00043f3a
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX],EDX
RET
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [ECX],EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00043f00(int *param_1,int param_2)\n\n{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00043f00(int *param_1,int param_2)\n\n{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00043f00(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" if (parenthesized_expression "(DAT_000a8ad4 == 0)" ( (binary_expression "DAT_000a8ad4 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = param_2;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" else (if_statement "if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" if (parenthesized_expression "(DAT_000a8c88 != '\0')" ( (binary_expression "DAT_000a8c88 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" { (expression_statement "*param_1 = DAT_000a8ad4;" (assignment_expression "*param_1 = DAT_000a8ad4" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))) (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/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_local_file(char **file,char *default_file)\n\n{\n  if (opt.output_document == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (output_stream_regular) {\n    *file = opt.output_document;\n    return;\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void set_local_file(char **file,char *default_file)\n\n{\n  if (opt.output_document == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (output_stream_regular) {\n    *file = opt.output_document;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_local_file(char **file,char *default_file)" identifier (parameter_list "(char **file,char *default_file)" ( (parameter_declaration "char **file" primitive_type (pointer_declarator "**file" * (pointer_declarator "*file" * identifier))) , (parameter_declaration "char *default_file" primitive_type (pointer_declarator "*default_file" * identifier)) ))) (compound_statement "{\n  if (opt.output_document == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (output_stream_regular) {\n    *file = opt.output_document;\n    return;\n  }\n  return;\n}" { (if_statement "if (opt.output_document == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (output_stream_regular) {\n    *file = opt.output_document;\n    return;\n  }" if (parenthesized_expression "(opt.output_document == (char *)0x0)" ( (binary_expression "opt.output_document == (char *)0x0" (field_expression "opt.output_document" identifier . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *file = default_file;\n  }" { (expression_statement "*file = default_file;" (assignment_expression "*file = default_file" (pointer_expression "*file" * identifier) = identifier) ;) }) (else_clause "else if (output_stream_regular) {\n    *file = opt.output_document;\n    return;\n  }" else (if_statement "if (output_stream_regular) {\n    *file = opt.output_document;\n    return;\n  }" if (parenthesized_expression "(output_stream_regular)" ( identifier )) (compound_statement "{\n    *file = opt.output_document;\n    return;\n  }" { (expression_statement "*file = opt.output_document;" (assignment_expression "*file = opt.output_document" (pointer_expression "*file" * identifier) = (field_expression "opt.output_document" identifier . field_identifier)) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00043f00(int *param_1,int param_2)\n\n{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00043f00(int *param_1,int param_2)\n\n{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00043f00(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" if (parenthesized_expression "(DAT_000a8ad4 == 0)" ( (binary_expression "DAT_000a8ad4 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = param_2;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" else (if_statement "if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" if (parenthesized_expression "(DAT_000a8c88 != '\0')" ( (binary_expression "DAT_000a8c88 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" { (expression_statement "*param_1 = DAT_000a8ad4;" (assignment_expression "*param_1 = DAT_000a8ad4" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))) (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 IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))) (return_statement return ;) })))
(function_definition "void FUN_00043f00(int *param_1,int param_2)\n\n{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00043f00(int *param_1,int param_2)" (identifier "FUN_00043f00") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_000a8ad4 == 0) {\n    *param_1 = param_2;\n  }\n  else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_000a8ad4 == 0)" (( "(") (binary_expression "DAT_000a8ad4 == 0" (identifier "DAT_000a8ad4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = param_2;\n  }" ({ "{") (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" (else "else") (if_statement "if (DAT_000a8c88 != '\0') {\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_000a8c88 != '\0')" (( "(") (binary_expression "DAT_000a8c88 != '\0'" (identifier "DAT_000a8c88") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *param_1 = DAT_000a8ad4;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = DAT_000a8ad4;" (assignment_expression "*param_1 = DAT_000a8ad4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "DAT_000a8ad4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(char **file,char *default_file)

{
  if (opt.output_document == (char *)0x0) {
    *file = default_file;
  }
  else if (output_stream_regular) {
    *file = opt.output_document;
    return;
  }
  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: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))) (return_statement))))

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

void MASKED(int *param_1,int param_2)

{
  if (DAT_000a8ad4 == 0) {
    *param_1 = param_2;
  }
  else if (DAT_000a8c88 != '\0') {
    *param_1 = DAT_000a8ad4;
    return;
  }
  return;
}

