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

void lang_enter_overlay(etree_type *vma_expr,etree_type *subalign)

{
  if (((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||
     (overlay_max != (etree_type *)0x0)) {
    info_assert("../../ld/ldlang.c",0x1f11);
  }
  overlay_vma = vma_expr;
  overlay_subalign = subalign;
  return;
}



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

void FUN_00029e70(undefined4 param_1,undefined4 param_2)

{
  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {
    FUN_00034d70("../../ld/ldlang.c",0x1f11);
  }
  DAT_001d06e0 = param_1;
  DAT_001d06dc = param_2;
  return;
}


PUSH EBX
CALL 0x00017b80
ADD EBX,0x1a518a
SUB ESP,0x8
MOV ECX,dword ptr [EBX + 0x16e0]
TEST ECX,ECX
JZ 0x00029ec0
SUB ESP,0x8
LEA EAX,[EBX + 0xffeabdbe]
PUSH 0x1f11
PUSH EAX
CALL 0x00034d70
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [EBX + 0x16e0],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EBX + 0x16dc],EAX
ADD ESP,0x8
POP EBX
RET
MOV EDX,dword ptr [EBX + 0x16dc]
TEST EDX,EDX
JNZ 0x00029e89
MOV EAX,dword ptr [EBX + 0x16d8]
TEST EAX,EAX
JNZ 0x00029e89
JMP 0x00029ea0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00029e70(undefined4 param_1,undefined4 param_2)\n\n{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}\n\n" comment (function_definition "void FUN_00029e70(undefined4 param_1,undefined4 param_2)\n\n{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_00029e70(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}" { (if_statement "if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }" if (parenthesized_expression "(((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0))" ( (binary_expression "((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)" (parenthesized_expression "((DAT_001d06e0 != 0) || (DAT_001d06dc != 0))" ( (binary_expression "(DAT_001d06e0 != 0) || (DAT_001d06dc != 0)" (parenthesized_expression "(DAT_001d06e0 != 0)" ( (binary_expression "DAT_001d06e0 != 0" identifier != number_literal) )) || (parenthesized_expression "(DAT_001d06dc != 0)" ( (binary_expression "DAT_001d06dc != 0" identifier != number_literal) ))) )) || (parenthesized_expression "(DAT_001d06d8 != 0)" ( (binary_expression "DAT_001d06d8 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }" { (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x1f11);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x1f11)" identifier (argument_list "("../../ld/ldlang.c",0x1f11)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "DAT_001d06e0 = param_1;" (assignment_expression "DAT_001d06e0 = param_1" identifier = identifier) ;) (expression_statement "DAT_001d06dc = param_2;" (assignment_expression "DAT_001d06dc = param_2" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid lang_enter_overlay(etree_type *vma_expr,etree_type *subalign)\n\n{\n  if (((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||\n     (overlay_max != (etree_type *)0x0)) {\n    info_assert("../../ld/ldlang.c",0x1f11);\n  }\n  overlay_vma = vma_expr;\n  overlay_subalign = subalign;\n  return;\n}\n\n" comment comment (function_definition "void lang_enter_overlay(etree_type *vma_expr,etree_type *subalign)\n\n{\n  if (((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||\n     (overlay_max != (etree_type *)0x0)) {\n    info_assert("../../ld/ldlang.c",0x1f11);\n  }\n  overlay_vma = vma_expr;\n  overlay_subalign = subalign;\n  return;\n}" primitive_type (function_declarator "lang_enter_overlay(etree_type *vma_expr,etree_type *subalign)" identifier (parameter_list "(etree_type *vma_expr,etree_type *subalign)" ( (parameter_declaration "etree_type *vma_expr" type_identifier (pointer_declarator "*vma_expr" * identifier)) , (parameter_declaration "etree_type *subalign" type_identifier (pointer_declarator "*subalign" * identifier)) ))) (compound_statement "{\n  if (((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||\n     (overlay_max != (etree_type *)0x0)) {\n    info_assert("../../ld/ldlang.c",0x1f11);\n  }\n  overlay_vma = vma_expr;\n  overlay_subalign = subalign;\n  return;\n}" { (if_statement "if (((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||\n     (overlay_max != (etree_type *)0x0)) {\n    info_assert("../../ld/ldlang.c",0x1f11);\n  }" if (parenthesized_expression "(((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||\n     (overlay_max != (etree_type *)0x0))" ( (binary_expression "((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)) ||\n     (overlay_max != (etree_type *)0x0)" (parenthesized_expression "((overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0))" ( (binary_expression "(overlay_vma != (etree_type *)0x0) || (overlay_subalign != (etree_type *)0x0)" (parenthesized_expression "(overlay_vma != (etree_type *)0x0)" ( (binary_expression "overlay_vma != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(overlay_subalign != (etree_type *)0x0)" ( (binary_expression "overlay_subalign != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(overlay_max != (etree_type *)0x0)" ( (binary_expression "overlay_max != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    info_assert("../../ld/ldlang.c",0x1f11);\n  }" { (expression_statement "info_assert("../../ld/ldlang.c",0x1f11);" (call_expression "info_assert("../../ld/ldlang.c",0x1f11)" identifier (argument_list "("../../ld/ldlang.c",0x1f11)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "overlay_vma = vma_expr;" (assignment_expression "overlay_vma = vma_expr" identifier = identifier) ;) (expression_statement "overlay_subalign = subalign;" (assignment_expression "overlay_subalign = subalign" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00029e70(undefined4 param_1,undefined4 param_2)\n\n{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}\n\n" (function_definition "void FUN_00029e70(undefined4 param_1,undefined4 param_2)\n\n{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_00029e70(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}" { (if_statement "if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }" if (parenthesized_expression "(((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0))" ( (binary_expression "((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)" (parenthesized_expression "((DAT_001d06e0 != 0) || (DAT_001d06dc != 0))" ( (binary_expression "(DAT_001d06e0 != 0) || (DAT_001d06dc != 0)" (parenthesized_expression "(DAT_001d06e0 != 0)" ( (binary_expression "DAT_001d06e0 != 0" identifier != number_literal) )) || (parenthesized_expression "(DAT_001d06dc != 0)" ( (binary_expression "DAT_001d06dc != 0" identifier != number_literal) ))) )) || (parenthesized_expression "(DAT_001d06d8 != 0)" ( (binary_expression "DAT_001d06d8 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }" { (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x1f11);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x1f11)" identifier (argument_list "("../../ld/ldlang.c",0x1f11)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "DAT_001d06e0 = param_1;" (assignment_expression "DAT_001d06e0 = param_1" identifier = identifier) ;) (expression_statement "DAT_001d06dc = param_2;" (assignment_expression "DAT_001d06dc = param_2" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00029e70(undefined4 param_1,undefined4 param_2)\n\n{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00029e70(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00029e70") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }\n  DAT_001d06e0 = param_1;\n  DAT_001d06dc = param_2;\n  return;\n}" ({ "{") (if_statement "if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }" (if "if") (parenthesized_expression "(((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0))" (( "(") (binary_expression "((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)" (parenthesized_expression "((DAT_001d06e0 != 0) || (DAT_001d06dc != 0))" (( "(") (binary_expression "(DAT_001d06e0 != 0) || (DAT_001d06dc != 0)" (parenthesized_expression "(DAT_001d06e0 != 0)" (( "(") (binary_expression "DAT_001d06e0 != 0" (identifier "DAT_001d06e0") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(DAT_001d06dc != 0)" (( "(") (binary_expression "DAT_001d06dc != 0" (identifier "DAT_001d06dc") (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(DAT_001d06d8 != 0)" (( "(") (binary_expression "DAT_001d06d8 != 0" (identifier "DAT_001d06d8") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x1f11);\n  }" ({ "{") (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x1f11);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x1f11)" (identifier "FUN_00034d70") (argument_list "("../../ld/ldlang.c",0x1f11)" (( "(") (string_literal ""../../ld/ldlang.c"" (" """) (string_content "../../ld/ldlang.c") (" """)) (, ",") (number_literal "0x1f11") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_001d06e0 = param_1;" (assignment_expression "DAT_001d06e0 = param_1" (identifier "DAT_001d06e0") (= "=") (identifier "param_1")) (; ";")) (expression_statement "DAT_001d06dc = param_2;" (assignment_expression "DAT_001d06dc = param_2" (identifier "DAT_001d06dc") (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *vma_expr,type_1 *subalign)

{
  if (((var_1 != (type_1 *)0x0) || (var_2 != (type_1 *)0x0)) ||
     (var_3 != (type_1 *)0x0)) {
    var_4("../../ld/ldlang.c",0x1f11);
  }
  var_1 = vma_expr;
  var_2 = subalign;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  if (((DAT_001d06e0 != 0) || (DAT_001d06dc != 0)) || (DAT_001d06d8 != 0)) {
    FUN_00034d70("../../ld/ldlang.c",0x1f11);
  }
  DAT_001d06e0 = param_1;
  DAT_001d06dc = param_2;
  return;
}

