
/* DWARF original prototype: uchar * display_formatted_table(uchar * data, uchar * start, uchar *
   end, DWARF2_Internal_LineInfo * linfo, dwarf_section * section, char * what,
   DWARF2_Internal_LineInfo * linfo) */

uchar * display_formatted_table
                  (uchar *data,uchar *start,uchar *end,DWARF2_Internal_LineInfo *linfo,
                  dwarf_section *section,char *what,DWARF2_Internal_LineInfo *linfo_1)

{
  undefined4 *puVar1;
  char *pcVar2;
  uint num_bytes;
  uchar *puVar3;
  char *__format;
  uchar *end_00;
  int iVar4;
  byte bVar5;
  byte bVar6;
  uchar *puVar7;
  int unaff_EDI;
  bool bVar8;
  undefined8 uVar9;
  dwarf_vma dVar10;
  dwarf_vma dVar11;
  uint *puVar12;
  uint *local_68;
  uchar *local_64;
  byte local_59;
  byte local_58;
  uint local_4c;
  int local_48;
  uchar *local_44;
  uint local_3c;
  int local_38;
  uint bytes_read;
  
  uVar9 = __x86_get_pc_thunk_di();
  puVar7 = (uchar *)uVar9;
  puVar3 = puVar7 + 1;
  local_64 = puVar3;
  if (puVar3 < end_00) {
    iVar4 = 1;
  }
  else if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {
    local_59 = 0;
    goto LAB_0005a332;
  }
  local_59 = (**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4);
  if (local_59 != 0) {
    bVar5 = 0;
    do {
      read_leb128(local_64,&bytes_read,0,end_00);
      local_64 = local_64 + bytes_read;
      read_leb128(local_64,&bytes_read,0,end_00);
      local_64 = local_64 + bytes_read;
      if (end_00 == local_64) {
        iVar4 = unaff_EDI + 0x36609;
        goto LAB_0005a4af;
      }
      bVar5 = bVar5 + 1;
    } while (bVar5 < local_59);
  }
LAB_0005a332:
  local_68 = &bytes_read;
  dVar10 = read_leb128(local_64,local_68,0,end_00);
  local_44 = local_64 + bytes_read;
  if (end_00 == local_44) {
    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);
    warn(pcVar2,linfo);
    local_64 = end_00;
  }
  else {
    local_38 = (int)(dVar10 >> 0x20);
    local_3c = (uint)dVar10;
    if (local_38 == 0 && local_3c == 0) {
      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);
      printf(pcVar2,linfo);
      return local_44;
    }
    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);
    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));
    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);
    printf(pcVar2);
    bVar5 = 2;
    while( true ) {
      bVar6 = 0;
      local_64._0_1_ = (bool)(bVar5 & 1);
      puVar7 = puVar3;
      if (local_59 != 0) {
        do {
          puVar12 = local_68;
          dVar10 = read_leb128(puVar7,local_68,0,end_00);
          iVar4 = (int)(dVar10 >> 0x20);
          num_bytes = (uint)dVar10;
          puVar7 = puVar7 + bytes_read;
          if ((dVar10 != 1) != local_64._0_1_) {
            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {
                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */
                    /* WARNING: Treating indirect jump as call */
              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +
                                          unaff_EDI + 0x59d09))();
              return puVar3;
            }
            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)
            ;
            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);
            printf(__format,pcVar2);
          }
          bVar6 = bVar6 + 1;
          read_leb128(puVar7,local_68,0,end_00);
          puVar7 = puVar7 + bytes_read;
        } while (bVar6 != local_59);
      }
      if (bVar5 == 1) break;
      bVar5 = 1;
    }
    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);
    putc(10,(FILE *)*puVar1);
    local_4c = 0;
    local_48 = 0;
    while( true ) {
      printf(&UNK_00039553 + unaff_EDI,local_4c);
      bVar5 = 2;
      while( true ) {
        local_64 = local_44;
        if (local_59 != 0) {
          bVar6 = 0;
          local_58 = bVar5 & 1;
          puVar7 = puVar3;
          do {
            dVar10 = read_leb128(puVar7,local_68,0,end_00);
            puVar7 = puVar7 + bytes_read;
            dVar11 = read_leb128(puVar7,local_68,0,end_00);
            puVar7 = puVar7 + bytes_read;
            local_64 = read_and_display_attr_value
                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,
                                  (uint)*(ushort *)data,(debug_info *)0x0,
                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,
                                  (cu_tu_set *)0x0,'\t');
            bVar6 = bVar6 + 1;
          } while (bVar6 != local_59);
        }
        if (bVar5 == 1) break;
        bVar5 = 1;
      }
      if (end_00 == local_64) break;
      putc(10,(FILE *)*puVar1);
      bVar8 = 0xfffffffe < local_4c;
      local_4c = local_4c + 1;
      local_48 = local_48 + (uint)bVar8;
      local_44 = local_64;
      if (local_38 == local_48 && local_3c == local_4c) {
        return local_64;
      }
    }
    iVar4 = unaff_EDI + 0x39558;
LAB_0005a4af:
    pcVar2 = (char *)dcgettext(0,iVar4,5);
    warn(pcVar2,linfo);
  }
  return local_64;
}



uint FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 *puVar1;
  char *pcVar2;
  uint uVar3;
  undefined4 uVar4;
  uint extraout_ECX;
  byte bVar5;
  int iVar6;
  uint uVar7;
  byte bVar8;
  int iVar9;
  int unaff_EDI;
  bool bVar10;
  undefined8 uVar11;
  longlong lVar12;
  longlong lVar13;
  int *local_68;
  uint local_64;
  byte local_59;
  byte local_58;
  uint local_4c;
  int local_48;
  uint local_44;
  int local_20 [4];
  
  uVar11 = FUN_0004ab85();
  uVar7 = (uint)uVar11;
  uVar3 = uVar7 + 1;
  local_64 = uVar3;
  if (uVar3 < extraout_ECX) {
    iVar6 = 1;
  }
  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {
    local_59 = 0;
    goto LAB_0005a332;
  }
  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);
  if (local_59 != 0) {
    bVar5 = 0;
    do {
      FUN_0004f910(local_64,local_20,0,extraout_ECX);
      iVar6 = local_64 + local_20[0];
      FUN_0004f910(iVar6,local_20,0,extraout_ECX);
      local_64 = iVar6 + local_20[0];
      if (extraout_ECX == local_64) {
        iVar6 = unaff_EDI + 0x36609;
        goto LAB_0005a4af;
      }
      bVar5 = bVar5 + 1;
    } while (bVar5 < local_59);
  }
LAB_0005a332:
  local_68 = local_20;
  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);
  local_44 = local_64 + local_20[0];
  if (extraout_ECX == local_44) {
    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);
    warn(uVar4,param_4);
    local_64 = extraout_ECX;
  }
  else {
    if (lVar12 == 0) {
      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);
      printf(pcVar2,param_4);
      return local_44;
    }
    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);
    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));
    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);
    printf(pcVar2);
    bVar5 = 2;
    while( true ) {
      bVar8 = 0;
      local_64._0_1_ = (bool)(bVar5 & 1);
      uVar7 = uVar3;
      if (local_59 != 0) {
        do {
          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);
          iVar6 = (int)((ulonglong)lVar13 >> 0x20);
          iVar9 = uVar7 + local_20[0];
          if ((lVar13 != 1) != local_64._0_1_) {
            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {
                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */
                    /* WARNING: Treating indirect jump as call */
              uVar3 = (*(code *)(&UNK_00059d09 +
                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();
              return uVar3;
            }
            uVar4 = FUN_0004cb30(0);
            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);
            printf(pcVar2,uVar4);
          }
          bVar8 = bVar8 + 1;
          FUN_0004f910(iVar9,local_68,0,extraout_ECX);
          uVar7 = iVar9 + local_20[0];
        } while (bVar8 != local_59);
      }
      if (bVar5 == 1) break;
      bVar5 = 1;
    }
    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);
    putc(10,(FILE *)*puVar1);
    local_4c = 0;
    local_48 = 0;
    while( true ) {
      printf(&UNK_00039553 + unaff_EDI,local_4c);
      bVar5 = 2;
      while( true ) {
        local_64 = local_44;
        if (local_59 != 0) {
          bVar8 = 0;
          local_58 = bVar5 & 1;
          uVar7 = uVar3;
          do {
            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);
            iVar6 = uVar7 + local_20[0];
            FUN_0004f910(iVar6,local_68,0,extraout_ECX);
            uVar7 = iVar6 + local_20[0];
            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,
                                    lVar13 == 1 ^ local_58,param_3,0,9);
            bVar8 = bVar8 + 1;
          } while (bVar8 != local_59);
        }
        if (bVar5 == 1) break;
        bVar5 = 1;
      }
      if (extraout_ECX == local_64) break;
      putc(10,(FILE *)*puVar1);
      bVar10 = 0xfffffffe < local_4c;
      local_4c = local_4c + 1;
      local_48 = local_48 + (uint)bVar10;
      local_44 = local_64;
      if (lVar12 == CONCAT44(local_48,local_4c)) {
        return local_64;
      }
    }
    iVar6 = unaff_EDI + 0x39558;
LAB_0005a4af:
    uVar4 = dcgettext(0,iVar6,5);
    warn(uVar4,param_4);
  }
  return local_64;
}


