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

void record_alignment(segT seg,uint align)

{
  if ((seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align)) {
    seg->alignment_power = align;
  }
  return;
}



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

void FUN_0003f050(undefined *param_1,uint param_2)

{
  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {
    *(uint *)(param_1 + 0x58) = param_2;
  }
  return;
}


CALL 0x00019aa5
ADD ECX,0x2ffab
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ECX + 0xffffffb4]
ADD ECX,0x180
CMP EAX,ECX
JZ 0x0003f07b
CMP dword ptr [EAX + 0x58],EDX
JNC 0x0003f07b
MOV dword ptr [EAX + 0x58],EDX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_0003f050(undefined *param_1,uint param_2)\n\n{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0003f050(undefined *param_1,uint param_2)\n\n{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003f050(undefined *param_1,uint param_2)" identifier (parameter_list "(undefined *param_1,uint param_2)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}" { (if_statement "if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }" if (parenthesized_expression "((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2))" ( (binary_expression "(param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)" (parenthesized_expression "(param_1 != PTR__bfd_std_section_0006efb4 + 0x180)" ( (binary_expression "param_1 != PTR__bfd_std_section_0006efb4 + 0x180" identifier != (binary_expression "PTR__bfd_std_section_0006efb4 + 0x180" identifier + number_literal)) )) && (parenthesized_expression "(*(uint *)(param_1 + 0x58) < param_2)" ( (binary_expression "*(uint *)(param_1 + 0x58) < param_2" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) < identifier) ))) )) (compound_statement "{\n    *(uint *)(param_1 + 0x58) = param_2;\n  }" { (expression_statement "*(uint *)(param_1 + 0x58) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x58) = param_2" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid record_alignment(segT seg,uint align)\n\n{\n  if ((seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align)) {\n    seg->alignment_power = align;\n  }\n  return;\n}\n\n" comment (function_definition "void record_alignment(segT seg,uint align)\n\n{\n  if ((seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align)) {\n    seg->alignment_power = align;\n  }\n  return;\n}" primitive_type (function_declarator "record_alignment(segT seg,uint align)" identifier (parameter_list "(segT seg,uint align)" ( (parameter_declaration "segT seg" type_identifier identifier) , (parameter_declaration "uint align" type_identifier identifier) ))) (compound_statement "{\n  if ((seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align)) {\n    seg->alignment_power = align;\n  }\n  return;\n}" { (if_statement "if ((seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align)) {\n    seg->alignment_power = align;\n  }" if (parenthesized_expression "((seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align))" ( (binary_expression "(seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)) && (seg->alignment_power < align)" (parenthesized_expression "(seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180))" ( (binary_expression "seg != (segT)(PTR__bfd_std_section_0006efb4 + 0x180)" identifier != (call_expression "(segT)(PTR__bfd_std_section_0006efb4 + 0x180)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_0006efb4 + 0x180)" ( (binary_expression "PTR__bfd_std_section_0006efb4 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(seg->alignment_power < align)" ( (binary_expression "seg->alignment_power < align" (field_expression "seg->alignment_power" identifier -> field_identifier) < identifier) ))) )) (compound_statement "{\n    seg->alignment_power = align;\n  }" { (expression_statement "seg->alignment_power = align;" (assignment_expression "seg->alignment_power = align" (field_expression "seg->alignment_power" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003f050(undefined *param_1,uint param_2)\n\n{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003f050(undefined *param_1,uint param_2)\n\n{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003f050(undefined *param_1,uint param_2)" identifier (parameter_list "(undefined *param_1,uint param_2)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}" { (if_statement "if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }" if (parenthesized_expression "((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2))" ( (binary_expression "(param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)" (parenthesized_expression "(param_1 != PTR__bfd_std_section_0006efb4 + 0x180)" ( (binary_expression "param_1 != PTR__bfd_std_section_0006efb4 + 0x180" identifier != (binary_expression "PTR__bfd_std_section_0006efb4 + 0x180" identifier + number_literal)) )) && (parenthesized_expression "(*(uint *)(param_1 + 0x58) < param_2)" ( (binary_expression "*(uint *)(param_1 + 0x58) < param_2" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) < identifier) ))) )) (compound_statement "{\n    *(uint *)(param_1 + 0x58) = param_2;\n  }" { (expression_statement "*(uint *)(param_1 + 0x58) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x58) = param_2" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = 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 != (binary_expression IDENT + LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0003f050(undefined *param_1,uint param_2)\n\n{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003f050(undefined *param_1,uint param_2)" (identifier "FUN_0003f050") (parameter_list "(undefined *param_1,uint param_2)" (( "(") (parameter_declaration "undefined *param_1" (type_identifier "undefined") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }\n  return;\n}" ({ "{") (if_statement "if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {\n    *(uint *)(param_1 + 0x58) = param_2;\n  }" (if "if") (parenthesized_expression "((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2))" (( "(") (binary_expression "(param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)" (parenthesized_expression "(param_1 != PTR__bfd_std_section_0006efb4 + 0x180)" (( "(") (binary_expression "param_1 != PTR__bfd_std_section_0006efb4 + 0x180" (identifier "param_1") (!= "!=") (binary_expression "PTR__bfd_std_section_0006efb4 + 0x180" (identifier "PTR__bfd_std_section_0006efb4") (+ "+") (number_literal "0x180"))) () ")")) (&& "&&") (parenthesized_expression "(*(uint *)(param_1 + 0x58) < param_2)" (( "(") (binary_expression "*(uint *)(param_1 + 0x58) < param_2" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (< "<") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n    *(uint *)(param_1 + 0x58) = param_2;\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x58) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x58) = param_2" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 var_1,type_2 var_3)

{
  if ((var_1 != (type_1)(var_2 + 0x180)) && (var_1->alignment_power < var_3)) {
    var_1->alignment_power = var_3;
  }
  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: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (return_statement))))

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

void MASKED(undefined *param_1,uint param_2)

{
  if ((param_1 != PTR__bfd_std_section_0006efb4 + 0x180) && (*(uint *)(param_1 + 0x58) < param_2)) {
    *(uint *)(param_1 + 0x58) = param_2;
  }
  return;
}

