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

void find_address_in_section(bfd *abfd,asection *section,void *data)

{
  uint uVar1;
  
  if ((found == 0) && ((section->flags & 1) != 0)) {
    uVar1 = section->vma;
    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {
      found = (*abfd->xvec->_bfd_find_nearest_line)
                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,
                         (uint *)0x0);
    }
  }
  return;
}



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

void FUN_00034dd0(int param_1,int param_2,undefined4 param_3)

{
  uint uVar1;
  
  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {
    uVar1 = *(uint *)(param_2 + 0x1c);
    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {
      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))
                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,
                                &DAT_0007393c,&DAT_00073938,0);
    }
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x000143a0
ADD EBX,0x3b224
MOV EDX,dword ptr [EBX + 0x3934]
TEST EDX,EDX
JNZ 0x00034e41
TEST byte ptr [EAX + 0x14],0x1
JZ 0x00034e41
MOV ECX,dword ptr [EAX + 0x1c]
MOV EDX,dword ptr [EBX + 0x3944]
CMP ECX,EDX
JA 0x00034e41
MOV ESI,dword ptr [EAX + 0x24]
ADD ESI,ECX
CMP EDX,ESI
JNC 0x00034e41
MOV EDI,dword ptr [ESP + 0x10]
SUB EDX,ECX
MOV ESI,dword ptr [EDI + 0x4]
LEA EDI,[EBX + 0x3938]
PUSH 0x0
PUSH EDI
LEA EDI,[EBX + 0x393c]
PUSH EDI
LEA EDI,[EBX + 0x3940]
PUSH EDI
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x2c]
CALL dword ptr [ESI + 0x128]
MOV dword ptr [EBX + 0x3934],EAX
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00034dd0(int param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00034dd0(int param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00034dd0(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }" if (parenthesized_expression "((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0))" ( (binary_expression "(DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)" (parenthesized_expression "(DAT_00073934 == 0)" ( (binary_expression "DAT_00073934 == 0" identifier == number_literal) )) && (parenthesized_expression "((*(byte *)(param_2 + 0x14) & 1) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x14) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x14) & 1)" ( (binary_expression "*(byte *)(param_2 + 0x14) & 1" (pointer_expression "*(byte *)(param_2 + 0x14)" * (cast_expression "(byte *)(param_2 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(param_2 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x1c)" * (cast_expression "(uint *)(param_2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }" if (parenthesized_expression "((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1))" ( (binary_expression "(uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)" (parenthesized_expression "(uVar1 <= DAT_00073944)" ( (binary_expression "uVar1 <= DAT_00073944" identifier <= identifier) )) && (parenthesized_expression "(DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)" ( (binary_expression "DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1" identifier < (binary_expression "*(int *)(param_2 + 0x24) + uVar1" (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) + identifier)) ))) )) (compound_statement "{\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }" { (expression_statement "DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);" (assignment_expression "DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" identifier = (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x128))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x128)" * (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x128)" * (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x128)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x128)" ( (binary_expression "*(int *)(param_1 + 4) + 0x128" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" ( identifier , identifier , identifier , (binary_expression "DAT_00073944 - uVar1" identifier - identifier) , (pointer_expression "&DAT_00073940" & identifier) , (pointer_expression "&DAT_0007393c" & identifier) , (pointer_expression "&DAT_00073938" & identifier) , number_literal )))) ;) })) })) (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 find_address_in_section(bfd *abfd,asection *section,void *data)\n\n{\n  uint uVar1;\n  \n  if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void find_address_in_section(bfd *abfd,asection *section,void *data)\n\n{\n  uint uVar1;\n  \n  if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "find_address_in_section(bfd *abfd,asection *section,void *data)" identifier (parameter_list "(bfd *abfd,asection *section,void *data)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }\n  }" if (parenthesized_expression "((found == 0) && ((section->flags & 1) != 0))" ( (binary_expression "(found == 0) && ((section->flags & 1) != 0)" (parenthesized_expression "(found == 0)" ( (binary_expression "found == 0" identifier == number_literal) )) && (parenthesized_expression "((section->flags & 1) != 0)" ( (binary_expression "(section->flags & 1) != 0" (parenthesized_expression "(section->flags & 1)" ( (binary_expression "section->flags & 1" (field_expression "section->flags" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }\n  }" { (expression_statement "uVar1 = section->vma;" (assignment_expression "uVar1 = section->vma" identifier = (field_expression "section->vma" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }" if (parenthesized_expression "((uVar1 <= pc) && (pc < section->size + uVar1))" ( (binary_expression "(uVar1 <= pc) && (pc < section->size + uVar1)" (parenthesized_expression "(uVar1 <= pc)" ( (binary_expression "uVar1 <= pc" identifier <= identifier) )) && (parenthesized_expression "(pc < section->size + uVar1)" ( (binary_expression "pc < section->size + uVar1" identifier < (binary_expression "section->size + uVar1" (field_expression "section->size" identifier -> field_identifier) + identifier)) ))) )) (compound_statement "{\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);\n    }" { (expression_statement "found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0);" (assignment_expression "found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0)" identifier = (call_expression "(*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0)" (parenthesized_expression "(*abfd->xvec->_bfd_find_nearest_line)" ( (pointer_expression "*abfd->xvec->_bfd_find_nearest_line" * (field_expression "abfd->xvec->_bfd_find_nearest_line" (field_expression "abfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(abfd,(bfd_symbol **)data,section,pc - uVar1,&filename,&functionname,&line,\n                         (uint *)0x0)" ( identifier , (cast_expression "(bfd_symbol **)data" ( (type_descriptor "bfd_symbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) , identifier , (binary_expression "pc - uVar1" identifier - identifier) , (pointer_expression "&filename" & identifier) , (pointer_expression "&functionname" & identifier) , (pointer_expression "&line" & identifier) , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00034dd0(int param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00034dd0(int param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00034dd0(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }" if (parenthesized_expression "((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0))" ( (binary_expression "(DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)" (parenthesized_expression "(DAT_00073934 == 0)" ( (binary_expression "DAT_00073934 == 0" identifier == number_literal) )) && (parenthesized_expression "((*(byte *)(param_2 + 0x14) & 1) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x14) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x14) & 1)" ( (binary_expression "*(byte *)(param_2 + 0x14) & 1" (pointer_expression "*(byte *)(param_2 + 0x14)" * (cast_expression "(byte *)(param_2 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(param_2 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x1c)" * (cast_expression "(uint *)(param_2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }" if (parenthesized_expression "((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1))" ( (binary_expression "(uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)" (parenthesized_expression "(uVar1 <= DAT_00073944)" ( (binary_expression "uVar1 <= DAT_00073944" identifier <= identifier) )) && (parenthesized_expression "(DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)" ( (binary_expression "DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1" identifier < (binary_expression "*(int *)(param_2 + 0x24) + uVar1" (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) + identifier)) ))) )) (compound_statement "{\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }" { (expression_statement "DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);" (assignment_expression "DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" identifier = (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x128))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x128)" * (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x128)" * (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x128)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x128)" ( (binary_expression "*(int *)(param_1 + 4) + 0x128" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" ( identifier , identifier , identifier , (binary_expression "DAT_00073944 - uVar1" identifier - identifier) , (pointer_expression "&DAT_00073940" & identifier) , (pointer_expression "&DAT_0007393c" & identifier) , (pointer_expression "&DAT_00073938" & identifier) , number_literal )))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (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 IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT - IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , LIT )))) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00034dd0(int param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00034dd0(int param_1,int param_2,undefined4 param_3)" (identifier "FUN_00034dd0") (parameter_list "(int param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }" (if "if") (parenthesized_expression "((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0))" (( "(") (binary_expression "(DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)" (parenthesized_expression "(DAT_00073934 == 0)" (( "(") (binary_expression "DAT_00073934 == 0" (identifier "DAT_00073934") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(param_2 + 0x14) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x14) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x14) & 1)" (( "(") (binary_expression "*(byte *)(param_2 + 0x14) & 1" (pointer_expression "*(byte *)(param_2 + 0x14)" (* "*") (cast_expression "(byte *)(param_2 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = *(uint *)(param_2 + 0x1c);\n    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_2 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x1c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 0x1c)" (* "*") (cast_expression "(uint *)(param_2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }" (if "if") (parenthesized_expression "((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1))" (( "(") (binary_expression "(uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)" (parenthesized_expression "(uVar1 <= DAT_00073944)" (( "(") (binary_expression "uVar1 <= DAT_00073944" (identifier "uVar1") (<= "<=") (identifier "DAT_00073944")) () ")")) (&& "&&") (parenthesized_expression "(DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)" (( "(") (binary_expression "DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1" (identifier "DAT_00073944") (< "<") (binary_expression "*(int *)(param_2 + 0x24) + uVar1" (pointer_expression "*(int *)(param_2 + 0x24)" (* "*") (cast_expression "(int *)(param_2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (identifier "uVar1"))) () ")"))) () ")")) (compound_statement "{\n      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);\n    }" ({ "{") (expression_statement "DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0);" (assignment_expression "DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" (identifier "DAT_00073934") (= "=") (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x128))\n                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x128))" (( "(") (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x128)" (* "*") (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x128)" (* "*") (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x128)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 0x128)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 0x128" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x128")) () ")"))))) () ")")) (argument_list "(param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,\n                                &DAT_0007393c,&DAT_00073938,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_2") (, ",") (binary_expression "DAT_00073944 - uVar1" (identifier "DAT_00073944") (- "-") (identifier "uVar1")) (, ",") (pointer_expression "&DAT_00073940" (& "&") (identifier "DAT_00073940")) (, ",") (pointer_expression "&DAT_0007393c" (& "&") (identifier "DAT_0007393c")) (, ",") (pointer_expression "&DAT_00073938" (& "&") (identifier "DAT_00073938")) (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (} "}"))) (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 *abfd,type_2 *section,void *data)

{
  type_3 var_2;
  
  if ((var_1 == 0) && ((section->flags & 1) != 0)) {
    var_2 = section->vma;
    if ((var_2 <= var_3) && (var_3 < section->size + var_2)) {
      var_1 = (*abfd->xvec->_bfd_find_nearest_line)
                        (abfd,(type_4 **)data,section,var_3 - var_2,&filename,&functionname,&line,
                         (type_3 *)0x0);
    }
  }
  return;
}


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

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

void MASKED(int param_1,int param_2,undefined4 param_3)

{
  uint uVar1;
  
  if ((DAT_00073934 == 0) && ((*(byte *)(param_2 + 0x14) & 1) != 0)) {
    uVar1 = *(uint *)(param_2 + 0x1c);
    if ((uVar1 <= DAT_00073944) && (DAT_00073944 < *(int *)(param_2 + 0x24) + uVar1)) {
      DAT_00073934 = (**(code **)(*(int *)(param_1 + 4) + 0x128))
                               (param_1,param_3,param_2,DAT_00073944 - uVar1,&DAT_00073940,
                                &DAT_0007393c,&DAT_00073938,0);
    }
  }
  return;
}