PUSH EBP
PUSH EDI
CALL 0x0004ab85
ADD EDI,0x59d09
PUSH ESI
MOV ESI,EDX
PUSH EBX
SUB ESP,0x5c
MOV dword ptr [ESP + 0x18],EDI
MOV EDI,ECX
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESP + 0x2c],ECX
CMP ECX,EDI
JC 0x0005a430
CMP EAX,EDI
JC 0x0005a5ea
LEA EAX,[ESP + 0x4c]
MOV byte ptr [ESP + 0x13],0x0
MOV EBP,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x4],EAX
PUSH EDI
PUSH 0x0
PUSH dword ptr [ESP + 0xc]
PUSH EBP
CALL 0x0004f910
ADD EBP,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x40],EAX
MOV dword ptr [ESP + 0x44],EDX
MOV dword ptr [ESP + 0x38],EBP
ADD ESP,0x10
CMP EDI,EBP
JZ 0x0005a7a4
MOV EAX,dword ptr [ESP + 0x34]
OR EAX,dword ptr [ESP + 0x30]
JZ 0x0005a7d6
SUB ESP,0x4
PUSH 0x5
MOV EBP,dword ptr [ESP + 0x20]
LEA EAX,[EBP + 0xfffdc920]
MOV EBX,EBP
PUSH EAX
PUSH 0x0
CALL 0x000130f0
ADD ESP,0xc
MOV EDX,dword ptr [ESP + 0x2c]
SUB EDX,ESI
PUSH EDX
PUSH dword ptr [ESP + 0x84]
PUSH EAX
CALL 0x00013060
ADD ESP,0xc
LEA EAX,[EBP + 0xfffdf826]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV dword ptr [ESP],EAX
CALL 0x00013060
ADD ESP,0x10
MOV dword ptr [ESP + 0xc],0x2
MOVZX EAX,byte ptr [ESP + 0xc]
XOR EBP,EBP
MOV ESI,dword ptr [ESP + 0x2c]
AND EAX,0x1
CMP byte ptr [ESP + 0x13],0x0
MOV byte ptr [ESP + 0x8],AL
JZ 0x0005a527
LEA ESI,[ESI]
NOP
PUSH EDI
PUSH 0x0
PUSH dword ptr [ESP + 0xc]
PUSH ESI
CALL 0x0004f910
ADD ESI,dword ptr [ESP + 0x5c]
ADD ESP,0x10
MOV ECX,EDX
MOV EDX,EAX
XOR EDX,0x1
OR EDX,ECX
SETNZ DL
CMP DL,byte ptr [ESP + 0x8]
JZ 0x0005a504
MOV EBX,0x5
MOV EDX,0x0
CMP EBX,EAX
SBB EDX,ECX
JC 0x0005a5a0
MOV EBX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [EBX + EAX*0x4 + 0xfffe10f8]
ADD EDX,EBX
JMP EDX
MOV EDX,0x1
SUB ESP,0x8
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x28]
LEA EAX,[EAX + 0x5dd4]
CALL dword ptr [EAX]
MOV byte ptr [ESP + 0x23],AL
ADD ESP,0x10
MOV EBP,dword ptr [ESP + 0x2c]
TEST AL,AL
JZ 0x0005a83e
LEA EAX,[ESP + 0x4c]
MOV dword ptr [ESP + 0x8],ESI
XOR EBX,EBX
MOV dword ptr [ESP + 0x4],EAX
MOV ESI,EAX
JMP 0x0005a47d
ADD EBX,0x1
CMP byte ptr [ESP + 0x13],BL
JBE 0x0005a835
PUSH EDI
PUSH 0x0
PUSH ESI
PUSH EBP
CALL 0x0004f910
ADD EBP,dword ptr [ESP + 0x5c]
PUSH EDI
PUSH 0x0
PUSH ESI
PUSH EBP
CALL 0x0004f910
ADD EBP,dword ptr [ESP + 0x6c]
ADD ESP,0x20
CMP EDI,EBP
JNZ 0x0005a470
SUB ESP,0x4
PUSH 0x5
MOV EDI,dword ptr [ESP + 0x20]
LEA EAX,[EDI + 0xfffdc900]
PUSH EAX
MOV EBX,EDI
PUSH 0x0
CALL 0x000130f0
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x84]
PUSH EAX
CALL 0x00066bf0
ADD ESP,0x10
ADD ESP,0x5c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EDI
ADD EBP,0x1
PUSH 0x0
PUSH dword ptr [ESP + 0xc]
PUSH ESI
CALL 0x0004f910
ADD ESI,dword ptr [ESP + 0x5c]
ADD ESP,0x10
MOV EAX,EBP
CMP AL,byte ptr [ESP + 0x13]
JNZ 0x0005a3e0
CMP dword ptr [ESP + 0xc],0x1
JZ 0x0005a600
MOV dword ptr [ESP + 0xc],0x1
JMP 0x0005a3be
SUB ESP,0xc
MOV EDX,EAX
PUSH 0x0
MOV EBX,dword ptr [ESP + 0x28]
LEA EAX,[EBX + 0xfffda680]
CALL 0x0004cb30
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0xc
LEA EAX,[EBX + 0xfffdc940]
PUSH 0x5
PUSH EAX
PUSH 0x0
MOV dword ptr [ESP + 0x28],EBX
CALL 0x000130f0
POP EBX
POP EDX
MOV EDX,dword ptr [ESP + 0x1c]
PUSH EDX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x28]
CALL 0x00013060
ADD ESP,0x10
JMP 0x0005a504
MOV EDX,EDI
SUB EDX,EAX
LEA ECX,[EDX + -0x1]
CMP ECX,0x7
JA 0x0005a321
JMP 0x0005a435
SUB ESP,0x8
MOV EBP,EDI
MOV ESI,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESI + 0xffffffd8]
MOV EBX,ESI
MOV dword ptr [ESP + 0x44],ECX
PUSH dword ptr [ECX]
PUSH 0xa
CALL 0x00013360
ADD ESP,0x10
LEA EAX,[ESI + 0xfffdf84a]
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x24],0x0
MOV dword ptr [ESP + 0x38],EAX
LEA ESI,[ESI]
NOP
SUB ESP,0x8
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x44]
MOV EBX,dword ptr [ESP + 0x28]
CALL 0x00013060
ADD ESP,0x10
CMP byte ptr [ESP + 0x13],0x0
MOV dword ptr [ESP + 0x1c],0x2
JZ 0x0005a737
MOVZX EAX,byte ptr [ESP + 0x1c]
MOV EBX,dword ptr [ESP + 0x2c]
XOR ECX,ECX
AND EAX,0x1
MOV byte ptr [ESP + 0x14],AL
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x8],EAX
LEA ESI,[ESI]
MOV byte ptr [ESP + 0xc],CL
PUSH EBP
PUSH 0x0
PUSH dword ptr [ESP + 0xc]
PUSH EBX
CALL 0x0004f910
ADD EBX,dword ptr [ESP + 0x5c]
PUSH EBP
PUSH 0x0
MOV ESI,EAX
MOV EDI,EDX
PUSH dword ptr [ESP + 0x1c]
XOR ESI,0x1
PUSH EBX
CALL 0x0004f910
ADD EBX,dword ptr [ESP + 0x6c]
ADD ESP,0x20
OR ESI,EDI
PUSH 0x9
SETZ DL
PUSH 0x0
PUSH dword ptr [ESP + 0x80]
XOR DL,byte ptr [ESP + 0x20]
MOVZX EDX,DL
PUSH EDX
PUSH 0x0
MOV EDI,dword ptr [ESP + 0x84]
MOVZX EDX,word ptr [EDI]
PUSH EDX
MOV EDI,dword ptr [ESP + 0x8c]
MOV EDX,EAX
XOR EAX,EAX
MOV ESI,dword ptr [EDI]
XOR EDI,EDI
PUSH EDI
PUSH ESI
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
PUSH 0x0
PUSH 0x0
CALL 0x00053040
MOVZX ECX,byte ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x48],EAX
ADD ESP,0x40
ADD ECX,0x1
CMP CL,byte ptr [ESP + 0x13]
JNZ 0x0005a688
CMP dword ptr [ESP + 0x1c],0x1
JZ 0x0005a750
CMP byte ptr [ESP + 0x13],0x0
MOV dword ptr [ESP + 0x1c],0x1
JNZ 0x0005a66a
MOV EAX,dword ptr [ESP + 0x28]
CMP dword ptr [ESP + 0x1c],0x1
MOV dword ptr [ESP + 0x8],EAX
JNZ 0x0005a724
LEA ESI,[ESI]
LEA ESI,[ESI]
CMP EBP,dword ptr [ESP + 0x8]
JZ 0x0005a80f
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x44]
PUSH dword ptr [EAX]
PUSH 0xa
MOV EBX,dword ptr [ESP + 0x28]
CALL 0x00013360
ADD dword ptr [ESP + 0x30],0x1
ADC dword ptr [ESP + 0x34],0x0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x20]
MOV EBX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESP + 0x34]
XOR EAX,ECX
XOR EDX,EBX
OR EDX,EAX
JZ 0x0005a827
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x28],EAX
JMP 0x0005a640
SUB ESP,0x4
PUSH 0x5
MOV ESI,dword ptr [ESP + 0x20]
LEA EAX,[ESI + 0xfffdf7fb]
MOV EBX,ESI
PUSH EAX
PUSH 0x0
CALL 0x000130f0
POP EBP
POP EDX
PUSH dword ptr [ESP + 0x84]
PUSH EAX
MOV EBP,EDI
CALL 0x00066bf0
ADD ESP,0x10
JMP 0x0005a4cb
SUB ESP,0x4
PUSH 0x5
MOV EDI,dword ptr [ESP + 0x20]
LEA EAX,[EDI + 0xfffdf80c]
MOV EBX,EDI
PUSH EAX
PUSH 0x0
CALL 0x000130f0
POP ECX
POP ESI
PUSH dword ptr [ESP + 0x84]
PUSH EAX
CALL 0x00013060
ADD ESP,0x10
MOV EBP,dword ptr [ESP + 0x28]
ADD ESP,0x5c
POP EBX
MOV EAX,EBP
POP ESI
POP EDI
POP EBP
RET
MOV EBP,dword ptr [ESP + 0x8]
SUB ESP,0x4
PUSH 0x5
MOV EDI,dword ptr [ESP + 0x20]
LEA EAX,[EDI + 0xfffdf84f]
JMP 0x0005a4af
MOV EBP,dword ptr [ESP + 0x8]
ADD ESP,0x5c
POP EBX
POP ESI
MOV EAX,EBP
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0x8]
JMP 0x0005a332
LEA EAX,[ESP + 0x4c]
MOV dword ptr [ESP + 0x4],EAX
JMP 0x0005a332
(translation_unit "uint FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}\n\n" (function_definition "uint FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}" type_identifier (function_declarator "FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined2 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "longlong lVar12;" type_identifier identifier ;) (declaration "longlong lVar13;" type_identifier identifier ;) (declaration "int *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "uint local_64;" type_identifier identifier ;) (declaration "byte local_59;" type_identifier identifier ;) (declaration "byte local_58;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "uVar11 = FUN_0004ab85();" (assignment_expression "uVar11 = FUN_0004ab85()" identifier = (call_expression "FUN_0004ab85()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar7 = (uint)uVar11;" (assignment_expression "uVar7 = (uint)uVar11" identifier = (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar3 = uVar7 + 1;" (assignment_expression "uVar3 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = uVar3;" (assignment_expression "local_64 = uVar3" identifier = identifier) ;) (if_statement "if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" if (parenthesized_expression "(uVar3 < extraout_ECX)" ( (binary_expression "uVar3 < extraout_ECX" identifier < identifier) )) (compound_statement "{\n    iVar6 = 1;\n  }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" else (if_statement "if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" if (parenthesized_expression "((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U))" ( (binary_expression "(extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)" (parenthesized_expression "(extraout_ECX <= uVar7)" ( (binary_expression "extraout_ECX <= uVar7" identifier <= identifier) )) || (parenthesized_expression "(iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)" ( (comma_expression "iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U" (assignment_expression "iVar6 = extraout_ECX - uVar7" identifier = (binary_expression "extraout_ECX - uVar7" identifier - identifier)) , (binary_expression "7 < iVar6 - 1U" number_literal < (binary_expression "iVar6 - 1U" identifier - number_literal))) ))) )) (compound_statement "{\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" { (expression_statement "local_59 = 0;" (assignment_expression "local_59 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0005a332;" goto statement_identifier ;) })))) (expression_statement "local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);" (assignment_expression "local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6)" identifier = (call_expression "(**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6)" (parenthesized_expression "(**(code **)(&UNK_0005fadd + unaff_EDI))" ( (pointer_expression "**(code **)(&UNK_0005fadd + unaff_EDI)" * (pointer_expression "*(code **)(&UNK_0005fadd + unaff_EDI)" * (cast_expression "(code **)(&UNK_0005fadd + unaff_EDI)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_0005fadd + unaff_EDI)" ( (binary_expression "&UNK_0005fadd + unaff_EDI" (pointer_expression "&UNK_0005fadd" & identifier) + identifier) ))))) )) (argument_list "(uVar7,iVar6)" ( identifier , identifier )))) ;) (if_statement "if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" { (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);" do (compound_statement "{\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    }" { (expression_statement "FUN_0004f910(local_64,local_20,0,extraout_ECX);" (call_expression "FUN_0004f910(local_64,local_20,0,extraout_ECX)" identifier (argument_list "(local_64,local_20,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "iVar6 = local_64 + local_20[0];" (assignment_expression "iVar6 = local_64 + local_20[0]" identifier = (binary_expression "local_64 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (expression_statement "FUN_0004f910(iVar6,local_20,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar6,local_20,0,extraout_ECX)" identifier (argument_list "(iVar6,local_20,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "local_64 = iVar6 + local_20[0];" (assignment_expression "local_64 = iVar6 + local_20[0]" identifier = (binary_expression "iVar6 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (if_statement "if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" if (parenthesized_expression "(extraout_ECX == local_64)" ( (binary_expression "extraout_ECX == local_64" identifier == identifier) )) (compound_statement "{\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" { (expression_statement "iVar6 = unaff_EDI + 0x36609;" (assignment_expression "iVar6 = unaff_EDI + 0x36609" identifier = (binary_expression "unaff_EDI + 0x36609" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a4af;" goto statement_identifier ;) })) (expression_statement "bVar5 = bVar5 + 1;" (assignment_expression "bVar5 = bVar5 + 1" identifier = (binary_expression "bVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5 < local_59)" ( (binary_expression "bVar5 < local_59" identifier < identifier) )) ;) })) (labeled_statement "LAB_0005a332:\n  local_68 = local_20;" statement_identifier : (expression_statement "local_68 = local_20;" (assignment_expression "local_68 = local_20" identifier = identifier) ;)) (expression_statement "lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);" (assignment_expression "lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX)" identifier = (call_expression "FUN_0004f910(local_64,local_68,0,extraout_ECX)" identifier (argument_list "(local_64,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "local_44 = local_64 + local_20[0];" (assignment_expression "local_44 = local_64 + local_20[0]" identifier = (binary_expression "local_64 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (if_statement "if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" if (parenthesized_expression "(extraout_ECX == local_44)" ( (binary_expression "extraout_ECX == local_44" identifier == identifier) )) (compound_statement "{\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }" { (expression_statement "uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);" (assignment_expression "uVar4 = dcgettext(0,unaff_EDI + 0x39504,5)" identifier = (call_expression "dcgettext(0,unaff_EDI + 0x39504,5)" identifier (argument_list "(0,unaff_EDI + 0x39504,5)" ( number_literal , (binary_expression "unaff_EDI + 0x39504" identifier + number_literal) , number_literal )))) ;) (expression_statement "warn(uVar4,param_4);" (call_expression "warn(uVar4,param_4)" identifier (argument_list "(uVar4,param_4)" ( identifier , identifier ))) ;) (expression_statement "local_64 = extraout_ECX;" (assignment_expression "local_64 = extraout_ECX" identifier = identifier) ;) }) (else_clause "else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" else (compound_statement "{\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" { (if_statement "if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }" { (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x39515,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x39515,5)" identifier (argument_list "(0,unaff_EDI + 0x39515,5)" ( number_literal , (binary_expression "unaff_EDI + 0x39515" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2,param_4);" (call_expression "printf(pcVar2,param_4)" identifier (argument_list "(pcVar2,param_4)" ( identifier , identifier ))) ;) (return_statement "return local_44;" return identifier ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" identifier = (cast_expression "(char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,&UNK_00036629 + unaff_EDI,5)" identifier (argument_list "(0,&UNK_00036629 + unaff_EDI,5)" ( number_literal , (binary_expression "&UNK_00036629 + unaff_EDI" (pointer_expression "&UNK_00036629" & identifier) + identifier) , number_literal ))))) ;) (expression_statement "printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));" (call_expression "printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20))" identifier (argument_list "(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20))" ( identifier , identifier , (binary_expression "local_44 - (int)((ulonglong)uVar11 >> 0x20)" identifier - (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ))) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x3952f,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x3952f,5)" identifier (argument_list "(0,unaff_EDI + 0x3952f,5)" ( number_literal , (binary_expression "unaff_EDI + 0x3952f" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" identifier = number_literal) ;) (while_statement "while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" { (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "local_64._0_1_ = (bool)(bVar5 & 1);" (assignment_expression "local_64._0_1_ = (bool)(bVar5 & 1)" (field_expression "local_64._0_1_" identifier . field_identifier) = (cast_expression "(bool)(bVar5 & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar5 & 1)" ( (binary_expression "bVar5 & 1" identifier & number_literal) )))) ;) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }" { (do_statement "do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);" do (compound_statement "{\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        }" { (expression_statement "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);" (assignment_expression "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier = (call_expression "FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier (argument_list "(uVar7,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = (int)((ulonglong)lVar13 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)lVar13 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar13 >> 0x20)" ( (binary_expression "(ulonglong)lVar13 >> 0x20" (cast_expression "(ulonglong)lVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar9 = uVar7 + local_20[0];" (assignment_expression "iVar9 = uVar7 + local_20[0]" identifier = (binary_expression "uVar7 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (if_statement "if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }" if (parenthesized_expression "((lVar13 != 1) != local_64._0_1_)" ( (binary_expression "(lVar13 != 1) != local_64._0_1_" (parenthesized_expression "(lVar13 != 1)" ( (binary_expression "lVar13 != 1" identifier != number_literal) )) != (field_expression "local_64._0_1_" identifier . field_identifier)) )) (compound_statement "{\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }" { (if_statement "if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }" if (parenthesized_expression "(iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6)" ( (binary_expression "iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "(uint)(5 < (uint)lVar13) <= (uint)-iVar6" (call_expression "(uint)(5 < (uint)lVar13)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(5 < (uint)lVar13)" ( (binary_expression "5 < (uint)lVar13" number_literal < (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) <= (binary_expression "(uint)-iVar6" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }" { comment comment (expression_statement "uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();" (assignment_expression "uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))()" identifier = (call_expression "(*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))()" (parenthesized_expression "(*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))" ( (pointer_expression "*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" * (cast_expression "(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" ( (binary_expression "&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI" (binary_expression "&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" (pointer_expression "&UNK_00059d09" & identifier) + (pointer_expression "*(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" ( (binary_expression "unaff_EDI + 0x3ae01 + (uint)lVar13 * 4" (binary_expression "unaff_EDI + 0x3ae01" identifier + number_literal) + (binary_expression "(uint)lVar13 * 4" (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) + identifier) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar4 = FUN_0004cb30(0);" (assignment_expression "uVar4 = FUN_0004cb30(0)" identifier = (call_expression "FUN_0004cb30(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x36649,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x36649,5)" identifier (argument_list "(0,unaff_EDI + 0x36649,5)" ( number_literal , (binary_expression "unaff_EDI + 0x36649" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2,uVar4);" (call_expression "printf(pcVar2,uVar4)" identifier (argument_list "(pcVar2,uVar4)" ( identifier , identifier ))) ;) })) (expression_statement "bVar8 = bVar8 + 1;" (assignment_expression "bVar8 = bVar8 + 1" identifier = (binary_expression "bVar8 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0004f910(iVar9,local_68,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar9,local_68,0,extraout_ECX)" identifier (argument_list "(iVar9,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar7 = iVar9 + local_20[0];" (assignment_expression "uVar7 = iVar9 + local_20[0]" identifier = (binary_expression "iVar9 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(bVar8 != local_59)" ( (binary_expression "bVar8 != local_59" identifier != identifier) )) ;) })) (if_statement "if (bVar5 == 1) break;" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" identifier = number_literal) ;) })) (expression_statement "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);" (assignment_expression "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x59ce1)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x59ce1)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x59ce1)" ( (binary_expression "unaff_EDI + 0x59ce1" identifier + number_literal) ))))) ;) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" identifier (argument_list "(10,(FILE *)*puVar1)" ( number_literal , (cast_expression "(FILE *)*puVar1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }" { (expression_statement "printf(&UNK_00039553 + unaff_EDI,local_4c);" (call_expression "printf(&UNK_00039553 + unaff_EDI,local_4c)" identifier (argument_list "(&UNK_00039553 + unaff_EDI,local_4c)" ( (binary_expression "&UNK_00039553 + unaff_EDI" (pointer_expression "&UNK_00039553" & identifier) + identifier) , identifier ))) ;) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" identifier = number_literal) ;) (while_statement "while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" { (expression_statement "local_64 = local_44;" (assignment_expression "local_64 = local_44" identifier = identifier) ;) (if_statement "if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }" { (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "local_58 = bVar5 & 1;" (assignment_expression "local_58 = bVar5 & 1" identifier = (binary_expression "bVar5 & 1" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (do_statement "do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);" do (compound_statement "{\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          }" { (expression_statement "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);" (assignment_expression "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier = (call_expression "FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier (argument_list "(uVar7,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = uVar7 + local_20[0];" (assignment_expression "iVar6 = uVar7 + local_20[0]" identifier = (binary_expression "uVar7 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (expression_statement "FUN_0004f910(iVar6,local_68,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar6,local_68,0,extraout_ECX)" identifier (argument_list "(iVar6,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar7 = iVar6 + local_20[0];" (assignment_expression "uVar7 = iVar6 + local_20[0]" identifier = (binary_expression "iVar6 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (expression_statement "local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);" (assignment_expression "local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" identifier = (call_expression "FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" identifier (argument_list "(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" ( number_literal , number_literal , identifier , identifier , number_literal , number_literal , number_literal , number_literal , (pointer_expression "*param_2" * identifier) , number_literal , (pointer_expression "*param_1" * identifier) , number_literal , (binary_expression "lVar13 == 1 ^ local_58" (binary_expression "lVar13 == 1" identifier == number_literal) ^ identifier) , identifier , number_literal , number_literal )))) ;) (expression_statement "bVar8 = bVar8 + 1;" (assignment_expression "bVar8 = bVar8 + 1" identifier = (binary_expression "bVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8 != local_59)" ( (binary_expression "bVar8 != local_59" identifier != identifier) )) ;) })) (if_statement "if (bVar5 == 1) break;" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" identifier = number_literal) ;) })) (if_statement "if (extraout_ECX == local_64) break;" if (parenthesized_expression "(extraout_ECX == local_64)" ( (binary_expression "extraout_ECX == local_64" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" identifier (argument_list "(10,(FILE *)*puVar1)" ( number_literal , (cast_expression "(FILE *)*puVar1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "bVar10 = 0xfffffffe < local_4c;" (assignment_expression "bVar10 = 0xfffffffe < local_4c" identifier = (binary_expression "0xfffffffe < local_4c" number_literal < identifier)) ;) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 + (uint)bVar10;" (assignment_expression "local_48 = local_48 + (uint)bVar10" identifier = (binary_expression "local_48 + (uint)bVar10" identifier + (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "local_44 = local_64;" (assignment_expression "local_44 = local_64" identifier = identifier) ;) (if_statement "if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }" if (parenthesized_expression "(lVar12 == CONCAT44(local_48,local_4c))" ( (binary_expression "lVar12 == CONCAT44(local_48,local_4c)" identifier == (call_expression "CONCAT44(local_48,local_4c)" identifier (argument_list "(local_48,local_4c)" ( identifier , identifier )))) )) (compound_statement "{\n        return local_64;\n      }" { (return_statement "return local_64;" return identifier ;) })) })) (expression_statement "iVar6 = unaff_EDI + 0x39558;" (assignment_expression "iVar6 = unaff_EDI + 0x39558" identifier = (binary_expression "unaff_EDI + 0x39558" identifier + number_literal)) ;) (labeled_statement "LAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);" statement_identifier : (expression_statement "uVar4 = dcgettext(0,iVar6,5);" (assignment_expression "uVar4 = dcgettext(0,iVar6,5)" identifier = (call_expression "dcgettext(0,iVar6,5)" identifier (argument_list "(0,iVar6,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "warn(uVar4,param_4);" (call_expression "warn(uVar4,param_4)" identifier (argument_list "(uVar4,param_4)" ( identifier , identifier ))) ;) }))) (return_statement "return local_64;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: uchar * display_formatted_table(uchar * data, uchar * start, uchar *\n   end, DWARF2_Internal_LineInfo * linfo, dwarf_section * section, char * what,\n   DWARF2_Internal_LineInfo * linfo) */\n\nuchar * display_formatted_table\n                  (uchar *data,uchar *start,uchar *end,DWARF2_Internal_LineInfo *linfo,\n                  dwarf_section *section,char *what,DWARF2_Internal_LineInfo *linfo_1)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint num_bytes;\n  uchar *puVar3;\n  char *__format;\n  uchar *end_00;\n  int iVar4;\n  byte bVar5;\n  byte bVar6;\n  uchar *puVar7;\n  int unaff_EDI;\n  bool bVar8;\n  undefined8 uVar9;\n  dwarf_vma dVar10;\n  dwarf_vma dVar11;\n  uint *puVar12;\n  uint *local_68;\n  uchar *local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uchar *local_44;\n  uint local_3c;\n  int local_38;\n  uint bytes_read;\n  \n  uVar9 = __x86_get_pc_thunk_di();\n  puVar7 = (uchar *)uVar9;\n  puVar3 = puVar7 + 1;\n  local_64 = puVar3;\n  if (puVar3 < end_00) {\n    iVar4 = 1;\n  }\n  else if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = &bytes_read;\n  dVar10 = read_leb128(local_64,local_68,0,end_00);\n  local_44 = local_64 + bytes_read;\n  if (end_00 == local_44) {\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(pcVar2,linfo);\n    local_64 = end_00;\n  }\n  else {\n    local_38 = (int)(dVar10 >> 0x20);\n    local_3c = (uint)dVar10;\n    if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }\n    iVar4 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);\n    warn(pcVar2,linfo);\n  }\n  return local_64;\n}\n\n" comment (function_definition "uchar * display_formatted_table\n                  (uchar *data,uchar *start,uchar *end,DWARF2_Internal_LineInfo *linfo,\n                  dwarf_section *section,char *what,DWARF2_Internal_LineInfo *linfo_1)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint num_bytes;\n  uchar *puVar3;\n  char *__format;\n  uchar *end_00;\n  int iVar4;\n  byte bVar5;\n  byte bVar6;\n  uchar *puVar7;\n  int unaff_EDI;\n  bool bVar8;\n  undefined8 uVar9;\n  dwarf_vma dVar10;\n  dwarf_vma dVar11;\n  uint *puVar12;\n  uint *local_68;\n  uchar *local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uchar *local_44;\n  uint local_3c;\n  int local_38;\n  uint bytes_read;\n  \n  uVar9 = __x86_get_pc_thunk_di();\n  puVar7 = (uchar *)uVar9;\n  puVar3 = puVar7 + 1;\n  local_64 = puVar3;\n  if (puVar3 < end_00) {\n    iVar4 = 1;\n  }\n  else if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = &bytes_read;\n  dVar10 = read_leb128(local_64,local_68,0,end_00);\n  local_44 = local_64 + bytes_read;\n  if (end_00 == local_44) {\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(pcVar2,linfo);\n    local_64 = end_00;\n  }\n  else {\n    local_38 = (int)(dVar10 >> 0x20);\n    local_3c = (uint)dVar10;\n    if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }\n    iVar4 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);\n    warn(pcVar2,linfo);\n  }\n  return local_64;\n}" type_identifier (pointer_declarator "* display_formatted_table\n                  (uchar *data,uchar *start,uchar *end,DWARF2_Internal_LineInfo *linfo,\n                  dwarf_section *section,char *what,DWARF2_Internal_LineInfo *linfo_1)" * (function_declarator "display_formatted_table\n                  (uchar *data,uchar *start,uchar *end,DWARF2_Internal_LineInfo *linfo,\n                  dwarf_section *section,char *what,DWARF2_Internal_LineInfo *linfo_1)" identifier (parameter_list "(uchar *data,uchar *start,uchar *end,DWARF2_Internal_LineInfo *linfo,\n                  dwarf_section *section,char *what,DWARF2_Internal_LineInfo *linfo_1)" ( (parameter_declaration "uchar *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "uchar *start" type_identifier (pointer_declarator "*start" * identifier)) , (parameter_declaration "uchar *end" type_identifier (pointer_declarator "*end" * identifier)) , (parameter_declaration "DWARF2_Internal_LineInfo *linfo" type_identifier (pointer_declarator "*linfo" * identifier)) , (parameter_declaration "dwarf_section *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "char *what" primitive_type (pointer_declarator "*what" * identifier)) , (parameter_declaration "DWARF2_Internal_LineInfo *linfo_1" type_identifier (pointer_declarator "*linfo_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint num_bytes;\n  uchar *puVar3;\n  char *__format;\n  uchar *end_00;\n  int iVar4;\n  byte bVar5;\n  byte bVar6;\n  uchar *puVar7;\n  int unaff_EDI;\n  bool bVar8;\n  undefined8 uVar9;\n  dwarf_vma dVar10;\n  dwarf_vma dVar11;\n  uint *puVar12;\n  uint *local_68;\n  uchar *local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uchar *local_44;\n  uint local_3c;\n  int local_38;\n  uint bytes_read;\n  \n  uVar9 = __x86_get_pc_thunk_di();\n  puVar7 = (uchar *)uVar9;\n  puVar3 = puVar7 + 1;\n  local_64 = puVar3;\n  if (puVar3 < end_00) {\n    iVar4 = 1;\n  }\n  else if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = &bytes_read;\n  dVar10 = read_leb128(local_64,local_68,0,end_00);\n  local_44 = local_64 + bytes_read;\n  if (end_00 == local_44) {\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(pcVar2,linfo);\n    local_64 = end_00;\n  }\n  else {\n    local_38 = (int)(dVar10 >> 0x20);\n    local_3c = (uint)dVar10;\n    if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }\n    iVar4 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);\n    warn(pcVar2,linfo);\n  }\n  return local_64;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint num_bytes;" type_identifier identifier ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uchar *end_00;" type_identifier (pointer_declarator "*end_00" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "uchar *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "dwarf_vma dVar10;" type_identifier identifier ;) (declaration "dwarf_vma dVar11;" type_identifier identifier ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "uchar *local_64;" type_identifier (pointer_declarator "*local_64" * identifier) ;) (declaration "byte local_59;" type_identifier identifier ;) (declaration "byte local_58;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uchar *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "uint bytes_read;" type_identifier identifier ;) (expression_statement "uVar9 = __x86_get_pc_thunk_di();" (assignment_expression "uVar9 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (uchar *)uVar9;" (assignment_expression "puVar7 = (uchar *)uVar9" identifier = (cast_expression "(uchar *)uVar9" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar3 = puVar7 + 1;" (assignment_expression "puVar3 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = puVar3;" (assignment_expression "local_64 = puVar3" identifier = identifier) ;) (if_statement "if (puVar3 < end_00) {\n    iVar4 = 1;\n  }\n  else if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" if (parenthesized_expression "(puVar3 < end_00)" ( (binary_expression "puVar3 < end_00" identifier < identifier) )) (compound_statement "{\n    iVar4 = 1;\n  }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" else (if_statement "if ((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" if (parenthesized_expression "((end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U))" ( (binary_expression "(end_00 <= puVar7) || (iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)" (parenthesized_expression "(end_00 <= puVar7)" ( (binary_expression "end_00 <= puVar7" identifier <= identifier) )) || (parenthesized_expression "(iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U)" ( (comma_expression "iVar4 = (int)end_00 - (int)puVar7, 7 < iVar4 - 1U" (assignment_expression "iVar4 = (int)end_00 - (int)puVar7" identifier = (binary_expression "(int)end_00 - (int)puVar7" (cast_expression "(int)end_00" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier))) , (binary_expression "7 < iVar4 - 1U" number_literal < (binary_expression "iVar4 - 1U" identifier - number_literal))) ))) )) (compound_statement "{\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" { (expression_statement "local_59 = 0;" (assignment_expression "local_59 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0005a332;" goto statement_identifier ;) })))) (expression_statement "local_59 = (**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4);" (assignment_expression "local_59 = (**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x5fadd))(puVar7,iVar4)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5fadd))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5fadd)" * (pointer_expression "*(code **)(unaff_EDI + 0x5fadd)" * (cast_expression "(code **)(unaff_EDI + 0x5fadd)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5fadd)" ( (binary_expression "unaff_EDI + 0x5fadd" identifier + number_literal) ))))) )) (argument_list "(puVar7,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar5 = 0;\n    do {\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" { (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);" do (compound_statement "{\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      read_leb128(local_64,&bytes_read,0,end_00);\n      local_64 = local_64 + bytes_read;\n      if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    }" { (expression_statement "read_leb128(local_64,&bytes_read,0,end_00);" (call_expression "read_leb128(local_64,&bytes_read,0,end_00)" identifier (argument_list "(local_64,&bytes_read,0,end_00)" ( identifier , (pointer_expression "&bytes_read" & identifier) , number_literal , identifier ))) ;) (expression_statement "local_64 = local_64 + bytes_read;" (assignment_expression "local_64 = local_64 + bytes_read" identifier = (binary_expression "local_64 + bytes_read" identifier + identifier)) ;) (expression_statement "read_leb128(local_64,&bytes_read,0,end_00);" (call_expression "read_leb128(local_64,&bytes_read,0,end_00)" identifier (argument_list "(local_64,&bytes_read,0,end_00)" ( identifier , (pointer_expression "&bytes_read" & identifier) , number_literal , identifier ))) ;) (expression_statement "local_64 = local_64 + bytes_read;" (assignment_expression "local_64 = local_64 + bytes_read" identifier = (binary_expression "local_64 + bytes_read" identifier + identifier)) ;) (if_statement "if (end_00 == local_64) {\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" if (parenthesized_expression "(end_00 == local_64)" ( (binary_expression "end_00 == local_64" identifier == identifier) )) (compound_statement "{\n        iVar4 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" { (expression_statement "iVar4 = unaff_EDI + 0x36609;" (assignment_expression "iVar4 = unaff_EDI + 0x36609" identifier = (binary_expression "unaff_EDI + 0x36609" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a4af;" goto statement_identifier ;) })) (expression_statement "bVar5 = bVar5 + 1;" (assignment_expression "bVar5 = bVar5 + 1" identifier = (binary_expression "bVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5 < local_59)" ( (binary_expression "bVar5 < local_59" identifier < identifier) )) ;) })) (labeled_statement "LAB_0005a332:\n  local_68 = &bytes_read;" statement_identifier : (expression_statement "local_68 = &bytes_read;" (assignment_expression "local_68 = &bytes_read" identifier = (pointer_expression "&bytes_read" & identifier)) ;)) (expression_statement "dVar10 = read_leb128(local_64,local_68,0,end_00);" (assignment_expression "dVar10 = read_leb128(local_64,local_68,0,end_00)" identifier = (call_expression "read_leb128(local_64,local_68,0,end_00)" identifier (argument_list "(local_64,local_68,0,end_00)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "local_44 = local_64 + bytes_read;" (assignment_expression "local_44 = local_64 + bytes_read" identifier = (binary_expression "local_64 + bytes_read" identifier + identifier)) ;) (if_statement "if (end_00 == local_44) {\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(pcVar2,linfo);\n    local_64 = end_00;\n  }\n  else {\n    local_38 = (int)(dVar10 >> 0x20);\n    local_3c = (uint)dVar10;\n    if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }\n    iVar4 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);\n    warn(pcVar2,linfo);\n  }" if (parenthesized_expression "(end_00 == local_44)" ( (binary_expression "end_00 == local_44" identifier == identifier) )) (compound_statement "{\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(pcVar2,linfo);\n    local_64 = end_00;\n  }" { (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39504,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x39504,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x39504,5)" identifier (argument_list "(0,unaff_EDI + 0x39504,5)" ( number_literal , (binary_expression "unaff_EDI + 0x39504" identifier + number_literal) , number_literal ))))) ;) (expression_statement "warn(pcVar2,linfo);" (call_expression "warn(pcVar2,linfo)" identifier (argument_list "(pcVar2,linfo)" ( identifier , identifier ))) ;) (expression_statement "local_64 = end_00;" (assignment_expression "local_64 = end_00" identifier = identifier) ;) }) (else_clause "else {\n    local_38 = (int)(dVar10 >> 0x20);\n    local_3c = (uint)dVar10;\n    if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }\n    iVar4 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);\n    warn(pcVar2,linfo);\n  }" else (compound_statement "{\n    local_38 = (int)(dVar10 >> 0x20);\n    local_3c = (uint)dVar10;\n    if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }\n    iVar4 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);\n    warn(pcVar2,linfo);\n  }" { (expression_statement "local_38 = (int)(dVar10 >> 0x20);" (assignment_expression "local_38 = (int)(dVar10 >> 0x20)" identifier = (cast_expression "(int)(dVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar10 >> 0x20)" ( (binary_expression "dVar10 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "local_3c = (uint)dVar10;" (assignment_expression "local_3c = (uint)dVar10" identifier = (cast_expression "(uint)dVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (local_38 == 0 && local_3c == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }" if (parenthesized_expression "(local_38 == 0 && local_3c == 0)" ( (binary_expression "local_38 == 0 && local_3c == 0" (binary_expression "local_38 == 0" identifier == number_literal) && (binary_expression "local_3c == 0" identifier == number_literal)) )) (compound_statement "{\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,linfo);\n      return local_44;\n    }" { (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x39515,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x39515,5)" identifier (argument_list "(0,unaff_EDI + 0x39515,5)" ( number_literal , (binary_expression "unaff_EDI + 0x39515" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2,linfo);" (call_expression "printf(pcVar2,linfo)" identifier (argument_list "(pcVar2,linfo)" ( identifier , identifier ))) ;) (return_statement "return local_44;" return identifier ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" identifier = (cast_expression "(char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,&UNK_00036629 + unaff_EDI,5)" identifier (argument_list "(0,&UNK_00036629 + unaff_EDI,5)" ( number_literal , (binary_expression "&UNK_00036629 + unaff_EDI" (pointer_expression "&UNK_00036629" & identifier) + identifier) , number_literal ))))) ;) (expression_statement "printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20));" (call_expression "printf(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20))" identifier (argument_list "(pcVar2,linfo,(int)local_44 - (int)((ulonglong)uVar9 >> 0x20))" ( identifier , identifier , (binary_expression "(int)local_44 - (int)((ulonglong)uVar9 >> 0x20)" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((ulonglong)uVar9 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar9 >> 0x20)" ( (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ))) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x3952f,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x3952f,5)" identifier (argument_list "(0,unaff_EDI + 0x3952f,5)" ( number_literal , (binary_expression "unaff_EDI + 0x3952f" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" identifier = number_literal) ;) (while_statement "while( true ) {\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      bVar6 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      puVar7 = puVar3;\n      if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" { (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "local_64._0_1_ = (bool)(bVar5 & 1);" (assignment_expression "local_64._0_1_ = (bool)(bVar5 & 1)" (field_expression "local_64._0_1_" identifier . field_identifier) = (cast_expression "(bool)(bVar5 & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar5 & 1)" ( (binary_expression "bVar5 & 1" identifier & number_literal) )))) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (if_statement "if (local_59 != 0) {\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);\n      }" { (do_statement "do {\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        } while (bVar6 != local_59);" do (compound_statement "{\n          puVar12 = local_68;\n          dVar10 = read_leb128(puVar7,local_68,0,end_00);\n          iVar4 = (int)(dVar10 >> 0x20);\n          num_bytes = (uint)dVar10;\n          puVar7 = puVar7 + bytes_read;\n          if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }\n          bVar6 = bVar6 + 1;\n          read_leb128(puVar7,local_68,0,end_00);\n          puVar7 = puVar7 + bytes_read;\n        }" { (expression_statement "puVar12 = local_68;" (assignment_expression "puVar12 = local_68" identifier = identifier) ;) (expression_statement "dVar10 = read_leb128(puVar7,local_68,0,end_00);" (assignment_expression "dVar10 = read_leb128(puVar7,local_68,0,end_00)" identifier = (call_expression "read_leb128(puVar7,local_68,0,end_00)" identifier (argument_list "(puVar7,local_68,0,end_00)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar4 = (int)(dVar10 >> 0x20);" (assignment_expression "iVar4 = (int)(dVar10 >> 0x20)" identifier = (cast_expression "(int)(dVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(dVar10 >> 0x20)" ( (binary_expression "dVar10 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "num_bytes = (uint)dVar10;" (assignment_expression "num_bytes = (uint)dVar10" identifier = (cast_expression "(uint)dVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar7 = puVar7 + bytes_read;" (assignment_expression "puVar7 = puVar7 + bytes_read" identifier = (binary_expression "puVar7 + bytes_read" identifier + identifier)) ;) (if_statement "if ((dVar10 != 1) != local_64._0_1_) {\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }" if (parenthesized_expression "((dVar10 != 1) != local_64._0_1_)" ( (binary_expression "(dVar10 != 1) != local_64._0_1_" (parenthesized_expression "(dVar10 != 1)" ( (binary_expression "dVar10 != 1" identifier != number_literal) )) != (field_expression "local_64._0_1_" identifier . field_identifier)) )) (compound_statement "{\n            if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }\n            pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;\n            __format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(__format,pcVar2);\n          }" { (if_statement "if (iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4) {\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }" if (parenthesized_expression "(iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4)" ( (binary_expression "iVar4 == 0 && (uint)(5 < num_bytes) <= (uint)-iVar4" (binary_expression "iVar4 == 0" identifier == number_literal) && (binary_expression "(uint)(5 < num_bytes) <= (uint)-iVar4" (call_expression "(uint)(5 < num_bytes)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(5 < num_bytes)" ( (binary_expression "5 < num_bytes" number_literal < identifier) ))) <= (binary_expression "(uint)-iVar4" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n              puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();\n              return puVar3;\n            }" { comment comment (expression_statement "puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))();" (assignment_expression "puVar3 = (uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))()" identifier = (cast_expression "(uchar *)(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))()" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09))" ( (pointer_expression "*(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09)" * (cast_expression "(code *)(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09)" ( (binary_expression "*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI + 0x59d09" (binary_expression "*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4) +\n                                          unaff_EDI" (pointer_expression "*(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4)" * (cast_expression "(int *)(unaff_EDI + 0x3ae01 + num_bytes * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3ae01 + num_bytes * 4)" ( (binary_expression "unaff_EDI + 0x3ae01 + num_bytes * 4" (binary_expression "unaff_EDI + 0x3ae01" identifier + number_literal) + (binary_expression "num_bytes * 4" identifier * number_literal)) )))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar3;" return identifier ;) })) (expression_statement "pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)\n            ;" (assignment_expression "pcVar2 = dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)" identifier = (call_expression "dwarf_vmatoa_1((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)" identifier (argument_list "((char *)(unaff_EDI + 0x34389),ZEXT48(puVar12) << 0x20,num_bytes)" ( (cast_expression "(char *)(unaff_EDI + 0x34389)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x34389)" ( (binary_expression "unaff_EDI + 0x34389" identifier + number_literal) ))) , (binary_expression "ZEXT48(puVar12) << 0x20" (call_expression "ZEXT48(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) << number_literal) , identifier )))) ;) (expression_statement "__format = (char *)dcgettext(0,unaff_EDI + 0x36649,5);" (assignment_expression "__format = (char *)dcgettext(0,unaff_EDI + 0x36649,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x36649,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x36649,5)" identifier (argument_list "(0,unaff_EDI + 0x36649,5)" ( number_literal , (binary_expression "unaff_EDI + 0x36649" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(__format,pcVar2);" (call_expression "printf(__format,pcVar2)" identifier (argument_list "(__format,pcVar2)" ( identifier , identifier ))) ;) })) (expression_statement "bVar6 = bVar6 + 1;" (assignment_expression "bVar6 = bVar6 + 1" identifier = (binary_expression "bVar6 + 1" identifier + number_literal)) ;) (expression_statement "read_leb128(puVar7,local_68,0,end_00);" (call_expression "read_leb128(puVar7,local_68,0,end_00)" identifier (argument_list "(puVar7,local_68,0,end_00)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "puVar7 = puVar7 + bytes_read;" (assignment_expression "puVar7 = puVar7 + bytes_read" identifier = (binary_expression "puVar7 + bytes_read" identifier + identifier)) ;) }) while (parenthesized_expression "(bVar6 != local_59)" ( (binary_expression "bVar6 != local_59" identifier != identifier) )) ;) })) (if_statement "if (bVar5 == 1) break;" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" identifier = number_literal) ;) })) (expression_statement "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);" (assignment_expression "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x59ce1)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x59ce1)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x59ce1)" ( (binary_expression "unaff_EDI + 0x59ce1" identifier + number_literal) ))))) ;) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" identifier (argument_list "(10,(FILE *)*puVar1)" ( number_literal , (cast_expression "(FILE *)*puVar1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (end_00 == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar8 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar8;\n      local_44 = local_64;\n      if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }\n    }" { (expression_statement "printf(&UNK_00039553 + unaff_EDI,local_4c);" (call_expression "printf(&UNK_00039553 + unaff_EDI,local_4c)" identifier (argument_list "(&UNK_00039553 + unaff_EDI,local_4c)" ( (binary_expression "&UNK_00039553 + unaff_EDI" (pointer_expression "&UNK_00039553" & identifier) + identifier) , identifier ))) ;) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" identifier = number_literal) ;) (while_statement "while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" { (expression_statement "local_64 = local_44;" (assignment_expression "local_64 = local_44" identifier = identifier) ;) (if_statement "if (local_59 != 0) {\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n          bVar6 = 0;\n          local_58 = bVar5 & 1;\n          puVar7 = puVar3;\n          do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);\n        }" { (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "local_58 = bVar5 & 1;" (assignment_expression "local_58 = bVar5 & 1" identifier = (binary_expression "bVar5 & 1" identifier & number_literal)) ;) (expression_statement "puVar7 = puVar3;" (assignment_expression "puVar7 = puVar3" identifier = identifier) ;) (do_statement "do {\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          } while (bVar6 != local_59);" do (compound_statement "{\n            dVar10 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            dVar11 = read_leb128(puVar7,local_68,0,end_00);\n            puVar7 = puVar7 + bytes_read;\n            local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');\n            bVar6 = bVar6 + 1;\n          }" { (expression_statement "dVar10 = read_leb128(puVar7,local_68,0,end_00);" (assignment_expression "dVar10 = read_leb128(puVar7,local_68,0,end_00)" identifier = (call_expression "read_leb128(puVar7,local_68,0,end_00)" identifier (argument_list "(puVar7,local_68,0,end_00)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar7 = puVar7 + bytes_read;" (assignment_expression "puVar7 = puVar7 + bytes_read" identifier = (binary_expression "puVar7 + bytes_read" identifier + identifier)) ;) (expression_statement "dVar11 = read_leb128(puVar7,local_68,0,end_00);" (assignment_expression "dVar11 = read_leb128(puVar7,local_68,0,end_00)" identifier = (call_expression "read_leb128(puVar7,local_68,0,end_00)" identifier (argument_list "(puVar7,local_68,0,end_00)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "puVar7 = puVar7 + bytes_read;" (assignment_expression "puVar7 = puVar7 + bytes_read" identifier = (binary_expression "puVar7 + bytes_read" identifier + identifier)) ;) (expression_statement "local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t');" (assignment_expression "local_64 = read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t')" identifier = (call_expression "read_and_display_attr_value\n                                 (0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t')" identifier (argument_list "(0,(ulong)dVar11,0,local_64,end_00,0,0,(ulonglong)*(uint *)start,\n                                  (uint)*(ushort *)data,(debug_info *)0x0,\n                                  (uint)(dVar10 == 1 ^ local_58),(dwarf_section *)end,\n                                  (cu_tu_set *)0x0,'\t')" ( number_literal , (cast_expression "(ulong)dVar11" ( (type_descriptor "ulong" type_identifier) ) identifier) , number_literal , identifier , identifier , number_literal , number_literal , (binary_expression "(ulonglong)*(uint *)start" (parenthesized_expression "(ulonglong)" ( identifier )) * (cast_expression "(uint *)start" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "(uint)*(ushort *)data" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)data" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (cast_expression "(debug_info *)0x0" ( (type_descriptor "debug_info *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (call_expression "(uint)(dVar10 == 1 ^ local_58)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(dVar10 == 1 ^ local_58)" ( (binary_expression "dVar10 == 1 ^ local_58" (binary_expression "dVar10 == 1" identifier == number_literal) ^ identifier) ))) , (cast_expression "(dwarf_section *)end" ( (type_descriptor "dwarf_section *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(cu_tu_set *)0x0" ( (type_descriptor "cu_tu_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (char_literal "'\t'" ' escape_sequence ') )))) ;) (expression_statement "bVar6 = bVar6 + 1;" (assignment_expression "bVar6 = bVar6 + 1" identifier = (binary_expression "bVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar6 != local_59)" ( (binary_expression "bVar6 != local_59" identifier != identifier) )) ;) })) (if_statement "if (bVar5 == 1) break;" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" identifier = number_literal) ;) })) (if_statement "if (end_00 == local_64) break;" if (parenthesized_expression "(end_00 == local_64)" ( (binary_expression "end_00 == local_64" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" identifier (argument_list "(10,(FILE *)*puVar1)" ( number_literal , (cast_expression "(FILE *)*puVar1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "bVar8 = 0xfffffffe < local_4c;" (assignment_expression "bVar8 = 0xfffffffe < local_4c" identifier = (binary_expression "0xfffffffe < local_4c" number_literal < identifier)) ;) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 + (uint)bVar8;" (assignment_expression "local_48 = local_48 + (uint)bVar8" identifier = (binary_expression "local_48 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "local_44 = local_64;" (assignment_expression "local_44 = local_64" identifier = identifier) ;) (if_statement "if (local_38 == local_48 && local_3c == local_4c) {\n        return local_64;\n      }" if (parenthesized_expression "(local_38 == local_48 && local_3c == local_4c)" ( (binary_expression "local_38 == local_48 && local_3c == local_4c" (binary_expression "local_38 == local_48" identifier == identifier) && (binary_expression "local_3c == local_4c" identifier == identifier)) )) (compound_statement "{\n        return local_64;\n      }" { (return_statement "return local_64;" return identifier ;) })) })) (expression_statement "iVar4 = unaff_EDI + 0x39558;" (assignment_expression "iVar4 = unaff_EDI + 0x39558" identifier = (binary_expression "unaff_EDI + 0x39558" identifier + number_literal)) ;) (labeled_statement "LAB_0005a4af:\n    pcVar2 = (char *)dcgettext(0,iVar4,5);" statement_identifier : (expression_statement "pcVar2 = (char *)dcgettext(0,iVar4,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,iVar4,5)" identifier = (cast_expression "(char *)dcgettext(0,iVar4,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,iVar4,5)" identifier (argument_list "(0,iVar4,5)" ( number_literal , identifier , number_literal ))))) ;)) (expression_statement "warn(pcVar2,linfo);" (call_expression "warn(pcVar2,linfo)" identifier (argument_list "(pcVar2,linfo)" ( identifier , identifier ))) ;) }))) (return_statement "return local_64;" return identifier ;) })))
(translation_unit "uint FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}\n\n" (function_definition "uint FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}" type_identifier (function_declarator "FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined2 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "longlong lVar12;" type_identifier identifier ;) (declaration "longlong lVar13;" type_identifier identifier ;) (declaration "int *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "uint local_64;" type_identifier identifier ;) (declaration "byte local_59;" type_identifier identifier ;) (declaration "byte local_58;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "uVar11 = FUN_0004ab85();" (assignment_expression "uVar11 = FUN_0004ab85()" identifier = (call_expression "FUN_0004ab85()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar7 = (uint)uVar11;" (assignment_expression "uVar7 = (uint)uVar11" identifier = (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar3 = uVar7 + 1;" (assignment_expression "uVar3 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_64 = uVar3;" (assignment_expression "local_64 = uVar3" identifier = identifier) ;) (if_statement "if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" if (parenthesized_expression "(uVar3 < extraout_ECX)" ( (binary_expression "uVar3 < extraout_ECX" identifier < identifier) )) (compound_statement "{\n    iVar6 = 1;\n  }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" else (if_statement "if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" if (parenthesized_expression "((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U))" ( (binary_expression "(extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)" (parenthesized_expression "(extraout_ECX <= uVar7)" ( (binary_expression "extraout_ECX <= uVar7" identifier <= identifier) )) || (parenthesized_expression "(iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)" ( (comma_expression "iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U" (assignment_expression "iVar6 = extraout_ECX - uVar7" identifier = (binary_expression "extraout_ECX - uVar7" identifier - identifier)) , (binary_expression "7 < iVar6 - 1U" number_literal < (binary_expression "iVar6 - 1U" identifier - number_literal))) ))) )) (compound_statement "{\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" { (expression_statement "local_59 = 0;" (assignment_expression "local_59 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0005a332;" goto statement_identifier ;) })))) (expression_statement "local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);" (assignment_expression "local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6)" identifier = (call_expression "(**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6)" (parenthesized_expression "(**(code **)(&UNK_0005fadd + unaff_EDI))" ( (pointer_expression "**(code **)(&UNK_0005fadd + unaff_EDI)" * (pointer_expression "*(code **)(&UNK_0005fadd + unaff_EDI)" * (cast_expression "(code **)(&UNK_0005fadd + unaff_EDI)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_0005fadd + unaff_EDI)" ( (binary_expression "&UNK_0005fadd + unaff_EDI" (pointer_expression "&UNK_0005fadd" & identifier) + identifier) ))))) )) (argument_list "(uVar7,iVar6)" ( identifier , identifier )))) ;) (if_statement "if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" { (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);" do (compound_statement "{\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    }" { (expression_statement "FUN_0004f910(local_64,local_20,0,extraout_ECX);" (call_expression "FUN_0004f910(local_64,local_20,0,extraout_ECX)" identifier (argument_list "(local_64,local_20,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "iVar6 = local_64 + local_20[0];" (assignment_expression "iVar6 = local_64 + local_20[0]" identifier = (binary_expression "local_64 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (expression_statement "FUN_0004f910(iVar6,local_20,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar6,local_20,0,extraout_ECX)" identifier (argument_list "(iVar6,local_20,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "local_64 = iVar6 + local_20[0];" (assignment_expression "local_64 = iVar6 + local_20[0]" identifier = (binary_expression "iVar6 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (if_statement "if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" if (parenthesized_expression "(extraout_ECX == local_64)" ( (binary_expression "extraout_ECX == local_64" identifier == identifier) )) (compound_statement "{\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" { (expression_statement "iVar6 = unaff_EDI + 0x36609;" (assignment_expression "iVar6 = unaff_EDI + 0x36609" identifier = (binary_expression "unaff_EDI + 0x36609" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a4af;" goto statement_identifier ;) })) (expression_statement "bVar5 = bVar5 + 1;" (assignment_expression "bVar5 = bVar5 + 1" identifier = (binary_expression "bVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5 < local_59)" ( (binary_expression "bVar5 < local_59" identifier < identifier) )) ;) })) (labeled_statement "LAB_0005a332:\n  local_68 = local_20;" statement_identifier : (expression_statement "local_68 = local_20;" (assignment_expression "local_68 = local_20" identifier = identifier) ;)) (expression_statement "lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);" (assignment_expression "lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX)" identifier = (call_expression "FUN_0004f910(local_64,local_68,0,extraout_ECX)" identifier (argument_list "(local_64,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "local_44 = local_64 + local_20[0];" (assignment_expression "local_44 = local_64 + local_20[0]" identifier = (binary_expression "local_64 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (if_statement "if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" if (parenthesized_expression "(extraout_ECX == local_44)" ( (binary_expression "extraout_ECX == local_44" identifier == identifier) )) (compound_statement "{\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }" { (expression_statement "uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);" (assignment_expression "uVar4 = dcgettext(0,unaff_EDI + 0x39504,5)" identifier = (call_expression "dcgettext(0,unaff_EDI + 0x39504,5)" identifier (argument_list "(0,unaff_EDI + 0x39504,5)" ( number_literal , (binary_expression "unaff_EDI + 0x39504" identifier + number_literal) , number_literal )))) ;) (expression_statement "warn(uVar4,param_4);" (call_expression "warn(uVar4,param_4)" identifier (argument_list "(uVar4,param_4)" ( identifier , identifier ))) ;) (expression_statement "local_64 = extraout_ECX;" (assignment_expression "local_64 = extraout_ECX" identifier = identifier) ;) }) (else_clause "else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" else (compound_statement "{\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" { (if_statement "if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }" { (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x39515,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x39515,5)" identifier (argument_list "(0,unaff_EDI + 0x39515,5)" ( number_literal , (binary_expression "unaff_EDI + 0x39515" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2,param_4);" (call_expression "printf(pcVar2,param_4)" identifier (argument_list "(pcVar2,param_4)" ( identifier , identifier ))) ;) (return_statement "return local_44;" return identifier ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" identifier = (cast_expression "(char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,&UNK_00036629 + unaff_EDI,5)" identifier (argument_list "(0,&UNK_00036629 + unaff_EDI,5)" ( number_literal , (binary_expression "&UNK_00036629 + unaff_EDI" (pointer_expression "&UNK_00036629" & identifier) + identifier) , number_literal ))))) ;) (expression_statement "printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));" (call_expression "printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20))" identifier (argument_list "(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20))" ( identifier , identifier , (binary_expression "local_44 - (int)((ulonglong)uVar11 >> 0x20)" identifier - (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ))) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x3952f,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x3952f,5)" identifier (argument_list "(0,unaff_EDI + 0x3952f,5)" ( number_literal , (binary_expression "unaff_EDI + 0x3952f" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" identifier = number_literal) ;) (while_statement "while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" { (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "local_64._0_1_ = (bool)(bVar5 & 1);" (assignment_expression "local_64._0_1_ = (bool)(bVar5 & 1)" (field_expression "local_64._0_1_" identifier . field_identifier) = (cast_expression "(bool)(bVar5 & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar5 & 1)" ( (binary_expression "bVar5 & 1" identifier & number_literal) )))) ;) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }" { (do_statement "do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);" do (compound_statement "{\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        }" { (expression_statement "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);" (assignment_expression "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier = (call_expression "FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier (argument_list "(uVar7,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = (int)((ulonglong)lVar13 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)lVar13 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar13 >> 0x20)" ( (binary_expression "(ulonglong)lVar13 >> 0x20" (cast_expression "(ulonglong)lVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar9 = uVar7 + local_20[0];" (assignment_expression "iVar9 = uVar7 + local_20[0]" identifier = (binary_expression "uVar7 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (if_statement "if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }" if (parenthesized_expression "((lVar13 != 1) != local_64._0_1_)" ( (binary_expression "(lVar13 != 1) != local_64._0_1_" (parenthesized_expression "(lVar13 != 1)" ( (binary_expression "lVar13 != 1" identifier != number_literal) )) != (field_expression "local_64._0_1_" identifier . field_identifier)) )) (compound_statement "{\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }" { (if_statement "if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }" if (parenthesized_expression "(iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6)" ( (binary_expression "iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6" (binary_expression "iVar6 == 0" identifier == number_literal) && (binary_expression "(uint)(5 < (uint)lVar13) <= (uint)-iVar6" (call_expression "(uint)(5 < (uint)lVar13)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(5 < (uint)lVar13)" ( (binary_expression "5 < (uint)lVar13" number_literal < (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) <= (binary_expression "(uint)-iVar6" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }" { (expression_statement "uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();" (assignment_expression "uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))()" identifier = (call_expression "(*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))()" (parenthesized_expression "(*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))" ( (pointer_expression "*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" * (cast_expression "(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" ( (binary_expression "&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI" (binary_expression "&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" (pointer_expression "&UNK_00059d09" & identifier) + (pointer_expression "*(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" ( (binary_expression "unaff_EDI + 0x3ae01 + (uint)lVar13 * 4" (binary_expression "unaff_EDI + 0x3ae01" identifier + number_literal) + (binary_expression "(uint)lVar13 * 4" (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) + identifier) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar4 = FUN_0004cb30(0);" (assignment_expression "uVar4 = FUN_0004cb30(0)" identifier = (call_expression "FUN_0004cb30(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5)" identifier = (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x36649,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,unaff_EDI + 0x36649,5)" identifier (argument_list "(0,unaff_EDI + 0x36649,5)" ( number_literal , (binary_expression "unaff_EDI + 0x36649" identifier + number_literal) , number_literal ))))) ;) (expression_statement "printf(pcVar2,uVar4);" (call_expression "printf(pcVar2,uVar4)" identifier (argument_list "(pcVar2,uVar4)" ( identifier , identifier ))) ;) })) (expression_statement "bVar8 = bVar8 + 1;" (assignment_expression "bVar8 = bVar8 + 1" identifier = (binary_expression "bVar8 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0004f910(iVar9,local_68,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar9,local_68,0,extraout_ECX)" identifier (argument_list "(iVar9,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar7 = iVar9 + local_20[0];" (assignment_expression "uVar7 = iVar9 + local_20[0]" identifier = (binary_expression "iVar9 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(bVar8 != local_59)" ( (binary_expression "bVar8 != local_59" identifier != identifier) )) ;) })) (if_statement "if (bVar5 == 1) break;" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" identifier = number_literal) ;) })) (expression_statement "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);" (assignment_expression "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x59ce1)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x59ce1)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x59ce1)" ( (binary_expression "unaff_EDI + 0x59ce1" identifier + number_literal) ))))) ;) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" identifier (argument_list "(10,(FILE *)*puVar1)" ( number_literal , (cast_expression "(FILE *)*puVar1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }" { (expression_statement "printf(&UNK_00039553 + unaff_EDI,local_4c);" (call_expression "printf(&UNK_00039553 + unaff_EDI,local_4c)" identifier (argument_list "(&UNK_00039553 + unaff_EDI,local_4c)" ( (binary_expression "&UNK_00039553 + unaff_EDI" (pointer_expression "&UNK_00039553" & identifier) + identifier) , identifier ))) ;) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" identifier = number_literal) ;) (while_statement "while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" { (expression_statement "local_64 = local_44;" (assignment_expression "local_64 = local_44" identifier = identifier) ;) (if_statement "if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }" if (parenthesized_expression "(local_59 != 0)" ( (binary_expression "local_59 != 0" identifier != number_literal) )) (compound_statement "{\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }" { (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "local_58 = bVar5 & 1;" (assignment_expression "local_58 = bVar5 & 1" identifier = (binary_expression "bVar5 & 1" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (do_statement "do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);" do (compound_statement "{\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          }" { (expression_statement "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);" (assignment_expression "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier = (call_expression "FUN_0004f910(uVar7,local_68,0,extraout_ECX)" identifier (argument_list "(uVar7,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = uVar7 + local_20[0];" (assignment_expression "iVar6 = uVar7 + local_20[0]" identifier = (binary_expression "uVar7 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (expression_statement "FUN_0004f910(iVar6,local_68,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar6,local_68,0,extraout_ECX)" identifier (argument_list "(iVar6,local_68,0,extraout_ECX)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar7 = iVar6 + local_20[0];" (assignment_expression "uVar7 = iVar6 + local_20[0]" identifier = (binary_expression "iVar6 + local_20[0]" identifier + (subscript_expression "local_20[0]" identifier [ number_literal ]))) ;) (expression_statement "local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);" (assignment_expression "local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" identifier = (call_expression "FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" identifier (argument_list "(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" ( number_literal , number_literal , identifier , identifier , number_literal , number_literal , number_literal , number_literal , (pointer_expression "*param_2" * identifier) , number_literal , (pointer_expression "*param_1" * identifier) , number_literal , (binary_expression "lVar13 == 1 ^ local_58" (binary_expression "lVar13 == 1" identifier == number_literal) ^ identifier) , identifier , number_literal , number_literal )))) ;) (expression_statement "bVar8 = bVar8 + 1;" (assignment_expression "bVar8 = bVar8 + 1" identifier = (binary_expression "bVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8 != local_59)" ( (binary_expression "bVar8 != local_59" identifier != identifier) )) ;) })) (if_statement "if (bVar5 == 1) break;" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" identifier = number_literal) ;) })) (if_statement "if (extraout_ECX == local_64) break;" if (parenthesized_expression "(extraout_ECX == local_64)" ( (binary_expression "extraout_ECX == local_64" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" identifier (argument_list "(10,(FILE *)*puVar1)" ( number_literal , (cast_expression "(FILE *)*puVar1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "bVar10 = 0xfffffffe < local_4c;" (assignment_expression "bVar10 = 0xfffffffe < local_4c" identifier = (binary_expression "0xfffffffe < local_4c" number_literal < identifier)) ;) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 + (uint)bVar10;" (assignment_expression "local_48 = local_48 + (uint)bVar10" identifier = (binary_expression "local_48 + (uint)bVar10" identifier + (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "local_44 = local_64;" (assignment_expression "local_44 = local_64" identifier = identifier) ;) (if_statement "if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }" if (parenthesized_expression "(lVar12 == CONCAT44(local_48,local_4c))" ( (binary_expression "lVar12 == CONCAT44(local_48,local_4c)" identifier == (call_expression "CONCAT44(local_48,local_4c)" identifier (argument_list "(local_48,local_4c)" ( identifier , identifier )))) )) (compound_statement "{\n        return local_64;\n      }" { (return_statement "return local_64;" return identifier ;) })) })) (expression_statement "iVar6 = unaff_EDI + 0x39558;" (assignment_expression "iVar6 = unaff_EDI + 0x39558" identifier = (binary_expression "unaff_EDI + 0x39558" identifier + number_literal)) ;) (labeled_statement "LAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);" statement_identifier : (expression_statement "uVar4 = dcgettext(0,iVar6,5);" (assignment_expression "uVar4 = dcgettext(0,iVar6,5)" identifier = (call_expression "dcgettext(0,iVar6,5)" identifier (argument_list "(0,iVar6,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "warn(uVar4,param_4);" (call_expression "warn(uVar4,param_4)" identifier (argument_list "(uVar4,param_4)" ( identifier , identifier ))) ;) }))) (return_statement "return local_64;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - IDENT)) , (binary_expression LIT < (binary_expression IDENT - LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (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 , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (binary_expression (pointer_expression & IDENT) + IDENT) , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) != (field_expression IDENT . field_identifier)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) <= (binary_expression (parenthesized_expression ( IDENT )) - IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) + IDENT) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT , LIT , LIT , LIT , LIT , (pointer_expression * IDENT) , LIT , (pointer_expression * IDENT) , LIT , (binary_expression (binary_expression IDENT == LIT) ^ IDENT) , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) (compound_statement { (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}" (type_identifier "uint") (function_declarator "FUN_0005a2f0(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_0005a2f0") (parameter_list "(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined2 *param_1" (type_identifier "undefined2") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint extraout_ECX;\n  byte bVar5;\n  int iVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  int unaff_EDI;\n  bool bVar10;\n  undefined8 uVar11;\n  longlong lVar12;\n  longlong lVar13;\n  int *local_68;\n  uint local_64;\n  byte local_59;\n  byte local_58;\n  uint local_4c;\n  int local_48;\n  uint local_44;\n  int local_20 [4];\n  \n  uVar11 = FUN_0004ab85();\n  uVar7 = (uint)uVar11;\n  uVar3 = uVar7 + 1;\n  local_64 = uVar3;\n  if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }\n  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);\n  if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }\nLAB_0005a332:\n  local_68 = local_20;\n  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);\n  local_44 = local_64 + local_20[0];\n  if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }\n  return local_64;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint extraout_ECX;" (type_identifier "uint") (identifier "extraout_ECX") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "longlong lVar12;" (type_identifier "longlong") (identifier "lVar12") (; ";")) (declaration "longlong lVar13;" (type_identifier "longlong") (identifier "lVar13") (; ";")) (declaration "int *local_68;" (primitive_type "int") (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "uint local_64;" (type_identifier "uint") (identifier "local_64") (; ";")) (declaration "byte local_59;" (type_identifier "byte") (identifier "local_59") (; ";")) (declaration "byte local_58;" (type_identifier "byte") (identifier "local_58") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "uint local_44;" (type_identifier "uint") (identifier "local_44") (; ";")) (declaration "int local_20 [4];" (primitive_type "int") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "uVar11 = FUN_0004ab85();" (assignment_expression "uVar11 = FUN_0004ab85()" (identifier "uVar11") (= "=") (call_expression "FUN_0004ab85()" (identifier "FUN_0004ab85") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar7 = (uint)uVar11;" (assignment_expression "uVar7 = (uint)uVar11" (identifier "uVar7") (= "=") (cast_expression "(uint)uVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar11"))) (; ";")) (expression_statement "uVar3 = uVar7 + 1;" (assignment_expression "uVar3 = uVar7 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_64 = uVar3;" (assignment_expression "local_64 = uVar3" (identifier "local_64") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (uVar3 < extraout_ECX) {\n    iVar6 = 1;\n  }\n  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" (if "if") (parenthesized_expression "(uVar3 < extraout_ECX)" (( "(") (binary_expression "uVar3 < extraout_ECX" (identifier "uVar3") (< "<") (identifier "extraout_ECX")) () ")")) (compound_statement "{\n    iVar6 = 1;\n  }" ({ "{") (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" (else "else") (if_statement "if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" (if "if") (parenthesized_expression "((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U))" (( "(") (binary_expression "(extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)" (parenthesized_expression "(extraout_ECX <= uVar7)" (( "(") (binary_expression "extraout_ECX <= uVar7" (identifier "extraout_ECX") (<= "<=") (identifier "uVar7")) () ")")) (|| "||") (parenthesized_expression "(iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)" (( "(") (comma_expression "iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U" (assignment_expression "iVar6 = extraout_ECX - uVar7" (identifier "iVar6") (= "=") (binary_expression "extraout_ECX - uVar7" (identifier "extraout_ECX") (- "-") (identifier "uVar7"))) (, ",") (binary_expression "7 < iVar6 - 1U" (number_literal "7") (< "<") (binary_expression "iVar6 - 1U" (identifier "iVar6") (- "-") (number_literal "1U")))) () ")"))) () ")")) (compound_statement "{\n    local_59 = 0;\n    goto LAB_0005a332;\n  }" ({ "{") (expression_statement "local_59 = 0;" (assignment_expression "local_59 = 0" (identifier "local_59") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0005a332;" (goto "goto") (statement_identifier "LAB_0005a332") (; ";")) (} "}"))))) (expression_statement "local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);" (assignment_expression "local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6)" (identifier "local_59") (= "=") (call_expression "(**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6)" (parenthesized_expression "(**(code **)(&UNK_0005fadd + unaff_EDI))" (( "(") (pointer_expression "**(code **)(&UNK_0005fadd + unaff_EDI)" (* "*") (pointer_expression "*(code **)(&UNK_0005fadd + unaff_EDI)" (* "*") (cast_expression "(code **)(&UNK_0005fadd + unaff_EDI)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&UNK_0005fadd + unaff_EDI)" (( "(") (binary_expression "&UNK_0005fadd + unaff_EDI" (pointer_expression "&UNK_0005fadd" (& "&") (identifier "UNK_0005fadd")) (+ "+") (identifier "unaff_EDI")) () ")"))))) () ")")) (argument_list "(uVar7,iVar6)" (( "(") (identifier "uVar7") (, ",") (identifier "iVar6") () ")")))) (; ";")) (if_statement "if (local_59 != 0) {\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" (if "if") (parenthesized_expression "(local_59 != 0)" (( "(") (binary_expression "local_59 != 0" (identifier "local_59") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bVar5 = 0;\n    do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);\n  }" ({ "{") (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" (identifier "bVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    } while (bVar5 < local_59);" (do "do") (compound_statement "{\n      FUN_0004f910(local_64,local_20,0,extraout_ECX);\n      iVar6 = local_64 + local_20[0];\n      FUN_0004f910(iVar6,local_20,0,extraout_ECX);\n      local_64 = iVar6 + local_20[0];\n      if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }\n      bVar5 = bVar5 + 1;\n    }" ({ "{") (expression_statement "FUN_0004f910(local_64,local_20,0,extraout_ECX);" (call_expression "FUN_0004f910(local_64,local_20,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(local_64,local_20,0,extraout_ECX)" (( "(") (identifier "local_64") (, ",") (identifier "local_20") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")"))) (; ";")) (expression_statement "iVar6 = local_64 + local_20[0];" (assignment_expression "iVar6 = local_64 + local_20[0]" (identifier "iVar6") (= "=") (binary_expression "local_64 + local_20[0]" (identifier "local_64") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "FUN_0004f910(iVar6,local_20,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar6,local_20,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(iVar6,local_20,0,extraout_ECX)" (( "(") (identifier "iVar6") (, ",") (identifier "local_20") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")"))) (; ";")) (expression_statement "local_64 = iVar6 + local_20[0];" (assignment_expression "local_64 = iVar6 + local_20[0]" (identifier "local_64") (= "=") (binary_expression "iVar6 + local_20[0]" (identifier "iVar6") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (if_statement "if (extraout_ECX == local_64) {\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" (if "if") (parenthesized_expression "(extraout_ECX == local_64)" (( "(") (binary_expression "extraout_ECX == local_64" (identifier "extraout_ECX") (== "==") (identifier "local_64")) () ")")) (compound_statement "{\n        iVar6 = unaff_EDI + 0x36609;\n        goto LAB_0005a4af;\n      }" ({ "{") (expression_statement "iVar6 = unaff_EDI + 0x36609;" (assignment_expression "iVar6 = unaff_EDI + 0x36609" (identifier "iVar6") (= "=") (binary_expression "unaff_EDI + 0x36609" (identifier "unaff_EDI") (+ "+") (number_literal "0x36609"))) (; ";")) (goto_statement "goto LAB_0005a4af;" (goto "goto") (statement_identifier "LAB_0005a4af") (; ";")) (} "}"))) (expression_statement "bVar5 = bVar5 + 1;" (assignment_expression "bVar5 = bVar5 + 1" (identifier "bVar5") (= "=") (binary_expression "bVar5 + 1" (identifier "bVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar5 < local_59)" (( "(") (binary_expression "bVar5 < local_59" (identifier "bVar5") (< "<") (identifier "local_59")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0005a332:\n  local_68 = local_20;" (statement_identifier "LAB_0005a332") (: ":") (expression_statement "local_68 = local_20;" (assignment_expression "local_68 = local_20" (identifier "local_68") (= "=") (identifier "local_20")) (; ";"))) (expression_statement "lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);" (assignment_expression "lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX)" (identifier "lVar12") (= "=") (call_expression "FUN_0004f910(local_64,local_68,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(local_64,local_68,0,extraout_ECX)" (( "(") (identifier "local_64") (, ",") (identifier "local_68") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")")))) (; ";")) (expression_statement "local_44 = local_64 + local_20[0];" (assignment_expression "local_44 = local_64 + local_20[0]" (identifier "local_44") (= "=") (binary_expression "local_64 + local_20[0]" (identifier "local_64") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (if_statement "if (extraout_ECX == local_44) {\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }\n  else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" (if "if") (parenthesized_expression "(extraout_ECX == local_44)" (( "(") (binary_expression "extraout_ECX == local_44" (identifier "extraout_ECX") (== "==") (identifier "local_44")) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);\n    warn(uVar4,param_4);\n    local_64 = extraout_ECX;\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);" (assignment_expression "uVar4 = dcgettext(0,unaff_EDI + 0x39504,5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,unaff_EDI + 0x39504,5)" (identifier "dcgettext") (argument_list "(0,unaff_EDI + 0x39504,5)" (( "(") (number_literal "0") (, ",") (binary_expression "unaff_EDI + 0x39504" (identifier "unaff_EDI") (+ "+") (number_literal "0x39504")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "warn(uVar4,param_4);" (call_expression "warn(uVar4,param_4)" (identifier "warn") (argument_list "(uVar4,param_4)" (( "(") (identifier "uVar4") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "local_64 = extraout_ECX;" (assignment_expression "local_64 = extraout_ECX" (identifier "local_64") (= "=") (identifier "extraout_ECX")) (; ";")) (} "}")) (else_clause "else {\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" (else "else") (compound_statement "{\n    if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }\n    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);\n    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));\n    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);\n    printf(pcVar2);\n    bVar5 = 2;\n    while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }\n    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);\n    putc(10,(FILE *)*puVar1);\n    local_4c = 0;\n    local_48 = 0;\n    while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }\n    iVar6 = unaff_EDI + 0x39558;\nLAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);\n    warn(uVar4,param_4);\n  }" ({ "{") (if_statement "if (lVar12 == 0) {\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }" (if "if") (parenthesized_expression "(lVar12 == 0)" (( "(") (binary_expression "lVar12 == 0" (identifier "lVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);\n      printf(pcVar2,param_4);\n      return local_44;\n    }" ({ "{") (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x39515,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,unaff_EDI + 0x39515,5)" (identifier "dcgettext") (argument_list "(0,unaff_EDI + 0x39515,5)" (( "(") (number_literal "0") (, ",") (binary_expression "unaff_EDI + 0x39515" (identifier "unaff_EDI") (+ "+") (number_literal "0x39515")) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar2,param_4);" (call_expression "printf(pcVar2,param_4)" (identifier "printf") (argument_list "(pcVar2,param_4)" (( "(") (identifier "pcVar2") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return local_44;" (return "return") (identifier "local_44") (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,&UNK_00036629 + unaff_EDI,5)" (identifier "dcgettext") (argument_list "(0,&UNK_00036629 + unaff_EDI,5)" (( "(") (number_literal "0") (, ",") (binary_expression "&UNK_00036629 + unaff_EDI" (pointer_expression "&UNK_00036629" (& "&") (identifier "UNK_00036629")) (+ "+") (identifier "unaff_EDI")) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));" (call_expression "printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20))" (identifier "printf") (argument_list "(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20))" (( "(") (identifier "pcVar2") (, ",") (identifier "param_4") (, ",") (binary_expression "local_44 - (int)((ulonglong)uVar11 >> 0x20)" (identifier "local_44") (- "-") (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar11")) (>> ">>") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x3952f,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,unaff_EDI + 0x3952f,5)" (identifier "dcgettext") (argument_list "(0,unaff_EDI + 0x3952f,5)" (( "(") (number_literal "0") (, ",") (binary_expression "unaff_EDI + 0x3952f" (identifier "unaff_EDI") (+ "+") (number_literal "0x3952f")) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" (identifier "printf") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" (identifier "bVar5") (= "=") (number_literal "2")) (; ";")) (while_statement "while( true ) {\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      bVar8 = 0;\n      local_64._0_1_ = (bool)(bVar5 & 1);\n      uVar7 = uVar3;\n      if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }\n      if (bVar5 == 1) break;\n      bVar5 = 1;\n    }" ({ "{") (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" (identifier "bVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_64._0_1_ = (bool)(bVar5 & 1);" (assignment_expression "local_64._0_1_ = (bool)(bVar5 & 1)" (field_expression "local_64._0_1_" (identifier "local_64") (. ".") (field_identifier "_0_1_")) (= "=") (cast_expression "(bool)(bVar5 & 1)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar5 & 1)" (( "(") (binary_expression "bVar5 & 1" (identifier "bVar5") (& "&") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" (identifier "uVar7") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (local_59 != 0) {\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }" (if "if") (parenthesized_expression "(local_59 != 0)" (( "(") (binary_expression "local_59 != 0" (identifier "local_59") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);\n      }" ({ "{") (do_statement "do {\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        } while (bVar8 != local_59);" (do "do") (compound_statement "{\n          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n          iVar6 = (int)((ulonglong)lVar13 >> 0x20);\n          iVar9 = uVar7 + local_20[0];\n          if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }\n          bVar8 = bVar8 + 1;\n          FUN_0004f910(iVar9,local_68,0,extraout_ECX);\n          uVar7 = iVar9 + local_20[0];\n        }" ({ "{") (expression_statement "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);" (assignment_expression "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX)" (identifier "lVar13") (= "=") (call_expression "FUN_0004f910(uVar7,local_68,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(uVar7,local_68,0,extraout_ECX)" (( "(") (identifier "uVar7") (, ",") (identifier "local_68") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")")))) (; ";")) (expression_statement "iVar6 = (int)((ulonglong)lVar13 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)lVar13 >> 0x20)" (identifier "iVar6") (= "=") (cast_expression "(int)((ulonglong)lVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar13 >> 0x20" (cast_expression "(ulonglong)lVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar13")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar9 = uVar7 + local_20[0];" (assignment_expression "iVar9 = uVar7 + local_20[0]" (identifier "iVar9") (= "=") (binary_expression "uVar7 + local_20[0]" (identifier "uVar7") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (if_statement "if ((lVar13 != 1) != local_64._0_1_) {\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }" (if "if") (parenthesized_expression "((lVar13 != 1) != local_64._0_1_)" (( "(") (binary_expression "(lVar13 != 1) != local_64._0_1_" (parenthesized_expression "(lVar13 != 1)" (( "(") (binary_expression "lVar13 != 1" (identifier "lVar13") (!= "!=") (number_literal "1")) () ")")) (!= "!=") (field_expression "local_64._0_1_" (identifier "local_64") (. ".") (field_identifier "_0_1_"))) () ")")) (compound_statement "{\n            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }\n            uVar4 = FUN_0004cb30(0);\n            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);\n            printf(pcVar2,uVar4);\n          }" ({ "{") (if_statement "if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }" (if "if") (parenthesized_expression "(iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6)" (( "(") (binary_expression "iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6" (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uint)(5 < (uint)lVar13) <= (uint)-iVar6" (call_expression "(uint)(5 < (uint)lVar13)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(5 < (uint)lVar13)" (( "(") (binary_expression "5 < (uint)lVar13" (number_literal "5") (< "<") (cast_expression "(uint)lVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar13"))) () ")"))) (<= "<=") (binary_expression "(uint)-iVar6" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "iVar6")))) () ")")) (compound_statement "{\n                    \n                    \n              uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();\n              return uVar3;\n            }" ({ "{") (expression_statement "uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();" (assignment_expression "uVar3 = (*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))()" (identifier "uVar3") (= "=") (call_expression "(*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))()" (parenthesized_expression "(*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))" (( "(") (pointer_expression "*(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" (* "*") (cast_expression "(code *)(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI)" (( "(") (binary_expression "&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI" (binary_expression "&UNK_00059d09 +\n                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" (pointer_expression "&UNK_00059d09" (& "&") (identifier "UNK_00059d09")) (+ "+") (pointer_expression "*(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4)" (( "(") (binary_expression "unaff_EDI + 0x3ae01 + (uint)lVar13 * 4" (binary_expression "unaff_EDI + 0x3ae01" (identifier "unaff_EDI") (+ "+") (number_literal "0x3ae01")) (+ "+") (binary_expression "(uint)lVar13 * 4" (cast_expression "(uint)lVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar13")) (* "*") (number_literal "4"))) () ")"))))) (+ "+") (identifier "unaff_EDI")) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "uVar4 = FUN_0004cb30(0);" (assignment_expression "uVar4 = FUN_0004cb30(0)" (identifier "uVar4") (= "=") (call_expression "FUN_0004cb30(0)" (identifier "FUN_0004cb30") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,unaff_EDI + 0x36649,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,unaff_EDI + 0x36649,5)" (identifier "dcgettext") (argument_list "(0,unaff_EDI + 0x36649,5)" (( "(") (number_literal "0") (, ",") (binary_expression "unaff_EDI + 0x36649" (identifier "unaff_EDI") (+ "+") (number_literal "0x36649")) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar2,uVar4);" (call_expression "printf(pcVar2,uVar4)" (identifier "printf") (argument_list "(pcVar2,uVar4)" (( "(") (identifier "pcVar2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "bVar8 = bVar8 + 1;" (assignment_expression "bVar8 = bVar8 + 1" (identifier "bVar8") (= "=") (binary_expression "bVar8 + 1" (identifier "bVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0004f910(iVar9,local_68,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar9,local_68,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(iVar9,local_68,0,extraout_ECX)" (( "(") (identifier "iVar9") (, ",") (identifier "local_68") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")"))) (; ";")) (expression_statement "uVar7 = iVar9 + local_20[0];" (assignment_expression "uVar7 = iVar9 + local_20[0]" (identifier "uVar7") (= "=") (binary_expression "iVar9 + local_20[0]" (identifier "iVar9") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar8 != local_59)" (( "(") (binary_expression "bVar8 != local_59" (identifier "bVar8") (!= "!=") (identifier "local_59")) () ")")) (; ";")) (} "}"))) (if_statement "if (bVar5 == 1) break;" (if "if") (parenthesized_expression "(bVar5 == 1)" (( "(") (binary_expression "bVar5 == 1" (identifier "bVar5") (== "==") (number_literal "1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" (identifier "bVar5") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);" (assignment_expression "puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(unaff_EDI + 0x59ce1)" (* "*") (cast_expression "(undefined4 **)(unaff_EDI + 0x59ce1)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x59ce1)" (( "(") (binary_expression "unaff_EDI + 0x59ce1" (identifier "unaff_EDI") (+ "+") (number_literal "0x59ce1")) () ")"))))) (; ";")) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" (identifier "putc") (argument_list "(10,(FILE *)*puVar1)" (( "(") (number_literal "10") (, ",") (cast_expression "(FILE *)*puVar1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      printf(&UNK_00039553 + unaff_EDI,local_4c);\n      bVar5 = 2;\n      while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }\n      if (extraout_ECX == local_64) break;\n      putc(10,(FILE *)*puVar1);\n      bVar10 = 0xfffffffe < local_4c;\n      local_4c = local_4c + 1;\n      local_48 = local_48 + (uint)bVar10;\n      local_44 = local_64;\n      if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }\n    }" ({ "{") (expression_statement "printf(&UNK_00039553 + unaff_EDI,local_4c);" (call_expression "printf(&UNK_00039553 + unaff_EDI,local_4c)" (identifier "printf") (argument_list "(&UNK_00039553 + unaff_EDI,local_4c)" (( "(") (binary_expression "&UNK_00039553 + unaff_EDI" (pointer_expression "&UNK_00039553" (& "&") (identifier "UNK_00039553")) (+ "+") (identifier "unaff_EDI")) (, ",") (identifier "local_4c") () ")"))) (; ";")) (expression_statement "bVar5 = 2;" (assignment_expression "bVar5 = 2" (identifier "bVar5") (= "=") (number_literal "2")) (; ";")) (while_statement "while( true ) {\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        local_64 = local_44;\n        if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }\n        if (bVar5 == 1) break;\n        bVar5 = 1;\n      }" ({ "{") (expression_statement "local_64 = local_44;" (assignment_expression "local_64 = local_44" (identifier "local_64") (= "=") (identifier "local_44")) (; ";")) (if_statement "if (local_59 != 0) {\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }" (if "if") (parenthesized_expression "(local_59 != 0)" (( "(") (binary_expression "local_59 != 0" (identifier "local_59") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          bVar8 = 0;\n          local_58 = bVar5 & 1;\n          uVar7 = uVar3;\n          do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);\n        }" ({ "{") (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" (identifier "bVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58 = bVar5 & 1;" (assignment_expression "local_58 = bVar5 & 1" (identifier "local_58") (= "=") (binary_expression "bVar5 & 1" (identifier "bVar5") (& "&") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" (identifier "uVar7") (= "=") (identifier "uVar3")) (; ";")) (do_statement "do {\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          } while (bVar8 != local_59);" (do "do") (compound_statement "{\n            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);\n            iVar6 = uVar7 + local_20[0];\n            FUN_0004f910(iVar6,local_68,0,extraout_ECX);\n            uVar7 = iVar6 + local_20[0];\n            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);\n            bVar8 = bVar8 + 1;\n          }" ({ "{") (expression_statement "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);" (assignment_expression "lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX)" (identifier "lVar13") (= "=") (call_expression "FUN_0004f910(uVar7,local_68,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(uVar7,local_68,0,extraout_ECX)" (( "(") (identifier "uVar7") (, ",") (identifier "local_68") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")")))) (; ";")) (expression_statement "iVar6 = uVar7 + local_20[0];" (assignment_expression "iVar6 = uVar7 + local_20[0]" (identifier "iVar6") (= "=") (binary_expression "uVar7 + local_20[0]" (identifier "uVar7") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "FUN_0004f910(iVar6,local_68,0,extraout_ECX);" (call_expression "FUN_0004f910(iVar6,local_68,0,extraout_ECX)" (identifier "FUN_0004f910") (argument_list "(iVar6,local_68,0,extraout_ECX)" (( "(") (identifier "iVar6") (, ",") (identifier "local_68") (, ",") (number_literal "0") (, ",") (identifier "extraout_ECX") () ")"))) (; ";")) (expression_statement "uVar7 = iVar6 + local_20[0];" (assignment_expression "uVar7 = iVar6 + local_20[0]" (identifier "uVar7") (= "=") (binary_expression "iVar6 + local_20[0]" (identifier "iVar6") (+ "+") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9);" (assignment_expression "local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" (identifier "local_64") (= "=") (call_expression "FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" (identifier "FUN_00053040") (argument_list "(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,\n                                    lVar13 == 1 ^ local_58,param_3,0,9)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "local_64") (, ",") (identifier "extraout_ECX") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (number_literal "0") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") (, ",") (binary_expression "lVar13 == 1 ^ local_58" (binary_expression "lVar13 == 1" (identifier "lVar13") (== "==") (number_literal "1")) (^ "^") (identifier "local_58")) (, ",") (identifier "param_3") (, ",") (number_literal "0") (, ",") (number_literal "9") () ")")))) (; ";")) (expression_statement "bVar8 = bVar8 + 1;" (assignment_expression "bVar8 = bVar8 + 1" (identifier "bVar8") (= "=") (binary_expression "bVar8 + 1" (identifier "bVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar8 != local_59)" (( "(") (binary_expression "bVar8 != local_59" (identifier "bVar8") (!= "!=") (identifier "local_59")) () ")")) (; ";")) (} "}"))) (if_statement "if (bVar5 == 1) break;" (if "if") (parenthesized_expression "(bVar5 == 1)" (( "(") (binary_expression "bVar5 == 1" (identifier "bVar5") (== "==") (number_literal "1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar5 = 1;" (assignment_expression "bVar5 = 1" (identifier "bVar5") (= "=") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (extraout_ECX == local_64) break;" (if "if") (parenthesized_expression "(extraout_ECX == local_64)" (( "(") (binary_expression "extraout_ECX == local_64" (identifier "extraout_ECX") (== "==") (identifier "local_64")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "putc(10,(FILE *)*puVar1);" (call_expression "putc(10,(FILE *)*puVar1)" (identifier "putc") (argument_list "(10,(FILE *)*puVar1)" (( "(") (number_literal "10") (, ",") (cast_expression "(FILE *)*puVar1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "bVar10 = 0xfffffffe < local_4c;" (assignment_expression "bVar10 = 0xfffffffe < local_4c" (identifier "bVar10") (= "=") (binary_expression "0xfffffffe < local_4c" (number_literal "0xfffffffe") (< "<") (identifier "local_4c"))) (; ";")) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" (identifier "local_4c") (= "=") (binary_expression "local_4c + 1" (identifier "local_4c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_48 = local_48 + (uint)bVar10;" (assignment_expression "local_48 = local_48 + (uint)bVar10" (identifier "local_48") (= "=") (binary_expression "local_48 + (uint)bVar10" (identifier "local_48") (+ "+") (cast_expression "(uint)bVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar10")))) (; ";")) (expression_statement "local_44 = local_64;" (assignment_expression "local_44 = local_64" (identifier "local_44") (= "=") (identifier "local_64")) (; ";")) (if_statement "if (lVar12 == CONCAT44(local_48,local_4c)) {\n        return local_64;\n      }" (if "if") (parenthesized_expression "(lVar12 == CONCAT44(local_48,local_4c))" (( "(") (binary_expression "lVar12 == CONCAT44(local_48,local_4c)" (identifier "lVar12") (== "==") (call_expression "CONCAT44(local_48,local_4c)" (identifier "CONCAT44") (argument_list "(local_48,local_4c)" (( "(") (identifier "local_48") (, ",") (identifier "local_4c") () ")")))) () ")")) (compound_statement "{\n        return local_64;\n      }" ({ "{") (return_statement "return local_64;" (return "return") (identifier "local_64") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar6 = unaff_EDI + 0x39558;" (assignment_expression "iVar6 = unaff_EDI + 0x39558" (identifier "iVar6") (= "=") (binary_expression "unaff_EDI + 0x39558" (identifier "unaff_EDI") (+ "+") (number_literal "0x39558"))) (; ";")) (labeled_statement "LAB_0005a4af:\n    uVar4 = dcgettext(0,iVar6,5);" (statement_identifier "LAB_0005a4af") (: ":") (expression_statement "uVar4 = dcgettext(0,iVar6,5);" (assignment_expression "uVar4 = dcgettext(0,iVar6,5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,iVar6,5)" (identifier "dcgettext") (argument_list "(0,iVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "iVar6") (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "warn(uVar4,param_4);" (call_expression "warn(uVar4,param_4)" (identifier "warn") (argument_list "(uVar4,param_4)" (( "(") (identifier "uVar4") (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}")))) (return_statement "return local_64;" (return "return") (identifier "local_64") (; ";")) (} "}")))

/* DWARF original prototype: uchar * display_formatted_table(uchar * data, uchar * start, uchar *
   end, DWARF2_Internal_LineInfo * linfo, dwarf_section * section, char * what,
   DWARF2_Internal_LineInfo * linfo) */

type_1 * function_1
                  (type_1 *data,type_1 *start,type_1 *end,type_2 *linfo,
                  type_3 *section,char *what,type_2 *linfo_1)

{
  type_4 *puVar1;
  char *pcVar2;
  type_5 var_19;
  type_1 *var_3;
  char *__format;
  type_1 *var_4;
  int var_5;
  type_6 var_11;
  type_6 var_22;
  type_1 *var_2;
  int var_6;
  bool bVar8;
  type_7 uVar9;
  type_8 var_15;
  type_8 dVar11;
  type_5 *puVar12;
  type_5 *local_68;
  type_1 *var_9;
  type_6 var_7;
  type_6 var_25;
  type_5 var_26;
  int var_27;
  type_1 *var_12;
  type_5 var_17;
  int var_16;
  type_5 var_10;
  
  uVar9 = var_1();
  var_2 = (type_1 *)uVar9;
  var_3 = var_2 + 1;
  var_9 = var_3;
  if (var_3 < var_4) {
    var_5 = 1;
  }
  else if ((var_4 <= var_2) || (var_5 = (int)var_4 - (int)var_2, 7 < var_5 - 1U)) {
    var_7 = 0;
    goto LAB_0005a332;
  }
  var_7 = (**(type_9 **)(var_6 + 0x5fadd))(var_2,var_5);
  if (var_7 != 0) {
    var_11 = 0;
    do {
      var_8(var_9,&var_10,0,var_4);
      var_9 = var_9 + var_10;
      var_8(var_9,&var_10,0,var_4);
      var_9 = var_9 + var_10;
      if (var_4 == var_9) {
        var_5 = var_6 + 0x36609;
        goto LAB_0005a4af;
      }
      var_11 = var_11 + 1;
    } while (var_11 < var_7);
  }
LAB_0005a332:
  local_68 = &var_10;
  var_15 = var_8(var_9,local_68,0,var_4);
  var_12 = var_9 + var_10;
  if (var_4 == var_12) {
    pcVar2 = (char *)var_13(0,var_6 + 0x39504,5);
    var_14(pcVar2,linfo);
    var_9 = var_4;
  }
  else {
    var_16 = (int)(var_15 >> 0x20);
    var_17 = (type_5)var_15;
    if (var_16 == 0 && var_17 == 0) {
      pcVar2 = (char *)var_13(0,var_6 + 0x39515,5);
      var_18(pcVar2,linfo);
      return var_12;
    }
    pcVar2 = (char *)var_13(0,&UNK_00036629 + var_6,5);
    var_18(pcVar2,linfo,(int)var_12 - (int)((type_10)uVar9 >> 0x20));
    pcVar2 = (char *)var_13(0,var_6 + 0x3952f,5);
    var_18(pcVar2);
    var_11 = 2;
    while( true ) {
      var_22 = 0;
      var_9._0_1_ = (bool)(var_11 & 1);
      var_2 = var_3;
      if (var_7 != 0) {
        do {
          puVar12 = local_68;
          var_15 = var_8(var_2,local_68,0,var_4);
          var_5 = (int)(var_15 >> 0x20);
          var_19 = (type_5)var_15;
          var_2 = var_2 + var_10;
          if ((var_15 != 1) != var_9._0_1_) {
            if (var_5 == 0 && (type_5)(5 < var_19) <= (type_5)-var_5) {
                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */
                    /* WARNING: Treating indirect jump as call */
              var_3 = (type_1 *)(*(type_9 *)(*(int *)(var_6 + 0x3ae01 + var_19 * 4) +
                                          var_6 + 0x59d09))();
              return var_3;
            }
            pcVar2 = var_20((char *)(var_6 + 0x34389),var_21(puVar12) << 0x20,var_19)
            ;
            __format = (char *)var_13(0,var_6 + 0x36649,5);
            var_18(__format,pcVar2);
          }
          var_22 = var_22 + 1;
          var_8(var_2,local_68,0,var_4);
          var_2 = var_2 + var_10;
        } while (var_22 != var_7);
      }
      if (var_11 == 1) break;
      var_11 = 1;
    }
    puVar1 = *(type_4 **)(var_6 + 0x59ce1);
    var_23(10,(type_11 *)*puVar1);
    var_26 = 0;
    var_27 = 0;
    while( true ) {
      var_18(&UNK_00039553 + var_6,var_26);
      var_11 = 2;
      while( true ) {
        var_9 = var_12;
        if (var_7 != 0) {
          var_22 = 0;
          var_25 = var_11 & 1;
          var_2 = var_3;
          do {
            var_15 = var_8(var_2,local_68,0,var_4);
            var_2 = var_2 + var_10;
            dVar11 = var_8(var_2,local_68,0,var_4);
            var_2 = var_2 + var_10;
            var_9 = var_24
                                 (0,(type_12)dVar11,0,var_9,var_4,0,0,(type_10)*(type_5 *)start,
                                  (type_5)*(type_13 *)data,(type_14 *)0x0,
                                  (type_5)(var_15 == 1 ^ var_25),(type_3 *)end,
                                  (type_15 *)0x0,'\t');
            var_22 = var_22 + 1;
          } while (var_22 != var_7);
        }
        if (var_11 == 1) break;
        var_11 = 1;
      }
      if (var_4 == var_9) break;
      var_23(10,(type_11 *)*puVar1);
      bVar8 = 0xfffffffe < var_26;
      var_26 = var_26 + 1;
      var_27 = var_27 + (type_5)bVar8;
      var_12 = var_9;
      if (var_16 == var_27 && var_17 == var_26) {
        return var_9;
      }
    }
    var_5 = var_6 + 0x39558;
LAB_0005a4af:
    pcVar2 = (char *)var_13(0,var_5,5);
    var_14(pcVar2,linfo);
  }
  return var_9;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))) right: (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_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: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (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) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (identifier)))) (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) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))))) (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) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (field_expression argument: (identifier) field: (field_identifier)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))) right: (identifier)))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (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) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier) (identifier) (number_literal) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)) (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) consequence: (compound_statement (return_statement (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) (return_statement (identifier)))))

uint MASKED(undefined2 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 *puVar1;
  char *pcVar2;
  uint uVar3;
  undefined4 uVar4;
  uint extraout_ECX;
  byte bVar5;
  int iVar6;
  uint uVar7;
  byte bVar8;
  int iVar9;
  int unaff_EDI;
  bool bVar10;
  undefined8 uVar11;
  longlong lVar12;
  longlong lVar13;
  int *local_68;
  uint local_64;
  byte local_59;
  byte local_58;
  uint local_4c;
  int local_48;
  uint local_44;
  int local_20 [4];
  
  uVar11 = FUN_0004ab85();
  uVar7 = (uint)uVar11;
  uVar3 = uVar7 + 1;
  local_64 = uVar3;
  if (uVar3 < extraout_ECX) {
    iVar6 = 1;
  }
  else if ((extraout_ECX <= uVar7) || (iVar6 = extraout_ECX - uVar7, 7 < iVar6 - 1U)) {
    local_59 = 0;
    goto LAB_0005a332;
  }
  local_59 = (**(code **)(&UNK_0005fadd + unaff_EDI))(uVar7,iVar6);
  if (local_59 != 0) {
    bVar5 = 0;
    do {
      FUN_0004f910(local_64,local_20,0,extraout_ECX);
      iVar6 = local_64 + local_20[0];
      FUN_0004f910(iVar6,local_20,0,extraout_ECX);
      local_64 = iVar6 + local_20[0];
      if (extraout_ECX == local_64) {
        iVar6 = unaff_EDI + 0x36609;
        goto LAB_0005a4af;
      }
      bVar5 = bVar5 + 1;
    } while (bVar5 < local_59);
  }
LAB_0005a332:
  local_68 = local_20;
  lVar12 = FUN_0004f910(local_64,local_68,0,extraout_ECX);
  local_44 = local_64 + local_20[0];
  if (extraout_ECX == local_44) {
    uVar4 = dcgettext(0,unaff_EDI + 0x39504,5);
    warn(uVar4,param_4);
    local_64 = extraout_ECX;
  }
  else {
    if (lVar12 == 0) {
      pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x39515,5);
      printf(pcVar2,param_4);
      return local_44;
    }
    pcVar2 = (char *)dcgettext(0,&UNK_00036629 + unaff_EDI,5);
    printf(pcVar2,param_4,local_44 - (int)((ulonglong)uVar11 >> 0x20));
    pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x3952f,5);
    printf(pcVar2);
    bVar5 = 2;
    while( true ) {
      bVar8 = 0;
      local_64._0_1_ = (bool)(bVar5 & 1);
      uVar7 = uVar3;
      if (local_59 != 0) {
        do {
          lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);
          iVar6 = (int)((ulonglong)lVar13 >> 0x20);
          iVar9 = uVar7 + local_20[0];
          if ((lVar13 != 1) != local_64._0_1_) {
            if (iVar6 == 0 && (uint)(5 < (uint)lVar13) <= (uint)-iVar6) {
                    /* WARNING: Could not recover jumptable at 0x0005a42b. Too many branches */
                    /* WARNING: Treating indirect jump as call */
              uVar3 = (*(code *)(&UNK_00059d09 +
                                *(int *)(unaff_EDI + 0x3ae01 + (uint)lVar13 * 4) + unaff_EDI))();
              return uVar3;
            }
            uVar4 = FUN_0004cb30(0);
            pcVar2 = (char *)dcgettext(0,unaff_EDI + 0x36649,5);
            printf(pcVar2,uVar4);
          }
          bVar8 = bVar8 + 1;
          FUN_0004f910(iVar9,local_68,0,extraout_ECX);
          uVar7 = iVar9 + local_20[0];
        } while (bVar8 != local_59);
      }
      if (bVar5 == 1) break;
      bVar5 = 1;
    }
    puVar1 = *(undefined4 **)(unaff_EDI + 0x59ce1);
    putc(10,(FILE *)*puVar1);
    local_4c = 0;
    local_48 = 0;
    while( true ) {
      printf(&UNK_00039553 + unaff_EDI,local_4c);
      bVar5 = 2;
      while( true ) {
        local_64 = local_44;
        if (local_59 != 0) {
          bVar8 = 0;
          local_58 = bVar5 & 1;
          uVar7 = uVar3;
          do {
            lVar13 = FUN_0004f910(uVar7,local_68,0,extraout_ECX);
            iVar6 = uVar7 + local_20[0];
            FUN_0004f910(iVar6,local_68,0,extraout_ECX);
            uVar7 = iVar6 + local_20[0];
            local_64 = FUN_00053040(0,0,local_64,extraout_ECX,0,0,0,0,*param_2,0,*param_1,0,
                                    lVar13 == 1 ^ local_58,param_3,0,9);
            bVar8 = bVar8 + 1;
          } while (bVar8 != local_59);
        }
        if (bVar5 == 1) break;
        bVar5 = 1;
      }
      if (extraout_ECX == local_64) break;
      putc(10,(FILE *)*puVar1);
      bVar10 = 0xfffffffe < local_4c;
      local_4c = local_4c + 1;
      local_48 = local_48 + (uint)bVar10;
      local_44 = local_64;
      if (lVar12 == CONCAT44(local_48,local_4c)) {
        return local_64;
      }
    }
    iVar6 = unaff_EDI + 0x39558;
LAB_0005a4af:
    uVar4 = dcgettext(0,iVar6,5);
    warn(uVar4,param_4);
  }
  return local_64;
}

