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

void sysv_internal_printer(bfd *file,sec_ptr sec,void *ignore)

{
  uint uVar1;
  bool bVar2;
  undefined4 in_stack_00000010;
  
  if (((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&
     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))) {
    uVar1 = (uint)sec->size;
    bVar2 = CARRY4((uint)svi_total,uVar1);
    svi_total._0_4_ = (uint)svi_total + uVar1;
    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;
    sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));
    return;
  }
  return;
}



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

void FUN_00011d10(undefined4 param_1,undefined *param_2)

{
  bool bVar1;
  
  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&
     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {
    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));
    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);
    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;
    param_1 = *(undefined4 *)(param_2 + 0x1c);
    FUN_00011c90();
    return;
  }
  return;
}


PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00011890
ADD EBX,0x72e5
MOV EDX,dword ptr [EBX + 0xffffffec]
LEA ECX,[EDX + 0x180]
CMP EAX,ECX
JZ 0x00011d41
TEST byte ptr [EAX + 0x15],0x10
JNZ 0x00011d41
ADD EDX,0xc0
CMP EAX,EDX
JNZ 0x00011d48
POP EBX
POP ESI
RET
MOV EDX,dword ptr [EAX + 0x2c]
MOV ECX,dword ptr [EAX + 0x30]
MOV ESI,dword ptr [EAX + 0x20]
ADD dword ptr [EBX + 0x200],EDX
ADC dword ptr [EBX + 0x204],ECX
MOV EBX,dword ptr [EAX + 0x1c]
MOV dword ptr [ESP + 0x10],ESI
MOV dword ptr [ESP + 0xc],EBX
MOV EAX,dword ptr [EAX]
POP EBX
POP ESI
JMP 0x00011c90
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00011d10(undefined4 param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00011d10(undefined4 param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00011d10(undefined4 param_1,undefined *param_2)" identifier (parameter_list "(undefined4 param_1,undefined *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }" if (parenthesized_expression "(((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0))" ( (binary_expression "((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)" (parenthesized_expression "((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0))" ( (binary_expression "(param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)" (parenthesized_expression "(param_2 != PTR__bfd_std_section_00018fec + 0x180)" ( (binary_expression "param_2 != PTR__bfd_std_section_00018fec + 0x180" identifier != (binary_expression "PTR__bfd_std_section_00018fec + 0x180" identifier + number_literal)) )) && (parenthesized_expression "((param_2[0x15] & 0x10) == 0)" ( (binary_expression "(param_2[0x15] & 0x10) == 0" (parenthesized_expression "(param_2[0x15] & 0x10)" ( (binary_expression "param_2[0x15] & 0x10" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(param_2 != PTR__bfd_std_section_00018fec + 0xc0)" ( (binary_expression "param_2 != PTR__bfd_std_section_00018fec + 0xc0" identifier != (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }" { (expression_statement "bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));" (assignment_expression "bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c))" identifier = (call_expression "CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c))" identifier (argument_list "(DAT_00019200,*(uint *)(param_2 + 0x2c))" ( identifier , (pointer_expression "*(uint *)(param_2 + 0x2c)" * (cast_expression "(uint *)(param_2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) )))) ;) (expression_statement "DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);" (assignment_expression "DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c)" identifier = (binary_expression "DAT_00019200 + *(uint *)(param_2 + 0x2c)" identifier + (pointer_expression "*(uint *)(param_2 + 0x2c)" * (cast_expression "(uint *)(param_2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))))) ;) (expression_statement "DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;" (assignment_expression "DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1" identifier = (binary_expression "DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1" (binary_expression "DAT_00019204 + *(int *)(param_2 + 0x30)" identifier + (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "param_1 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "param_1 = *(undefined4 *)(param_2 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "FUN_00011c90();" (call_expression "FUN_00011c90()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid sysv_internal_printer(bfd *file,sec_ptr sec,void *ignore)\n\n{\n  uint uVar1;\n  bool bVar2;\n  undefined4 in_stack_00000010;\n  \n  if (((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&\n     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = (uint)sec->size;\n    bVar2 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;\n    sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void sysv_internal_printer(bfd *file,sec_ptr sec,void *ignore)\n\n{\n  uint uVar1;\n  bool bVar2;\n  undefined4 in_stack_00000010;\n  \n  if (((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&\n     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = (uint)sec->size;\n    bVar2 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;\n    sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sysv_internal_printer(bfd *file,sec_ptr sec,void *ignore)" identifier (parameter_list "(bfd *file,sec_ptr sec,void *ignore)" ( (parameter_declaration "bfd *file" type_identifier (pointer_declarator "*file" * identifier)) , (parameter_declaration "sec_ptr sec" type_identifier identifier) , (parameter_declaration "void *ignore" primitive_type (pointer_declarator "*ignore" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  bool bVar2;\n  undefined4 in_stack_00000010;\n  \n  if (((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&\n     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = (uint)sec->size;\n    bVar2 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;\n    sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));\n    return;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 in_stack_00000010;" type_identifier identifier ;) (if_statement "if (((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&\n     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = (uint)sec->size;\n    bVar2 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;\n    sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));\n    return;\n  }" if (parenthesized_expression "(((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&\n     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0)))" ( (binary_expression "((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)) &&\n     (sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))" (parenthesized_expression "((sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0))" ( (binary_expression "(sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)) && ((sec->flags & 0x1000) == 0)" (parenthesized_expression "(sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180))" ( (binary_expression "sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)" identifier != (call_expression "(sec_ptr)(PTR__bfd_std_section_00018fec + 0x180)" (parenthesized_expression "(sec_ptr)" ( identifier )) (argument_list "(PTR__bfd_std_section_00018fec + 0x180)" ( (binary_expression "PTR__bfd_std_section_00018fec + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "((sec->flags & 0x1000) == 0)" ( (binary_expression "(sec->flags & 0x1000) == 0" (parenthesized_expression "(sec->flags & 0x1000)" ( (binary_expression "sec->flags & 0x1000" (field_expression "sec->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0))" ( (binary_expression "sec != (sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0)" identifier != (call_expression "(sec_ptr)(PTR__bfd_std_section_00018fec + 0xc0)" (parenthesized_expression "(sec_ptr)" ( identifier )) (argument_list "(PTR__bfd_std_section_00018fec + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" identifier + number_literal) )))) ))) )) (compound_statement "{\n    uVar1 = (uint)sec->size;\n    bVar2 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;\n    sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));\n    return;\n  }" { (expression_statement "uVar1 = (uint)sec->size;" (assignment_expression "uVar1 = (uint)sec->size" identifier = (cast_expression "(uint)sec->size" ( (type_descriptor "uint" type_identifier) ) (field_expression "sec->size" identifier -> field_identifier))) ;) (expression_statement "bVar2 = CARRY4((uint)svi_total,uVar1);" (assignment_expression "bVar2 = CARRY4((uint)svi_total,uVar1)" identifier = (call_expression "CARRY4((uint)svi_total,uVar1)" identifier (argument_list "((uint)svi_total,uVar1)" ( (cast_expression "(uint)svi_total" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier )))) ;) (expression_statement "svi_total._0_4_ = (uint)svi_total + uVar1;" (assignment_expression "svi_total._0_4_ = (uint)svi_total + uVar1" (field_expression "svi_total._0_4_" identifier . field_identifier) = (binary_expression "(uint)svi_total + uVar1" (cast_expression "(uint)svi_total" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier)) ;) (expression_statement "svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2;" (assignment_expression "svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2" (field_expression "svi_total._4_4_" identifier . field_identifier) = (binary_expression "svi_total._4_4_ + *(int *)((int)&sec->size + 4) + (uint)bVar2" (binary_expression "svi_total._4_4_ + *(int *)((int)&sec->size + 4)" (field_expression "svi_total._4_4_" identifier . field_identifier) + (pointer_expression "*(int *)((int)&sec->size + 4)" * (cast_expression "(int *)((int)&sec->size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sec->size + 4)" ( (binary_expression "(int)&sec->size + 4" (cast_expression "(int)&sec->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sec->size" & (field_expression "sec->size" identifier -> field_identifier))) + number_literal) ))))) + (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore));" (call_expression "sysv_one_line(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore))" identifier (argument_list "(sec->name,sec->vma,CONCAT44(in_stack_00000010,ignore))" ( (field_expression "sec->name" identifier -> field_identifier) , (field_expression "sec->vma" identifier -> field_identifier) , (call_expression "CONCAT44(in_stack_00000010,ignore)" identifier (argument_list "(in_stack_00000010,ignore)" ( identifier , identifier ))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00011d10(undefined4 param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00011d10(undefined4 param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00011d10(undefined4 param_1,undefined *param_2)" identifier (parameter_list "(undefined4 param_1,undefined *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }" if (parenthesized_expression "(((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0))" ( (binary_expression "((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)" (parenthesized_expression "((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0))" ( (binary_expression "(param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)" (parenthesized_expression "(param_2 != PTR__bfd_std_section_00018fec + 0x180)" ( (binary_expression "param_2 != PTR__bfd_std_section_00018fec + 0x180" identifier != (binary_expression "PTR__bfd_std_section_00018fec + 0x180" identifier + number_literal)) )) && (parenthesized_expression "((param_2[0x15] & 0x10) == 0)" ( (binary_expression "(param_2[0x15] & 0x10) == 0" (parenthesized_expression "(param_2[0x15] & 0x10)" ( (binary_expression "param_2[0x15] & 0x10" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(param_2 != PTR__bfd_std_section_00018fec + 0xc0)" ( (binary_expression "param_2 != PTR__bfd_std_section_00018fec + 0xc0" identifier != (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }" { (expression_statement "bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));" (assignment_expression "bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c))" identifier = (call_expression "CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c))" identifier (argument_list "(DAT_00019200,*(uint *)(param_2 + 0x2c))" ( identifier , (pointer_expression "*(uint *)(param_2 + 0x2c)" * (cast_expression "(uint *)(param_2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) )))) ;) (expression_statement "DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);" (assignment_expression "DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c)" identifier = (binary_expression "DAT_00019200 + *(uint *)(param_2 + 0x2c)" identifier + (pointer_expression "*(uint *)(param_2 + 0x2c)" * (cast_expression "(uint *)(param_2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))))) ;) (expression_statement "DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;" (assignment_expression "DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1" identifier = (binary_expression "DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1" (binary_expression "DAT_00019204 + *(int *)(param_2 + 0x30)" identifier + (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "param_1 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "param_1 = *(undefined4 *)(param_2 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "FUN_00011c90();" (call_expression "FUN_00011c90()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00011d10(undefined4 param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00011d10(undefined4 param_1,undefined *param_2)" (identifier "FUN_00011d10") (parameter_list "(undefined4 param_1,undefined *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (if_statement "if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }" (if "if") (parenthesized_expression "(((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0))" (( "(") (binary_expression "((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&\n     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)" (parenthesized_expression "((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0))" (( "(") (binary_expression "(param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)" (parenthesized_expression "(param_2 != PTR__bfd_std_section_00018fec + 0x180)" (( "(") (binary_expression "param_2 != PTR__bfd_std_section_00018fec + 0x180" (identifier "param_2") (!= "!=") (binary_expression "PTR__bfd_std_section_00018fec + 0x180" (identifier "PTR__bfd_std_section_00018fec") (+ "+") (number_literal "0x180"))) () ")")) (&& "&&") (parenthesized_expression "((param_2[0x15] & 0x10) == 0)" (( "(") (binary_expression "(param_2[0x15] & 0x10) == 0" (parenthesized_expression "(param_2[0x15] & 0x10)" (( "(") (binary_expression "param_2[0x15] & 0x10" (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]")) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != PTR__bfd_std_section_00018fec + 0xc0)" (( "(") (binary_expression "param_2 != PTR__bfd_std_section_00018fec + 0xc0" (identifier "param_2") (!= "!=") (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" (identifier "PTR__bfd_std_section_00018fec") (+ "+") (number_literal "0xc0"))) () ")"))) () ")")) (compound_statement "{\n    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));\n    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);\n    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;\n    param_1 = *(undefined4 *)(param_2 + 0x1c);\n    FUN_00011c90();\n    return;\n  }" ({ "{") (expression_statement "bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));" (assignment_expression "bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c))" (identifier "bVar1") (= "=") (call_expression "CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c))" (identifier "CARRY4") (argument_list "(DAT_00019200,*(uint *)(param_2 + 0x2c))" (( "(") (identifier "DAT_00019200") (, ",") (pointer_expression "*(uint *)(param_2 + 0x2c)" (* "*") (cast_expression "(uint *)(param_2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) () ")")))) (; ";")) (expression_statement "DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);" (assignment_expression "DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c)" (identifier "DAT_00019200") (= "=") (binary_expression "DAT_00019200 + *(uint *)(param_2 + 0x2c)" (identifier "DAT_00019200") (+ "+") (pointer_expression "*(uint *)(param_2 + 0x2c)" (* "*") (cast_expression "(uint *)(param_2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))))) (; ";")) (expression_statement "DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;" (assignment_expression "DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1" (identifier "DAT_00019204") (= "=") (binary_expression "DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1" (binary_expression "DAT_00019204 + *(int *)(param_2 + 0x30)" (identifier "DAT_00019204") (+ "+") (pointer_expression "*(int *)(param_2 + 0x30)" (* "*") (cast_expression "(int *)(param_2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (+ "+") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")))) (; ";")) (expression_statement "param_1 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "param_1 = *(undefined4 *)(param_2 + 0x1c)" (identifier "param_1") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "FUN_00011c90();" (call_expression "FUN_00011c90()" (identifier "FUN_00011c90") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *file,type_2 var_1,void *ignore)

{
  type_3 var_4;
  bool bVar2;
  type_4 in_stack_00000010;
  
  if (((var_1 != (type_2)(var_2 + 0x180)) && ((var_1->flags & 0x1000) == 0)) &&
     (var_1 != (type_2)(var_2 + 0xc0))) {
    var_4 = (type_3)var_1->size;
    bVar2 = var_3((type_3)svi_total,var_4);
    svi_total._0_4_ = (type_3)svi_total + var_4;
    svi_total._4_4_ = svi_total._4_4_ + *(int *)((int)&var_1->size + 4) + (type_3)bVar2;
    var_5(var_1->name,var_1->vma,var_6(in_stack_00000010,ignore));
    return;
  }
  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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined *param_2)

{
  bool bVar1;
  
  if (((param_2 != PTR__bfd_std_section_00018fec + 0x180) && ((param_2[0x15] & 0x10) == 0)) &&
     (param_2 != PTR__bfd_std_section_00018fec + 0xc0)) {
    bVar1 = CARRY4(DAT_00019200,*(uint *)(param_2 + 0x2c));
    DAT_00019200 = DAT_00019200 + *(uint *)(param_2 + 0x2c);
    DAT_00019204 = DAT_00019204 + *(int *)(param_2 + 0x30) + (uint)bVar1;
    param_1 = *(undefined4 *)(param_2 + 0x1c);
    FUN_00011c90();
    return;
  }
  return;
}

