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

int display_debug_str(dwarf_section *section,void *file)

{
  byte *pbVar1;
  dwarf_section *section_00;
  undefined *puVar2;
  uint uVar3;
  char *__format;
  uint uVar4;
  int iVar5;
  uint uVar6;
  uchar *puVar7;
  uint local_30;
  uint local_2c;
  
  local_30 = (uint)section->size;
  section_00 = (dwarf_section *)section->name;
  if (local_30 == 0) {
    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);
    printf(__format,section_00);
    return 0;
  }
  local_2c = (uint)section->address;
  puVar7 = section->start;
  introduce(section_00,(bfd_boolean)&section->filename,
            *(dwarf_section **)((int)&section->address + 4));
  puVar2 = PTR_stdout_000b3fd8;
  do {
    uVar6 = 0x10;
    if (local_30 < 0x11) {
      uVar6 = local_30;
    }
    uVar4 = 0;
    uVar3 = local_2c;
    printf("  0x%8.8lx ",local_2c);
    do {
      while ((int)uVar4 < (int)uVar6) {
        uVar3 = (uint)puVar7[uVar4];
        printf("%2.2x",uVar3);
        if ((uVar4 & 3) != 3) goto LAB_0004f89e;
LAB_0004f8c3:
        uVar4 = uVar4 + 1;
        putchar(0x20);
        if (uVar4 == 0x10) goto LAB_0004f8d8;
      }
      printf("  ",uVar3);
      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;
LAB_0004f89e:
      uVar4 = uVar4 + 1;
    } while (uVar4 != 0x10);
LAB_0004f8d8:
    iVar5 = 0;
    do {
      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {
        iVar5 = iVar5 + 1;
        putchar(0x2e);
        if ((int)uVar6 <= iVar5) goto LAB_0004f913;
      }
      iVar5 = iVar5 + 1;
      putchar((uint)*pbVar1);
    } while (iVar5 < (int)uVar6);
LAB_0004f913:
    puVar7 = puVar7 + uVar6;
    putc(10,*(FILE **)puVar2);
    local_2c = local_2c + uVar6;
    local_30 = local_30 - uVar6;
    if (local_30 == 0) {
      putc(10,*(FILE **)puVar2);
      return 1;
    }
  } while( true );
}



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

undefined4 FUN_0004f7e0(int param_1)

