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

uchar * __regparm3 fetch_indirect_string(dwarf_vma offset)

{
  uint uVar1;
  uint uVar2;
  uint in_EAX;
  size_t sVar3;
  char *pcVar4;
  char *message;
  uint in_EDX;
  uchar *puVar5;
  uint in_stack_ffffffc8;
  
  uVar2 = DAT_00073800;
  uVar1 = DAT_000737fc;
  if (DAT_000737f0 == 0) {
    pcVar4 = "<no .debug_str section>";
  }
  else if (in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)) {
    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);
    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);
    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {
      return puVar5;
    }
    pcVar4 = "<no NUL byte at end of .debug_str section>";
  }
  else {
    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);
    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);
    warn(message,pcVar4);
    pcVar4 = "<offset is too big>";
  }
  puVar5 = (uchar *)dcgettext(0,pcVar4,5);
  return puVar5;
}



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

char * __regparm3 FUN_0001e640(uint param_1,uint param_2)

{
  uint uVar1;
  uint uVar2;
  size_t sVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  
  uVar2 = DAT_00073800;
  uVar1 = DAT_000737fc;
  if (DAT_000737f0 == 0) {
    pcVar6 = "<no .debug_str section>";
  }
  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {
    pcVar6 = (char *)(DAT_000737f0 + param_1);
    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);
    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {
      return pcVar6;
    }
    pcVar6 = "<no NUL byte at end of .debug_str section>";
  }
  else {
    uVar4 = FUN_0001cbf0(0);
    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);
    warn(uVar5,uVar4);
    pcVar6 = "<offset is too big>";
  }
  pcVar6 = (char *)dcgettext(0,pcVar6,5);
  return pcVar6;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000153d0
