
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

char * as_where_physical(uint *linep)

{
  char *pcVar1;
  
  pcVar1 = physical_input_file;
  if (physical_input_file == (char *)0x0) {
    if (linep != (uint *)0x0) {
      *linep = 0;
    }
  }
  else if (linep != (uint *)0x0) {
    *linep = physical_input_line;
    return pcVar1;
  }
  return pcVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_00024fa0(undefined4 *param_1)

{
  if (DAT_0007c8a8 == 0) {
    if (param_1 != (undefined4 *)0x0) {
      *param_1 = 0;
    }
  }
  else if (param_1 != (undefined4 *)0x0) {
    *param_1 = DAT_0007c8a0;
    return;
  }
  return;
}


CALL 0x00019bb5
ADD ECX,0x4f05b
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ECX + 0x88a8]
TEST EAX,EAX
JZ 0x00024fd0
TEST EDX,EDX
JZ 0x00024fda
MOV ECX,dword ptr [ECX + 0x88a0]
MOV dword ptr [EDX],ECX
RET
TEST EDX,EDX
JZ 0x00024fda
MOV dword ptr [EDX],0x0
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_00024fa0(undefined4 *param_1)\n\n{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00024fa0(undefined4 *param_1)\n\n{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024fa0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" if (parenthesized_expression "(DAT_0007c8a8 == 0)" ( (binary_expression "DAT_0007c8a8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_1 = 0;\n    }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) }) (else_clause "else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" else (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" { (expression_statement "*param_1 = DAT_0007c8a0;" (assignment_expression "*param_1 = DAT_0007c8a0" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nchar * as_where_physical(uint *linep)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = physical_input_file;\n  if (physical_input_file == (char *)0x0) {\n    if (linep != (uint *)0x0) {\n      *linep = 0;\n    }\n  }\n  else if (linep != (uint *)0x0) {\n    *linep = physical_input_line;\n    return pcVar1;\n  }\n  return pcVar1;\n}\n\n" comment (function_definition "char * as_where_physical(uint *linep)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = physical_input_file;\n  if (physical_input_file == (char *)0x0) {\n    if (linep != (uint *)0x0) {\n      *linep = 0;\n    }\n  }\n  else if (linep != (uint *)0x0) {\n    *linep = physical_input_line;\n    return pcVar1;\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* as_where_physical(uint *linep)" * (function_declarator "as_where_physical(uint *linep)" identifier (parameter_list "(uint *linep)" ( (parameter_declaration "uint *linep" type_identifier (pointer_declarator "*linep" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = physical_input_file;\n  if (physical_input_file == (char *)0x0) {\n    if (linep != (uint *)0x0) {\n      *linep = 0;\n    }\n  }\n  else if (linep != (uint *)0x0) {\n    *linep = physical_input_line;\n    return pcVar1;\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = physical_input_file;" (assignment_expression "pcVar1 = physical_input_file" identifier = identifier) ;) (if_statement "if (physical_input_file == (char *)0x0) {\n    if (linep != (uint *)0x0) {\n      *linep = 0;\n    }\n  }\n  else if (linep != (uint *)0x0) {\n    *linep = physical_input_line;\n    return pcVar1;\n  }" if (parenthesized_expression "(physical_input_file == (char *)0x0)" ( (binary_expression "physical_input_file == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (linep != (uint *)0x0) {\n      *linep = 0;\n    }\n  }" { (if_statement "if (linep != (uint *)0x0) {\n      *linep = 0;\n    }" if (parenthesized_expression "(linep != (uint *)0x0)" ( (binary_expression "linep != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *linep = 0;\n    }" { (expression_statement "*linep = 0;" (assignment_expression "*linep = 0" (pointer_expression "*linep" * identifier) = number_literal) ;) })) }) (else_clause "else if (linep != (uint *)0x0) {\n    *linep = physical_input_line;\n    return pcVar1;\n  }" else (if_statement "if (linep != (uint *)0x0) {\n    *linep = physical_input_line;\n    return pcVar1;\n  }" if (parenthesized_expression "(linep != (uint *)0x0)" ( (binary_expression "linep != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *linep = physical_input_line;\n    return pcVar1;\n  }" { (expression_statement "*linep = physical_input_line;" (assignment_expression "*linep = physical_input_line" (pointer_expression "*linep" * identifier) = identifier) ;) (return_statement "return pcVar1;" return identifier ;) })))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "void FUN_00024fa0(undefined4 *param_1)\n\n{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00024fa0(undefined4 *param_1)\n\n{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024fa0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" if (parenthesized_expression "(DAT_0007c8a8 == 0)" ( (binary_expression "DAT_0007c8a8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_1 = 0;\n    }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) }) (else_clause "else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" else (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" { (expression_statement "*param_1 = DAT_0007c8a0;" (assignment_expression "*param_1 = DAT_0007c8a0" (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)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))) (return_statement return ;) })))
(function_definition "void FUN_00024fa0(undefined4 *param_1)\n\n{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024fa0(undefined4 *param_1)" (identifier "FUN_00024fa0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_0007c8a8 == 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }\n  else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_0007c8a8 == 0)" (( "(") (binary_expression "DAT_0007c8a8 == 0" (identifier "DAT_0007c8a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }\n  }" ({ "{") (if_statement "if (param_1 != (undefined4 *)0x0) {\n      *param_1 = 0;\n    }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_1 = 0;\n    }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" (else "else") (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_1 = DAT_0007c8a0;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = DAT_0007c8a0;" (assignment_expression "*param_1 = DAT_0007c8a0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "DAT_0007c8a0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

char * function_1(type_1 *var_2)

{
  char *pcVar1;
  
  pcVar1 = var_1;
  if (var_1 == (char *)0x0) {
    if (var_2 != (type_1 *)0x0) {
      *var_2 = 0;
    }
  }
  else if (var_2 != (type_1 *)0x0) {
    *var_2 = physical_input_line;
    return pcVar1;
  }
  return pcVar1;
}


(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))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(undefined4 *param_1)

{
  if (DAT_0007c8a8 == 0) {
    if (param_1 != (undefined4 *)0x0) {
      *param_1 = 0;
    }
  }
  else if (param_1 != (undefined4 *)0x0) {
    *param_1 = DAT_0007c8a0;
    return;
  }
  return;
}