{
  byte *pbVar1;
  undefined4 uVar2;
  undefined *puVar3;
  uint uVar4;
  char *__format;
  uint uVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  uint local_30;
  uint local_2c;
  
  local_30 = *(uint *)(param_1 + 0x1c);
  uVar2 = *(undefined4 *)(param_1 + 8);
  if (local_30 == 0) {
    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);
    printf(__format,uVar2);
    return 0;
  }
  local_2c = *(uint *)(param_1 + 0x14);
  iVar8 = *(int *)(param_1 + 0x10);
  FUN_0004eb80();
  puVar3 = PTR_stdout_000b3fd8;
  do {
    uVar7 = 0x10;
    if (local_30 < 0x11) {
      uVar7 = local_30;
    }
    uVar5 = 0;
    uVar4 = local_2c;
    printf("  0x%8.8lx ",local_2c);
    do {
      while ((int)uVar5 < (int)uVar7) {
        uVar4 = (uint)*(byte *)(iVar8 + uVar5);
        printf("%2.2x",uVar4);
        if ((uVar5 & 3) != 3) goto LAB_0004f89e;
LAB_0004f8c3:
        uVar5 = uVar5 + 1;
        putchar(0x20);
        if (uVar5 == 0x10) goto LAB_0004f8d8;
      }
      printf("  ",uVar4);
      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;
LAB_0004f89e:
      uVar5 = uVar5 + 1;
    } while (uVar5 != 0x10);
LAB_0004f8d8:
    iVar6 = 0;
    do {
      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {
        iVar6 = iVar6 + 1;
        putchar(0x2e);
        if ((int)uVar7 <= iVar6) goto LAB_0004f913;
      }
      iVar6 = iVar6 + 1;
      putchar((uint)*pbVar1);
    } while (iVar6 < (int)uVar7);
LAB_0004f913:
    iVar8 = iVar8 + uVar7;
    putc(10,*(FILE **)puVar3);
    local_2c = local_2c + uVar7;
    local_30 = local_30 - uVar7;
    if (local_30 == 0) {
      putc(10,*(FILE **)puVar3);
      return 1;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x64817
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [EAX + 0x1c]
MOV ESI,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0xc],ECX
TEST ECX,ECX
JZ 0x0004f95d
MOV EDX,dword ptr [EAX + 0x14]
MOV ECX,dword ptr [EAX + 0x18]
MOV EDI,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0x10],EDX
LEA EDX,[EAX + 0xc]
MOV EAX,ESI
MOV dword ptr [ESP + 0x14],ECX
CALL 0x0004eb80
LEA EAX,[EBX + 0xfffc2ab2]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EBX + 0xffffffd8]
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0xfffc83b6]
MOV dword ptr [ESP + 0x8],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0xc]
MOV ESI,0x10
CMP EAX,0x10
CMOVBE ESI,EAX
SUB ESP,0x8
XOR EBP,EBP
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x28]
CALL 0x00013060
ADD ESP,0x10
LEA EAX,[EBX + 0xfffc2abe]
MOV dword ptr [ESP + 0x4],EAX
JMP 0x0004f8a6
MOVZX EAX,byte ptr [EDI + EBP*0x1]
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x00013060
MOV EAX,EBP
ADD ESP,0x10
AND EAX,0x3
CMP EAX,0x3
JZ 0x0004f8c3
ADD EBP,0x1
CMP EBP,0x10
JZ 0x0004f8d8
CMP ESI,EBP
JG 0x0004f880
SUB ESP,0xc
PUSH dword ptr [ESP + 0x14]
CALL 0x00013060
MOV EAX,EBP
ADD ESP,0x10
AND EAX,0x3
CMP EAX,0x3
JNZ 0x0004f89e
SUB ESP,0xc
ADD EBP,0x1
PUSH 0x20
CALL 0x000132d0
ADD ESP,0x10
CMP EBP,0x10
JNZ 0x0004f8a6
XOR EBP,EBP
JMP 0x0004f8f3
SUB ESP,0xc
ADD EBP,0x1
PUSH EAX
CALL 0x000132d0
ADD ESP,0x10
CMP ESI,EBP
JLE 0x0004f913
MOVZX EAX,byte ptr [EDI + EBP*0x1]
LEA EDX,[EAX + -0x20]
CMP EDX,0x5f
JBE 0x0004f8e0
SUB ESP,0xc
ADD EBP,0x1
PUSH 0x2e
CALL 0x000132d0
ADD ESP,0x10
CMP ESI,EBP
JG 0x0004f8f3
SUB ESP,0x8
ADD EDI,ESI
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX]
PUSH 0xa
CALL 0x00013360
MOV EAX,ESI
CDQ
ADD dword ptr [ESP + 0x20],ESI
ADC dword ptr [ESP + 0x24],EDX
ADD ESP,0x10
SUB dword ptr [ESP + 0xc],ESI
JNZ 0x0004f848
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX]
PUSH 0xa
CALL 0x00013360
ADD ESP,0x10
MOV EAX,0x1
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffde441]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00013060
ADD ESP,0x10
XOR EAX,EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0004f7e0(int param_1)\n\n{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}\n\n" comment (function_definition "undefined4 FUN_0004f7e0(int param_1)\n\n{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}" type_identifier (function_declarator "FUN_0004f7e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "local_30 = *(uint *)(param_1 + 0x1c);" (assignment_expression "local_30 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }" { (expression_statement "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"\nThe %s section is empty.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"\nThe %s section is empty.\n",5)" identifier (argument_list "(0,"\nThe %s section is empty.\n",5)" ( number_literal , (string_literal ""\nThe %s section is empty.\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,uVar2);" (call_expression "printf(__format,uVar2)" identifier (argument_list "(__format,uVar2)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_2c = *(uint *)(param_1 + 0x14);" (assignment_expression "local_2c = *(uint *)(param_1 + 0x14)" identifier = (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "FUN_0004eb80();" (call_expression "FUN_0004eb80()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar3 = PTR_stdout_000b3fd8;" (assignment_expression "puVar3 = PTR_stdout_000b3fd8" identifier = identifier) ;) (do_statement "do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );" do (compound_statement "{\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  }" { (expression_statement "uVar7 = 0x10;" (assignment_expression "uVar7 = 0x10" identifier = number_literal) ;) (if_statement "if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }" if (parenthesized_expression "(local_30 < 0x11)" ( (binary_expression "local_30 < 0x11" identifier < number_literal) )) (compound_statement "{\n      uVar7 = local_30;\n    }" { (expression_statement "uVar7 = local_30;" (assignment_expression "uVar7 = local_30" identifier = identifier) ;) })) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = local_2c;" (assignment_expression "uVar4 = local_2c" identifier = identifier) ;) (expression_statement "printf("  0x%8.8lx ",local_2c);" (call_expression "printf("  0x%8.8lx ",local_2c)" identifier (argument_list "("  0x%8.8lx ",local_2c)" ( (string_literal ""  0x%8.8lx "" " string_content ") , identifier ))) ;) (do_statement "do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);" do (compound_statement "{\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    }" { (while_statement "while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }" while (parenthesized_expression "((int)uVar5 < (int)uVar7)" ( (binary_expression "(int)uVar5 < (int)uVar7" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }" { (expression_statement "uVar4 = (uint)*(byte *)(iVar8 + uVar5);" (assignment_expression "uVar4 = (uint)*(byte *)(iVar8 + uVar5)" identifier = (binary_expression "(uint)*(byte *)(iVar8 + uVar5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar8 + uVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar5)" ( (binary_expression "iVar8 + uVar5" identifier + identifier) ))))) ;) (expression_statement "printf("%2.2x",uVar4);" (call_expression "printf("%2.2x",uVar4)" identifier (argument_list "("%2.2x",uVar4)" ( (string_literal ""%2.2x"" " string_content ") , identifier ))) ;) (if_statement "if ((uVar5 & 3) != 3) goto LAB_0004f89e;" if (parenthesized_expression "((uVar5 & 3) != 3)" ( (binary_expression "(uVar5 & 3) != 3" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0004f89e;" goto statement_identifier ;)) (labeled_statement "LAB_0004f8c3:\n        uVar5 = uVar5 + 1;" statement_identifier : (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) (expression_statement "putchar(0x20);" (call_expression "putchar(0x20)" identifier (argument_list "(0x20)" ( number_literal ))) ;) (if_statement "if (uVar5 == 0x10) goto LAB_0004f8d8;" if (parenthesized_expression "(uVar5 == 0x10)" ( (binary_expression "uVar5 == 0x10" identifier == number_literal) )) (goto_statement "goto LAB_0004f8d8;" goto statement_identifier ;)) })) (expression_statement "printf("  ",uVar4);" (call_expression "printf("  ",uVar4)" identifier (argument_list "("  ",uVar4)" ( (string_literal ""  "" " string_content ") , identifier ))) ;) (if_statement "if ((uVar5 & 3) == 3) goto LAB_0004f8c3;" if (parenthesized_expression "((uVar5 & 3) == 3)" ( (binary_expression "(uVar5 & 3) == 3" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0004f8c3;" goto statement_identifier ;)) (labeled_statement "LAB_0004f89e:\n      uVar5 = uVar5 + 1;" statement_identifier : (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(uVar5 != 0x10)" ( (binary_expression "uVar5 != 0x10" identifier != number_literal) )) ;) (labeled_statement "LAB_0004f8d8:\n    iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) (do_statement "do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);" do (compound_statement "{\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    }" { (while_statement "while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }" while (parenthesized_expression "(pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20)" ( (comma_expression "pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20" (assignment_expression "pbVar1 = (byte *)(iVar8 + iVar6)" identifier = (cast_expression "(byte *)(iVar8 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar6)" ( (binary_expression "iVar8 + iVar6" identifier + identifier) )))) , (binary_expression "0x5f < *pbVar1 - 0x20" number_literal < (binary_expression "*pbVar1 - 0x20" (pointer_expression "*pbVar1" * identifier) - number_literal))) )) (compound_statement "{\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "putchar(0x2e);" (call_expression "putchar(0x2e)" identifier (argument_list "(0x2e)" ( number_literal ))) ;) (if_statement "if ((int)uVar7 <= iVar6) goto LAB_0004f913;" if (parenthesized_expression "((int)uVar7 <= iVar6)" ( (binary_expression "(int)uVar7 <= iVar6" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_0004f913;" goto statement_identifier ;)) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "putchar((uint)*pbVar1);" (call_expression "putchar((uint)*pbVar1)" identifier (argument_list "((uint)*pbVar1)" ( (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ))) ;) }) while (parenthesized_expression "(iVar6 < (int)uVar7)" ( (binary_expression "iVar6 < (int)uVar7" identifier < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (labeled_statement "LAB_0004f913:\n    iVar8 = iVar8 + uVar7;" statement_identifier : (expression_statement "iVar8 = iVar8 + uVar7;" (assignment_expression "iVar8 = iVar8 + uVar7" identifier = (binary_expression "iVar8 + uVar7" identifier + identifier)) ;)) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "local_2c = local_2c + uVar7;" (assignment_expression "local_2c = local_2c + uVar7" identifier = (binary_expression "local_2c + uVar7" identifier + identifier)) ;) (expression_statement "local_30 = local_30 - uVar7;" (assignment_expression "local_30 = local_30 - uVar7" identifier = (binary_expression "local_30 - uVar7" identifier - identifier)) ;) (if_statement "if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }" { (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint display_debug_str(dwarf_section *section,void *file)\n\n{\n  byte *pbVar1;\n  dwarf_section *section_00;\n  undefined *puVar2;\n  uint uVar3;\n  char *__format;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uchar *puVar7;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = (uint)section->size;\n  section_00 = (dwarf_section *)section->name;\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,section_00);\n    return 0;\n  }\n  local_2c = (uint)section->address;\n  puVar7 = section->start;\n  introduce(section_00,(bfd_boolean)&section->filename,\n            *(dwarf_section **)((int)&section->address + 4));\n  puVar2 = PTR_stdout_000b3fd8;\n  do {\n    uVar6 = 0x10;\n    if (local_30 < 0x11) {\n      uVar6 = local_30;\n    }\n    uVar4 = 0;\n    uVar3 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    } while (uVar4 != 0x10);\nLAB_0004f8d8:\n    iVar5 = 0;\n    do {\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar5 < (int)uVar6);\nLAB_0004f913:\n    puVar7 = puVar7 + uVar6;\n    putc(10,*(FILE **)puVar2);\n    local_2c = local_2c + uVar6;\n    local_30 = local_30 - uVar6;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "int display_debug_str(dwarf_section *section,void *file)\n\n{\n  byte *pbVar1;\n  dwarf_section *section_00;\n  undefined *puVar2;\n  uint uVar3;\n  char *__format;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uchar *puVar7;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = (uint)section->size;\n  section_00 = (dwarf_section *)section->name;\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,section_00);\n    return 0;\n  }\n  local_2c = (uint)section->address;\n  puVar7 = section->start;\n  introduce(section_00,(bfd_boolean)&section->filename,\n            *(dwarf_section **)((int)&section->address + 4));\n  puVar2 = PTR_stdout_000b3fd8;\n  do {\n    uVar6 = 0x10;\n    if (local_30 < 0x11) {\n      uVar6 = local_30;\n    }\n    uVar4 = 0;\n    uVar3 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    } while (uVar4 != 0x10);\nLAB_0004f8d8:\n    iVar5 = 0;\n    do {\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar5 < (int)uVar6);\nLAB_0004f913:\n    puVar7 = puVar7 + uVar6;\n    putc(10,*(FILE **)puVar2);\n    local_2c = local_2c + uVar6;\n    local_30 = local_30 - uVar6;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "display_debug_str(dwarf_section *section,void *file)" identifier (parameter_list "(dwarf_section *section,void *file)" ( (parameter_declaration "dwarf_section *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "void *file" primitive_type (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  dwarf_section *section_00;\n  undefined *puVar2;\n  uint uVar3;\n  char *__format;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uchar *puVar7;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = (uint)section->size;\n  section_00 = (dwarf_section *)section->name;\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,section_00);\n    return 0;\n  }\n  local_2c = (uint)section->address;\n  puVar7 = section->start;\n  introduce(section_00,(bfd_boolean)&section->filename,\n            *(dwarf_section **)((int)&section->address + 4));\n  puVar2 = PTR_stdout_000b3fd8;\n  do {\n    uVar6 = 0x10;\n    if (local_30 < 0x11) {\n      uVar6 = local_30;\n    }\n    uVar4 = 0;\n    uVar3 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    } while (uVar4 != 0x10);\nLAB_0004f8d8:\n    iVar5 = 0;\n    do {\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar5 < (int)uVar6);\nLAB_0004f913:\n    puVar7 = puVar7 + uVar6;\n    putc(10,*(FILE **)puVar2);\n    local_2c = local_2c + uVar6;\n    local_30 = local_30 - uVar6;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }\n  } while( true );\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "dwarf_section *section_00;" type_identifier (pointer_declarator "*section_00" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uchar *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "local_30 = (uint)section->size;" (assignment_expression "local_30 = (uint)section->size" identifier = (cast_expression "(uint)section->size" ( (type_descriptor "uint" type_identifier) ) (field_expression "section->size" identifier -> field_identifier))) ;) (expression_statement "section_00 = (dwarf_section *)section->name;" (assignment_expression "section_00 = (dwarf_section *)section->name" identifier = (cast_expression "(dwarf_section *)section->name" ( (type_descriptor "dwarf_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "section->name" identifier -> field_identifier))) ;) (if_statement "if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,section_00);\n    return 0;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,section_00);\n    return 0;\n  }" { (expression_statement "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"\nThe %s section is empty.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"\nThe %s section is empty.\n",5)" identifier (argument_list "(0,"\nThe %s section is empty.\n",5)" ( number_literal , (string_literal ""\nThe %s section is empty.\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,section_00);" (call_expression "printf(__format,section_00)" identifier (argument_list "(__format,section_00)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_2c = (uint)section->address;" (assignment_expression "local_2c = (uint)section->address" identifier = (cast_expression "(uint)section->address" ( (type_descriptor "uint" type_identifier) ) (field_expression "section->address" identifier -> field_identifier))) ;) (expression_statement "puVar7 = section->start;" (assignment_expression "puVar7 = section->start" identifier = (field_expression "section->start" identifier -> field_identifier)) ;) (expression_statement "introduce(section_00,(bfd_boolean)&section->filename,\n            *(dwarf_section **)((int)&section->address + 4));" (call_expression "introduce(section_00,(bfd_boolean)&section->filename,\n            *(dwarf_section **)((int)&section->address + 4))" identifier (argument_list "(section_00,(bfd_boolean)&section->filename,\n            *(dwarf_section **)((int)&section->address + 4))" ( identifier , (binary_expression "(bfd_boolean)&section->filename" (parenthesized_expression "(bfd_boolean)" ( identifier )) & (field_expression "section->filename" identifier -> field_identifier)) , (pointer_expression "*(dwarf_section **)((int)&section->address + 4)" * (cast_expression "(dwarf_section **)((int)&section->address + 4)" ( (type_descriptor "dwarf_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&section->address + 4)" ( (binary_expression "(int)&section->address + 4" (cast_expression "(int)&section->address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&section->address" & (field_expression "section->address" identifier -> field_identifier))) + number_literal) )))) ))) ;) (expression_statement "puVar2 = PTR_stdout_000b3fd8;" (assignment_expression "puVar2 = PTR_stdout_000b3fd8" identifier = identifier) ;) (do_statement "do {\n    uVar6 = 0x10;\n    if (local_30 < 0x11) {\n      uVar6 = local_30;\n    }\n    uVar4 = 0;\n    uVar3 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    } while (uVar4 != 0x10);\nLAB_0004f8d8:\n    iVar5 = 0;\n    do {\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar5 < (int)uVar6);\nLAB_0004f913:\n    puVar7 = puVar7 + uVar6;\n    putc(10,*(FILE **)puVar2);\n    local_2c = local_2c + uVar6;\n    local_30 = local_30 - uVar6;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }\n  } while( true );" do (compound_statement "{\n    uVar6 = 0x10;\n    if (local_30 < 0x11) {\n      uVar6 = local_30;\n    }\n    uVar4 = 0;\n    uVar3 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    } while (uVar4 != 0x10);\nLAB_0004f8d8:\n    iVar5 = 0;\n    do {\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar5 < (int)uVar6);\nLAB_0004f913:\n    puVar7 = puVar7 + uVar6;\n    putc(10,*(FILE **)puVar2);\n    local_2c = local_2c + uVar6;\n    local_30 = local_30 - uVar6;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }\n  }" { (expression_statement "uVar6 = 0x10;" (assignment_expression "uVar6 = 0x10" identifier = number_literal) ;) (if_statement "if (local_30 < 0x11) {\n      uVar6 = local_30;\n    }" if (parenthesized_expression "(local_30 < 0x11)" ( (binary_expression "local_30 < 0x11" identifier < number_literal) )) (compound_statement "{\n      uVar6 = local_30;\n    }" { (expression_statement "uVar6 = local_30;" (assignment_expression "uVar6 = local_30" identifier = identifier) ;) })) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = local_2c;" (assignment_expression "uVar3 = local_2c" identifier = identifier) ;) (expression_statement "printf("  0x%8.8lx ",local_2c);" (call_expression "printf("  0x%8.8lx ",local_2c)" identifier (argument_list "("  0x%8.8lx ",local_2c)" ( (string_literal ""  0x%8.8lx "" " string_content ") , identifier ))) ;) (do_statement "do {\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    } while (uVar4 != 0x10);" do (compound_statement "{\n      while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar3);\n      if ((uVar4 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar4 = uVar4 + 1;\n    }" { (while_statement "while ((int)uVar4 < (int)uVar6) {\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }" while (parenthesized_expression "((int)uVar4 < (int)uVar6)" ( (binary_expression "(int)uVar4 < (int)uVar6" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        uVar3 = (uint)puVar7[uVar4];\n        printf("%2.2x",uVar3);\n        if ((uVar4 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar4 = uVar4 + 1;\n        putchar(0x20);\n        if (uVar4 == 0x10) goto LAB_0004f8d8;\n      }" { (expression_statement "uVar3 = (uint)puVar7[uVar4];" (assignment_expression "uVar3 = (uint)puVar7[uVar4]" identifier = (cast_expression "(uint)puVar7[uVar4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar7[uVar4]" identifier [ identifier ]))) ;) (expression_statement "printf("%2.2x",uVar3);" (call_expression "printf("%2.2x",uVar3)" identifier (argument_list "("%2.2x",uVar3)" ( (string_literal ""%2.2x"" " string_content ") , identifier ))) ;) (if_statement "if ((uVar4 & 3) != 3) goto LAB_0004f89e;" if (parenthesized_expression "((uVar4 & 3) != 3)" ( (binary_expression "(uVar4 & 3) != 3" (parenthesized_expression "(uVar4 & 3)" ( (binary_expression "uVar4 & 3" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0004f89e;" goto statement_identifier ;)) (labeled_statement "LAB_0004f8c3:\n        uVar4 = uVar4 + 1;" statement_identifier : (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;)) (expression_statement "putchar(0x20);" (call_expression "putchar(0x20)" identifier (argument_list "(0x20)" ( number_literal ))) ;) (if_statement "if (uVar4 == 0x10) goto LAB_0004f8d8;" if (parenthesized_expression "(uVar4 == 0x10)" ( (binary_expression "uVar4 == 0x10" identifier == number_literal) )) (goto_statement "goto LAB_0004f8d8;" goto statement_identifier ;)) })) (expression_statement "printf("  ",uVar3);" (call_expression "printf("  ",uVar3)" identifier (argument_list "("  ",uVar3)" ( (string_literal ""  "" " string_content ") , identifier ))) ;) (if_statement "if ((uVar4 & 3) == 3) goto LAB_0004f8c3;" if (parenthesized_expression "((uVar4 & 3) == 3)" ( (binary_expression "(uVar4 & 3) == 3" (parenthesized_expression "(uVar4 & 3)" ( (binary_expression "uVar4 & 3" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0004f8c3;" goto statement_identifier ;)) (labeled_statement "LAB_0004f89e:\n      uVar4 = uVar4 + 1;" statement_identifier : (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(uVar4 != 0x10)" ( (binary_expression "uVar4 != 0x10" identifier != number_literal) )) ;) (labeled_statement "LAB_0004f8d8:\n    iVar5 = 0;" statement_identifier : (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;)) (do_statement "do {\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar5 < (int)uVar6);" do (compound_statement "{\n      while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }\n      iVar5 = iVar5 + 1;\n      putchar((uint)*pbVar1);\n    }" { (while_statement "while (pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20) {\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }" while (parenthesized_expression "(pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20)" ( (comma_expression "pbVar1 = puVar7 + iVar5, 0x5f < *pbVar1 - 0x20" (assignment_expression "pbVar1 = puVar7 + iVar5" identifier = (binary_expression "puVar7 + iVar5" identifier + identifier)) , (binary_expression "0x5f < *pbVar1 - 0x20" number_literal < (binary_expression "*pbVar1 - 0x20" (pointer_expression "*pbVar1" * identifier) - number_literal))) )) (compound_statement "{\n        iVar5 = iVar5 + 1;\n        putchar(0x2e);\n        if ((int)uVar6 <= iVar5) goto LAB_0004f913;\n      }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "putchar(0x2e);" (call_expression "putchar(0x2e)" identifier (argument_list "(0x2e)" ( number_literal ))) ;) (if_statement "if ((int)uVar6 <= iVar5) goto LAB_0004f913;" if (parenthesized_expression "((int)uVar6 <= iVar5)" ( (binary_expression "(int)uVar6 <= iVar5" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_0004f913;" goto statement_identifier ;)) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "putchar((uint)*pbVar1);" (call_expression "putchar((uint)*pbVar1)" identifier (argument_list "((uint)*pbVar1)" ( (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ))) ;) }) while (parenthesized_expression "(iVar5 < (int)uVar6)" ( (binary_expression "iVar5 < (int)uVar6" identifier < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (labeled_statement "LAB_0004f913:\n    puVar7 = puVar7 + uVar6;" statement_identifier : (expression_statement "puVar7 = puVar7 + uVar6;" (assignment_expression "puVar7 = puVar7 + uVar6" identifier = (binary_expression "puVar7 + uVar6" identifier + identifier)) ;)) (expression_statement "putc(10,*(FILE **)puVar2);" (call_expression "putc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "local_2c = local_2c + uVar6;" (assignment_expression "local_2c = local_2c + uVar6" identifier = (binary_expression "local_2c + uVar6" identifier + identifier)) ;) (expression_statement "local_30 = local_30 - uVar6;" (assignment_expression "local_30 = local_30 - uVar6" identifier = (binary_expression "local_30 - uVar6" identifier - identifier)) ;) (if_statement "if (local_30 == 0) {\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n      putc(10,*(FILE **)puVar2);\n      return 1;\n    }" { (expression_statement "putc(10,*(FILE **)puVar2);" (call_expression "putc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_0004f7e0(int param_1)\n\n{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_0004f7e0(int param_1)\n\n{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}" type_identifier (function_declarator "FUN_0004f7e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "local_30 = *(uint *)(param_1 + 0x1c);" (assignment_expression "local_30 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }" { (expression_statement "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"\nThe %s section is empty.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"\nThe %s section is empty.\n",5)" identifier (argument_list "(0,"\nThe %s section is empty.\n",5)" ( number_literal , (string_literal ""\nThe %s section is empty.\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,uVar2);" (call_expression "printf(__format,uVar2)" identifier (argument_list "(__format,uVar2)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_2c = *(uint *)(param_1 + 0x14);" (assignment_expression "local_2c = *(uint *)(param_1 + 0x14)" identifier = (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "FUN_0004eb80();" (call_expression "FUN_0004eb80()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar3 = PTR_stdout_000b3fd8;" (assignment_expression "puVar3 = PTR_stdout_000b3fd8" identifier = identifier) ;) (do_statement "do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );" do (compound_statement "{\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  }" { (expression_statement "uVar7 = 0x10;" (assignment_expression "uVar7 = 0x10" identifier = number_literal) ;) (if_statement "if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }" if (parenthesized_expression "(local_30 < 0x11)" ( (binary_expression "local_30 < 0x11" identifier < number_literal) )) (compound_statement "{\n      uVar7 = local_30;\n    }" { (expression_statement "uVar7 = local_30;" (assignment_expression "uVar7 = local_30" identifier = identifier) ;) })) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = local_2c;" (assignment_expression "uVar4 = local_2c" identifier = identifier) ;) (expression_statement "printf("  0x%8.8lx ",local_2c);" (call_expression "printf("  0x%8.8lx ",local_2c)" identifier (argument_list "("  0x%8.8lx ",local_2c)" ( (string_literal ""  0x%8.8lx "" " string_content ") , identifier ))) ;) (do_statement "do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);" do (compound_statement "{\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    }" { (while_statement "while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }" while (parenthesized_expression "((int)uVar5 < (int)uVar7)" ( (binary_expression "(int)uVar5 < (int)uVar7" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }" { (expression_statement "uVar4 = (uint)*(byte *)(iVar8 + uVar5);" (assignment_expression "uVar4 = (uint)*(byte *)(iVar8 + uVar5)" identifier = (binary_expression "(uint)*(byte *)(iVar8 + uVar5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar8 + uVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar5)" ( (binary_expression "iVar8 + uVar5" identifier + identifier) ))))) ;) (expression_statement "printf("%2.2x",uVar4);" (call_expression "printf("%2.2x",uVar4)" identifier (argument_list "("%2.2x",uVar4)" ( (string_literal ""%2.2x"" " string_content ") , identifier ))) ;) (if_statement "if ((uVar5 & 3) != 3) goto LAB_0004f89e;" if (parenthesized_expression "((uVar5 & 3) != 3)" ( (binary_expression "(uVar5 & 3) != 3" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0004f89e;" goto statement_identifier ;)) (labeled_statement "LAB_0004f8c3:\n        uVar5 = uVar5 + 1;" statement_identifier : (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) (expression_statement "putchar(0x20);" (call_expression "putchar(0x20)" identifier (argument_list "(0x20)" ( number_literal ))) ;) (if_statement "if (uVar5 == 0x10) goto LAB_0004f8d8;" if (parenthesized_expression "(uVar5 == 0x10)" ( (binary_expression "uVar5 == 0x10" identifier == number_literal) )) (goto_statement "goto LAB_0004f8d8;" goto statement_identifier ;)) })) (expression_statement "printf("  ",uVar4);" (call_expression "printf("  ",uVar4)" identifier (argument_list "("  ",uVar4)" ( (string_literal ""  "" " string_content ") , identifier ))) ;) (if_statement "if ((uVar5 & 3) == 3) goto LAB_0004f8c3;" if (parenthesized_expression "((uVar5 & 3) == 3)" ( (binary_expression "(uVar5 & 3) == 3" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0004f8c3;" goto statement_identifier ;)) (labeled_statement "LAB_0004f89e:\n      uVar5 = uVar5 + 1;" statement_identifier : (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(uVar5 != 0x10)" ( (binary_expression "uVar5 != 0x10" identifier != number_literal) )) ;) (labeled_statement "LAB_0004f8d8:\n    iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) (do_statement "do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);" do (compound_statement "{\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    }" { (while_statement "while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }" while (parenthesized_expression "(pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20)" ( (comma_expression "pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20" (assignment_expression "pbVar1 = (byte *)(iVar8 + iVar6)" identifier = (cast_expression "(byte *)(iVar8 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar6)" ( (binary_expression "iVar8 + iVar6" identifier + identifier) )))) , (binary_expression "0x5f < *pbVar1 - 0x20" number_literal < (binary_expression "*pbVar1 - 0x20" (pointer_expression "*pbVar1" * identifier) - number_literal))) )) (compound_statement "{\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "putchar(0x2e);" (call_expression "putchar(0x2e)" identifier (argument_list "(0x2e)" ( number_literal ))) ;) (if_statement "if ((int)uVar7 <= iVar6) goto LAB_0004f913;" if (parenthesized_expression "((int)uVar7 <= iVar6)" ( (binary_expression "(int)uVar7 <= iVar6" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_0004f913;" goto statement_identifier ;)) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "putchar((uint)*pbVar1);" (call_expression "putchar((uint)*pbVar1)" identifier (argument_list "((uint)*pbVar1)" ( (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ))) ;) }) while (parenthesized_expression "(iVar6 < (int)uVar7)" ( (binary_expression "iVar6 < (int)uVar7" identifier < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (labeled_statement "LAB_0004f913:\n    iVar8 = iVar8 + uVar7;" statement_identifier : (expression_statement "iVar8 = iVar8 + uVar7;" (assignment_expression "iVar8 = iVar8 + uVar7" identifier = (binary_expression "iVar8 + uVar7" identifier + identifier)) ;)) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "local_2c = local_2c + uVar7;" (assignment_expression "local_2c = local_2c + uVar7" identifier = (binary_expression "local_2c + uVar7" identifier + identifier)) ;) (expression_statement "local_30 = local_30 - uVar7;" (assignment_expression "local_30 = local_30 - uVar7" identifier = (binary_expression "local_30 - uVar7" identifier - identifier)) ;) (if_statement "if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }" { (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (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 IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " escape_sequence string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) , (binary_expression LIT < (binary_expression (pointer_expression * IDENT) - LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (parenthesized_expression ( IDENT )) * IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (return_statement return LIT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_0004f7e0(int param_1)\n\n{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_0004f7e0(int param_1)" (identifier "FUN_0004f7e0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  uint uVar4;\n  char *__format;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  uint local_30;\n  uint local_2c;\n  \n  local_30 = *(uint *)(param_1 + 0x1c);\n  uVar2 = *(undefined4 *)(param_1 + 8);\n  if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }\n  local_2c = *(uint *)(param_1 + 0x14);\n  iVar8 = *(int *)(param_1 + 0x10);\n  FUN_0004eb80();\n  puVar3 = PTR_stdout_000b3fd8;\n  do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "local_30 = *(uint *)(param_1 + 0x1c);" (assignment_expression "local_30 = *(uint *)(param_1 + 0x1c)" (identifier "local_30") (= "=") (pointer_expression "*(uint *)(param_1 + 0x1c)" (* "*") (cast_expression "(uint *)(param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (local_30 == 0) {\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);\n    printf(__format,uVar2);\n    return 0;\n  }" ({ "{") (expression_statement "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext(0,"\nThe %s section is empty.\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"\nThe %s section is empty.\n",5)" (identifier "dcgettext") (argument_list "(0,"\nThe %s section is empty.\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""\nThe %s section is empty.\n"" (" """) (escape_sequence "\n") (string_content "The %s section is empty.") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(__format,uVar2);" (call_expression "printf(__format,uVar2)" (identifier "printf") (argument_list "(__format,uVar2)" (( "(") (identifier "__format") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_2c = *(uint *)(param_1 + 0x14);" (assignment_expression "local_2c = *(uint *)(param_1 + 0x14)" (identifier "local_2c") (= "=") (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x10)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "FUN_0004eb80();" (call_expression "FUN_0004eb80()" (identifier "FUN_0004eb80") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar3 = PTR_stdout_000b3fd8;" (assignment_expression "puVar3 = PTR_stdout_000b3fd8" (identifier "puVar3") (= "=") (identifier "PTR_stdout_000b3fd8")) (; ";")) (do_statement "do {\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    uVar7 = 0x10;\n    if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }\n    uVar5 = 0;\n    uVar4 = local_2c;\n    printf("  0x%8.8lx ",local_2c);\n    do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);\nLAB_0004f8d8:\n    iVar6 = 0;\n    do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);\nLAB_0004f913:\n    iVar8 = iVar8 + uVar7;\n    putc(10,*(FILE **)puVar3);\n    local_2c = local_2c + uVar7;\n    local_30 = local_30 - uVar7;\n    if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }\n  }" ({ "{") (expression_statement "uVar7 = 0x10;" (assignment_expression "uVar7 = 0x10" (identifier "uVar7") (= "=") (number_literal "0x10")) (; ";")) (if_statement "if (local_30 < 0x11) {\n      uVar7 = local_30;\n    }" (if "if") (parenthesized_expression "(local_30 < 0x11)" (( "(") (binary_expression "local_30 < 0x11" (identifier "local_30") (< "<") (number_literal "0x11")) () ")")) (compound_statement "{\n      uVar7 = local_30;\n    }" ({ "{") (expression_statement "uVar7 = local_30;" (assignment_expression "uVar7 = local_30" (identifier "uVar7") (= "=") (identifier "local_30")) (; ";")) (} "}"))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = local_2c;" (assignment_expression "uVar4 = local_2c" (identifier "uVar4") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "printf("  0x%8.8lx ",local_2c);" (call_expression "printf("  0x%8.8lx ",local_2c)" (identifier "printf") (argument_list "("  0x%8.8lx ",local_2c)" (( "(") (string_literal ""  0x%8.8lx "" (" """) (string_content "  0x%8.8lx ") (" """)) (, ",") (identifier "local_2c") () ")"))) (; ";")) (do_statement "do {\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    } while (uVar5 != 0x10);" (do "do") (compound_statement "{\n      while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }\n      printf("  ",uVar4);\n      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;\nLAB_0004f89e:\n      uVar5 = uVar5 + 1;\n    }" ({ "{") (while_statement "while ((int)uVar5 < (int)uVar7) {\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }" (while "while") (parenthesized_expression "((int)uVar5 < (int)uVar7)" (( "(") (binary_expression "(int)uVar5 < (int)uVar7" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (< "<") (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7"))) () ")")) (compound_statement "{\n        uVar4 = (uint)*(byte *)(iVar8 + uVar5);\n        printf("%2.2x",uVar4);\n        if ((uVar5 & 3) != 3) goto LAB_0004f89e;\nLAB_0004f8c3:\n        uVar5 = uVar5 + 1;\n        putchar(0x20);\n        if (uVar5 == 0x10) goto LAB_0004f8d8;\n      }" ({ "{") (expression_statement "uVar4 = (uint)*(byte *)(iVar8 + uVar5);" (assignment_expression "uVar4 = (uint)*(byte *)(iVar8 + uVar5)" (identifier "uVar4") (= "=") (binary_expression "(uint)*(byte *)(iVar8 + uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar8 + uVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar5)" (( "(") (binary_expression "iVar8 + uVar5" (identifier "iVar8") (+ "+") (identifier "uVar5")) () ")"))))) (; ";")) (expression_statement "printf("%2.2x",uVar4);" (call_expression "printf("%2.2x",uVar4)" (identifier "printf") (argument_list "("%2.2x",uVar4)" (( "(") (string_literal ""%2.2x"" (" """) (string_content "%2.2x") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (if_statement "if ((uVar5 & 3) != 3) goto LAB_0004f89e;" (if "if") (parenthesized_expression "((uVar5 & 3) != 3)" (( "(") (binary_expression "(uVar5 & 3) != 3" (parenthesized_expression "(uVar5 & 3)" (( "(") (binary_expression "uVar5 & 3" (identifier "uVar5") (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "3")) () ")")) (goto_statement "goto LAB_0004f89e;" (goto "goto") (statement_identifier "LAB_0004f89e") (; ";"))) (labeled_statement "LAB_0004f8c3:\n        uVar5 = uVar5 + 1;" (statement_identifier "LAB_0004f8c3") (: ":") (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "putchar(0x20);" (call_expression "putchar(0x20)" (identifier "putchar") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))) (; ";")) (if_statement "if (uVar5 == 0x10) goto LAB_0004f8d8;" (if "if") (parenthesized_expression "(uVar5 == 0x10)" (( "(") (binary_expression "uVar5 == 0x10" (identifier "uVar5") (== "==") (number_literal "0x10")) () ")")) (goto_statement "goto LAB_0004f8d8;" (goto "goto") (statement_identifier "LAB_0004f8d8") (; ";"))) (} "}"))) (expression_statement "printf("  ",uVar4);" (call_expression "printf("  ",uVar4)" (identifier "printf") (argument_list "("  ",uVar4)" (( "(") (string_literal ""  "" (" """) (string_content "  ") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (if_statement "if ((uVar5 & 3) == 3) goto LAB_0004f8c3;" (if "if") (parenthesized_expression "((uVar5 & 3) == 3)" (( "(") (binary_expression "(uVar5 & 3) == 3" (parenthesized_expression "(uVar5 & 3)" (( "(") (binary_expression "uVar5 & 3" (identifier "uVar5") (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "3")) () ")")) (goto_statement "goto LAB_0004f8c3;" (goto "goto") (statement_identifier "LAB_0004f8c3") (; ";"))) (labeled_statement "LAB_0004f89e:\n      uVar5 = uVar5 + 1;" (statement_identifier "LAB_0004f89e") (: ":") (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(uVar5 != 0x10)" (( "(") (binary_expression "uVar5 != 0x10" (identifier "uVar5") (!= "!=") (number_literal "0x10")) () ")")) (; ";")) (labeled_statement "LAB_0004f8d8:\n    iVar6 = 0;" (statement_identifier "LAB_0004f8d8") (: ":") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";"))) (do_statement "do {\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    } while (iVar6 < (int)uVar7);" (do "do") (compound_statement "{\n      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }\n      iVar6 = iVar6 + 1;\n      putchar((uint)*pbVar1);\n    }" ({ "{") (while_statement "while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }" (while "while") (parenthesized_expression "(pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20)" (( "(") (comma_expression "pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20" (assignment_expression "pbVar1 = (byte *)(iVar8 + iVar6)" (identifier "pbVar1") (= "=") (cast_expression "(byte *)(iVar8 + iVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + iVar6)" (( "(") (binary_expression "iVar8 + iVar6" (identifier "iVar8") (+ "+") (identifier "iVar6")) () ")")))) (, ",") (binary_expression "0x5f < *pbVar1 - 0x20" (number_literal "0x5f") (< "<") (binary_expression "*pbVar1 - 0x20" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (- "-") (number_literal "0x20")))) () ")")) (compound_statement "{\n        iVar6 = iVar6 + 1;\n        putchar(0x2e);\n        if ((int)uVar7 <= iVar6) goto LAB_0004f913;\n      }" ({ "{") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "putchar(0x2e);" (call_expression "putchar(0x2e)" (identifier "putchar") (argument_list "(0x2e)" (( "(") (number_literal "0x2e") () ")"))) (; ";")) (if_statement "if ((int)uVar7 <= iVar6) goto LAB_0004f913;" (if "if") (parenthesized_expression "((int)uVar7 <= iVar6)" (( "(") (binary_expression "(int)uVar7 <= iVar6" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (<= "<=") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_0004f913;" (goto "goto") (statement_identifier "LAB_0004f913") (; ";"))) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "putchar((uint)*pbVar1);" (call_expression "putchar((uint)*pbVar1)" (identifier "putchar") (argument_list "((uint)*pbVar1)" (( "(") (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar1")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < (int)uVar7)" (( "(") (binary_expression "iVar6 < (int)uVar7" (identifier "iVar6") (< "<") (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7"))) () ")")) (; ";")) (labeled_statement "LAB_0004f913:\n    iVar8 = iVar8 + uVar7;" (statement_identifier "LAB_0004f913") (: ":") (expression_statement "iVar8 = iVar8 + uVar7;" (assignment_expression "iVar8 = iVar8 + uVar7" (identifier "iVar8") (= "=") (binary_expression "iVar8 + uVar7" (identifier "iVar8") (+ "+") (identifier "uVar7"))) (; ";"))) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" (identifier "putc") (argument_list "(10,*(FILE **)puVar3)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "local_2c = local_2c + uVar7;" (assignment_expression "local_2c = local_2c + uVar7" (identifier "local_2c") (= "=") (binary_expression "local_2c + uVar7" (identifier "local_2c") (+ "+") (identifier "uVar7"))) (; ";")) (expression_statement "local_30 = local_30 - uVar7;" (assignment_expression "local_30 = local_30 - uVar7" (identifier "local_30") (= "=") (binary_expression "local_30 - uVar7" (identifier "local_30") (- "-") (identifier "uVar7"))) (; ";")) (if_statement "if (local_30 == 0) {\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      putc(10,*(FILE **)puVar3);\n      return 1;\n    }" ({ "{") (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" (identifier "putc") (argument_list "(10,*(FILE **)puVar3)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

int function_1(type_1 *section,void *file)

{
  type_2 *var_9;
  type_1 *section_00;
  type_3 *puVar2;
  type_4 uVar3;
  char *__format;
  type_4 var_5;
  int var_8;
  type_4 var_10;
  type_5 *var_7;
  type_4 var_1;
  type_4 var_12;
  
  var_1 = (type_4)section->size;
  section_00 = (type_1 *)section->name;
  if (var_1 == 0) {
    __format = (char *)var_2(0,"\nThe %s section is empty.\n",5);
    var_3(__format,section_00);
    return 0;
  }
  var_12 = (type_4)section->address;
  var_7 = section->start;
  var_4(section_00,(bfd_boolean)&section->filename,
            *(type_1 **)((int)&section->address + 4));
  puVar2 = PTR_stdout_000b3fd8;
  do {
    var_10 = 0x10;
    if (var_1 < 0x11) {
      var_10 = var_1;
    }
    var_5 = 0;
    uVar3 = var_12;
    var_3("  0x%8.8lx ",var_12);
    do {
      while ((int)var_5 < (int)var_10) {
        uVar3 = (type_4)var_7[var_5];
        var_3("%2.2x",uVar3);
        if ((var_5 & 3) != 3) goto LAB_0004f89e;
LAB_0004f8c3:
        var_5 = var_5 + 1;
        var_6(0x20);
        if (var_5 == 0x10) goto LAB_0004f8d8;
      }
      var_3("  ",uVar3);
      if ((var_5 & 3) == 3) goto LAB_0004f8c3;
LAB_0004f89e:
      var_5 = var_5 + 1;
    } while (var_5 != 0x10);
LAB_0004f8d8:
    var_8 = 0;
    do {
      while (var_9 = var_7 + var_8, 0x5f < *var_9 - 0x20) {
        var_8 = var_8 + 1;
        var_6(0x2e);
        if ((int)var_10 <= var_8) goto LAB_0004f913;
      }
      var_8 = var_8 + 1;
      var_6((type_4)*var_9);
    } while (var_8 < (int)var_10);
LAB_0004f913:
    var_7 = var_7 + var_10;
    var_11(10,*(type_6 **)puVar2);
    var_12 = var_12 + var_10;
    var_1 = var_1 - var_10;
    if (var_1 == 0) {
      var_11(10,*(type_6 **)puVar2);
      return 1;
    }
  } while( true );
}


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

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

undefined4 MASKED(int param_1)

{
  byte *pbVar1;
  undefined4 uVar2;
  undefined *puVar3;
  uint uVar4;
  char *__format;
  uint uVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  uint local_30;
  uint local_2c;
  
  local_30 = *(uint *)(param_1 + 0x1c);
  uVar2 = *(undefined4 *)(param_1 + 8);
  if (local_30 == 0) {
    __format = (char *)dcgettext(0,"\nThe %s section is empty.\n",5);
    printf(__format,uVar2);
    return 0;
  }
  local_2c = *(uint *)(param_1 + 0x14);
  iVar8 = *(int *)(param_1 + 0x10);
  FUN_0004eb80();
  puVar3 = PTR_stdout_000b3fd8;
  do {
    uVar7 = 0x10;
    if (local_30 < 0x11) {
      uVar7 = local_30;
    }
    uVar5 = 0;
    uVar4 = local_2c;
    printf("  0x%8.8lx ",local_2c);
    do {
      while ((int)uVar5 < (int)uVar7) {
        uVar4 = (uint)*(byte *)(iVar8 + uVar5);
        printf("%2.2x",uVar4);
        if ((uVar5 & 3) != 3) goto LAB_0004f89e;
LAB_0004f8c3:
        uVar5 = uVar5 + 1;
        putchar(0x20);
        if (uVar5 == 0x10) goto LAB_0004f8d8;
      }
      printf("  ",uVar4);
      if ((uVar5 & 3) == 3) goto LAB_0004f8c3;
LAB_0004f89e:
      uVar5 = uVar5 + 1;
    } while (uVar5 != 0x10);
LAB_0004f8d8:
    iVar6 = 0;
    do {
      while (pbVar1 = (byte *)(iVar8 + iVar6), 0x5f < *pbVar1 - 0x20) {
        iVar6 = iVar6 + 1;
        putchar(0x2e);
        if ((int)uVar7 <= iVar6) goto LAB_0004f913;
      }
      iVar6 = iVar6 + 1;
      putchar((uint)*pbVar1);
    } while (iVar6 < (int)uVar7);
LAB_0004f913:
    iVar8 = iVar8 + uVar7;
    putc(10,*(FILE **)puVar3);
    local_2c = local_2c + uVar7;
    local_30 = local_30 - uVar7;
    if (local_30 == 0) {
      putc(10,*(FILE **)puVar3);
      return 1;
    }
  } while( true );
}

