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

void s390_elf_final_processing(void)

{
  ulong *puVar1;
  
  if (set_highgprs_p != 0) {
    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;
    *puVar1 = *puVar1 | 1;
  }
  return;
}



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

void FUN_00044020(void)

{
  uint *puVar1;
  
  if (DAT_00070cdc != 0) {
    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);
    *puVar1 = *puVar1 | 1;
  }
  return;
}


CALL 0x00016cfa
ADD EAX,0x23fdb
MOV EDX,dword ptr [EAX + 0x8cdc]
TEST EDX,EDX
JZ 0x00044046
LEA EAX,[EAX + 0x8fc4]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0xa0]
OR dword ptr [EAX + 0x2c],0x1
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00044020(void)\n\n{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00044020(void)\n\n{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00044020(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }" if (parenthesized_expression "(DAT_00070cdc != 0)" ( (binary_expression "DAT_00070cdc != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }" { (expression_statement "puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);" (assignment_expression "puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" identifier = (cast_expression "(uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" ( (binary_expression "*(int *)(DAT_00070fc4 + 0xa0) + 0x2c" (pointer_expression "*(int *)(DAT_00070fc4 + 0xa0)" * (cast_expression "(int *)(DAT_00070fc4 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00070fc4 + 0xa0)" ( (binary_expression "DAT_00070fc4 + 0xa0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (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 -- yet parameter storage is locked */\n\nvoid s390_elf_final_processing(void)\n\n{\n  ulong *puVar1;\n  \n  if (set_highgprs_p != 0) {\n    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}\n\n" comment comment (function_definition "void s390_elf_final_processing(void)\n\n{\n  ulong *puVar1;\n  \n  if (set_highgprs_p != 0) {\n    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" primitive_type (function_declarator "s390_elf_final_processing(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  ulong *puVar1;\n  \n  if (set_highgprs_p != 0) {\n    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (set_highgprs_p != 0) {\n    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;\n    *puVar1 = *puVar1 | 1;\n  }" if (parenthesized_expression "(set_highgprs_p != 0)" ( (binary_expression "set_highgprs_p != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;\n    *puVar1 = *puVar1 | 1;\n  }" { (expression_statement "puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;" (assignment_expression "puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags" identifier = (pointer_expression "&((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags" & (field_expression "((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags" (subscript_expression "((stdoutput->tdata).elf_obj_data)->elf_header[0]" (field_expression "((stdoutput->tdata).elf_obj_data)->elf_header" (parenthesized_expression "((stdoutput->tdata).elf_obj_data)" ( (field_expression "(stdoutput->tdata).elf_obj_data" (parenthesized_expression "(stdoutput->tdata)" ( (field_expression "stdoutput->tdata" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) [ number_literal ]) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00044020(void)\n\n{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00044020(void)\n\n{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00044020(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }" if (parenthesized_expression "(DAT_00070cdc != 0)" ( (binary_expression "DAT_00070cdc != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }" { (expression_statement "puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);" (assignment_expression "puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" identifier = (cast_expression "(uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" ( (binary_expression "*(int *)(DAT_00070fc4 + 0xa0) + 0x2c" (pointer_expression "*(int *)(DAT_00070fc4 + 0xa0)" * (cast_expression "(int *)(DAT_00070fc4 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00070fc4 + 0xa0)" ( (binary_expression "DAT_00070fc4 + 0xa0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (return_statement "return;" return ;) })))
(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 IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00044020(void)\n\n{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00044020(void)" (identifier "FUN_00044020") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  \n  if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (DAT_00070cdc != 0) {\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }" (if "if") (parenthesized_expression "(DAT_00070cdc != 0)" (( "(") (binary_expression "DAT_00070cdc != 0" (identifier "DAT_00070cdc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);\n    *puVar1 = *puVar1 | 1;\n  }" ({ "{") (expression_statement "puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);" (assignment_expression "puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c)" (( "(") (binary_expression "*(int *)(DAT_00070fc4 + 0xa0) + 0x2c" (pointer_expression "*(int *)(DAT_00070fc4 + 0xa0)" (* "*") (cast_expression "(int *)(DAT_00070fc4 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00070fc4 + 0xa0)" (( "(") (binary_expression "DAT_00070fc4 + 0xa0" (identifier "DAT_00070fc4") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x2c")) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* 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 *puVar1;
  
  if (var_1 != 0) {
    puVar1 = &((stdoutput->tdata).elf_obj_data)->elf_header[0].e_flags;
    *puVar1 = *puVar1 | 1;
  }
  return;
}


(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: (identifier) right: (number_literal))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (return_statement))))

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

void MASKED(void)

{
  uint *puVar1;
  
  if (DAT_00070cdc != 0) {
    puVar1 = (uint *)(*(int *)(DAT_00070fc4 + 0xa0) + 0x2c);
    *puVar1 = *puVar1 | 1;
  }
  return;
}