ADD EBX,0x549b7
SUB ESP,0x1c
MOV EBP,dword ptr [EBX + 0x7f0]
TEST EBP,EBP
JZ 0x0001e720
MOV ESI,dword ptr [EBX + 0x7fc]
MOV ECX,EDX
MOV EDI,dword ptr [EBX + 0x800]
MOV EDX,EAX
CMP EAX,ESI
MOV EAX,ECX
SBB EAX,EDI
JNC 0x0001e6b8
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,ESI
SUB ESP,0x8
ADD EBP,EDX
MOV dword ptr [ESP + 0x10],EDX
SUB ECX,EDX
PUSH ECX
PUSH EBP
CALL 0x000145e0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0xc]
SUB ESI,EDX
SBB EDI,ECX
XOR EAX,ESI
MOV EDX,EDI
OR EDX,EAX
JZ 0x0001e710
ADD ESP,0x1c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfffdc7d9]
PUSH 0x0
CALL 0x0001cbf0
ADD ESP,0xc
MOV ESI,EAX
LEA EAX,[EBX + 0xfffdd3a0]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00048d70
ADD ESP,0xc
LEA EAX,[EBX + 0xfffe0764]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
ADD ESP,0x10
ADD ESP,0x1c
MOV EBP,EAX
POP EBX
MOV EAX,EBP
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdd3c4]
PUSH 0x5
JMP 0x0001e6f1
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe0648]
PUSH 0x5
JMP 0x0001e6f1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 FUN_0001e640(uint param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}\n\n" comment (function_definition "char * __regparm3 FUN_0001e640(uint param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0001e640(uint param_1,uint param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e640(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "uVar2 = DAT_00073800;" (assignment_expression "uVar2 = DAT_00073800" identifier = identifier) ;) (expression_statement "uVar1 = DAT_000737fc;" (assignment_expression "uVar1 = DAT_000737fc" identifier = identifier) ;) (if_statement "if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" if (parenthesized_expression "(DAT_000737f0 == 0)" ( (binary_expression "DAT_000737f0 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar6 = "<no .debug_str section>";\n  }" { (expression_statement "pcVar6 = "<no .debug_str section>";" (assignment_expression "pcVar6 = "<no .debug_str section>"" identifier = (string_literal ""<no .debug_str section>"" " string_content ")) ;) }) (else_clause "else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" else (if_statement "if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" if (parenthesized_expression "(param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc))" ( (binary_expression "param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)" (binary_expression "param_2 < DAT_00073800" identifier < identifier) || (binary_expression "param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)" (binary_expression "param_2 - DAT_00073800" identifier - identifier) < (call_expression "(uint)(param_1 < DAT_000737fc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 < DAT_000737fc)" ( (binary_expression "param_1 < DAT_000737fc" identifier < identifier) ))))) )) (compound_statement "{\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }" { (expression_statement "pcVar6 = (char *)(DAT_000737f0 + param_1);" (assignment_expression "pcVar6 = (char *)(DAT_000737f0 + param_1)" identifier = (cast_expression "(char *)(DAT_000737f0 + param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000737f0 + param_1)" ( (binary_expression "DAT_000737f0 + param_1" identifier + identifier) )))) ;) (expression_statement "sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);" (assignment_expression "sVar3 = strnlen(pcVar6,DAT_000737fc - param_1)" identifier = (call_expression "strnlen(pcVar6,DAT_000737fc - param_1)" identifier (argument_list "(pcVar6,DAT_000737fc - param_1)" ( identifier , (binary_expression "DAT_000737fc - param_1" identifier - identifier) )))) ;) (if_statement "if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }" if (parenthesized_expression "(uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1)" ( (binary_expression "uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1" (binary_expression "uVar2 - param_2 != (uint)(uVar1 < param_1)" (binary_expression "uVar2 - param_2" identifier - identifier) != (call_expression "(uint)(uVar1 < param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < param_1)" ( (binary_expression "uVar1 < param_1" identifier < identifier) )))) || (binary_expression "sVar3 != uVar1 - param_1" identifier != (binary_expression "uVar1 - param_1" identifier - identifier))) )) (compound_statement "{\n      return pcVar6;\n    }" { (return_statement "return pcVar6;" return identifier ;) })) (expression_statement "pcVar6 = "<no NUL byte at end of .debug_str section>";" (assignment_expression "pcVar6 = "<no NUL byte at end of .debug_str section>"" identifier = (string_literal ""<no NUL byte at end of .debug_str section>"" " string_content ")) ;) }) (else_clause "else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" else (compound_statement "{\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" { (expression_statement "uVar4 = FUN_0001cbf0(0);" (assignment_expression "uVar4 = FUN_0001cbf0(0)" identifier = (call_expression "FUN_0001cbf0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" identifier = (call_expression "dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" identifier (argument_list "(0,"DW_FORM_strp offset too big: %s\n",5)" ( number_literal , (string_literal ""DW_FORM_strp offset too big: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "warn(uVar5,uVar4);" (call_expression "warn(uVar5,uVar4)" identifier (argument_list "(uVar5,uVar4)" ( identifier , identifier ))) ;) (expression_statement "pcVar6 = "<offset is too big>";" (assignment_expression "pcVar6 = "<offset is too big>"" identifier = (string_literal ""<offset is too big>"" " string_content ")) ;) }))))) (expression_statement "pcVar6 = (char *)dcgettext(0,pcVar6,5);" (assignment_expression "pcVar6 = (char *)dcgettext(0,pcVar6,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar6,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal ))))) ;) (return_statement "return pcVar6;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuchar * __regparm3 fetch_indirect_string(dwarf_vma offset)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint in_EAX;\n  size_t sVar3;\n  char *pcVar4;\n  char *message;\n  uint in_EDX;\n  uchar *puVar5;\n  uint in_stack_ffffffc8;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar4 = "<no .debug_str section>";\n  }\n  else if (in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)) {\n    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);\n    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);\n    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }\n    pcVar4 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }\n  puVar5 = (uchar *)dcgettext(0,pcVar4,5);\n  return puVar5;\n}\n\n" comment (ERROR "uchar * __regparm3 fetch_indirect_string(dwarf_vma offset)" (binary_expression "uchar * __regparm3 fetch_indirect_string(dwarf_vma offset)" identifier * (ERROR "__regparm3" identifier) (call_expression "fetch_indirect_string(dwarf_vma offset)" identifier (argument_list "(dwarf_vma offset)" ( identifier (ERROR "offset" identifier) ))))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint in_EAX;\n  size_t sVar3;\n  char *pcVar4;\n  char *message;\n  uint in_EDX;\n  uchar *puVar5;\n  uint in_stack_ffffffc8;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar4 = "<no .debug_str section>";\n  }\n  else if (in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)) {\n    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);\n    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);\n    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }\n    pcVar4 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }\n  puVar5 = (uchar *)dcgettext(0,pcVar4,5);\n  return puVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint in_EAX;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (declaration "uint in_EDX;" type_identifier identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint in_stack_ffffffc8;" type_identifier identifier ;) (expression_statement "uVar2 = DAT_00073800;" (assignment_expression "uVar2 = DAT_00073800" identifier = identifier) ;) (expression_statement "uVar1 = DAT_000737fc;" (assignment_expression "uVar1 = DAT_000737fc" identifier = identifier) ;) (if_statement "if (DAT_000737f0 == 0) {\n    pcVar4 = "<no .debug_str section>";\n  }\n  else if (in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)) {\n    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);\n    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);\n    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }\n    pcVar4 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }" if (parenthesized_expression "(DAT_000737f0 == 0)" ( (binary_expression "DAT_000737f0 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = "<no .debug_str section>";\n  }" { (expression_statement "pcVar4 = "<no .debug_str section>";" (assignment_expression "pcVar4 = "<no .debug_str section>"" identifier = (string_literal ""<no .debug_str section>"" " string_content ")) ;) }) (else_clause "else if (in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)) {\n    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);\n    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);\n    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }\n    pcVar4 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }" else (if_statement "if (in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)) {\n    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);\n    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);\n    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }\n    pcVar4 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }" if (parenthesized_expression "(in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc))" ( (binary_expression "in_EDX < DAT_00073800 || in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)" (binary_expression "in_EDX < DAT_00073800" identifier < identifier) || (binary_expression "in_EDX - DAT_00073800 < (uint)(in_EAX < DAT_000737fc)" (binary_expression "in_EDX - DAT_00073800" identifier - identifier) < (call_expression "(uint)(in_EAX < DAT_000737fc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(in_EAX < DAT_000737fc)" ( (binary_expression "in_EAX < DAT_000737fc" identifier < identifier) ))))) )) (compound_statement "{\n    puVar5 = (uchar *)(DAT_000737f0 + in_EAX);\n    sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);\n    if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }\n    pcVar4 = "<no NUL byte at end of .debug_str section>";\n  }" { (expression_statement "puVar5 = (uchar *)(DAT_000737f0 + in_EAX);" (assignment_expression "puVar5 = (uchar *)(DAT_000737f0 + in_EAX)" identifier = (cast_expression "(uchar *)(DAT_000737f0 + in_EAX)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000737f0 + in_EAX)" ( (binary_expression "DAT_000737f0 + in_EAX" identifier + identifier) )))) ;) (expression_statement "sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX);" (assignment_expression "sVar3 = strnlen((char *)puVar5,DAT_000737fc - in_EAX)" identifier = (call_expression "strnlen((char *)puVar5,DAT_000737fc - in_EAX)" identifier (argument_list "((char *)puVar5,DAT_000737fc - in_EAX)" ( (cast_expression "(char *)puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "DAT_000737fc - in_EAX" identifier - identifier) )))) ;) (if_statement "if (uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX) {\n      return puVar5;\n    }" if (parenthesized_expression "(uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX)" ( (binary_expression "uVar2 - in_EDX != (uint)(uVar1 < in_EAX) || sVar3 != uVar1 - in_EAX" (binary_expression "uVar2 - in_EDX != (uint)(uVar1 < in_EAX)" (binary_expression "uVar2 - in_EDX" identifier - identifier) != (call_expression "(uint)(uVar1 < in_EAX)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < in_EAX)" ( (binary_expression "uVar1 < in_EAX" identifier < identifier) )))) || (binary_expression "sVar3 != uVar1 - in_EAX" identifier != (binary_expression "uVar1 - in_EAX" identifier - identifier))) )) (compound_statement "{\n      return puVar5;\n    }" { (return_statement "return puVar5;" return identifier ;) })) (expression_statement "pcVar4 = "<no NUL byte at end of .debug_str section>";" (assignment_expression "pcVar4 = "<no NUL byte at end of .debug_str section>"" identifier = (string_literal ""<no NUL byte at end of .debug_str section>"" " string_content ")) ;) }) (else_clause "else {\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }" else (compound_statement "{\n    pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);\n    message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(message,pcVar4);\n    pcVar4 = "<offset is too big>";\n  }" { (expression_statement "pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX);" (assignment_expression "pcVar4 = dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX)" identifier = (call_expression "dwarf_vmatoa_1("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX)" identifier (argument_list "("x",(ulonglong)in_stack_ffffffc8 << 0x20,in_EAX)" ( (string_literal ""x"" " string_content ") , (binary_expression "(ulonglong)in_stack_ffffffc8 << 0x20" (cast_expression "(ulonglong)in_stack_ffffffc8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) << number_literal) , identifier )))) ;) (expression_statement "message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);" (assignment_expression "message = (char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" identifier (argument_list "(0,"DW_FORM_strp offset too big: %s\n",5)" ( number_literal , (string_literal ""DW_FORM_strp offset too big: %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "warn(message,pcVar4);" (call_expression "warn(message,pcVar4)" identifier (argument_list "(message,pcVar4)" ( identifier , identifier ))) ;) (expression_statement "pcVar4 = "<offset is too big>";" (assignment_expression "pcVar4 = "<offset is too big>"" identifier = (string_literal ""<offset is too big>"" " string_content ")) ;) }))))) (expression_statement "puVar5 = (uchar *)dcgettext(0,pcVar4,5);" (assignment_expression "puVar5 = (uchar *)dcgettext(0,pcVar4,5)" identifier = (cast_expression "(uchar *)dcgettext(0,pcVar4,5)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal ))))) ;) (return_statement "return puVar5;" return identifier ;) }))
(translation_unit "char * __regparm3 FUN_0001e640(uint param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}\n\n" (function_definition "char * __regparm3 FUN_0001e640(uint param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0001e640(uint param_1,uint param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e640(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "uVar2 = DAT_00073800;" (assignment_expression "uVar2 = DAT_00073800" identifier = identifier) ;) (expression_statement "uVar1 = DAT_000737fc;" (assignment_expression "uVar1 = DAT_000737fc" identifier = identifier) ;) (if_statement "if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" if (parenthesized_expression "(DAT_000737f0 == 0)" ( (binary_expression "DAT_000737f0 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar6 = "<no .debug_str section>";\n  }" { (expression_statement "pcVar6 = "<no .debug_str section>";" (assignment_expression "pcVar6 = "<no .debug_str section>"" identifier = (string_literal ""<no .debug_str section>"" " string_content ")) ;) }) (else_clause "else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" else (if_statement "if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" if (parenthesized_expression "(param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc))" ( (binary_expression "param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)" (binary_expression "param_2 < DAT_00073800" identifier < identifier) || (binary_expression "param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)" (binary_expression "param_2 - DAT_00073800" identifier - identifier) < (call_expression "(uint)(param_1 < DAT_000737fc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 < DAT_000737fc)" ( (binary_expression "param_1 < DAT_000737fc" identifier < identifier) ))))) )) (compound_statement "{\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }" { (expression_statement "pcVar6 = (char *)(DAT_000737f0 + param_1);" (assignment_expression "pcVar6 = (char *)(DAT_000737f0 + param_1)" identifier = (cast_expression "(char *)(DAT_000737f0 + param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000737f0 + param_1)" ( (binary_expression "DAT_000737f0 + param_1" identifier + identifier) )))) ;) (expression_statement "sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);" (assignment_expression "sVar3 = strnlen(pcVar6,DAT_000737fc - param_1)" identifier = (call_expression "strnlen(pcVar6,DAT_000737fc - param_1)" identifier (argument_list "(pcVar6,DAT_000737fc - param_1)" ( identifier , (binary_expression "DAT_000737fc - param_1" identifier - identifier) )))) ;) (if_statement "if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }" if (parenthesized_expression "(uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1)" ( (binary_expression "uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1" (binary_expression "uVar2 - param_2 != (uint)(uVar1 < param_1)" (binary_expression "uVar2 - param_2" identifier - identifier) != (call_expression "(uint)(uVar1 < param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < param_1)" ( (binary_expression "uVar1 < param_1" identifier < identifier) )))) || (binary_expression "sVar3 != uVar1 - param_1" identifier != (binary_expression "uVar1 - param_1" identifier - identifier))) )) (compound_statement "{\n      return pcVar6;\n    }" { (return_statement "return pcVar6;" return identifier ;) })) (expression_statement "pcVar6 = "<no NUL byte at end of .debug_str section>";" (assignment_expression "pcVar6 = "<no NUL byte at end of .debug_str section>"" identifier = (string_literal ""<no NUL byte at end of .debug_str section>"" " string_content ")) ;) }) (else_clause "else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" else (compound_statement "{\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" { (expression_statement "uVar4 = FUN_0001cbf0(0);" (assignment_expression "uVar4 = FUN_0001cbf0(0)" identifier = (call_expression "FUN_0001cbf0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" identifier = (call_expression "dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" identifier (argument_list "(0,"DW_FORM_strp offset too big: %s\n",5)" ( number_literal , (string_literal ""DW_FORM_strp offset too big: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "warn(uVar5,uVar4);" (call_expression "warn(uVar5,uVar4)" identifier (argument_list "(uVar5,uVar4)" ( identifier , identifier ))) ;) (expression_statement "pcVar6 = "<offset is too big>";" (assignment_expression "pcVar6 = "<offset is too big>"" identifier = (string_literal ""<offset is too big>"" " string_content ")) ;) }))))) (expression_statement "pcVar6 = (char *)dcgettext(0,pcVar6,5);" (assignment_expression "pcVar6 = (char *)dcgettext(0,pcVar6,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar6,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal ))))) ;) (return_statement "return pcVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (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 < IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT - IDENT) != (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) || (binary_expression IDENT != (binary_expression IDENT - IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))))) ;) (return_statement return IDENT ;) })))
(function_definition "char * __regparm3 FUN_0001e640(uint param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}" (primitive_type "char") (pointer_declarator "* __regparm3 FUN_0001e640(uint param_1,uint param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001e640(uint param_1,uint param_2)" (identifier "FUN_0001e640") (parameter_list "(uint param_1,uint param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  uVar2 = DAT_00073800;\n  uVar1 = DAT_000737fc;\n  if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }\n  pcVar6 = (char *)dcgettext(0,pcVar6,5);\n  return pcVar6;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "uVar2 = DAT_00073800;" (assignment_expression "uVar2 = DAT_00073800" (identifier "uVar2") (= "=") (identifier "DAT_00073800")) (; ";")) (expression_statement "uVar1 = DAT_000737fc;" (assignment_expression "uVar1 = DAT_000737fc" (identifier "uVar1") (= "=") (identifier "DAT_000737fc")) (; ";")) (if_statement "if (DAT_000737f0 == 0) {\n    pcVar6 = "<no .debug_str section>";\n  }\n  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" (if "if") (parenthesized_expression "(DAT_000737f0 == 0)" (( "(") (binary_expression "DAT_000737f0 == 0" (identifier "DAT_000737f0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar6 = "<no .debug_str section>";\n  }" ({ "{") (expression_statement "pcVar6 = "<no .debug_str section>";" (assignment_expression "pcVar6 = "<no .debug_str section>"" (identifier "pcVar6") (= "=") (string_literal ""<no .debug_str section>"" (" """) (string_content "<no .debug_str section>") (" """))) (; ";")) (} "}")) (else_clause "else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" (else "else") (if_statement "if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }\n  else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" (if "if") (parenthesized_expression "(param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc))" (( "(") (binary_expression "param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)" (binary_expression "param_2 < DAT_00073800" (identifier "param_2") (< "<") (identifier "DAT_00073800")) (|| "||") (binary_expression "param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)" (binary_expression "param_2 - DAT_00073800" (identifier "param_2") (- "-") (identifier "DAT_00073800")) (< "<") (call_expression "(uint)(param_1 < DAT_000737fc)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 < DAT_000737fc)" (( "(") (binary_expression "param_1 < DAT_000737fc" (identifier "param_1") (< "<") (identifier "DAT_000737fc")) () ")"))))) () ")")) (compound_statement "{\n    pcVar6 = (char *)(DAT_000737f0 + param_1);\n    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);\n    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }\n    pcVar6 = "<no NUL byte at end of .debug_str section>";\n  }" ({ "{") (expression_statement "pcVar6 = (char *)(DAT_000737f0 + param_1);" (assignment_expression "pcVar6 = (char *)(DAT_000737f0 + param_1)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(DAT_000737f0 + param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000737f0 + param_1)" (( "(") (binary_expression "DAT_000737f0 + param_1" (identifier "DAT_000737f0") (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);" (assignment_expression "sVar3 = strnlen(pcVar6,DAT_000737fc - param_1)" (identifier "sVar3") (= "=") (call_expression "strnlen(pcVar6,DAT_000737fc - param_1)" (identifier "strnlen") (argument_list "(pcVar6,DAT_000737fc - param_1)" (( "(") (identifier "pcVar6") (, ",") (binary_expression "DAT_000737fc - param_1" (identifier "DAT_000737fc") (- "-") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {\n      return pcVar6;\n    }" (if "if") (parenthesized_expression "(uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1)" (( "(") (binary_expression "uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1" (binary_expression "uVar2 - param_2 != (uint)(uVar1 < param_1)" (binary_expression "uVar2 - param_2" (identifier "uVar2") (- "-") (identifier "param_2")) (!= "!=") (call_expression "(uint)(uVar1 < param_1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < param_1)" (( "(") (binary_expression "uVar1 < param_1" (identifier "uVar1") (< "<") (identifier "param_1")) () ")")))) (|| "||") (binary_expression "sVar3 != uVar1 - param_1" (identifier "sVar3") (!= "!=") (binary_expression "uVar1 - param_1" (identifier "uVar1") (- "-") (identifier "param_1")))) () ")")) (compound_statement "{\n      return pcVar6;\n    }" ({ "{") (return_statement "return pcVar6;" (return "return") (identifier "pcVar6") (; ";")) (} "}"))) (expression_statement "pcVar6 = "<no NUL byte at end of .debug_str section>";" (assignment_expression "pcVar6 = "<no NUL byte at end of .debug_str section>"" (identifier "pcVar6") (= "=") (string_literal ""<no NUL byte at end of .debug_str section>"" (" """) (string_content "<no NUL byte at end of .debug_str section>") (" """))) (; ";")) (} "}")) (else_clause "else {\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" (else "else") (compound_statement "{\n    uVar4 = FUN_0001cbf0(0);\n    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);\n    warn(uVar5,uVar4);\n    pcVar6 = "<offset is too big>";\n  }" ({ "{") (expression_statement "uVar4 = FUN_0001cbf0(0);" (assignment_expression "uVar4 = FUN_0001cbf0(0)" (identifier "uVar4") (= "=") (call_expression "FUN_0001cbf0(0)" (identifier "FUN_0001cbf0") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"DW_FORM_strp offset too big: %s\n",5)" (identifier "dcgettext") (argument_list "(0,"DW_FORM_strp offset too big: %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""DW_FORM_strp offset too big: %s\n"" (" """) (string_content "DW_FORM_strp offset too big: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "warn(uVar5,uVar4);" (call_expression "warn(uVar5,uVar4)" (identifier "warn") (argument_list "(uVar5,uVar4)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "pcVar6 = "<offset is too big>";" (assignment_expression "pcVar6 = "<offset is too big>"" (identifier "pcVar6") (= "=") (string_literal ""<offset is too big>"" (" """) (string_content "<offset is too big>") (" """))) (; ";")) (} "}")))))) (expression_statement "pcVar6 = (char *)dcgettext(0,pcVar6,5);" (assignment_expression "pcVar6 = (char *)dcgettext(0,pcVar6,5)" (identifier "pcVar6") (= "=") (cast_expression "(char *)dcgettext(0,pcVar6,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,pcVar6,5)" (identifier "dcgettext") (argument_list "(0,pcVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar6") (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return pcVar6;" (return "return") (identifier "pcVar6") (; ";")) (} "}")))

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

type_2 * __regparm3 fetch_indirect_string(dwarf_vma offset)

{
  type_1 var_8;
  type_1 var_7;
  type_1 var_4;
  size_t var_9;
  char *pcVar4;
  char *message;
  type_1 var_2;
  type_2 *puVar5;
  type_1 in_stack_ffffffc8;
  
  var_7 = var_3;
  var_8 = var_5;
  if (var_1 == 0) {
    pcVar4 = "<no .debug_str section>";
  }
  else if (var_2 < var_3 || var_2 - var_3 < (type_1)(var_4 < var_5)) {
    puVar5 = (type_2 *)(var_1 + var_4);
    var_9 = var_6((char *)puVar5,var_5 - var_4);
    if (var_7 - var_2 != (type_1)(var_8 < var_4) || var_9 != var_8 - var_4) {
      return puVar5;
    }
    pcVar4 = "<no NUL byte at end of .debug_str section>";
  }
  else {
    pcVar4 = var_10("x",(type_3)in_stack_ffffffc8 << 0x20,var_4);
    message = (char *)var_11(0,"DW_FORM_strp offset too big: %s\n",5);
    var_12(message,pcVar4);
    pcVar4 = "<offset is too big>";
  }
  puVar5 = (type_2 *)var_11(0,pcVar4,5);
  return puVar5;
}


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

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

char * __regparm3 MASKED(uint param_1,uint param_2)

{
  uint uVar1;
  uint uVar2;
  size_t sVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  
  uVar2 = DAT_00073800;
  uVar1 = DAT_000737fc;
  if (DAT_000737f0 == 0) {
    pcVar6 = "<no .debug_str section>";
  }
  else if (param_2 < DAT_00073800 || param_2 - DAT_00073800 < (uint)(param_1 < DAT_000737fc)) {
    pcVar6 = (char *)(DAT_000737f0 + param_1);
    sVar3 = strnlen(pcVar6,DAT_000737fc - param_1);
    if (uVar2 - param_2 != (uint)(uVar1 < param_1) || sVar3 != uVar1 - param_1) {
      return pcVar6;
    }
    pcVar6 = "<no NUL byte at end of .debug_str section>";
  }
  else {
    uVar4 = FUN_0001cbf0(0);
    uVar5 = dcgettext(0,"DW_FORM_strp offset too big: %s\n",5);
    warn(uVar5,uVar4);
    pcVar6 = "<offset is too big>";
  }
  pcVar6 = (char *)dcgettext(0,pcVar6,5);
  return pcVar6;
}

