
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Word section_type(Elf_file<32,_false,_gold::Sniff_file> * this,
   uint shndx) */

Elf_Word __thiscall
elfcpp::Elf_file<32,_false,_gold::Sniff_file>::section_type
          (Elf_file<32,_false,_gold::Sniff_file> *this,uint shndx)

{
}



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

undefined4 FUN_00091c90(int *param_1,uint param_2)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined8 uVar4;
  
  puVar1 = (undefined4 *)*param_1;
  FUN_00074b60(param_1);
  if ((uint)param_1[3] <= param_2) {
    FUN_00074b60(param_1);
    iVar2 = param_1[3];
    uVar3 = gettext("section_type: bad shndx %u >= %u");
    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);
  }
  uVar4 = FUN_00074c30(param_1,param_2);
  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],
                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +
                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);
  return *(undefined4 *)(iVar2 + 4);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x558367
SUB ESP,0x28
MOV ESI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESP + 0x40]
MOV EDI,dword ptr [ESI]
PUSH ESI
CALL 0x00074b60
ADD ESP,0x10
CMP EBP,dword ptr [ESI + 0xc]
JNC 0x00091cf0
SUB ESP,0x8
PUSH EBP
PUSH ESI
CALL 0x00074c30
ADD ESP,0x10
PUSH 0x0
PUSH 0x1
PUSH 0x28
PUSH 0x0
PUSH 0x0
ADD EAX,dword ptr [EDI + 0x4]
ADC EDX,dword ptr [EDI + 0x8]
PUSH EDX
PUSH EAX
PUSH dword ptr [EDI]
CALL 0x0023eb50
MOV EAX,dword ptr [EAX + 0x4]
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL 0x00074b60
MOV EDX,dword ptr [ESI + 0xc]
LEA EAX,[EBX + 0xffe63c20]
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00039440
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
PUSH EDX
PUSH EBP
PUSH EAX
PUSH EDI
CALL 0x0028b2e0
ADD ESP,0x10
JMP 0x00091cba
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00091c90(int *param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}\n\n" comment (function_definition "undefined4 FUN_00091c90(int *param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}" type_identifier (function_declarator "FUN_00091c90(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "FUN_00074b60(param_1);" (call_expression "FUN_00074b60(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }" if (parenthesized_expression "((uint)param_1[3] <= param_2)" ( (binary_expression "(uint)param_1[3] <= param_2" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }" { (expression_statement "FUN_00074b60(param_1);" (call_expression "FUN_00074b60(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = param_1[3];" (assignment_expression "iVar2 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = gettext("section_type: bad shndx %u >= %u");" (assignment_expression "uVar3 = gettext("section_type: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_type: bad shndx %u >= %u")" identifier (argument_list "("section_type: bad shndx %u >= %u")" ( (string_literal ""section_type: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);" (call_expression "FUN_0028b2e0(puVar1,uVar3,param_2,iVar2)" identifier (argument_list "(puVar1,uVar3,param_2,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar4 = FUN_00074c30(param_1,param_2);" (assignment_expression "uVar4 = FUN_00074c30(param_1,param_2)" identifier = (call_expression "FUN_00074c30(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);" (assignment_expression "iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" identifier = (call_expression "FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" identifier (argument_list "(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" ( (pointer_expression "*puVar1" * identifier) , (binary_expression "(uint)uVar4 + puVar1[1]" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) + (subscript_expression "puVar1[1]" identifier [ number_literal ])) , (binary_expression "(int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1])" (binary_expression "(int)((ulonglong)uVar4 >> 0x20) + puVar1[2]" (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (subscript_expression "puVar1[2]" identifier [ number_literal ])) + (cast_expression "(uint)CARRY4((uint)uVar4,puVar1[1])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4((uint)uVar4,puVar1[1])" identifier (argument_list "((uint)uVar4,puVar1[1])" ( (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) ))))) , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (return_statement "return *(undefined4 *)(iVar2 + 4);" return (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Elf_Word section_type(Elf_file<32,_false,_gold::Sniff_file> * this,\n   uint shndx) */\n\nElf_Word __thiscall\nelfcpp::Elf_file<32,_false,_gold::Sniff_file>::section_type\n          (Elf_file<32,_false,_gold::Sniff_file> *this,uint shndx)\n\n{\n}\n\n" comment comment (ERROR "Elf_Word __thiscall\nelfcpp::Elf_file<32,_false,_gold::Sniff_file>::section_type\n          (Elf_file<32,_false,_gold::Sniff_file> *this,uint shndx)" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<32" < number_literal) , identifier , (ERROR "_gold::Sniff_file>::" identifier : : identifier > : :) (function_declarator "section_type\n          (Elf_file<32,_false,_gold::Sniff_file> *this,uint shndx)" identifier (parameter_list "(Elf_file<32,_false,_gold::Sniff_file> *this,uint shndx)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_gold::Sniff_file> *this" type_identifier (ERROR "::Sniff_file>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "undefined4 FUN_00091c90(int *param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}\n\n" (function_definition "undefined4 FUN_00091c90(int *param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}" type_identifier (function_declarator "FUN_00091c90(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "FUN_00074b60(param_1);" (call_expression "FUN_00074b60(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }" if (parenthesized_expression "((uint)param_1[3] <= param_2)" ( (binary_expression "(uint)param_1[3] <= param_2" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }" { (expression_statement "FUN_00074b60(param_1);" (call_expression "FUN_00074b60(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = param_1[3];" (assignment_expression "iVar2 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = gettext("section_type: bad shndx %u >= %u");" (assignment_expression "uVar3 = gettext("section_type: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_type: bad shndx %u >= %u")" identifier (argument_list "("section_type: bad shndx %u >= %u")" ( (string_literal ""section_type: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);" (call_expression "FUN_0028b2e0(puVar1,uVar3,param_2,iVar2)" identifier (argument_list "(puVar1,uVar3,param_2,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar4 = FUN_00074c30(param_1,param_2);" (assignment_expression "uVar4 = FUN_00074c30(param_1,param_2)" identifier = (call_expression "FUN_00074c30(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);" (assignment_expression "iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" identifier = (call_expression "FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" identifier (argument_list "(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" ( (pointer_expression "*puVar1" * identifier) , (binary_expression "(uint)uVar4 + puVar1[1]" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) + (subscript_expression "puVar1[1]" identifier [ number_literal ])) , (binary_expression "(int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1])" (binary_expression "(int)((ulonglong)uVar4 >> 0x20) + puVar1[2]" (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (subscript_expression "puVar1[2]" identifier [ number_literal ])) + (cast_expression "(uint)CARRY4((uint)uVar4,puVar1[1])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4((uint)uVar4,puVar1[1])" identifier (argument_list "((uint)uVar4,puVar1[1])" ( (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) ))))) , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (return_statement "return *(undefined4 *)(iVar2 + 4);" return (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (subscript_expression IDENT [ LIT ])) , (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (subscript_expression IDENT [ LIT ])) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (subscript_expression IDENT [ LIT ]) ))))) , LIT , LIT , LIT , LIT , LIT )))) ;) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })))
(function_definition "undefined4 FUN_00091c90(int *param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}" (type_identifier "undefined4") (function_declarator "FUN_00091c90(int *param_1,uint param_2)" (identifier "FUN_00091c90") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  puVar1 = (undefined4 *)*param_1;\n  FUN_00074b60(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }\n  uVar4 = FUN_00074c30(param_1,param_2);\n  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);\n  return *(undefined4 *)(iVar2 + 4);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "FUN_00074b60(param_1);" (call_expression "FUN_00074b60(param_1)" (identifier "FUN_00074b60") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if ((uint)param_1[3] <= param_2) {\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }" (if "if") (parenthesized_expression "((uint)param_1[3] <= param_2)" (( "(") (binary_expression "(uint)param_1[3] <= param_2" (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    FUN_00074b60(param_1);\n    iVar2 = param_1[3];\n    uVar3 = gettext("section_type: bad shndx %u >= %u");\n    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);\n  }" ({ "{") (expression_statement "FUN_00074b60(param_1);" (call_expression "FUN_00074b60(param_1)" (identifier "FUN_00074b60") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar2 = param_1[3];" (assignment_expression "iVar2 = param_1[3]" (identifier "iVar2") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar3 = gettext("section_type: bad shndx %u >= %u");" (assignment_expression "uVar3 = gettext("section_type: bad shndx %u >= %u")" (identifier "uVar3") (= "=") (call_expression "gettext("section_type: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_type: bad shndx %u >= %u")" (( "(") (string_literal ""section_type: bad shndx %u >= %u"" (" """) (string_content "section_type: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);" (call_expression "FUN_0028b2e0(puVar1,uVar3,param_2,iVar2)" (identifier "FUN_0028b2e0") (argument_list "(puVar1,uVar3,param_2,iVar2)" (( "(") (identifier "puVar1") (, ",") (identifier "uVar3") (, ",") (identifier "param_2") (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = FUN_00074c30(param_1,param_2);" (assignment_expression "uVar4 = FUN_00074c30(param_1,param_2)" (identifier "uVar4") (= "=") (call_expression "FUN_00074c30(param_1,param_2)" (identifier "FUN_00074c30") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);" (assignment_expression "iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" (identifier "iVar2") (= "=") (call_expression "FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" (identifier "FUN_0023eb50") (argument_list "(*puVar1,(uint)uVar4 + puVar1[1],\n                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (binary_expression "(uint)uVar4 + puVar1[1]" (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (+ "+") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (, ",") (binary_expression "(int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +\n                       (uint)CARRY4((uint)uVar4,puVar1[1])" (binary_expression "(int)((ulonglong)uVar4 >> 0x20) + puVar1[2]" (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (+ "+") (cast_expression "(uint)CARRY4((uint)uVar4,puVar1[1])" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4((uint)uVar4,puVar1[1])" (identifier "CARRY4") (argument_list "((uint)uVar4,puVar1[1])" (( "(") (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (, ",") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) () ")"))))) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x28") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return *(undefined4 *)(iVar2 + 4);" (return "return") (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Word section_type(Elf_file<32,_false,_gold::Sniff_file> * this,
   uint shndx) */

Elf_Word __thiscall
elfcpp::Elf_file<32,_false,_gold::Sniff_file>::section_type
          (Elf_file<32,_false,_gold::Sniff_file> *this,uint shndx)

{
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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 (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))) (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)))))) (number_literal) (number_literal) (number_literal) (number_literal) (number_literal))))) (return_statement (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)))))))))

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

undefined4 MASKED(int *param_1,uint param_2)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined8 uVar4;
  
  puVar1 = (undefined4 *)*param_1;
  FUN_00074b60(param_1);
  if ((uint)param_1[3] <= param_2) {
    FUN_00074b60(param_1);
    iVar2 = param_1[3];
    uVar3 = gettext("section_type: bad shndx %u >= %u");
    FUN_0028b2e0(puVar1,uVar3,param_2,iVar2);
  }
  uVar4 = FUN_00074c30(param_1,param_2);
  iVar2 = FUN_0023eb50(*puVar1,(uint)uVar4 + puVar1[1],
                       (int)((ulonglong)uVar4 >> 0x20) + puVar1[2] +
                       (uint)CARRY4((uint)uVar4,puVar1[1]),0,0,0x28,1,0);
  return *(undefined4 *)(iVar2 + 4);
}

