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

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

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  size_t sVar4;
  bool bVar5;
  
  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;
    iVar2 = *(int *)((int)&sec->size + 4);
    sVar4 = strlen(sec->name);
    if (svi_namelen < (int)sVar4) {
      svi_namelen = sVar4;
    }
    uVar3 = *(uint *)((int)&sec->vma + 4);
    bVar5 = CARRY4((uint)svi_total,uVar1);
    svi_total._0_4_ = (uint)svi_total + uVar1;
    uVar1 = (uint)sec->vma;
    svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;
    if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {
      svi_maxvma._0_4_ = uVar1;
      svi_maxvma._4_4_ = uVar3;
    }
  }
  return;
}



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

void FUN_00011b10(undefined4 param_1,undefined4 *param_2)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  size_t sVar4;
  bool bVar5;
  
  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&
      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&
     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {
    uVar1 = param_2[0xb];
    iVar2 = param_2[0xc];
    sVar4 = strlen((char *)*param_2);
    if ((int)DAT_000191f0 < (int)sVar4) {
      DAT_000191f0 = sVar4;
    }
    uVar3 = param_2[8];
    bVar5 = CARRY4(DAT_00019200,uVar1);
    DAT_00019200 = DAT_00019200 + uVar1;
    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;
    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {
      DAT_000191f8 = param_2[7];
      DAT_000191fc = uVar3;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011890
ADD EBX,0x74e7
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EBX + 0xffffffec]
LEA EDX,[EAX + 0x180]
CMP ESI,EDX
JZ 0x00011b94
TEST byte ptr [ESI + 0x15],0x10
JNZ 0x00011b94
ADD EAX,0xc0
CMP ESI,EAX
JZ 0x00011b94
SUB ESP,0xc
MOV EDI,dword ptr [ESI + 0x2c]
MOV EBP,dword ptr [ESI + 0x30]
PUSH dword ptr [ESI]
CALL 0x000112a0
ADD ESP,0x10
CMP dword ptr [EBX + 0x1f0],EAX
JGE 0x00011b66
MOV dword ptr [EBX + 0x1f0],EAX
MOV EAX,dword ptr [ESI + 0x20]
MOV ECX,dword ptr [EBX + 0x1fc]
ADD dword ptr [EBX + 0x200],EDI
MOV EDX,dword ptr [ESI + 0x1c]
ADC dword ptr [EBX + 0x204],EBP
CMP dword ptr [EBX + 0x1f8],EDX
SBB ECX,EAX
JNC 0x00011b94
MOV dword ptr [EBX + 0x1f8],EDX
MOV dword ptr [EBX + 0x1fc],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00011b10(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00011b10(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00011b10(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (if_statement "if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }" if (parenthesized_expression "(((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)))" ( (binary_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))" (parenthesized_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0))" ( (binary_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00018fec + 0x180)" ( (binary_expression "PTR__bfd_std_section_00018fec + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)param_2 + 0x15) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)param_2 + 0x15) & 0x10)" ( (binary_expression "*(byte *)((int)param_2 + 0x15) & 0x10" (pointer_expression "*(byte *)((int)param_2 + 0x15)" * (cast_expression "(byte *)((int)param_2 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0x15)" ( (binary_expression "(int)param_2 + 0x15" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00018fec + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" identifier + number_literal) )))) ))) )) (compound_statement "{\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }" { (expression_statement "uVar1 = param_2[0xb];" (assignment_expression "uVar1 = param_2[0xb]" identifier = (subscript_expression "param_2[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_2[0xc];" (assignment_expression "iVar2 = param_2[0xc]" identifier = (subscript_expression "param_2[0xc]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = strlen((char *)*param_2);" (assignment_expression "sVar4 = strlen((char *)*param_2)" identifier = (call_expression "strlen((char *)*param_2)" identifier (argument_list "((char *)*param_2)" ( (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (if_statement "if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }" if (parenthesized_expression "((int)DAT_000191f0 < (int)sVar4)" ( (binary_expression "(int)DAT_000191f0 < (int)sVar4" (cast_expression "(int)DAT_000191f0" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      DAT_000191f0 = sVar4;\n    }" { (expression_statement "DAT_000191f0 = sVar4;" (assignment_expression "DAT_000191f0 = sVar4" identifier = identifier) ;) })) (expression_statement "uVar3 = param_2[8];" (assignment_expression "uVar3 = param_2[8]" identifier = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "bVar5 = CARRY4(DAT_00019200,uVar1);" (assignment_expression "bVar5 = CARRY4(DAT_00019200,uVar1)" identifier = (call_expression "CARRY4(DAT_00019200,uVar1)" identifier (argument_list "(DAT_00019200,uVar1)" ( identifier , identifier )))) ;) (expression_statement "DAT_00019200 = DAT_00019200 + uVar1;" (assignment_expression "DAT_00019200 = DAT_00019200 + uVar1" identifier = (binary_expression "DAT_00019200 + uVar1" identifier + identifier)) ;) (expression_statement "DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;" (assignment_expression "DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5" identifier = (binary_expression "DAT_00019204 + iVar2 + (uint)bVar5" (binary_expression "DAT_00019204 + iVar2" identifier + identifier) + (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }" if (parenthesized_expression "(DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7]))" ( (binary_expression "DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])" (binary_expression "DAT_000191fc < uVar3" identifier < identifier) || (binary_expression "DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])" (binary_expression "DAT_000191fc - uVar3" identifier - identifier) < (call_expression "(uint)(DAT_000191f8 < (uint)param_2[7])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_000191f8 < (uint)param_2[7])" ( (binary_expression "DAT_000191f8 < (uint)param_2[7]" identifier < (cast_expression "(uint)param_2[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[7]" identifier [ number_literal ]))) ))))) )) (compound_statement "{\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }" { (expression_statement "DAT_000191f8 = param_2[7];" (assignment_expression "DAT_000191f8 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "DAT_000191fc = uVar3;" (assignment_expression "DAT_000191fc = uVar3" 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 sysv_internal_sizer(bfd *file,sec_ptr sec,void *ignore)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\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    iVar2 = *(int *)((int)&sec->size + 4);\n    sVar4 = strlen(sec->name);\n    if (svi_namelen < (int)sVar4) {\n      svi_namelen = sVar4;\n    }\n    uVar3 = *(uint *)((int)&sec->vma + 4);\n    bVar5 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    uVar1 = (uint)sec->vma;\n    svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;\n    if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void sysv_internal_sizer(bfd *file,sec_ptr sec,void *ignore)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\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    iVar2 = *(int *)((int)&sec->size + 4);\n    sVar4 = strlen(sec->name);\n    if (svi_namelen < (int)sVar4) {\n      svi_namelen = sVar4;\n    }\n    uVar3 = *(uint *)((int)&sec->vma + 4);\n    bVar5 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    uVar1 = (uint)sec->vma;\n    svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;\n    if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "sysv_internal_sizer(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  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\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    iVar2 = *(int *)((int)&sec->size + 4);\n    sVar4 = strlen(sec->name);\n    if (svi_namelen < (int)sVar4) {\n      svi_namelen = sVar4;\n    }\n    uVar3 = *(uint *)((int)&sec->vma + 4);\n    bVar5 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    uVar1 = (uint)sec->vma;\n    svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;\n    if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type 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    iVar2 = *(int *)((int)&sec->size + 4);\n    sVar4 = strlen(sec->name);\n    if (svi_namelen < (int)sVar4) {\n      svi_namelen = sVar4;\n    }\n    uVar3 = *(uint *)((int)&sec->vma + 4);\n    bVar5 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    uVar1 = (uint)sec->vma;\n    svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;\n    if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }\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    iVar2 = *(int *)((int)&sec->size + 4);\n    sVar4 = strlen(sec->name);\n    if (svi_namelen < (int)sVar4) {\n      svi_namelen = sVar4;\n    }\n    uVar3 = *(uint *)((int)&sec->vma + 4);\n    bVar5 = CARRY4((uint)svi_total,uVar1);\n    svi_total._0_4_ = (uint)svi_total + uVar1;\n    uVar1 = (uint)sec->vma;\n    svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;\n    if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }\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 "iVar2 = *(int *)((int)&sec->size + 4);" (assignment_expression "iVar2 = *(int *)((int)&sec->size + 4)" 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) ))))) ;) (expression_statement "sVar4 = strlen(sec->name);" (assignment_expression "sVar4 = strlen(sec->name)" identifier = (call_expression "strlen(sec->name)" identifier (argument_list "(sec->name)" ( (field_expression "sec->name" identifier -> field_identifier) )))) ;) (if_statement "if (svi_namelen < (int)sVar4) {\n      svi_namelen = sVar4;\n    }" if (parenthesized_expression "(svi_namelen < (int)sVar4)" ( (binary_expression "svi_namelen < (int)sVar4" identifier < (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      svi_namelen = sVar4;\n    }" { (expression_statement "svi_namelen = sVar4;" (assignment_expression "svi_namelen = sVar4" identifier = identifier) ;) })) (expression_statement "uVar3 = *(uint *)((int)&sec->vma + 4);" (assignment_expression "uVar3 = *(uint *)((int)&sec->vma + 4)" identifier = (pointer_expression "*(uint *)((int)&sec->vma + 4)" * (cast_expression "(uint *)((int)&sec->vma + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sec->vma + 4)" ( (binary_expression "(int)&sec->vma + 4" (cast_expression "(int)&sec->vma" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sec->vma" & (field_expression "sec->vma" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "bVar5 = CARRY4((uint)svi_total,uVar1);" (assignment_expression "bVar5 = 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 "uVar1 = (uint)sec->vma;" (assignment_expression "uVar1 = (uint)sec->vma" identifier = (cast_expression "(uint)sec->vma" ( (type_descriptor "uint" type_identifier) ) (field_expression "sec->vma" identifier -> field_identifier))) ;) (expression_statement "svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5;" (assignment_expression "svi_total._4_4_ = svi_total._4_4_ + iVar2 + (uint)bVar5" (field_expression "svi_total._4_4_" identifier . field_identifier) = (binary_expression "svi_total._4_4_ + iVar2 + (uint)bVar5" (binary_expression "svi_total._4_4_ + iVar2" (field_expression "svi_total._4_4_" identifier . field_identifier) + identifier) + (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)) {\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }" if (parenthesized_expression "(svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1))" ( (binary_expression "svi_maxvma._4_4_ < uVar3 || svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)" (binary_expression "svi_maxvma._4_4_ < uVar3" (field_expression "svi_maxvma._4_4_" identifier . field_identifier) < identifier) || (binary_expression "svi_maxvma._4_4_ - uVar3 < (uint)((uint)svi_maxvma < uVar1)" (binary_expression "svi_maxvma._4_4_ - uVar3" (field_expression "svi_maxvma._4_4_" identifier . field_identifier) - identifier) < (call_expression "(uint)((uint)svi_maxvma < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)svi_maxvma < uVar1)" ( (binary_expression "(uint)svi_maxvma < uVar1" (cast_expression "(uint)svi_maxvma" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))))) )) (compound_statement "{\n      svi_maxvma._0_4_ = uVar1;\n      svi_maxvma._4_4_ = uVar3;\n    }" { (expression_statement "svi_maxvma._0_4_ = uVar1;" (assignment_expression "svi_maxvma._0_4_ = uVar1" (field_expression "svi_maxvma._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "svi_maxvma._4_4_ = uVar3;" (assignment_expression "svi_maxvma._4_4_ = uVar3" (field_expression "svi_maxvma._4_4_" identifier . field_identifier) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00011b10(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00011b10(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00011b10(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (if_statement "if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }" if (parenthesized_expression "(((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)))" ( (binary_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))" (parenthesized_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0))" ( (binary_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00018fec + 0x180)" ( (binary_expression "PTR__bfd_std_section_00018fec + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)param_2 + 0x15) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)param_2 + 0x15) & 0x10)" ( (binary_expression "*(byte *)((int)param_2 + 0x15) & 0x10" (pointer_expression "*(byte *)((int)param_2 + 0x15)" * (cast_expression "(byte *)((int)param_2 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0x15)" ( (binary_expression "(int)param_2 + 0x15" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00018fec + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" identifier + number_literal) )))) ))) )) (compound_statement "{\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }" { (expression_statement "uVar1 = param_2[0xb];" (assignment_expression "uVar1 = param_2[0xb]" identifier = (subscript_expression "param_2[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_2[0xc];" (assignment_expression "iVar2 = param_2[0xc]" identifier = (subscript_expression "param_2[0xc]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = strlen((char *)*param_2);" (assignment_expression "sVar4 = strlen((char *)*param_2)" identifier = (call_expression "strlen((char *)*param_2)" identifier (argument_list "((char *)*param_2)" ( (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (if_statement "if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }" if (parenthesized_expression "((int)DAT_000191f0 < (int)sVar4)" ( (binary_expression "(int)DAT_000191f0 < (int)sVar4" (cast_expression "(int)DAT_000191f0" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      DAT_000191f0 = sVar4;\n    }" { (expression_statement "DAT_000191f0 = sVar4;" (assignment_expression "DAT_000191f0 = sVar4" identifier = identifier) ;) })) (expression_statement "uVar3 = param_2[8];" (assignment_expression "uVar3 = param_2[8]" identifier = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "bVar5 = CARRY4(DAT_00019200,uVar1);" (assignment_expression "bVar5 = CARRY4(DAT_00019200,uVar1)" identifier = (call_expression "CARRY4(DAT_00019200,uVar1)" identifier (argument_list "(DAT_00019200,uVar1)" ( identifier , identifier )))) ;) (expression_statement "DAT_00019200 = DAT_00019200 + uVar1;" (assignment_expression "DAT_00019200 = DAT_00019200 + uVar1" identifier = (binary_expression "DAT_00019200 + uVar1" identifier + identifier)) ;) (expression_statement "DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;" (assignment_expression "DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5" identifier = (binary_expression "DAT_00019204 + iVar2 + (uint)bVar5" (binary_expression "DAT_00019204 + iVar2" identifier + identifier) + (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }" if (parenthesized_expression "(DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7]))" ( (binary_expression "DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])" (binary_expression "DAT_000191fc < uVar3" identifier < identifier) || (binary_expression "DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])" (binary_expression "DAT_000191fc - uVar3" identifier - identifier) < (call_expression "(uint)(DAT_000191f8 < (uint)param_2[7])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_000191f8 < (uint)param_2[7])" ( (binary_expression "DAT_000191f8 < (uint)param_2[7]" identifier < (cast_expression "(uint)param_2[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[7]" identifier [ number_literal ]))) ))))) )) (compound_statement "{\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }" { (expression_statement "DAT_000191f8 = param_2[7];" (assignment_expression "DAT_000191f8 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "DAT_000191fc = uVar3;" (assignment_expression "DAT_000191fc = uVar3" identifier = identifier) ;) })) })) (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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00011b10(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00011b10(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_00011b10") (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") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  size_t sVar4;\n  bool bVar5;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (if_statement "if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }" (if "if") (parenthesized_expression "(((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)))" (( "(") (binary_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&\n     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))" (parenthesized_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0))" (( "(") (binary_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&\n      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180))" (( "(") (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_00018fec + 0x180)" (( "(") (binary_expression "PTR__bfd_std_section_00018fec + 0x180" (identifier "PTR__bfd_std_section_00018fec") (+ "+") (number_literal "0x180")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)((int)param_2 + 0x15) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)param_2 + 0x15) & 0x10)" (( "(") (binary_expression "*(byte *)((int)param_2 + 0x15) & 0x10" (pointer_expression "*(byte *)((int)param_2 + 0x15)" (* "*") (cast_expression "(byte *)((int)param_2 + 0x15)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0x15)" (( "(") (binary_expression "(int)param_2 + 0x15" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0x15")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))" (( "(") (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_00018fec + 0xc0)" (( "(") (binary_expression "PTR__bfd_std_section_00018fec + 0xc0" (identifier "PTR__bfd_std_section_00018fec") (+ "+") (number_literal "0xc0")) () ")")))) () ")"))) () ")")) (compound_statement "{\n    uVar1 = param_2[0xb];\n    iVar2 = param_2[0xc];\n    sVar4 = strlen((char *)*param_2);\n    if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }\n    uVar3 = param_2[8];\n    bVar5 = CARRY4(DAT_00019200,uVar1);\n    DAT_00019200 = DAT_00019200 + uVar1;\n    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;\n    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }\n  }" ({ "{") (expression_statement "uVar1 = param_2[0xb];" (assignment_expression "uVar1 = param_2[0xb]" (identifier "uVar1") (= "=") (subscript_expression "param_2[0xb]" (identifier "param_2") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "iVar2 = param_2[0xc];" (assignment_expression "iVar2 = param_2[0xc]" (identifier "iVar2") (= "=") (subscript_expression "param_2[0xc]" (identifier "param_2") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "sVar4 = strlen((char *)*param_2);" (assignment_expression "sVar4 = strlen((char *)*param_2)" (identifier "sVar4") (= "=") (call_expression "strlen((char *)*param_2)" (identifier "strlen") (argument_list "((char *)*param_2)" (( "(") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (; ";")) (if_statement "if ((int)DAT_000191f0 < (int)sVar4) {\n      DAT_000191f0 = sVar4;\n    }" (if "if") (parenthesized_expression "((int)DAT_000191f0 < (int)sVar4)" (( "(") (binary_expression "(int)DAT_000191f0 < (int)sVar4" (cast_expression "(int)DAT_000191f0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000191f0")) (< "<") (cast_expression "(int)sVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar4"))) () ")")) (compound_statement "{\n      DAT_000191f0 = sVar4;\n    }" ({ "{") (expression_statement "DAT_000191f0 = sVar4;" (assignment_expression "DAT_000191f0 = sVar4" (identifier "DAT_000191f0") (= "=") (identifier "sVar4")) (; ";")) (} "}"))) (expression_statement "uVar3 = param_2[8];" (assignment_expression "uVar3 = param_2[8]" (identifier "uVar3") (= "=") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "bVar5 = CARRY4(DAT_00019200,uVar1);" (assignment_expression "bVar5 = CARRY4(DAT_00019200,uVar1)" (identifier "bVar5") (= "=") (call_expression "CARRY4(DAT_00019200,uVar1)" (identifier "CARRY4") (argument_list "(DAT_00019200,uVar1)" (( "(") (identifier "DAT_00019200") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "DAT_00019200 = DAT_00019200 + uVar1;" (assignment_expression "DAT_00019200 = DAT_00019200 + uVar1" (identifier "DAT_00019200") (= "=") (binary_expression "DAT_00019200 + uVar1" (identifier "DAT_00019200") (+ "+") (identifier "uVar1"))) (; ";")) (expression_statement "DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;" (assignment_expression "DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5" (identifier "DAT_00019204") (= "=") (binary_expression "DAT_00019204 + iVar2 + (uint)bVar5" (binary_expression "DAT_00019204 + iVar2" (identifier "DAT_00019204") (+ "+") (identifier "iVar2")) (+ "+") (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")))) (; ";")) (if_statement "if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }" (if "if") (parenthesized_expression "(DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7]))" (( "(") (binary_expression "DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])" (binary_expression "DAT_000191fc < uVar3" (identifier "DAT_000191fc") (< "<") (identifier "uVar3")) (|| "||") (binary_expression "DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])" (binary_expression "DAT_000191fc - uVar3" (identifier "DAT_000191fc") (- "-") (identifier "uVar3")) (< "<") (call_expression "(uint)(DAT_000191f8 < (uint)param_2[7])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_000191f8 < (uint)param_2[7])" (( "(") (binary_expression "DAT_000191f8 < (uint)param_2[7]" (identifier "DAT_000191f8") (< "<") (cast_expression "(uint)param_2[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")))) () ")"))))) () ")")) (compound_statement "{\n      DAT_000191f8 = param_2[7];\n      DAT_000191fc = uVar3;\n    }" ({ "{") (expression_statement "DAT_000191f8 = param_2[7];" (assignment_expression "DAT_000191f8 = param_2[7]" (identifier "DAT_000191f8") (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "DAT_000191fc = uVar3;" (assignment_expression "DAT_000191fc = uVar3" (identifier "DAT_000191fc") (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (} "}"))) (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 *file,type_2 var_1,void *ignore)

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

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  size_t sVar4;
  bool bVar5;
  
  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0x180)) &&
      ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) &&
     (param_2 != (undefined4 *)(PTR__bfd_std_section_00018fec + 0xc0))) {
    uVar1 = param_2[0xb];
    iVar2 = param_2[0xc];
    sVar4 = strlen((char *)*param_2);
    if ((int)DAT_000191f0 < (int)sVar4) {
      DAT_000191f0 = sVar4;
    }
    uVar3 = param_2[8];
    bVar5 = CARRY4(DAT_00019200,uVar1);
    DAT_00019200 = DAT_00019200 + uVar1;
    DAT_00019204 = DAT_00019204 + iVar2 + (uint)bVar5;
    if (DAT_000191fc < uVar3 || DAT_000191fc - uVar3 < (uint)(DAT_000191f8 < (uint)param_2[7])) {
      DAT_000191f8 = param_2[7];
      DAT_000191fc = uVar3;
    }
  }
  return;
}

