
/* WARNING: Removing unreachable block (ram,0x0002c6f5) */
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffc0 : 0x0002c630 */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

void logfopen(void *handle)

{
  int iVar1;
  byte bVar2;
  char cVar3;
  void *ctx;
  Filename *pFVar4;
  char *pcVar5;
  __int32_t **pp_Var6;
  int iVar7;
  FILE *__stream;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  bool bVar11;
  int iVar12;
  int unaff_EDI;
  int in_GS_OFFSET;
  char *local_c4;
  uint local_c0;
  size_t local_bc;
  int local_b0;
  char *local_ac;
  tm tm;
  char buf [32];
  
  ctx = (void *)__x86_get_pc_thunk_di();
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  ltime();
  if (*(Filename **)((int)ctx + 0x14) != (Filename *)0x0) {
    filename_free(*(Filename **)((int)ctx + 0x14));
  }
  conf_get_int(*(Conf **)((int)ctx + 0x1c),1);
  conf_get_str(*(Conf **)((int)ctx + 0x1c),0);
  pFVar4 = conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77);
  local_c4 = (char *)safemalloc(0x1000,1);
  pcVar5 = filename_to_str(pFVar4);
  cVar3 = *pcVar5;
  if (cVar3 != '\0') {
    iVar12 = 0;
    local_bc = 0x1000;
    local_ac = pcVar5 + 1;
    if (cVar3 == '&') goto LAB_0002c521;
    iVar12 = 0;
LAB_0002c4a8:
    iVar8 = iVar12 + 1;
    local_b0 = iVar8;
    buf[0] = cVar3;
    if ((int)local_bc <= iVar8) {
      local_c0 = 0;
      bVar11 = false;
      goto LAB_0002c56a;
    }
    local_c0 = 0;
    pcVar5 = local_c4 + iVar12;
    pcVar9 = buf;
LAB_0002c4e0:
    do {
      pcVar10 = pcVar9 + 1;
      *pcVar5 = *pcVar9;
      pcVar5 = pcVar5 + 1;
      pcVar9 = pcVar10;
    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));
LAB_0002c500:
    iVar12 = local_b0 + local_c0;
    do {
      while( true ) {
        cVar3 = *local_ac;
        if (cVar3 == '\0') goto LAB_0002c70e;
        pcVar9 = local_ac + 1;
        pcVar5 = local_ac;
        local_ac = pcVar9;
        if (cVar3 != '&') goto LAB_0002c4a8;
LAB_0002c521:
        bVar2 = pcVar5[1];
        if (bVar2 != 0) break;
        if (iVar12 < (int)local_bc) goto LAB_0002c70e;
        local_bc = (iVar12 * 5) / 4 + 0x200;
        local_c4 = (char *)saferealloc(local_c4,local_bc,1);
      }
      local_ac = pcVar5 + 2;
      pp_Var6 = __ctype_tolower_loc();
      if ((*pp_Var6)[bVar2] - 100U < 0x16) {
                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +
                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)
        )();
        return;
      }
      buf[0] = '&';
      if (bVar2 == 0x26) {
        iVar8 = iVar12 + 1;
        local_c0 = 0;
        local_b0 = iVar8;
        if ((int)local_bc <= iVar8) {
          bVar11 = true;
          goto LAB_0002c56a;
        }
      }
      else {
        iVar8 = iVar12 + 2;
        local_c0 = 1;
        buf[1] = bVar2;
        if (iVar8 < (int)local_bc) {
          local_b0 = iVar12 + 1;
        }
        else {
          bVar11 = true;
          local_b0 = iVar12 + 1;
LAB_0002c56a:
          iVar8 = iVar8 * 5;
          iVar7 = iVar8 + 3;
          if (-1 < iVar8) {
            iVar7 = iVar8;
          }
          local_bc = (iVar7 >> 2) + 0x200;
          local_c4 = (char *)saferealloc(local_c4,local_bc,1);
          if (!bVar11) goto code_r0x0002c5bc;
        }
      }
      pcVar5 = local_c4 + iVar12;
      pcVar9 = buf;
      do {
        pcVar10 = pcVar9 + 1;
        cVar3 = filename_char_sanitise(*pcVar9);
        *pcVar5 = cVar3;
        pcVar5 = pcVar5 + 1;
        pcVar9 = pcVar10;
      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));
      iVar12 = local_b0 + local_c0;
    } while( true );
  }
  iVar12 = 0;
LAB_0002c70e:
  local_c4[iVar12] = '\0';
  pFVar4 = filename_from_str(local_c4);
  safefree(local_c4);
  *(Filename **)((int)ctx + 0x14) = pFVar4;
  __stream = (FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0);
  if (__stream == (FILE *)0x0) {
LAB_0002c7b0:
    iVar8 = 2;
  }
  else {
    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);
    fclose(__stream);
    if (iVar12 == -1) {
      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),
                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);
      if (iVar8 < 0) {
        *(undefined4 *)((int)ctx + 4) = 1;
        goto LAB_0002c787;
      }
    }
    else {
      iVar8 = 1;
      if (iVar12 == 1) goto LAB_0002c7b0;
    }
  }
  logfopen_callback(ctx,iVar8);
LAB_0002c787:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
code_r0x0002c5bc:
  pcVar5 = local_c4 + iVar12;
  pcVar9 = buf;
  if ((pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)
     ) goto LAB_0002c4e0;
  do {
    pcVar10 = pcVar9 + 4;
    *(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;
    pcVar5 = pcVar5 + 4;
    pcVar9 = pcVar10;
  } while (pcVar10 != buf);
  if (((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&
     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0)) {
    local_c4[iVar12 + 2] = buf[2];
  }
  goto LAB_0002c500;
}



/* WARNING: Removing unreachable block (ram,0x0002c6f5) */
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffbc : 0x0002c630 */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

void FUN_0002c360(void)

{
  char cVar1;
  byte bVar2;
  undefined1 uVar3;
  int iVar4;
  undefined4 uVar5;
  char *pcVar6;
  __int32_t **pp_Var7;
  int iVar8;
  FILE *__stream;
  int iVar9;
  char *pcVar10;
  bool bVar11;
  undefined1 *puVar12;
  char *pcVar13;
  int unaff_EDI;
  int in_GS_OFFSET;
  int local_c8;
  uint local_c4;
  int local_c0;
  int local_b8;
  int local_b4;
  char *local_b0;
  undefined4 local_9c;
  undefined4 local_98;
  undefined4 local_94;
  undefined4 local_90;
  undefined4 local_8c;
  undefined4 local_88;
  undefined4 local_84;
  undefined4 local_80;
  undefined4 local_7c;
  undefined4 local_78;
  undefined4 local_6c;
  undefined4 local_68;
  undefined4 local_64;
  undefined4 local_60;
  undefined4 local_5c;
  undefined4 local_58;
  undefined4 local_54;
  undefined4 local_50;
  undefined4 local_4c;
  undefined4 local_48;
  char local_44 [32];
  int local_24;
  undefined4 local_20;
  
  iVar4 = FUN_0002d41e();
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  FUN_0004f2a0(&local_9c);
  local_6c = local_9c;
  local_68 = local_98;
  local_64 = local_94;
  local_60 = local_90;
  local_5c = local_8c;
  local_58 = local_88;
  local_54 = local_84;
  local_50 = local_80;
  local_4c = local_7c;
  local_48 = local_78;
  if (*(int *)(iVar4 + 0x14) != 0) {
    FUN_0006ef80(*(int *)(iVar4 + 0x14));
  }
  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);
  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);
  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);
  local_c8 = FUN_000313e0(0x1000,1);
  pcVar6 = (char *)FUN_0006ef30(uVar5);
  cVar1 = *pcVar6;
  if (cVar1 != '\0') {
    iVar4 = 0;
    local_c0 = 0x1000;
    local_b0 = pcVar6 + 1;
    if (cVar1 == '&') goto LAB_0002c521;
    iVar4 = 0;
LAB_0002c4a8:
    iVar9 = iVar4 + 1;
    local_b4 = iVar9;
    local_44[0] = cVar1;
    if (local_c0 <= iVar9) {
      local_c4 = 0;
      bVar11 = false;
      goto LAB_0002c56a;
    }
    local_c4 = 0;
    pcVar6 = (char *)(local_c8 + iVar4);
    pcVar13 = local_44;
LAB_0002c4e0:
    do {
      pcVar10 = pcVar13 + 1;
      *pcVar6 = *pcVar13;
      pcVar6 = pcVar6 + 1;
      pcVar13 = pcVar10;
    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));
LAB_0002c500:
    iVar4 = local_b4 + local_c4;
    do {
      while( true ) {
        cVar1 = *local_b0;
        if (cVar1 == '\0') goto LAB_0002c70e;
        pcVar13 = local_b0 + 1;
        pcVar6 = local_b0;
        local_b0 = pcVar13;
        if (cVar1 != '&') goto LAB_0002c4a8;
LAB_0002c521:
        bVar2 = pcVar6[1];
        if (bVar2 != 0) break;
        if (iVar4 < local_c0) goto LAB_0002c70e;
        local_c0 = (iVar4 * 5) / 4 + 0x200;
        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);
      }
      local_b0 = pcVar6 + 2;
      pp_Var7 = __ctype_tolower_loc();
      if ((*pp_Var7)[bVar2] - 100U < 0x16) {
                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +
                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)
        )();
        return;
      }
      local_44[0] = '&';
      if (bVar2 == 0x26) {
        iVar9 = iVar4 + 1;
        local_c4 = 0;
        local_b4 = iVar9;
        if (local_c0 <= iVar9) {
          bVar11 = true;
          goto LAB_0002c56a;
        }
      }
      else {
        iVar9 = iVar4 + 2;
        local_c4 = 1;
        local_44[1] = bVar2;
        if (iVar9 < local_c0) {
          local_b4 = iVar4 + 1;
        }
        else {
          bVar11 = true;
          local_b4 = iVar4 + 1;
LAB_0002c56a:
          iVar9 = iVar9 * 5;
          iVar8 = iVar9 + 3;
          if (-1 < iVar9) {
            iVar8 = iVar9;
          }
          local_c0 = (iVar8 >> 2) + 0x200;
          local_c8 = FUN_000314a0(local_c8,local_c0,1);
          if (!bVar11) goto code_r0x0002c5bc;
        }
      }
      puVar12 = (undefined1 *)(local_c8 + iVar4);
      pcVar6 = local_44;
      do {
        pcVar13 = pcVar6 + 1;
        uVar3 = FUN_0006f060((int)*pcVar6);
        *puVar12 = uVar3;
        puVar12 = puVar12 + 1;
        pcVar6 = pcVar13;
      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));
      iVar4 = local_b4 + local_c4;
    } while( true );
  }
  iVar4 = 0;
LAB_0002c70e:
  *(undefined1 *)(local_c8 + iVar4) = 0;
  uVar5 = FUN_0006eec0(local_c8);
  FUN_00031580(local_c8);
  *(undefined4 *)(local_b8 + 0x14) = uVar5;
  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);
  if (__stream == (FILE *)0x0) {
LAB_0002c7b0:
    iVar9 = 2;
  }
  else {
    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);
    fclose(__stream);
    if (iVar4 == -1) {
      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),
                           unaff_EDI + -0x3b7,local_b8);
      if (iVar9 < 0) {
        *(undefined4 *)(local_b8 + 4) = 1;
        goto LAB_0002c787;
      }
    }
    else {
      iVar9 = 1;
      if (iVar4 == 1) goto LAB_0002c7b0;
    }
  }
  FUN_0002bfb0(local_b8,iVar9);
LAB_0002c787:
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00077880();
  }
  return;
code_r0x0002c5bc:
  pcVar6 = (char *)(local_c8 + iVar4);
  pcVar13 = local_44;
  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||
     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;
  do {
    pcVar10 = pcVar13 + 4;
    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;
    pcVar6 = pcVar6 + 4;
    pcVar13 = pcVar10;
  } while (pcVar10 != local_44);
  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&
     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {
    *(char *)(local_c8 + 2 + iVar4) = local_44[2];
  }
  goto LAB_0002c500;
}


PUSH EBP
PUSH EDI
CALL 0x0002d41e
ADD EDI,0x9943d
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0xbc
MOV dword ptr [ESP + 0x18],EAX
MOV EBX,EDI
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xac],EAX
XOR EAX,EAX
LEA EAX,[ESP + 0x30]
SUB ESP,0xc
PUSH EAX
CALL 0x0004f2a0
MOV EAX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESP + 0x6c],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x70],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x74],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x78],EAX
MOV EAX,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x7c],EAX
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0x80],EAX
MOV EAX,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x84],EAX
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESP + 0x88],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x8c],EAX
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x90],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x94],EAX
MOV EAX,dword ptr [ESI + 0x14]
ADD ESP,0xc
TEST EAX,EAX
JZ 0x0002c419
SUB ESP,0xc
PUSH EAX
CALL 0x0006ef80
ADD ESP,0x10
SUB ESP,0x8
MOV EBX,EDI
PUSH 0x1
MOV ESI,dword ptr [ESP + 0x24]
PUSH dword ptr [ESI + 0x1c]
CALL 0x000200f0
MOV dword ptr [ESP + 0x3c],EAX
POP ECX
POP EBP
PUSH 0x0
PUSH dword ptr [ESI + 0x1c]
CALL 0x000202a0
MOV dword ptr [ESP + 0x38],EAX
POP EAX
POP EDX
PUSH 0x77
PUSH dword ptr [ESI + 0x1c]
CALL 0x00020700
POP ECX
POP EBP
PUSH 0x1
PUSH 0x1000
MOV ESI,EAX
CALL 0x000313e0
MOV dword ptr [ESP],ESI
MOV EBP,EAX
CALL 0x0006ef30
ADD ESP,0x10
MOVZX EDX,byte ptr [EAX]
TEST DL,DL
JZ 0x0002c910
LEA EBX,[ESP + 0x8c]
LEA ECX,[EAX + 0x1]
XOR ESI,ESI
MOV dword ptr [ESP + 0x8],EBP
MOV dword ptr [ESP + 0x4],EBX
LEA EBX,[ESP + 0x90]
MOV dword ptr [ESP + 0x10],0x1000
MOV dword ptr [ESP + 0x24],EBX
MOV dword ptr [ESP + 0x20],ECX
CMP DL,0x26
JZ 0x0002c521
LEA ESI,[ESI]
LEA EAX,[ESI + 0x1]
MOV byte ptr [ESP + 0x8c],DL
MOV dword ptr [ESP + 0x1c],EAX
CMP dword ptr [ESP + 0x10],EAX
JLE 0x0002c560
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0xc],0x0
XOR EDX,EDX
ADD EAX,ESI
MOV EBX,dword ptr [ESP + 0x4]
MOV EBP,0x1
LEA ESI,[ESI]
ADD EBX,0x1
MOVZX ECX,byte ptr [EBX + -0x1]
ADD EAX,0x1
MOV byte ptr [EAX + -0x1],CL
MOV ECX,EBP
SUB ECX,EBX
ADD ECX,dword ptr [ESP + 0x4]
ADD ECX,dword ptr [ESP + 0xc]
TEST ECX,ECX
JG 0x0002c4e0
LEA ESI,[ESI]
MOV ESI,dword ptr [ESP + 0x1c]
ADD ESI,EDX
MOV EAX,dword ptr [ESP + 0x20]
MOVZX EDX,byte ptr [EAX]
TEST DL,DL
JZ 0x0002c70a
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESP + 0x20],ECX
CMP DL,0x26
JNZ 0x0002c4a8
MOVZX EBP,byte ptr [EAX + 0x1]
MOV ECX,EBP
TEST CL,CL
JZ 0x0002c700
ADD EAX,0x2
MOV EBX,EDI
MOV dword ptr [ESP + 0x20],EAX
CALL 0x000191a0
MOV ECX,EBP
MOV EDX,dword ptr [EAX]
MOVZX ECX,CL
MOV EAX,dword ptr [EDX + ECX*0x4]
SUB EAX,0x64
CMP EAX,0x15
JA 0x0002c668
MOV ECX,dword ptr [EDI + EAX*0x4 + 0xfffc7d9c]
ADD ECX,EDI
JMP ECX
MOV dword ptr [ESP + 0xc],0x0
XOR EBP,EBP
LEA EDX,[EAX + EAX*0x4]
MOV EBX,EDI
TEST EDX,EDX
LEA EAX,[EDX + 0x3]
CMOVNS EAX,EDX
SUB ESP,0x4
SAR EAX,0x2
ADD EAX,0x200
MOV dword ptr [ESP + 0x14],EAX
PUSH 0x1
PUSH EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x000314a0
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x14],EAX
TEST EBP,EBP
JNZ 0x0002c6a8
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,EBP
MOV EBP,dword ptr [ESP + 0x4]
TEST EAX,EAX
CMOVNS EDX,EAX
LEA EAX,[ECX + ESI*0x1]
LEA ECX,[ECX + ESI*0x1 + 0x4]
CMP EBP,ECX
SETNC BL
CMP EAX,dword ptr [ESP + 0x24]
SETNC CL
OR ECX,EBX
CMP EDX,0x3
SETA BL
TEST CL,BL
JZ 0x0002c4d0
TEST AL,0x3
JNZ 0x0002c4d0
LEA EBX,[EDX + 0x1]
MOV ECX,EBP
MOV dword ptr [ESP + 0x14],EDX
MOV EBP,EBX
AND EBP,0xfffffffc
ADD EBP,ECX
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [ECX]
ADD ECX,0x4
ADD EAX,0x4
MOV dword ptr [EAX + -0x4],EDX
CMP ECX,EBP
JNZ 0x0002c600
MOV ECX,dword ptr [ESP + 0x4]
MOV EAX,EBX
MOV EDX,dword ptr [ESP + 0x14]
AND EAX,0xfffffffc
LEA EBP,[ECX + EAX*0x1]
LEA ECX,[ESI + EAX*0x1]
MOV ESI,dword ptr [ESP + 0xc]
SUB ESI,EAX
CMP EBX,EAX
JZ 0x0002c500
MOVZX EAX,byte ptr [EBP]
MOV EBX,dword ptr [ESP + 0x8]
MOV byte ptr [EBX + ECX*0x1],AL
TEST ESI,ESI
JLE 0x0002c500
MOVZX EAX,byte ptr [EBP + 0x1]
MOV byte ptr [EBX + ECX*0x1 + 0x1],AL
CMP ESI,0x1
JLE 0x0002c500
MOVZX EAX,byte ptr [EBP + 0x2]
MOV byte ptr [EBX + ECX*0x1 + 0x2],AL
JMP 0x0002c500
MOV EAX,EBP
MOV byte ptr [ESP + 0x8c],0x26
CMP AL,0x26
JZ 0x0002c920
MOV byte ptr [ESP + 0x8d],AL
LEA EAX,[ESI + 0x2]
CMP dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0xc],0x1
JLE 0x0002c958
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[ESI + 0x1]
MOV dword ptr [ESP + 0x1c],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x8]
LEA EBP,[EAX + ESI*0x1]
MOV ESI,dword ptr [ESP + 0x14]
LEA ESI,[ESI]
NOP
ADD ESI,0x1
MOVSX EAX,byte ptr [ESI + -0x1]
SUB ESP,0xc
MOV EBX,EDI
ADD EBP,0x1
PUSH EAX
CALL 0x0006f060
MOV byte ptr [EBP + -0x1],AL
MOV EAX,0x1
SUB EAX,ESI
ADD EAX,dword ptr [ESP + 0x24]
ADD EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
TEST EAX,EAX
JG 0x0002c6b8
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,0x0
MOV ESI,dword ptr [ESP + 0x1c]
TEST EAX,EAX
CMOVS EAX,ECX
ADD ESI,EAX
JMP 0x0002c506
CMP dword ptr [ESP + 0x10],ESI
JLE 0x0002c96e
MOV EBP,dword ptr [ESP + 0x8]
SUB ESP,0xc
MOV byte ptr [EBP + ESI*0x1],0x0
MOV EBX,EDI
PUSH EBP
CALL 0x0006eec0
MOV dword ptr [ESP],EBP
MOV ESI,EAX
CALL 0x00031580
MOV EBP,dword ptr [ESP + 0x28]
LEA EAX,[EDI + 0xfffc44d6]
ADD ESP,0xc
MOV dword ptr [EBP + 0x14],ESI
PUSH 0x0
PUSH EAX
PUSH ESI
CALL 0x0006f370
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0002c7b0
SUB ESP,0x8
PUSH 0x79
PUSH dword ptr [EBP + 0x1c]
CALL 0x000200f0
MOV dword ptr [ESP],ESI
MOV EBP,EAX
CALL 0x0001acd0
ADD ESP,0x10
CMP EBP,-0x1
JZ 0x0002c8d8
MOV EAX,0x1
CMP EBP,0x1
JZ 0x0002c7b0
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x24]
CALL 0x0002bfb0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xac]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0002c969
ADD ESP,0xbc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x2
JMP 0x0002c777
MOV ESI,dword ptr [ESP + 0x18]
LEA EAX,[EDI + 0xfff6680c]
PUSH ESI
PUSH EAX
PUSH dword ptr [ESI + 0x14]
PUSH dword ptr [ESI + 0x18]
CALL 0x0005ea60
ADD ESP,0x10
TEST EAX,EAX
JNS 0x0002c777
MOV dword ptr [ESI + 0x4],0x1
JMP 0x0002c787
XOR ESI,ESI
JMP 0x0002c70e
LEA EAX,[ESI + 0x1]
CMP dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0xc],0x0
MOV dword ptr [ESP + 0x1c],EAX
JLE 0x0002c948
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x14],EAX
JMP 0x0002c6a8
MOV EBP,0x1
JMP 0x0002c56a
LEA EDX,[ESI + 0x1]
MOV EBP,0x1
MOV dword ptr [ESP + 0x1c],EDX
JMP 0x0002c56a
CALL 0x00077880
LEA EAX,[ESI + ESI*0x4]
MOV ECX,0x4
MOV EBX,EDI
CDQ
IDIV ECX
ADD EAX,0x200
MOV dword ptr [ESP + 0x10],EAX
PUSH EDX
PUSH 0x1
PUSH EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x000314a0
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
JMP 0x0002c506
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0002c6f5) */\n/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffbc : 0x0002c630 */\n/* WARNING: Restarted to delay deadcode elimination for space: stack */\n\nvoid FUN_0002c360(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}\n\n" comment comment comment (function_definition "void FUN_0002c360(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}" primitive_type (function_declarator "FUN_0002c360(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "__int32_t **pp_Var7;" type_identifier (pointer_declarator "**pp_Var7" * (pointer_declarator "*pp_Var7" * identifier)) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_c8;" primitive_type identifier ;) (declaration "uint local_c4;" type_identifier identifier ;) (declaration "int local_c0;" primitive_type identifier ;) (declaration "int local_b8;" primitive_type identifier ;) (declaration "int local_b4;" primitive_type identifier ;) (declaration "char *local_b0;" primitive_type (pointer_declarator "*local_b0" * identifier) ;) (declaration "undefined4 local_9c;" type_identifier identifier ;) (declaration "undefined4 local_98;" type_identifier identifier ;) (declaration "undefined4 local_94;" type_identifier identifier ;) (declaration "undefined4 local_90;" type_identifier identifier ;) (declaration "undefined4 local_8c;" type_identifier identifier ;) (declaration "undefined4 local_88;" type_identifier identifier ;) (declaration "undefined4 local_84;" type_identifier identifier ;) (declaration "undefined4 local_80;" type_identifier identifier ;) (declaration "undefined4 local_7c;" type_identifier identifier ;) (declaration "undefined4 local_78;" type_identifier identifier ;) (declaration "undefined4 local_6c;" type_identifier identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "char local_44 [32];" primitive_type (array_declarator "local_44 [32]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar4 = FUN_0002d41e();" (assignment_expression "iVar4 = FUN_0002d41e()" identifier = (call_expression "FUN_0002d41e()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_0004f2a0(&local_9c);" (call_expression "FUN_0004f2a0(&local_9c)" identifier (argument_list "(&local_9c)" ( (pointer_expression "&local_9c" & identifier) ))) ;) (expression_statement "local_6c = local_9c;" (assignment_expression "local_6c = local_9c" identifier = identifier) ;) (expression_statement "local_68 = local_98;" (assignment_expression "local_68 = local_98" identifier = identifier) ;) (expression_statement "local_64 = local_94;" (assignment_expression "local_64 = local_94" identifier = identifier) ;) (expression_statement "local_60 = local_90;" (assignment_expression "local_60 = local_90" identifier = identifier) ;) (expression_statement "local_5c = local_8c;" (assignment_expression "local_5c = local_8c" identifier = identifier) ;) (expression_statement "local_58 = local_88;" (assignment_expression "local_58 = local_88" identifier = identifier) ;) (expression_statement "local_54 = local_84;" (assignment_expression "local_54 = local_84" identifier = identifier) ;) (expression_statement "local_50 = local_80;" (assignment_expression "local_50 = local_80" identifier = identifier) ;) (expression_statement "local_4c = local_7c;" (assignment_expression "local_4c = local_7c" identifier = identifier) ;) (expression_statement "local_48 = local_78;" (assignment_expression "local_48 = local_78" identifier = identifier) ;) (if_statement "if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x14) != 0" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }" { (expression_statement "FUN_0006ef80(*(int *)(iVar4 + 0x14));" (call_expression "FUN_0006ef80(*(int *)(iVar4 + 0x14))" identifier (argument_list "(*(int *)(iVar4 + 0x14))" ( (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);" (call_expression "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),1)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);" (call_expression "FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);" (assignment_expression "uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77)" identifier = (call_expression "FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0x77)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "local_c8 = FUN_000313e0(0x1000,1);" (assignment_expression "local_c8 = FUN_000313e0(0x1000,1)" identifier = (call_expression "FUN_000313e0(0x1000,1)" identifier (argument_list "(0x1000,1)" ( number_literal , number_literal )))) ;) (expression_statement "pcVar6 = (char *)FUN_0006ef30(uVar5);" (assignment_expression "pcVar6 = (char *)FUN_0006ef30(uVar5)" identifier = (cast_expression "(char *)FUN_0006ef30(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006ef30(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (if_statement "if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0x1000;" (assignment_expression "local_c0 = 0x1000" identifier = number_literal) ;) (expression_statement "local_b0 = pcVar6 + 1;" (assignment_expression "local_b0 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == '&') goto LAB_0002c521;" if (parenthesized_expression "(cVar1 == '&')" ( (binary_expression "cVar1 == '&'" identifier == (char_literal "'&'" ' character ')) )) (goto_statement "goto LAB_0002c521;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002c4a8:\n    iVar9 = iVar4 + 1;" statement_identifier : (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;)) (expression_statement "local_b4 = iVar9;" (assignment_expression "local_b4 = iVar9" identifier = identifier) ;) (expression_statement "local_44[0] = cVar1;" (assignment_expression "local_44[0] = cVar1" (subscript_expression "local_44[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" if (parenthesized_expression "(local_c0 <= iVar9)" ( (binary_expression "local_c0 <= iVar9" identifier <= identifier) )) (compound_statement "{\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" { (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" identifier = number_literal) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (goto_statement "goto LAB_0002c56a;" goto statement_identifier ;) })) (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = (char *)(local_c8 + iVar4);" (assignment_expression "pcVar6 = (char *)(local_c8 + iVar4)" identifier = (cast_expression "(char *)(local_c8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) ;) (expression_statement "pcVar13 = local_44;" (assignment_expression "pcVar13 = local_44" identifier = identifier) ;) (labeled_statement "LAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));" statement_identifier : (do_statement "do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));" do (compound_statement "{\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    }" { (expression_statement "pcVar10 = pcVar13 + 1;" (assignment_expression "pcVar10 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar6 = *pcVar13;" (assignment_expression "*pcVar6 = *pcVar13" (pointer_expression "*pcVar6" * identifier) = (pointer_expression "*pcVar13" * identifier)) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar13 = pcVar10;" (assignment_expression "pcVar13 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)))" ( (binary_expression "0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10))" number_literal < (cast_expression "(int)(local_44 + local_c4 + (1 - (int)pcVar10))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44 + local_c4 + (1 - (int)pcVar10))" ( (binary_expression "local_44 + local_c4 + (1 - (int)pcVar10)" (binary_expression "local_44 + local_c4" identifier + identifier) + (parenthesized_expression "(1 - (int)pcVar10)" ( (binary_expression "1 - (int)pcVar10" number_literal - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) )) ;)) (labeled_statement "LAB_0002c500:\n    iVar4 = local_b4 + local_c4;" statement_identifier : (expression_statement "iVar4 = local_b4 + local_c4;" (assignment_expression "iVar4 = local_b4 + local_c4" identifier = (binary_expression "local_b4 + local_c4" identifier + identifier)) ;)) (do_statement "do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );" do (compound_statement "{\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    }" { (while_statement "while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }" { (expression_statement "cVar1 = *local_b0;" (assignment_expression "cVar1 = *local_b0" identifier = (pointer_expression "*local_b0" * identifier)) ;) (if_statement "if (cVar1 == '\0') goto LAB_0002c70e;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002c70e;" goto statement_identifier ;)) (expression_statement "pcVar13 = local_b0 + 1;" (assignment_expression "pcVar13 = local_b0 + 1" identifier = (binary_expression "local_b0 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = local_b0;" (assignment_expression "pcVar6 = local_b0" identifier = identifier) ;) (expression_statement "local_b0 = pcVar13;" (assignment_expression "local_b0 = pcVar13" identifier = identifier) ;) (if_statement "if (cVar1 != '&') goto LAB_0002c4a8;" if (parenthesized_expression "(cVar1 != '&')" ( (binary_expression "cVar1 != '&'" identifier != (char_literal "'&'" ' character ')) )) (goto_statement "goto LAB_0002c4a8;" goto statement_identifier ;)) (labeled_statement "LAB_0002c521:\n        bVar2 = pcVar6[1];" statement_identifier : (expression_statement "bVar2 = pcVar6[1];" (assignment_expression "bVar2 = pcVar6[1]" identifier = (subscript_expression "pcVar6[1]" identifier [ number_literal ])) ;)) (if_statement "if (bVar2 != 0) break;" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar4 < local_c0) goto LAB_0002c70e;" if (parenthesized_expression "(iVar4 < local_c0)" ( (binary_expression "iVar4 < local_c0" identifier < identifier) )) (goto_statement "goto LAB_0002c70e;" goto statement_identifier ;)) (expression_statement "local_c0 = (iVar4 * 5) / 4 + 0x200;" (assignment_expression "local_c0 = (iVar4 * 5) / 4 + 0x200" identifier = (binary_expression "(iVar4 * 5) / 4 + 0x200" (binary_expression "(iVar4 * 5) / 4" (parenthesized_expression "(iVar4 * 5)" ( (binary_expression "iVar4 * 5" identifier * number_literal) )) / number_literal) + number_literal)) ;) (expression_statement "local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);" (assignment_expression "local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4)" identifier = (call_expression "FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4)" identifier (argument_list "(local_c8,local_c0,1,(iVar4 * 5) % 4)" ( identifier , identifier , number_literal , (binary_expression "(iVar4 * 5) % 4" (parenthesized_expression "(iVar4 * 5)" ( (binary_expression "iVar4 * 5" identifier * number_literal) )) % number_literal) )))) ;) })) (expression_statement "local_b0 = pcVar6 + 2;" (assignment_expression "local_b0 = pcVar6 + 2" identifier = (binary_expression "pcVar6 + 2" identifier + number_literal)) ;) (expression_statement "pp_Var7 = __ctype_tolower_loc();" (assignment_expression "pp_Var7 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" if (parenthesized_expression "((*pp_Var7)[bVar2] - 100U < 0x16)" ( (binary_expression "(*pp_Var7)[bVar2] - 100U < 0x16" (binary_expression "(*pp_Var7)[bVar2] - 100U" (subscript_expression "(*pp_Var7)[bVar2]" (parenthesized_expression "(*pp_Var7)" ( (pointer_expression "*pp_Var7" * identifier) )) [ identifier ]) - number_literal) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" { comment comment (expression_statement "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();" (call_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )()" (parenthesized_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )" ( (pointer_expression "*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" * (cast_expression "(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" ( (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" (string_literal ""###################### @+  oo @@@@@@@@@OOOO    #"" " string_content ") + (pointer_expression "*(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" * (cast_expression "(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" ( (binary_expression "unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4" (binary_expression "unaff_EDI + 0x611d9" identifier + number_literal) + (binary_expression "((*pp_Var7)[bVar2] - 100U) * 4" (parenthesized_expression "((*pp_Var7)[bVar2] - 100U)" ( (binary_expression "(*pp_Var7)[bVar2] - 100U" (subscript_expression "(*pp_Var7)[bVar2]" (parenthesized_expression "(*pp_Var7)" ( (pointer_expression "*pp_Var7" * identifier) )) [ identifier ]) - number_literal) )) * number_literal)) ))))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_44[0] = '&';" (assignment_expression "local_44[0] = '&'" (subscript_expression "local_44[0]" identifier [ number_literal ]) = (char_literal "'&'" ' character ')) ;) (if_statement "if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" if (parenthesized_expression "(bVar2 == 0x26)" ( (binary_expression "bVar2 == 0x26" identifier == number_literal) )) (compound_statement "{\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }" { (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" identifier = number_literal) ;) (expression_statement "local_b4 = iVar9;" (assignment_expression "local_b4 = iVar9" identifier = identifier) ;) (if_statement "if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" if (parenthesized_expression "(local_c0 <= iVar9)" ( (binary_expression "local_c0 <= iVar9" identifier <= identifier) )) (compound_statement "{\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (goto_statement "goto LAB_0002c56a;" goto statement_identifier ;) })) }) (else_clause "else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" else (compound_statement "{\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" { (expression_statement "iVar9 = iVar4 + 2;" (assignment_expression "iVar9 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) (expression_statement "local_c4 = 1;" (assignment_expression "local_c4 = 1" identifier = number_literal) ;) (expression_statement "local_44[1] = bVar2;" (assignment_expression "local_44[1] = bVar2" (subscript_expression "local_44[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" if (parenthesized_expression "(iVar9 < local_c0)" ( (binary_expression "iVar9 < local_c0" identifier < identifier) )) (compound_statement "{\n          local_b4 = iVar4 + 1;\n        }" { (expression_statement "local_b4 = iVar4 + 1;" (assignment_expression "local_b4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" else (compound_statement "{\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (expression_statement "local_b4 = iVar4 + 1;" (assignment_expression "local_b4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0002c56a:\n          iVar9 = iVar9 * 5;" statement_identifier : (expression_statement "iVar9 = iVar9 * 5;" (assignment_expression "iVar9 = iVar9 * 5" identifier = (binary_expression "iVar9 * 5" identifier * number_literal)) ;)) (expression_statement "iVar8 = iVar9 + 3;" (assignment_expression "iVar8 = iVar9 + 3" identifier = (binary_expression "iVar9 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }" if (parenthesized_expression "(-1 < iVar9)" ( (binary_expression "-1 < iVar9" number_literal < identifier) )) (compound_statement "{\n            iVar8 = iVar9;\n          }" { (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" identifier = identifier) ;) })) (expression_statement "local_c0 = (iVar8 >> 2) + 0x200;" (assignment_expression "local_c0 = (iVar8 >> 2) + 0x200" identifier = (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" ( (binary_expression "iVar8 >> 2" identifier >> number_literal) )) + number_literal)) ;) (expression_statement "local_c8 = FUN_000314a0(local_c8,local_c0,1);" (assignment_expression "local_c8 = FUN_000314a0(local_c8,local_c0,1)" identifier = (call_expression "FUN_000314a0(local_c8,local_c0,1)" identifier (argument_list "(local_c8,local_c0,1)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (!bVar11) goto code_r0x0002c5bc;" if (parenthesized_expression "(!bVar11)" ( (unary_expression "!bVar11" ! identifier) )) (goto_statement "goto code_r0x0002c5bc;" goto statement_identifier ;)) }))) }))) (expression_statement "puVar12 = (undefined1 *)(local_c8 + iVar4);" (assignment_expression "puVar12 = (undefined1 *)(local_c8 + iVar4)" identifier = (cast_expression "(undefined1 *)(local_c8 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) ;) (expression_statement "pcVar6 = local_44;" (assignment_expression "pcVar6 = local_44" identifier = identifier) ;) (do_statement "do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));" do (compound_statement "{\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      }" { (expression_statement "pcVar13 = pcVar6 + 1;" (assignment_expression "pcVar13 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = FUN_0006f060((int)*pcVar6);" (assignment_expression "uVar3 = FUN_0006f060((int)*pcVar6)" identifier = (call_expression "FUN_0006f060((int)*pcVar6)" identifier (argument_list "((int)*pcVar6)" ( (cast_expression "(int)*pcVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar6" * identifier)) )))) ;) (expression_statement "*puVar12 = uVar3;" (assignment_expression "*puVar12 = uVar3" (pointer_expression "*puVar12" * identifier) = identifier) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar13;" (assignment_expression "pcVar6 = pcVar13" identifier = identifier) ;) }) while (parenthesized_expression "(0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)))" ( (binary_expression "0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13))" number_literal < (cast_expression "(int)(local_44 + local_c4 + (1 - (int)pcVar13))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44 + local_c4 + (1 - (int)pcVar13))" ( (binary_expression "local_44 + local_c4 + (1 - (int)pcVar13)" (binary_expression "local_44 + local_c4" identifier + identifier) + (parenthesized_expression "(1 - (int)pcVar13)" ( (binary_expression "1 - (int)pcVar13" number_literal - (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) )) ;) (expression_statement "iVar4 = local_b4 + local_c4;" (assignment_expression "iVar4 = local_b4 + local_c4" identifier = (binary_expression "local_b4 + local_c4" identifier + identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;" statement_identifier : (expression_statement "*(undefined1 *)(local_c8 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(local_c8 + iVar4) = 0" (pointer_expression "*(undefined1 *)(local_c8 + iVar4)" * (cast_expression "(undefined1 *)(local_c8 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) = number_literal) ;)) (expression_statement "uVar5 = FUN_0006eec0(local_c8);" (assignment_expression "uVar5 = FUN_0006eec0(local_c8)" identifier = (call_expression "FUN_0006eec0(local_c8)" identifier (argument_list "(local_c8)" ( identifier )))) ;) (expression_statement "FUN_00031580(local_c8);" (call_expression "FUN_00031580(local_c8)" identifier (argument_list "(local_c8)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(local_b8 + 0x14) = uVar5;" (assignment_expression "*(undefined4 *)(local_b8 + 0x14) = uVar5" (pointer_expression "*(undefined4 *)(local_b8 + 0x14)" * (cast_expression "(undefined4 *)(local_b8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x14)" ( (binary_expression "local_b8 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "__stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);" (assignment_expression "__stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" identifier = (cast_expression "(FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" identifier (argument_list "(uVar5,unaff_EDI + 0x5d913,0)" ( identifier , (binary_expression "unaff_EDI + 0x5d913" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002c7b0:\n    iVar9 = 2;\n  }" { (labeled_statement "LAB_0002c7b0:\n    iVar9 = 2;" statement_identifier : (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;)) }) (else_clause "else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" else (compound_statement "{\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" { (expression_statement "iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);" (assignment_expression "iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79)" identifier = (call_expression "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0x79)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (if_statement "if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }" { (expression_statement "iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);" (assignment_expression "iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" identifier = (call_expression "FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x18)" * (cast_expression "(undefined4 *)(local_b8 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x18)" ( (binary_expression "local_b8 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(local_b8 + 0x14)" * (cast_expression "(undefined4 *)(local_b8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x14)" ( (binary_expression "local_b8 + 0x14" identifier + number_literal) )))) , (binary_expression "unaff_EDI + -0x3b7" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }" { (expression_statement "*(undefined4 *)(local_b8 + 4) = 1;" (assignment_expression "*(undefined4 *)(local_b8 + 4) = 1" (pointer_expression "*(undefined4 *)(local_b8 + 4)" * (cast_expression "(undefined4 *)(local_b8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 4)" ( (binary_expression "local_b8 + 4" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0002c787;" goto statement_identifier ;) })) }) (else_clause "else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" else (compound_statement "{\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (iVar4 == 1) goto LAB_0002c7b0;" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0002c7b0;" goto statement_identifier ;)) }))) }))) (expression_statement "FUN_0002bfb0(local_b8,iVar9);" (call_expression "FUN_0002bfb0(local_b8,iVar9)" identifier (argument_list "(local_b8,iVar9)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00077880();\n  }" statement_identifier : (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00077880();\n  }" if (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00077880();\n  }" { comment (expression_statement "FUN_00077880();" (call_expression "FUN_00077880()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) (labeled_statement "code_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);" statement_identifier : (expression_statement "pcVar6 = (char *)(local_c8 + iVar4);" (assignment_expression "pcVar6 = (char *)(local_c8 + iVar4)" identifier = (cast_expression "(char *)(local_c8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) ;)) (expression_statement "pcVar13 = local_44;" (assignment_expression "pcVar13 = local_44" identifier = identifier) ;) (if_statement "if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;" if (parenthesized_expression "((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0))" ( (binary_expression "(pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)" (parenthesized_expression "(pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4)" ( (binary_expression "pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4" (binary_expression "pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4)" (binary_expression "pcVar6 < local_44 + 4" identifier < (binary_expression "local_44 + 4" identifier + number_literal)) && (binary_expression "local_44 < (char *)(local_c8 + 4 + iVar4)" identifier < (cast_expression "(char *)(local_c8 + 4 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + 4 + iVar4)" ( (binary_expression "local_c8 + 4 + iVar4" (binary_expression "local_c8 + 4" identifier + number_literal) + identifier) ))))) || (binary_expression "local_c4 < 4" identifier < number_literal)) )) || (parenthesized_expression "(((uint)pcVar6 & 3) != 0)" ( (binary_expression "((uint)pcVar6 & 3) != 0" (parenthesized_expression "((uint)pcVar6 & 3)" ( (binary_expression "(uint)pcVar6 & 3" (cast_expression "(uint)pcVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_0002c4e0;" goto statement_identifier ;)) (do_statement "do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);" do (compound_statement "{\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  }" { (expression_statement "pcVar10 = pcVar13 + 4;" (assignment_expression "pcVar10 = pcVar13 + 4" identifier = (binary_expression "pcVar13 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;" (assignment_expression "*(undefined4 *)pcVar6 = *(undefined4 *)pcVar13" (pointer_expression "*(undefined4 *)pcVar6" * (cast_expression "(undefined4 *)pcVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)pcVar13" * (cast_expression "(undefined4 *)pcVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar6 = pcVar6 + 4;" (assignment_expression "pcVar6 = pcVar6 + 4" identifier = (binary_expression "pcVar6 + 4" identifier + number_literal)) ;) (expression_statement "pcVar13 = pcVar10;" (assignment_expression "pcVar13 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar10 != local_44)" ( (binary_expression "pcVar10 != local_44" identifier != identifier) )) ;) (if_statement "if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }" if (parenthesized_expression "(((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4))" ( (binary_expression "((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)" (parenthesized_expression "((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0))" ( (binary_expression "(local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)" (parenthesized_expression "(local_c4 != 0xffffffff)" ( (binary_expression "local_c4 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)" ( (comma_expression "*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0" (assignment_expression "*(char *)(local_c8 + iVar4) = local_44[0]" (pointer_expression "*(char *)(local_c8 + iVar4)" * (cast_expression "(char *)(local_c8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) = (subscript_expression "local_44[0]" identifier [ number_literal ])) , (binary_expression "local_c4 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)" ( (comma_expression "*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4" (assignment_expression "*(char *)(local_c8 + 1 + iVar4) = local_44[1]" (pointer_expression "*(char *)(local_c8 + 1 + iVar4)" * (cast_expression "(char *)(local_c8 + 1 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + 1 + iVar4)" ( (binary_expression "local_c8 + 1 + iVar4" (binary_expression "local_c8 + 1" identifier + number_literal) + identifier) )))) = (subscript_expression "local_44[1]" identifier [ number_literal ])) , (binary_expression "1 < local_c4" number_literal < identifier)) ))) )) (compound_statement "{\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }" { (expression_statement "*(char *)(local_c8 + 2 + iVar4) = local_44[2];" (assignment_expression "*(char *)(local_c8 + 2 + iVar4) = local_44[2]" (pointer_expression "*(char *)(local_c8 + 2 + iVar4)" * (cast_expression "(char *)(local_c8 + 2 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + 2 + iVar4)" ( (binary_expression "local_c8 + 2 + iVar4" (binary_expression "local_c8 + 2" identifier + number_literal) + identifier) )))) = (subscript_expression "local_44[2]" identifier [ number_literal ])) ;) })) (goto_statement "goto LAB_0002c500;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0002c6f5) */\n/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffc0 : 0x0002c630 */\n/* WARNING: Restarted to delay deadcode elimination for space: stack */\n\nvoid logfopen(void *handle)\n\n{\n  int iVar1;\n  byte bVar2;\n  char cVar3;\n  void *ctx;\n  Filename *pFVar4;\n  char *pcVar5;\n  __int32_t **pp_Var6;\n  int iVar7;\n  FILE *__stream;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  bool bVar11;\n  int iVar12;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  char *local_c4;\n  uint local_c0;\n  size_t local_bc;\n  int local_b0;\n  char *local_ac;\n  tm tm;\n  char buf [32];\n  \n  ctx = (void *)__x86_get_pc_thunk_di();\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  ltime();\n  if (*(Filename **)((int)ctx + 0x14) != (Filename *)0x0) {\n    filename_free(*(Filename **)((int)ctx + 0x14));\n  }\n  conf_get_int(*(Conf **)((int)ctx + 0x1c),1);\n  conf_get_str(*(Conf **)((int)ctx + 0x1c),0);\n  pFVar4 = conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77);\n  local_c4 = (char *)safemalloc(0x1000,1);\n  pcVar5 = filename_to_str(pFVar4);\n  cVar3 = *pcVar5;\n  if (cVar3 != '\0') {\n    iVar12 = 0;\n    local_bc = 0x1000;\n    local_ac = pcVar5 + 1;\n    if (cVar3 == '&') goto LAB_0002c521;\n    iVar12 = 0;\nLAB_0002c4a8:\n    iVar8 = iVar12 + 1;\n    local_b0 = iVar8;\n    buf[0] = cVar3;\n    if ((int)local_bc <= iVar8) {\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c0 = 0;\n    pcVar5 = local_c4 + iVar12;\n    pcVar9 = buf;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar12 = local_b0 + local_c0;\n    do {\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    } while( true );\n  }\n  iVar12 = 0;\nLAB_0002c70e:\n  local_c4[iVar12] = '\0';\n  pFVar4 = filename_from_str(local_c4);\n  safefree(local_c4);\n  *(Filename **)((int)ctx + 0x14) = pFVar4;\n  __stream = (FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar8 = 2;\n  }\n  else {\n    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }\n  }\n  logfopen_callback(ctx,iVar8);\nLAB_0002c787:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar5 = local_c4 + iVar12;\n  pcVar9 = buf;\n  if ((pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)\n     ) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar9 + 4;\n    *(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;\n    pcVar5 = pcVar5 + 4;\n    pcVar9 = pcVar10;\n  } while (pcVar10 != buf);\n  if (((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&\n     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0)) {\n    local_c4[iVar12 + 2] = buf[2];\n  }\n  goto LAB_0002c500;\n}\n\n" comment comment comment (function_definition "void logfopen(void *handle)\n\n{\n  int iVar1;\n  byte bVar2;\n  char cVar3;\n  void *ctx;\n  Filename *pFVar4;\n  char *pcVar5;\n  __int32_t **pp_Var6;\n  int iVar7;\n  FILE *__stream;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  bool bVar11;\n  int iVar12;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  char *local_c4;\n  uint local_c0;\n  size_t local_bc;\n  int local_b0;\n  char *local_ac;\n  tm tm;\n  char buf [32];\n  \n  ctx = (void *)__x86_get_pc_thunk_di();\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  ltime();\n  if (*(Filename **)((int)ctx + 0x14) != (Filename *)0x0) {\n    filename_free(*(Filename **)((int)ctx + 0x14));\n  }\n  conf_get_int(*(Conf **)((int)ctx + 0x1c),1);\n  conf_get_str(*(Conf **)((int)ctx + 0x1c),0);\n  pFVar4 = conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77);\n  local_c4 = (char *)safemalloc(0x1000,1);\n  pcVar5 = filename_to_str(pFVar4);\n  cVar3 = *pcVar5;\n  if (cVar3 != '\0') {\n    iVar12 = 0;\n    local_bc = 0x1000;\n    local_ac = pcVar5 + 1;\n    if (cVar3 == '&') goto LAB_0002c521;\n    iVar12 = 0;\nLAB_0002c4a8:\n    iVar8 = iVar12 + 1;\n    local_b0 = iVar8;\n    buf[0] = cVar3;\n    if ((int)local_bc <= iVar8) {\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c0 = 0;\n    pcVar5 = local_c4 + iVar12;\n    pcVar9 = buf;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar12 = local_b0 + local_c0;\n    do {\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    } while( true );\n  }\n  iVar12 = 0;\nLAB_0002c70e:\n  local_c4[iVar12] = '\0';\n  pFVar4 = filename_from_str(local_c4);\n  safefree(local_c4);\n  *(Filename **)((int)ctx + 0x14) = pFVar4;\n  __stream = (FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar8 = 2;\n  }\n  else {\n    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }\n  }\n  logfopen_callback(ctx,iVar8);\nLAB_0002c787:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar5 = local_c4 + iVar12;\n  pcVar9 = buf;\n  if ((pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)\n     ) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar9 + 4;\n    *(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;\n    pcVar5 = pcVar5 + 4;\n    pcVar9 = pcVar10;\n  } while (pcVar10 != buf);\n  if (((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&\n     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0)) {\n    local_c4[iVar12 + 2] = buf[2];\n  }\n  goto LAB_0002c500;\n}" primitive_type (function_declarator "logfopen(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  char cVar3;\n  void *ctx;\n  Filename *pFVar4;\n  char *pcVar5;\n  __int32_t **pp_Var6;\n  int iVar7;\n  FILE *__stream;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  bool bVar11;\n  int iVar12;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  char *local_c4;\n  uint local_c0;\n  size_t local_bc;\n  int local_b0;\n  char *local_ac;\n  tm tm;\n  char buf [32];\n  \n  ctx = (void *)__x86_get_pc_thunk_di();\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  ltime();\n  if (*(Filename **)((int)ctx + 0x14) != (Filename *)0x0) {\n    filename_free(*(Filename **)((int)ctx + 0x14));\n  }\n  conf_get_int(*(Conf **)((int)ctx + 0x1c),1);\n  conf_get_str(*(Conf **)((int)ctx + 0x1c),0);\n  pFVar4 = conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77);\n  local_c4 = (char *)safemalloc(0x1000,1);\n  pcVar5 = filename_to_str(pFVar4);\n  cVar3 = *pcVar5;\n  if (cVar3 != '\0') {\n    iVar12 = 0;\n    local_bc = 0x1000;\n    local_ac = pcVar5 + 1;\n    if (cVar3 == '&') goto LAB_0002c521;\n    iVar12 = 0;\nLAB_0002c4a8:\n    iVar8 = iVar12 + 1;\n    local_b0 = iVar8;\n    buf[0] = cVar3;\n    if ((int)local_bc <= iVar8) {\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c0 = 0;\n    pcVar5 = local_c4 + iVar12;\n    pcVar9 = buf;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar12 = local_b0 + local_c0;\n    do {\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    } while( true );\n  }\n  iVar12 = 0;\nLAB_0002c70e:\n  local_c4[iVar12] = '\0';\n  pFVar4 = filename_from_str(local_c4);\n  safefree(local_c4);\n  *(Filename **)((int)ctx + 0x14) = pFVar4;\n  __stream = (FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar8 = 2;\n  }\n  else {\n    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }\n  }\n  logfopen_callback(ctx,iVar8);\nLAB_0002c787:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar5 = local_c4 + iVar12;\n  pcVar9 = buf;\n  if ((pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)\n     ) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar9 + 4;\n    *(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;\n    pcVar5 = pcVar5 + 4;\n    pcVar9 = pcVar10;\n  } while (pcVar10 != buf);\n  if (((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&\n     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0)) {\n    local_c4[iVar12 + 2] = buf[2];\n  }\n  goto LAB_0002c500;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "void *ctx;" primitive_type (pointer_declarator "*ctx" * identifier) ;) (declaration "Filename *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "__int32_t **pp_Var6;" type_identifier (pointer_declarator "**pp_Var6" * (pointer_declarator "*pp_Var6" * identifier)) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_c4;" primitive_type (pointer_declarator "*local_c4" * identifier) ;) (declaration "uint local_c0;" type_identifier identifier ;) (declaration "size_t local_bc;" primitive_type identifier ;) (declaration "int local_b0;" primitive_type identifier ;) (declaration "char *local_ac;" primitive_type (pointer_declarator "*local_ac" * identifier) ;) (declaration "tm tm;" type_identifier identifier ;) (declaration "char buf [32];" primitive_type (array_declarator "buf [32]" identifier [ number_literal ]) ;) (expression_statement "ctx = (void *)__x86_get_pc_thunk_di();" (assignment_expression "ctx = (void *)__x86_get_pc_thunk_di()" identifier = (cast_expression "(void *)__x86_get_pc_thunk_di()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "ltime();" (call_expression "ltime()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(Filename **)((int)ctx + 0x14) != (Filename *)0x0) {\n    filename_free(*(Filename **)((int)ctx + 0x14));\n  }" if (parenthesized_expression "(*(Filename **)((int)ctx + 0x14) != (Filename *)0x0)" ( (binary_expression "*(Filename **)((int)ctx + 0x14) != (Filename *)0x0" (pointer_expression "*(Filename **)((int)ctx + 0x14)" * (cast_expression "(Filename **)((int)ctx + 0x14)" ( (type_descriptor "Filename **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x14)" ( (binary_expression "(int)ctx + 0x14" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (cast_expression "(Filename *)0x0" ( (type_descriptor "Filename *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    filename_free(*(Filename **)((int)ctx + 0x14));\n  }" { (expression_statement "filename_free(*(Filename **)((int)ctx + 0x14));" (call_expression "filename_free(*(Filename **)((int)ctx + 0x14))" identifier (argument_list "(*(Filename **)((int)ctx + 0x14))" ( (pointer_expression "*(Filename **)((int)ctx + 0x14)" * (cast_expression "(Filename **)((int)ctx + 0x14)" ( (type_descriptor "Filename **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x14)" ( (binary_expression "(int)ctx + 0x14" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) })) (expression_statement "conf_get_int(*(Conf **)((int)ctx + 0x1c),1);" (call_expression "conf_get_int(*(Conf **)((int)ctx + 0x1c),1)" identifier (argument_list "(*(Conf **)((int)ctx + 0x1c),1)" ( (pointer_expression "*(Conf **)((int)ctx + 0x1c)" * (cast_expression "(Conf **)((int)ctx + 0x1c)" ( (type_descriptor "Conf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x1c)" ( (binary_expression "(int)ctx + 0x1c" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal ))) ;) (expression_statement "conf_get_str(*(Conf **)((int)ctx + 0x1c),0);" (call_expression "conf_get_str(*(Conf **)((int)ctx + 0x1c),0)" identifier (argument_list "(*(Conf **)((int)ctx + 0x1c),0)" ( (pointer_expression "*(Conf **)((int)ctx + 0x1c)" * (cast_expression "(Conf **)((int)ctx + 0x1c)" ( (type_descriptor "Conf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x1c)" ( (binary_expression "(int)ctx + 0x1c" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal ))) ;) (expression_statement "pFVar4 = conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77);" (assignment_expression "pFVar4 = conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77)" identifier = (call_expression "conf_get_filename(*(Conf **)((int)ctx + 0x1c),0x77)" identifier (argument_list "(*(Conf **)((int)ctx + 0x1c),0x77)" ( (pointer_expression "*(Conf **)((int)ctx + 0x1c)" * (cast_expression "(Conf **)((int)ctx + 0x1c)" ( (type_descriptor "Conf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x1c)" ( (binary_expression "(int)ctx + 0x1c" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal )))) ;) (expression_statement "local_c4 = (char *)safemalloc(0x1000,1);" (assignment_expression "local_c4 = (char *)safemalloc(0x1000,1)" identifier = (cast_expression "(char *)safemalloc(0x1000,1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(0x1000,1)" identifier (argument_list "(0x1000,1)" ( number_literal , number_literal ))))) ;) (expression_statement "pcVar5 = filename_to_str(pFVar4);" (assignment_expression "pcVar5 = filename_to_str(pFVar4)" identifier = (call_expression "filename_to_str(pFVar4)" identifier (argument_list "(pFVar4)" ( identifier )))) ;) (expression_statement "cVar3 = *pcVar5;" (assignment_expression "cVar3 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar3 != '\0') {\n    iVar12 = 0;\n    local_bc = 0x1000;\n    local_ac = pcVar5 + 1;\n    if (cVar3 == '&') goto LAB_0002c521;\n    iVar12 = 0;\nLAB_0002c4a8:\n    iVar8 = iVar12 + 1;\n    local_b0 = iVar8;\n    buf[0] = cVar3;\n    if ((int)local_bc <= iVar8) {\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c0 = 0;\n    pcVar5 = local_c4 + iVar12;\n    pcVar9 = buf;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar12 = local_b0 + local_c0;\n    do {\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    } while( true );\n  }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar12 = 0;\n    local_bc = 0x1000;\n    local_ac = pcVar5 + 1;\n    if (cVar3 == '&') goto LAB_0002c521;\n    iVar12 = 0;\nLAB_0002c4a8:\n    iVar8 = iVar12 + 1;\n    local_b0 = iVar8;\n    buf[0] = cVar3;\n    if ((int)local_bc <= iVar8) {\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c0 = 0;\n    pcVar5 = local_c4 + iVar12;\n    pcVar9 = buf;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar12 = local_b0 + local_c0;\n    do {\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    } while( true );\n  }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "local_bc = 0x1000;" (assignment_expression "local_bc = 0x1000" identifier = number_literal) ;) (expression_statement "local_ac = pcVar5 + 1;" (assignment_expression "local_ac = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if (cVar3 == '&') goto LAB_0002c521;" if (parenthesized_expression "(cVar3 == '&')" ( (binary_expression "cVar3 == '&'" identifier == (char_literal "'&'" ' character ')) )) (goto_statement "goto LAB_0002c521;" goto statement_identifier ;)) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002c4a8:\n    iVar8 = iVar12 + 1;" statement_identifier : (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;)) (expression_statement "local_b0 = iVar8;" (assignment_expression "local_b0 = iVar8" identifier = identifier) ;) (expression_statement "buf[0] = cVar3;" (assignment_expression "buf[0] = cVar3" (subscript_expression "buf[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)local_bc <= iVar8) {\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" if (parenthesized_expression "((int)local_bc <= iVar8)" ( (binary_expression "(int)local_bc <= iVar8" (cast_expression "(int)local_bc" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n      local_c0 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" { (expression_statement "local_c0 = 0;" (assignment_expression "local_c0 = 0" identifier = number_literal) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (goto_statement "goto LAB_0002c56a;" goto statement_identifier ;) })) (expression_statement "local_c0 = 0;" (assignment_expression "local_c0 = 0" identifier = number_literal) ;) (expression_statement "pcVar5 = local_c4 + iVar12;" (assignment_expression "pcVar5 = local_c4 + iVar12" identifier = (binary_expression "local_c4 + iVar12" identifier + identifier)) ;) (expression_statement "pcVar9 = buf;" (assignment_expression "pcVar9 = buf" identifier = identifier) ;) (labeled_statement "LAB_0002c4e0:\n    do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));" statement_identifier : (do_statement "do {\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));" do (compound_statement "{\n      pcVar10 = pcVar9 + 1;\n      *pcVar5 = *pcVar9;\n      pcVar5 = pcVar5 + 1;\n      pcVar9 = pcVar10;\n    }" { (expression_statement "pcVar10 = pcVar9 + 1;" (assignment_expression "pcVar10 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar5 = *pcVar9;" (assignment_expression "*pcVar5 = *pcVar9" (pointer_expression "*pcVar5" * identifier) = (pointer_expression "*pcVar9" * identifier)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = pcVar10;" (assignment_expression "pcVar9 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(0 < (int)(buf + local_c0 + (1 - (int)pcVar10)))" ( (binary_expression "0 < (int)(buf + local_c0 + (1 - (int)pcVar10))" number_literal < (cast_expression "(int)(buf + local_c0 + (1 - (int)pcVar10))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(buf + local_c0 + (1 - (int)pcVar10))" ( (binary_expression "buf + local_c0 + (1 - (int)pcVar10)" (binary_expression "buf + local_c0" identifier + identifier) + (parenthesized_expression "(1 - (int)pcVar10)" ( (binary_expression "1 - (int)pcVar10" number_literal - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) )) ;)) (labeled_statement "LAB_0002c500:\n    iVar12 = local_b0 + local_c0;" statement_identifier : (expression_statement "iVar12 = local_b0 + local_c0;" (assignment_expression "iVar12 = local_b0 + local_c0" identifier = (binary_expression "local_b0 + local_c0" identifier + identifier)) ;)) (do_statement "do {\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    } while( true );" do (compound_statement "{\n      while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }\n      local_ac = pcVar5 + 2;\n      pp_Var6 = __ctype_tolower_loc();\n      if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      buf[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      pcVar5 = local_c4 + iVar12;\n      pcVar9 = buf;\n      do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));\n      iVar12 = local_b0 + local_c0;\n    }" { (while_statement "while( true ) {\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar3 = *local_ac;\n        if (cVar3 == '\0') goto LAB_0002c70e;\n        pcVar9 = local_ac + 1;\n        pcVar5 = local_ac;\n        local_ac = pcVar9;\n        if (cVar3 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar5[1];\n        if (bVar2 != 0) break;\n        if (iVar12 < (int)local_bc) goto LAB_0002c70e;\n        local_bc = (iVar12 * 5) / 4 + 0x200;\n        local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n      }" { (expression_statement "cVar3 = *local_ac;" (assignment_expression "cVar3 = *local_ac" identifier = (pointer_expression "*local_ac" * identifier)) ;) (if_statement "if (cVar3 == '\0') goto LAB_0002c70e;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002c70e;" goto statement_identifier ;)) (expression_statement "pcVar9 = local_ac + 1;" (assignment_expression "pcVar9 = local_ac + 1" identifier = (binary_expression "local_ac + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = local_ac;" (assignment_expression "pcVar5 = local_ac" identifier = identifier) ;) (expression_statement "local_ac = pcVar9;" (assignment_expression "local_ac = pcVar9" identifier = identifier) ;) (if_statement "if (cVar3 != '&') goto LAB_0002c4a8;" if (parenthesized_expression "(cVar3 != '&')" ( (binary_expression "cVar3 != '&'" identifier != (char_literal "'&'" ' character ')) )) (goto_statement "goto LAB_0002c4a8;" goto statement_identifier ;)) (labeled_statement "LAB_0002c521:\n        bVar2 = pcVar5[1];" statement_identifier : (expression_statement "bVar2 = pcVar5[1];" (assignment_expression "bVar2 = pcVar5[1]" identifier = (subscript_expression "pcVar5[1]" identifier [ number_literal ])) ;)) (if_statement "if (bVar2 != 0) break;" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar12 < (int)local_bc) goto LAB_0002c70e;" if (parenthesized_expression "(iVar12 < (int)local_bc)" ( (binary_expression "iVar12 < (int)local_bc" identifier < (cast_expression "(int)local_bc" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0002c70e;" goto statement_identifier ;)) (expression_statement "local_bc = (iVar12 * 5) / 4 + 0x200;" (assignment_expression "local_bc = (iVar12 * 5) / 4 + 0x200" identifier = (binary_expression "(iVar12 * 5) / 4 + 0x200" (binary_expression "(iVar12 * 5) / 4" (parenthesized_expression "(iVar12 * 5)" ( (binary_expression "iVar12 * 5" identifier * number_literal) )) / number_literal) + number_literal)) ;) (expression_statement "local_c4 = (char *)saferealloc(local_c4,local_bc,1);" (assignment_expression "local_c4 = (char *)saferealloc(local_c4,local_bc,1)" identifier = (cast_expression "(char *)saferealloc(local_c4,local_bc,1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "saferealloc(local_c4,local_bc,1)" identifier (argument_list "(local_c4,local_bc,1)" ( identifier , identifier , number_literal ))))) ;) })) (expression_statement "local_ac = pcVar5 + 2;" (assignment_expression "local_ac = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (expression_statement "pp_Var6 = __ctype_tolower_loc();" (assignment_expression "pp_Var6 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*pp_Var6)[bVar2] - 100U < 0x16) {\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" if (parenthesized_expression "((*pp_Var6)[bVar2] - 100U < 0x16)" ( (binary_expression "(*pp_Var6)[bVar2] - 100U < 0x16" (binary_expression "(*pp_Var6)[bVar2] - 100U" (subscript_expression "(*pp_Var6)[bVar2]" (parenthesized_expression "(*pp_Var6)" ( (pointer_expression "*pp_Var6" * identifier) )) [ identifier ]) - number_literal) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" { comment comment (expression_statement "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();" (call_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )()" (parenthesized_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )" ( (pointer_expression "*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" * (cast_expression "(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" ( (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI + 0x19" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4) + unaff_EDI" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4)" (string_literal ""###################### @+  oo @@@@@@@@@OOOO    #"" " string_content ") + (pointer_expression "*(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4)" * (cast_expression "(int *)(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4)" ( (binary_expression "unaff_EDI + 0x611d9 + ((*pp_Var6)[bVar2] - 100U) * 4" (binary_expression "unaff_EDI + 0x611d9" identifier + number_literal) + (binary_expression "((*pp_Var6)[bVar2] - 100U) * 4" (parenthesized_expression "((*pp_Var6)[bVar2] - 100U)" ( (binary_expression "(*pp_Var6)[bVar2] - 100U" (subscript_expression "(*pp_Var6)[bVar2]" (parenthesized_expression "(*pp_Var6)" ( (pointer_expression "*pp_Var6" * identifier) )) [ identifier ]) - number_literal) )) * number_literal)) ))))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "buf[0] = '&';" (assignment_expression "buf[0] = '&'" (subscript_expression "buf[0]" identifier [ number_literal ]) = (char_literal "'&'" ' character ')) ;) (if_statement "if (bVar2 == 0x26) {\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" if (parenthesized_expression "(bVar2 == 0x26)" ( (binary_expression "bVar2 == 0x26" identifier == number_literal) )) (compound_statement "{\n        iVar8 = iVar12 + 1;\n        local_c0 = 0;\n        local_b0 = iVar8;\n        if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }" { (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "local_c0 = 0;" (assignment_expression "local_c0 = 0" identifier = number_literal) ;) (expression_statement "local_b0 = iVar8;" (assignment_expression "local_b0 = iVar8" identifier = identifier) ;) (if_statement "if ((int)local_bc <= iVar8) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" if (parenthesized_expression "((int)local_bc <= iVar8)" ( (binary_expression "(int)local_bc <= iVar8" (cast_expression "(int)local_bc" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (goto_statement "goto LAB_0002c56a;" goto statement_identifier ;) })) }) (else_clause "else {\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" else (compound_statement "{\n        iVar8 = iVar12 + 2;\n        local_c0 = 1;\n        buf[1] = bVar2;\n        if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" { (expression_statement "iVar8 = iVar12 + 2;" (assignment_expression "iVar8 = iVar12 + 2" identifier = (binary_expression "iVar12 + 2" identifier + number_literal)) ;) (expression_statement "local_c0 = 1;" (assignment_expression "local_c0 = 1" identifier = number_literal) ;) (expression_statement "buf[1] = bVar2;" (assignment_expression "buf[1] = bVar2" (subscript_expression "buf[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar8 < (int)local_bc) {\n          local_b0 = iVar12 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" if (parenthesized_expression "(iVar8 < (int)local_bc)" ( (binary_expression "iVar8 < (int)local_bc" identifier < (cast_expression "(int)local_bc" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          local_b0 = iVar12 + 1;\n        }" { (expression_statement "local_b0 = iVar12 + 1;" (assignment_expression "local_b0 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" else (compound_statement "{\n          bVar11 = true;\n          local_b0 = iVar12 + 1;\nLAB_0002c56a:\n          iVar8 = iVar8 * 5;\n          iVar7 = iVar8 + 3;\n          if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }\n          local_bc = (iVar7 >> 2) + 0x200;\n          local_c4 = (char *)saferealloc(local_c4,local_bc,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (expression_statement "local_b0 = iVar12 + 1;" (assignment_expression "local_b0 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0002c56a:\n          iVar8 = iVar8 * 5;" statement_identifier : (expression_statement "iVar8 = iVar8 * 5;" (assignment_expression "iVar8 = iVar8 * 5" identifier = (binary_expression "iVar8 * 5" identifier * number_literal)) ;)) (expression_statement "iVar7 = iVar8 + 3;" (assignment_expression "iVar7 = iVar8 + 3" identifier = (binary_expression "iVar8 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar8) {\n            iVar7 = iVar8;\n          }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n            iVar7 = iVar8;\n          }" { (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) })) (expression_statement "local_bc = (iVar7 >> 2) + 0x200;" (assignment_expression "local_bc = (iVar7 >> 2) + 0x200" identifier = (binary_expression "(iVar7 >> 2) + 0x200" (parenthesized_expression "(iVar7 >> 2)" ( (binary_expression "iVar7 >> 2" identifier >> number_literal) )) + number_literal)) ;) (expression_statement "local_c4 = (char *)saferealloc(local_c4,local_bc,1);" (assignment_expression "local_c4 = (char *)saferealloc(local_c4,local_bc,1)" identifier = (cast_expression "(char *)saferealloc(local_c4,local_bc,1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "saferealloc(local_c4,local_bc,1)" identifier (argument_list "(local_c4,local_bc,1)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (!bVar11) goto code_r0x0002c5bc;" if (parenthesized_expression "(!bVar11)" ( (unary_expression "!bVar11" ! identifier) )) (goto_statement "goto code_r0x0002c5bc;" goto statement_identifier ;)) }))) }))) (expression_statement "pcVar5 = local_c4 + iVar12;" (assignment_expression "pcVar5 = local_c4 + iVar12" identifier = (binary_expression "local_c4 + iVar12" identifier + identifier)) ;) (expression_statement "pcVar9 = buf;" (assignment_expression "pcVar9 = buf" identifier = identifier) ;) (do_statement "do {\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      } while (0 < (int)(buf + local_c0 + (1 - (int)pcVar10)));" do (compound_statement "{\n        pcVar10 = pcVar9 + 1;\n        cVar3 = filename_char_sanitise(*pcVar9);\n        *pcVar5 = cVar3;\n        pcVar5 = pcVar5 + 1;\n        pcVar9 = pcVar10;\n      }" { (expression_statement "pcVar10 = pcVar9 + 1;" (assignment_expression "pcVar10 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = filename_char_sanitise(*pcVar9);" (assignment_expression "cVar3 = filename_char_sanitise(*pcVar9)" identifier = (call_expression "filename_char_sanitise(*pcVar9)" identifier (argument_list "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )))) ;) (expression_statement "*pcVar5 = cVar3;" (assignment_expression "*pcVar5 = cVar3" (pointer_expression "*pcVar5" * identifier) = identifier) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = pcVar10;" (assignment_expression "pcVar9 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(0 < (int)(buf + local_c0 + (1 - (int)pcVar10)))" ( (binary_expression "0 < (int)(buf + local_c0 + (1 - (int)pcVar10))" number_literal < (cast_expression "(int)(buf + local_c0 + (1 - (int)pcVar10))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(buf + local_c0 + (1 - (int)pcVar10))" ( (binary_expression "buf + local_c0 + (1 - (int)pcVar10)" (binary_expression "buf + local_c0" identifier + identifier) + (parenthesized_expression "(1 - (int)pcVar10)" ( (binary_expression "1 - (int)pcVar10" number_literal - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) )) ;) (expression_statement "iVar12 = local_b0 + local_c0;" (assignment_expression "iVar12 = local_b0 + local_c0" identifier = (binary_expression "local_b0 + local_c0" identifier + identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002c70e:\n  local_c4[iVar12] = '\0';" statement_identifier : (expression_statement "local_c4[iVar12] = '\0';" (assignment_expression "local_c4[iVar12] = '\0'" (subscript_expression "local_c4[iVar12]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;)) (expression_statement "pFVar4 = filename_from_str(local_c4);" (assignment_expression "pFVar4 = filename_from_str(local_c4)" identifier = (call_expression "filename_from_str(local_c4)" identifier (argument_list "(local_c4)" ( identifier )))) ;) (expression_statement "safefree(local_c4);" (call_expression "safefree(local_c4)" identifier (argument_list "(local_c4)" ( identifier ))) ;) (expression_statement "*(Filename **)((int)ctx + 0x14) = pFVar4;" (assignment_expression "*(Filename **)((int)ctx + 0x14) = pFVar4" (pointer_expression "*(Filename **)((int)ctx + 0x14)" * (cast_expression "(Filename **)((int)ctx + 0x14)" ( (type_descriptor "Filename **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x14)" ( (binary_expression "(int)ctx + 0x14" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "__stream = (FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0);" (assignment_expression "__stream = (FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0)" identifier = (cast_expression "(FILE *)f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "f_open(pFVar4,(char *)(unaff_EDI + 0x5d913),0)" identifier (argument_list "(pFVar4,(char *)(unaff_EDI + 0x5d913),0)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x5d913)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x5d913)" ( (binary_expression "unaff_EDI + 0x5d913" identifier + number_literal) ))) , number_literal ))))) ;) (if_statement "if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar8 = 2;\n  }\n  else {\n    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }\n  }" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002c7b0:\n    iVar8 = 2;\n  }" { (labeled_statement "LAB_0002c7b0:\n    iVar8 = 2;" statement_identifier : (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;)) }) (else_clause "else {\n    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }\n  }" else (compound_statement "{\n    iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }\n  }" { (expression_statement "iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79);" (assignment_expression "iVar12 = conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79)" identifier = (call_expression "conf_get_int(*(Conf **)((int)ctx + 0x1c),0x79)" identifier (argument_list "(*(Conf **)((int)ctx + 0x1c),0x79)" ( (pointer_expression "*(Conf **)((int)ctx + 0x1c)" * (cast_expression "(Conf **)((int)ctx + 0x1c)" ( (type_descriptor "Conf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x1c)" ( (binary_expression "(int)ctx + 0x1c" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal )))) ;) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (if_statement "if (iVar12 == -1) {\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (compound_statement "{\n      iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);\n      if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }" { (expression_statement "iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx);" (assignment_expression "iVar8 = askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx)" identifier = (call_expression "askappend(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx)" identifier (argument_list "(*(void **)((int)ctx + 0x18),*(Filename **)((int)ctx + 0x14),\n                        (_func_void_void_ptr_int *)(unaff_EDI + -0x3b7),ctx)" ( (pointer_expression "*(void **)((int)ctx + 0x18)" * (cast_expression "(void **)((int)ctx + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x18)" ( (binary_expression "(int)ctx + 0x18" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(Filename **)((int)ctx + 0x14)" * (cast_expression "(Filename **)((int)ctx + 0x14)" ( (type_descriptor "Filename **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ctx + 0x14)" ( (binary_expression "(int)ctx + 0x14" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (cast_expression "(_func_void_void_ptr_int *)(unaff_EDI + -0x3b7)" ( (type_descriptor "_func_void_void_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + -0x3b7)" ( (binary_expression "unaff_EDI + -0x3b7" identifier + number_literal) ))) , identifier )))) ;) (if_statement "if (iVar8 < 0) {\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n        *(undefined4 *)((int)ctx + 4) = 1;\n        goto LAB_0002c787;\n      }" { (expression_statement "*(undefined4 *)((int)ctx + 4) = 1;" (assignment_expression "*(undefined4 *)((int)ctx + 4) = 1" (pointer_expression "*(undefined4 *)((int)ctx + 4)" * (cast_expression "(undefined4 *)((int)ctx + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ctx + 4)" ( (binary_expression "(int)ctx + 4" (cast_expression "(int)ctx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0002c787;" goto statement_identifier ;) })) }) (else_clause "else {\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }" else (compound_statement "{\n      iVar8 = 1;\n      if (iVar12 == 1) goto LAB_0002c7b0;\n    }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (if_statement "if (iVar12 == 1) goto LAB_0002c7b0;" if (parenthesized_expression "(iVar12 == 1)" ( (binary_expression "iVar12 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0002c7b0;" goto statement_identifier ;)) }))) }))) (expression_statement "logfopen_callback(ctx,iVar8);" (call_expression "logfopen_callback(ctx,iVar8)" identifier (argument_list "(ctx,iVar8)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0002c787:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) (labeled_statement "code_r0x0002c5bc:\n  pcVar5 = local_c4 + iVar12;" statement_identifier : (expression_statement "pcVar5 = local_c4 + iVar12;" (assignment_expression "pcVar5 = local_c4 + iVar12" identifier = (binary_expression "local_c4 + iVar12" identifier + identifier)) ;)) (expression_statement "pcVar9 = buf;" (assignment_expression "pcVar9 = buf" identifier = identifier) ;) (if_statement "if ((pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)\n     ) goto LAB_0002c4e0;" if (parenthesized_expression "((pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)\n     )" ( (binary_expression "(pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4) || (((uint)pcVar5 & 3) != 0)" (parenthesized_expression "(pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4)" ( (binary_expression "pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4 || local_c0 < 4" (binary_expression "pcVar5 < buf + 4 && buf < local_c4 + iVar12 + 4" (binary_expression "pcVar5 < buf + 4" identifier < (binary_expression "buf + 4" identifier + number_literal)) && (binary_expression "buf < local_c4 + iVar12 + 4" identifier < (binary_expression "local_c4 + iVar12 + 4" (binary_expression "local_c4 + iVar12" identifier + identifier) + number_literal))) || (binary_expression "local_c0 < 4" identifier < number_literal)) )) || (parenthesized_expression "(((uint)pcVar5 & 3) != 0)" ( (binary_expression "((uint)pcVar5 & 3) != 0" (parenthesized_expression "((uint)pcVar5 & 3)" ( (binary_expression "(uint)pcVar5 & 3" (cast_expression "(uint)pcVar5" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_0002c4e0;" goto statement_identifier ;)) (do_statement "do {\n    pcVar10 = pcVar9 + 4;\n    *(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;\n    pcVar5 = pcVar5 + 4;\n    pcVar9 = pcVar10;\n  } while (pcVar10 != buf);" do (compound_statement "{\n    pcVar10 = pcVar9 + 4;\n    *(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;\n    pcVar5 = pcVar5 + 4;\n    pcVar9 = pcVar10;\n  }" { (expression_statement "pcVar10 = pcVar9 + 4;" (assignment_expression "pcVar10 = pcVar9 + 4" identifier = (binary_expression "pcVar9 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)pcVar5 = *(undefined4 *)pcVar9;" (assignment_expression "*(undefined4 *)pcVar5 = *(undefined4 *)pcVar9" (pointer_expression "*(undefined4 *)pcVar5" * (cast_expression "(undefined4 *)pcVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)pcVar9" * (cast_expression "(undefined4 *)pcVar9" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar5 = pcVar5 + 4;" (assignment_expression "pcVar5 = pcVar5 + 4" identifier = (binary_expression "pcVar5 + 4" identifier + number_literal)) ;) (expression_statement "pcVar9 = pcVar10;" (assignment_expression "pcVar9 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar10 != buf)" ( (binary_expression "pcVar10 != buf" identifier != identifier) )) ;) (if_statement "if (((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&\n     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0)) {\n    local_c4[iVar12 + 2] = buf[2];\n  }" if (parenthesized_expression "(((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&\n     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0))" ( (binary_expression "((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)) &&\n     (local_c4[iVar12 + 1] = buf[1], 1 < local_c0)" (parenthesized_expression "((local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0))" ( (binary_expression "(local_c0 != 0xffffffff) && (local_c4[iVar12] = buf[0], local_c0 != 0)" (parenthesized_expression "(local_c0 != 0xffffffff)" ( (binary_expression "local_c0 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "(local_c4[iVar12] = buf[0], local_c0 != 0)" ( (comma_expression "local_c4[iVar12] = buf[0], local_c0 != 0" (assignment_expression "local_c4[iVar12] = buf[0]" (subscript_expression "local_c4[iVar12]" identifier [ identifier ]) = (subscript_expression "buf[0]" identifier [ number_literal ])) , (binary_expression "local_c0 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(local_c4[iVar12 + 1] = buf[1], 1 < local_c0)" ( (comma_expression "local_c4[iVar12 + 1] = buf[1], 1 < local_c0" (assignment_expression "local_c4[iVar12 + 1] = buf[1]" (subscript_expression "local_c4[iVar12 + 1]" identifier [ (binary_expression "iVar12 + 1" identifier + number_literal) ]) = (subscript_expression "buf[1]" identifier [ number_literal ])) , (binary_expression "1 < local_c0" number_literal < identifier)) ))) )) (compound_statement "{\n    local_c4[iVar12 + 2] = buf[2];\n  }" { (expression_statement "local_c4[iVar12 + 2] = buf[2];" (assignment_expression "local_c4[iVar12 + 2] = buf[2]" (subscript_expression "local_c4[iVar12 + 2]" identifier [ (binary_expression "iVar12 + 2" identifier + number_literal) ]) = (subscript_expression "buf[2]" identifier [ number_literal ])) ;) })) (goto_statement "goto LAB_0002c500;" goto statement_identifier ;) })))
(translation_unit "void FUN_0002c360(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}\n\n" (function_definition "void FUN_0002c360(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}" primitive_type (function_declarator "FUN_0002c360(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "__int32_t **pp_Var7;" type_identifier (pointer_declarator "**pp_Var7" * (pointer_declarator "*pp_Var7" * identifier)) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_c8;" primitive_type identifier ;) (declaration "uint local_c4;" type_identifier identifier ;) (declaration "int local_c0;" primitive_type identifier ;) (declaration "int local_b8;" primitive_type identifier ;) (declaration "int local_b4;" primitive_type identifier ;) (declaration "char *local_b0;" primitive_type (pointer_declarator "*local_b0" * identifier) ;) (declaration "undefined4 local_9c;" type_identifier identifier ;) (declaration "undefined4 local_98;" type_identifier identifier ;) (declaration "undefined4 local_94;" type_identifier identifier ;) (declaration "undefined4 local_90;" type_identifier identifier ;) (declaration "undefined4 local_8c;" type_identifier identifier ;) (declaration "undefined4 local_88;" type_identifier identifier ;) (declaration "undefined4 local_84;" type_identifier identifier ;) (declaration "undefined4 local_80;" type_identifier identifier ;) (declaration "undefined4 local_7c;" type_identifier identifier ;) (declaration "undefined4 local_78;" type_identifier identifier ;) (declaration "undefined4 local_6c;" type_identifier identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "char local_44 [32];" primitive_type (array_declarator "local_44 [32]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar4 = FUN_0002d41e();" (assignment_expression "iVar4 = FUN_0002d41e()" identifier = (call_expression "FUN_0002d41e()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_0004f2a0(&local_9c);" (call_expression "FUN_0004f2a0(&local_9c)" identifier (argument_list "(&local_9c)" ( (pointer_expression "&local_9c" & identifier) ))) ;) (expression_statement "local_6c = local_9c;" (assignment_expression "local_6c = local_9c" identifier = identifier) ;) (expression_statement "local_68 = local_98;" (assignment_expression "local_68 = local_98" identifier = identifier) ;) (expression_statement "local_64 = local_94;" (assignment_expression "local_64 = local_94" identifier = identifier) ;) (expression_statement "local_60 = local_90;" (assignment_expression "local_60 = local_90" identifier = identifier) ;) (expression_statement "local_5c = local_8c;" (assignment_expression "local_5c = local_8c" identifier = identifier) ;) (expression_statement "local_58 = local_88;" (assignment_expression "local_58 = local_88" identifier = identifier) ;) (expression_statement "local_54 = local_84;" (assignment_expression "local_54 = local_84" identifier = identifier) ;) (expression_statement "local_50 = local_80;" (assignment_expression "local_50 = local_80" identifier = identifier) ;) (expression_statement "local_4c = local_7c;" (assignment_expression "local_4c = local_7c" identifier = identifier) ;) (expression_statement "local_48 = local_78;" (assignment_expression "local_48 = local_78" identifier = identifier) ;) (if_statement "if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x14) != 0" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }" { (expression_statement "FUN_0006ef80(*(int *)(iVar4 + 0x14));" (call_expression "FUN_0006ef80(*(int *)(iVar4 + 0x14))" identifier (argument_list "(*(int *)(iVar4 + 0x14))" ( (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);" (call_expression "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),1)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);" (call_expression "FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);" (assignment_expression "uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77)" identifier = (call_expression "FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0x77)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "local_c8 = FUN_000313e0(0x1000,1);" (assignment_expression "local_c8 = FUN_000313e0(0x1000,1)" identifier = (call_expression "FUN_000313e0(0x1000,1)" identifier (argument_list "(0x1000,1)" ( number_literal , number_literal )))) ;) (expression_statement "pcVar6 = (char *)FUN_0006ef30(uVar5);" (assignment_expression "pcVar6 = (char *)FUN_0006ef30(uVar5)" identifier = (cast_expression "(char *)FUN_0006ef30(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006ef30(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (if_statement "if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0x1000;" (assignment_expression "local_c0 = 0x1000" identifier = number_literal) ;) (expression_statement "local_b0 = pcVar6 + 1;" (assignment_expression "local_b0 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == '&') goto LAB_0002c521;" if (parenthesized_expression "(cVar1 == '&')" ( (binary_expression "cVar1 == '&'" identifier == (char_literal "'&'" ' character ')) )) (goto_statement "goto LAB_0002c521;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002c4a8:\n    iVar9 = iVar4 + 1;" statement_identifier : (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;)) (expression_statement "local_b4 = iVar9;" (assignment_expression "local_b4 = iVar9" identifier = identifier) ;) (expression_statement "local_44[0] = cVar1;" (assignment_expression "local_44[0] = cVar1" (subscript_expression "local_44[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" if (parenthesized_expression "(local_c0 <= iVar9)" ( (binary_expression "local_c0 <= iVar9" identifier <= identifier) )) (compound_statement "{\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" { (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" identifier = number_literal) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (goto_statement "goto LAB_0002c56a;" goto statement_identifier ;) })) (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = (char *)(local_c8 + iVar4);" (assignment_expression "pcVar6 = (char *)(local_c8 + iVar4)" identifier = (cast_expression "(char *)(local_c8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) ;) (expression_statement "pcVar13 = local_44;" (assignment_expression "pcVar13 = local_44" identifier = identifier) ;) (labeled_statement "LAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));" statement_identifier : (do_statement "do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));" do (compound_statement "{\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    }" { (expression_statement "pcVar10 = pcVar13 + 1;" (assignment_expression "pcVar10 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar6 = *pcVar13;" (assignment_expression "*pcVar6 = *pcVar13" (pointer_expression "*pcVar6" * identifier) = (pointer_expression "*pcVar13" * identifier)) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar13 = pcVar10;" (assignment_expression "pcVar13 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)))" ( (binary_expression "0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10))" number_literal < (cast_expression "(int)(local_44 + local_c4 + (1 - (int)pcVar10))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44 + local_c4 + (1 - (int)pcVar10))" ( (binary_expression "local_44 + local_c4 + (1 - (int)pcVar10)" (binary_expression "local_44 + local_c4" identifier + identifier) + (parenthesized_expression "(1 - (int)pcVar10)" ( (binary_expression "1 - (int)pcVar10" number_literal - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) )) ;)) (labeled_statement "LAB_0002c500:\n    iVar4 = local_b4 + local_c4;" statement_identifier : (expression_statement "iVar4 = local_b4 + local_c4;" (assignment_expression "iVar4 = local_b4 + local_c4" identifier = (binary_expression "local_b4 + local_c4" identifier + identifier)) ;)) (do_statement "do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );" do (compound_statement "{\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    }" { (while_statement "while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }" { (expression_statement "cVar1 = *local_b0;" (assignment_expression "cVar1 = *local_b0" identifier = (pointer_expression "*local_b0" * identifier)) ;) (if_statement "if (cVar1 == '\0') goto LAB_0002c70e;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002c70e;" goto statement_identifier ;)) (expression_statement "pcVar13 = local_b0 + 1;" (assignment_expression "pcVar13 = local_b0 + 1" identifier = (binary_expression "local_b0 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = local_b0;" (assignment_expression "pcVar6 = local_b0" identifier = identifier) ;) (expression_statement "local_b0 = pcVar13;" (assignment_expression "local_b0 = pcVar13" identifier = identifier) ;) (if_statement "if (cVar1 != '&') goto LAB_0002c4a8;" if (parenthesized_expression "(cVar1 != '&')" ( (binary_expression "cVar1 != '&'" identifier != (char_literal "'&'" ' character ')) )) (goto_statement "goto LAB_0002c4a8;" goto statement_identifier ;)) (labeled_statement "LAB_0002c521:\n        bVar2 = pcVar6[1];" statement_identifier : (expression_statement "bVar2 = pcVar6[1];" (assignment_expression "bVar2 = pcVar6[1]" identifier = (subscript_expression "pcVar6[1]" identifier [ number_literal ])) ;)) (if_statement "if (bVar2 != 0) break;" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar4 < local_c0) goto LAB_0002c70e;" if (parenthesized_expression "(iVar4 < local_c0)" ( (binary_expression "iVar4 < local_c0" identifier < identifier) )) (goto_statement "goto LAB_0002c70e;" goto statement_identifier ;)) (expression_statement "local_c0 = (iVar4 * 5) / 4 + 0x200;" (assignment_expression "local_c0 = (iVar4 * 5) / 4 + 0x200" identifier = (binary_expression "(iVar4 * 5) / 4 + 0x200" (binary_expression "(iVar4 * 5) / 4" (parenthesized_expression "(iVar4 * 5)" ( (binary_expression "iVar4 * 5" identifier * number_literal) )) / number_literal) + number_literal)) ;) (expression_statement "local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);" (assignment_expression "local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4)" identifier = (call_expression "FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4)" identifier (argument_list "(local_c8,local_c0,1,(iVar4 * 5) % 4)" ( identifier , identifier , number_literal , (binary_expression "(iVar4 * 5) % 4" (parenthesized_expression "(iVar4 * 5)" ( (binary_expression "iVar4 * 5" identifier * number_literal) )) % number_literal) )))) ;) })) (expression_statement "local_b0 = pcVar6 + 2;" (assignment_expression "local_b0 = pcVar6 + 2" identifier = (binary_expression "pcVar6 + 2" identifier + number_literal)) ;) (expression_statement "pp_Var7 = __ctype_tolower_loc();" (assignment_expression "pp_Var7 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" if (parenthesized_expression "((*pp_Var7)[bVar2] - 100U < 0x16)" ( (binary_expression "(*pp_Var7)[bVar2] - 100U < 0x16" (binary_expression "(*pp_Var7)[bVar2] - 100U" (subscript_expression "(*pp_Var7)[bVar2]" (parenthesized_expression "(*pp_Var7)" ( (pointer_expression "*pp_Var7" * identifier) )) [ identifier ]) - number_literal) < number_literal) )) (compound_statement "{\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" { (expression_statement "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();" (call_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )()" (parenthesized_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )" ( (pointer_expression "*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" * (cast_expression "(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" ( (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" (string_literal ""###################### @+  oo @@@@@@@@@OOOO    #"" " string_content ") + (pointer_expression "*(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" * (cast_expression "(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" ( (binary_expression "unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4" (binary_expression "unaff_EDI + 0x611d9" identifier + number_literal) + (binary_expression "((*pp_Var7)[bVar2] - 100U) * 4" (parenthesized_expression "((*pp_Var7)[bVar2] - 100U)" ( (binary_expression "(*pp_Var7)[bVar2] - 100U" (subscript_expression "(*pp_Var7)[bVar2]" (parenthesized_expression "(*pp_Var7)" ( (pointer_expression "*pp_Var7" * identifier) )) [ identifier ]) - number_literal) )) * number_literal)) ))))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_44[0] = '&';" (assignment_expression "local_44[0] = '&'" (subscript_expression "local_44[0]" identifier [ number_literal ]) = (char_literal "'&'" ' character ')) ;) (if_statement "if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" if (parenthesized_expression "(bVar2 == 0x26)" ( (binary_expression "bVar2 == 0x26" identifier == number_literal) )) (compound_statement "{\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }" { (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" identifier = number_literal) ;) (expression_statement "local_b4 = iVar9;" (assignment_expression "local_b4 = iVar9" identifier = identifier) ;) (if_statement "if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" if (parenthesized_expression "(local_c0 <= iVar9)" ( (binary_expression "local_c0 <= iVar9" identifier <= identifier) )) (compound_statement "{\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (goto_statement "goto LAB_0002c56a;" goto statement_identifier ;) })) }) (else_clause "else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" else (compound_statement "{\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" { (expression_statement "iVar9 = iVar4 + 2;" (assignment_expression "iVar9 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) (expression_statement "local_c4 = 1;" (assignment_expression "local_c4 = 1" identifier = number_literal) ;) (expression_statement "local_44[1] = bVar2;" (assignment_expression "local_44[1] = bVar2" (subscript_expression "local_44[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" if (parenthesized_expression "(iVar9 < local_c0)" ( (binary_expression "iVar9 < local_c0" identifier < identifier) )) (compound_statement "{\n          local_b4 = iVar4 + 1;\n        }" { (expression_statement "local_b4 = iVar4 + 1;" (assignment_expression "local_b4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" else (compound_statement "{\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (expression_statement "local_b4 = iVar4 + 1;" (assignment_expression "local_b4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0002c56a:\n          iVar9 = iVar9 * 5;" statement_identifier : (expression_statement "iVar9 = iVar9 * 5;" (assignment_expression "iVar9 = iVar9 * 5" identifier = (binary_expression "iVar9 * 5" identifier * number_literal)) ;)) (expression_statement "iVar8 = iVar9 + 3;" (assignment_expression "iVar8 = iVar9 + 3" identifier = (binary_expression "iVar9 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }" if (parenthesized_expression "(-1 < iVar9)" ( (binary_expression "-1 < iVar9" number_literal < identifier) )) (compound_statement "{\n            iVar8 = iVar9;\n          }" { (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" identifier = identifier) ;) })) (expression_statement "local_c0 = (iVar8 >> 2) + 0x200;" (assignment_expression "local_c0 = (iVar8 >> 2) + 0x200" identifier = (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" ( (binary_expression "iVar8 >> 2" identifier >> number_literal) )) + number_literal)) ;) (expression_statement "local_c8 = FUN_000314a0(local_c8,local_c0,1);" (assignment_expression "local_c8 = FUN_000314a0(local_c8,local_c0,1)" identifier = (call_expression "FUN_000314a0(local_c8,local_c0,1)" identifier (argument_list "(local_c8,local_c0,1)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (!bVar11) goto code_r0x0002c5bc;" if (parenthesized_expression "(!bVar11)" ( (unary_expression "!bVar11" ! identifier) )) (goto_statement "goto code_r0x0002c5bc;" goto statement_identifier ;)) }))) }))) (expression_statement "puVar12 = (undefined1 *)(local_c8 + iVar4);" (assignment_expression "puVar12 = (undefined1 *)(local_c8 + iVar4)" identifier = (cast_expression "(undefined1 *)(local_c8 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) ;) (expression_statement "pcVar6 = local_44;" (assignment_expression "pcVar6 = local_44" identifier = identifier) ;) (do_statement "do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));" do (compound_statement "{\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      }" { (expression_statement "pcVar13 = pcVar6 + 1;" (assignment_expression "pcVar13 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = FUN_0006f060((int)*pcVar6);" (assignment_expression "uVar3 = FUN_0006f060((int)*pcVar6)" identifier = (call_expression "FUN_0006f060((int)*pcVar6)" identifier (argument_list "((int)*pcVar6)" ( (cast_expression "(int)*pcVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar6" * identifier)) )))) ;) (expression_statement "*puVar12 = uVar3;" (assignment_expression "*puVar12 = uVar3" (pointer_expression "*puVar12" * identifier) = identifier) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar13;" (assignment_expression "pcVar6 = pcVar13" identifier = identifier) ;) }) while (parenthesized_expression "(0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)))" ( (binary_expression "0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13))" number_literal < (cast_expression "(int)(local_44 + local_c4 + (1 - (int)pcVar13))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44 + local_c4 + (1 - (int)pcVar13))" ( (binary_expression "local_44 + local_c4 + (1 - (int)pcVar13)" (binary_expression "local_44 + local_c4" identifier + identifier) + (parenthesized_expression "(1 - (int)pcVar13)" ( (binary_expression "1 - (int)pcVar13" number_literal - (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) )) ;) (expression_statement "iVar4 = local_b4 + local_c4;" (assignment_expression "iVar4 = local_b4 + local_c4" identifier = (binary_expression "local_b4 + local_c4" identifier + identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;" statement_identifier : (expression_statement "*(undefined1 *)(local_c8 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(local_c8 + iVar4) = 0" (pointer_expression "*(undefined1 *)(local_c8 + iVar4)" * (cast_expression "(undefined1 *)(local_c8 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) = number_literal) ;)) (expression_statement "uVar5 = FUN_0006eec0(local_c8);" (assignment_expression "uVar5 = FUN_0006eec0(local_c8)" identifier = (call_expression "FUN_0006eec0(local_c8)" identifier (argument_list "(local_c8)" ( identifier )))) ;) (expression_statement "FUN_00031580(local_c8);" (call_expression "FUN_00031580(local_c8)" identifier (argument_list "(local_c8)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(local_b8 + 0x14) = uVar5;" (assignment_expression "*(undefined4 *)(local_b8 + 0x14) = uVar5" (pointer_expression "*(undefined4 *)(local_b8 + 0x14)" * (cast_expression "(undefined4 *)(local_b8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x14)" ( (binary_expression "local_b8 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "__stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);" (assignment_expression "__stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" identifier = (cast_expression "(FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" identifier (argument_list "(uVar5,unaff_EDI + 0x5d913,0)" ( identifier , (binary_expression "unaff_EDI + 0x5d913" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002c7b0:\n    iVar9 = 2;\n  }" { (labeled_statement "LAB_0002c7b0:\n    iVar9 = 2;" statement_identifier : (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;)) }) (else_clause "else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" else (compound_statement "{\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" { (expression_statement "iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);" (assignment_expression "iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79)" identifier = (call_expression "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0x79)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" * (cast_expression "(undefined4 *)(local_b8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x1c)" ( (binary_expression "local_b8 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (if_statement "if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }" { (expression_statement "iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);" (assignment_expression "iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" identifier = (call_expression "FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" identifier (argument_list "(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" ( (pointer_expression "*(undefined4 *)(local_b8 + 0x18)" * (cast_expression "(undefined4 *)(local_b8 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x18)" ( (binary_expression "local_b8 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(local_b8 + 0x14)" * (cast_expression "(undefined4 *)(local_b8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 0x14)" ( (binary_expression "local_b8 + 0x14" identifier + number_literal) )))) , (binary_expression "unaff_EDI + -0x3b7" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }" { (expression_statement "*(undefined4 *)(local_b8 + 4) = 1;" (assignment_expression "*(undefined4 *)(local_b8 + 4) = 1" (pointer_expression "*(undefined4 *)(local_b8 + 4)" * (cast_expression "(undefined4 *)(local_b8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b8 + 4)" ( (binary_expression "local_b8 + 4" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0002c787;" goto statement_identifier ;) })) }) (else_clause "else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" else (compound_statement "{\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (iVar4 == 1) goto LAB_0002c7b0;" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0002c7b0;" goto statement_identifier ;)) }))) }))) (expression_statement "FUN_0002bfb0(local_b8,iVar9);" (call_expression "FUN_0002bfb0(local_b8,iVar9)" identifier (argument_list "(local_b8,iVar9)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }" statement_identifier : (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }" if (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00077880();\n  }" { (expression_statement "FUN_00077880();" (call_expression "FUN_00077880()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) (labeled_statement "code_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);" statement_identifier : (expression_statement "pcVar6 = (char *)(local_c8 + iVar4);" (assignment_expression "pcVar6 = (char *)(local_c8 + iVar4)" identifier = (cast_expression "(char *)(local_c8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) ;)) (expression_statement "pcVar13 = local_44;" (assignment_expression "pcVar13 = local_44" identifier = identifier) ;) (if_statement "if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;" if (parenthesized_expression "((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0))" ( (binary_expression "(pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)" (parenthesized_expression "(pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4)" ( (binary_expression "pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4" (binary_expression "pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4)" (binary_expression "pcVar6 < local_44 + 4" identifier < (binary_expression "local_44 + 4" identifier + number_literal)) && (binary_expression "local_44 < (char *)(local_c8 + 4 + iVar4)" identifier < (cast_expression "(char *)(local_c8 + 4 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + 4 + iVar4)" ( (binary_expression "local_c8 + 4 + iVar4" (binary_expression "local_c8 + 4" identifier + number_literal) + identifier) ))))) || (binary_expression "local_c4 < 4" identifier < number_literal)) )) || (parenthesized_expression "(((uint)pcVar6 & 3) != 0)" ( (binary_expression "((uint)pcVar6 & 3) != 0" (parenthesized_expression "((uint)pcVar6 & 3)" ( (binary_expression "(uint)pcVar6 & 3" (cast_expression "(uint)pcVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_0002c4e0;" goto statement_identifier ;)) (do_statement "do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);" do (compound_statement "{\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  }" { (expression_statement "pcVar10 = pcVar13 + 4;" (assignment_expression "pcVar10 = pcVar13 + 4" identifier = (binary_expression "pcVar13 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;" (assignment_expression "*(undefined4 *)pcVar6 = *(undefined4 *)pcVar13" (pointer_expression "*(undefined4 *)pcVar6" * (cast_expression "(undefined4 *)pcVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)pcVar13" * (cast_expression "(undefined4 *)pcVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar6 = pcVar6 + 4;" (assignment_expression "pcVar6 = pcVar6 + 4" identifier = (binary_expression "pcVar6 + 4" identifier + number_literal)) ;) (expression_statement "pcVar13 = pcVar10;" (assignment_expression "pcVar13 = pcVar10" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar10 != local_44)" ( (binary_expression "pcVar10 != local_44" identifier != identifier) )) ;) (if_statement "if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }" if (parenthesized_expression "(((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4))" ( (binary_expression "((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)" (parenthesized_expression "((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0))" ( (binary_expression "(local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)" (parenthesized_expression "(local_c4 != 0xffffffff)" ( (binary_expression "local_c4 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)" ( (comma_expression "*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0" (assignment_expression "*(char *)(local_c8 + iVar4) = local_44[0]" (pointer_expression "*(char *)(local_c8 + iVar4)" * (cast_expression "(char *)(local_c8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + iVar4)" ( (binary_expression "local_c8 + iVar4" identifier + identifier) )))) = (subscript_expression "local_44[0]" identifier [ number_literal ])) , (binary_expression "local_c4 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)" ( (comma_expression "*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4" (assignment_expression "*(char *)(local_c8 + 1 + iVar4) = local_44[1]" (pointer_expression "*(char *)(local_c8 + 1 + iVar4)" * (cast_expression "(char *)(local_c8 + 1 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + 1 + iVar4)" ( (binary_expression "local_c8 + 1 + iVar4" (binary_expression "local_c8 + 1" identifier + number_literal) + identifier) )))) = (subscript_expression "local_44[1]" identifier [ number_literal ])) , (binary_expression "1 < local_c4" number_literal < identifier)) ))) )) (compound_statement "{\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }" { (expression_statement "*(char *)(local_c8 + 2 + iVar4) = local_44[2];" (assignment_expression "*(char *)(local_c8 + 2 + iVar4) = local_44[2]" (pointer_expression "*(char *)(local_c8 + 2 + iVar4)" * (cast_expression "(char *)(local_c8 + 2 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_c8 + 2 + iVar4)" ( (binary_expression "local_c8 + 2 + iVar4" (binary_expression "local_c8 + 2" identifier + number_literal) + identifier) )))) = (subscript_expression "local_44[2]" identifier [ number_literal ])) ;) })) (goto_statement "goto LAB_0002c500;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 (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 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 ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )))) )) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT * LIT) )) / LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (binary_expression (parenthesized_expression ( (binary_expression IDENT * LIT) )) % LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ]) - LIT) < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (string_literal " string_content ") + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ]) - LIT) )) * LIT)) ))))) + IDENT) + LIT) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_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 = BOOL) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;)) }))) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT < (binary_expression IDENT + LIT)) && (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) || (binary_expression IDENT < LIT)) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) , (binary_expression LIT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) })) (goto_statement goto statement_identifier ;) })))
(function_definition "void FUN_0002c360(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}" (primitive_type "void") (function_declarator "FUN_0002c360(void)" (identifier "FUN_0002c360") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined1 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  __int32_t **pp_Var7;\n  int iVar8;\n  FILE *__stream;\n  int iVar9;\n  char *pcVar10;\n  bool bVar11;\n  undefined1 *puVar12;\n  char *pcVar13;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  int local_c8;\n  uint local_c4;\n  int local_c0;\n  int local_b8;\n  int local_b4;\n  char *local_b0;\n  undefined4 local_9c;\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  undefined4 local_84;\n  undefined4 local_80;\n  undefined4 local_7c;\n  undefined4 local_78;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  char local_44 [32];\n  int local_24;\n  undefined4 local_20;\n  \n  iVar4 = FUN_0002d41e();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  FUN_0004f2a0(&local_9c);\n  local_6c = local_9c;\n  local_68 = local_98;\n  local_64 = local_94;\n  local_60 = local_90;\n  local_5c = local_8c;\n  local_58 = local_88;\n  local_54 = local_84;\n  local_50 = local_80;\n  local_4c = local_7c;\n  local_48 = local_78;\n  if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }\n  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);\n  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);\n  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);\n  local_c8 = FUN_000313e0(0x1000,1);\n  pcVar6 = (char *)FUN_0006ef30(uVar5);\n  cVar1 = *pcVar6;\n  if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }\n  iVar4 = 0;\nLAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;\n  uVar5 = FUN_0006eec0(local_c8);\n  FUN_00031580(local_c8);\n  *(undefined4 *)(local_b8 + 0x14) = uVar5;\n  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);\n  if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }\n  FUN_0002bfb0(local_b8,iVar9);\nLAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }\n  return;\ncode_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);\n  pcVar13 = local_44;\n  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;\n  do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);\n  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }\n  goto LAB_0002c500;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined1 uVar3;" (type_identifier "undefined1") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "__int32_t **pp_Var7;" (type_identifier "__int32_t") (pointer_declarator "**pp_Var7" (* "*") (pointer_declarator "*pp_Var7" (* "*") (identifier "pp_Var7"))) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "bool bVar11;" (primitive_type "bool") (identifier "bVar11") (; ";")) (declaration "undefined1 *puVar12;" (type_identifier "undefined1") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_c8;" (primitive_type "int") (identifier "local_c8") (; ";")) (declaration "uint local_c4;" (type_identifier "uint") (identifier "local_c4") (; ";")) (declaration "int local_c0;" (primitive_type "int") (identifier "local_c0") (; ";")) (declaration "int local_b8;" (primitive_type "int") (identifier "local_b8") (; ";")) (declaration "int local_b4;" (primitive_type "int") (identifier "local_b4") (; ";")) (declaration "char *local_b0;" (primitive_type "char") (pointer_declarator "*local_b0" (* "*") (identifier "local_b0")) (; ";")) (declaration "undefined4 local_9c;" (type_identifier "undefined4") (identifier "local_9c") (; ";")) (declaration "undefined4 local_98;" (type_identifier "undefined4") (identifier "local_98") (; ";")) (declaration "undefined4 local_94;" (type_identifier "undefined4") (identifier "local_94") (; ";")) (declaration "undefined4 local_90;" (type_identifier "undefined4") (identifier "local_90") (; ";")) (declaration "undefined4 local_8c;" (type_identifier "undefined4") (identifier "local_8c") (; ";")) (declaration "undefined4 local_88;" (type_identifier "undefined4") (identifier "local_88") (; ";")) (declaration "undefined4 local_84;" (type_identifier "undefined4") (identifier "local_84") (; ";")) (declaration "undefined4 local_80;" (type_identifier "undefined4") (identifier "local_80") (; ";")) (declaration "undefined4 local_7c;" (type_identifier "undefined4") (identifier "local_7c") (; ";")) (declaration "undefined4 local_78;" (type_identifier "undefined4") (identifier "local_78") (; ";")) (declaration "undefined4 local_6c;" (type_identifier "undefined4") (identifier "local_6c") (; ";")) (declaration "undefined4 local_68;" (type_identifier "undefined4") (identifier "local_68") (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (declaration "undefined4 local_60;" (type_identifier "undefined4") (identifier "local_60") (; ";")) (declaration "undefined4 local_5c;" (type_identifier "undefined4") (identifier "local_5c") (; ";")) (declaration "undefined4 local_58;" (type_identifier "undefined4") (identifier "local_58") (; ";")) (declaration "undefined4 local_54;" (type_identifier "undefined4") (identifier "local_54") (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "char local_44 [32];" (primitive_type "char") (array_declarator "local_44 [32]" (identifier "local_44") ([ "[") (number_literal "32") (] "]")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "iVar4 = FUN_0002d41e();" (assignment_expression "iVar4 = FUN_0002d41e()" (identifier "iVar4") (= "=") (call_expression "FUN_0002d41e()" (identifier "FUN_0002d41e") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "FUN_0004f2a0(&local_9c);" (call_expression "FUN_0004f2a0(&local_9c)" (identifier "FUN_0004f2a0") (argument_list "(&local_9c)" (( "(") (pointer_expression "&local_9c" (& "&") (identifier "local_9c")) () ")"))) (; ";")) (expression_statement "local_6c = local_9c;" (assignment_expression "local_6c = local_9c" (identifier "local_6c") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "local_68 = local_98;" (assignment_expression "local_68 = local_98" (identifier "local_68") (= "=") (identifier "local_98")) (; ";")) (expression_statement "local_64 = local_94;" (assignment_expression "local_64 = local_94" (identifier "local_64") (= "=") (identifier "local_94")) (; ";")) (expression_statement "local_60 = local_90;" (assignment_expression "local_60 = local_90" (identifier "local_60") (= "=") (identifier "local_90")) (; ";")) (expression_statement "local_5c = local_8c;" (assignment_expression "local_5c = local_8c" (identifier "local_5c") (= "=") (identifier "local_8c")) (; ";")) (expression_statement "local_58 = local_88;" (assignment_expression "local_58 = local_88" (identifier "local_58") (= "=") (identifier "local_88")) (; ";")) (expression_statement "local_54 = local_84;" (assignment_expression "local_54 = local_84" (identifier "local_54") (= "=") (identifier "local_84")) (; ";")) (expression_statement "local_50 = local_80;" (assignment_expression "local_50 = local_80" (identifier "local_50") (= "=") (identifier "local_80")) (; ";")) (expression_statement "local_4c = local_7c;" (assignment_expression "local_4c = local_7c" (identifier "local_4c") (= "=") (identifier "local_7c")) (; ";")) (expression_statement "local_48 = local_78;" (assignment_expression "local_48 = local_78" (identifier "local_48") (= "=") (identifier "local_78")) (; ";")) (if_statement "if (*(int *)(iVar4 + 0x14) != 0) {\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x14) != 0" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0006ef80(*(int *)(iVar4 + 0x14));\n  }" ({ "{") (expression_statement "FUN_0006ef80(*(int *)(iVar4 + 0x14));" (call_expression "FUN_0006ef80(*(int *)(iVar4 + 0x14))" (identifier "FUN_0006ef80") (argument_list "(*(int *)(iVar4 + 0x14))" (( "(") (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);" (call_expression "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1)" (identifier "FUN_000200f0") (argument_list "(*(undefined4 *)(local_b8 + 0x1c),1)" (( "(") (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x1c)" (( "(") (binary_expression "local_b8 + 0x1c" (identifier "local_b8") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);" (call_expression "FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0)" (identifier "FUN_000202a0") (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0)" (( "(") (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x1c)" (( "(") (binary_expression "local_b8 + 0x1c" (identifier "local_b8") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);" (assignment_expression "uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77)" (identifier "uVar5") (= "=") (call_expression "FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77)" (identifier "FUN_00020700") (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0x77)" (( "(") (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x1c)" (( "(") (binary_expression "local_b8 + 0x1c" (identifier "local_b8") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "0x77") () ")")))) (; ";")) (expression_statement "local_c8 = FUN_000313e0(0x1000,1);" (assignment_expression "local_c8 = FUN_000313e0(0x1000,1)" (identifier "local_c8") (= "=") (call_expression "FUN_000313e0(0x1000,1)" (identifier "FUN_000313e0") (argument_list "(0x1000,1)" (( "(") (number_literal "0x1000") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "pcVar6 = (char *)FUN_0006ef30(uVar5);" (assignment_expression "pcVar6 = (char *)FUN_0006ef30(uVar5)" (identifier "pcVar6") (= "=") (cast_expression "(char *)FUN_0006ef30(uVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006ef30(uVar5)" (identifier "FUN_0006ef30") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" (identifier "cVar1") (= "=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) (; ";")) (if_statement "if (cVar1 != '\0') {\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar4 = 0;\n    local_c0 = 0x1000;\n    local_b0 = pcVar6 + 1;\n    if (cVar1 == '&') goto LAB_0002c521;\n    iVar4 = 0;\nLAB_0002c4a8:\n    iVar9 = iVar4 + 1;\n    local_b4 = iVar9;\n    local_44[0] = cVar1;\n    if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }\n    local_c4 = 0;\n    pcVar6 = (char *)(local_c8 + iVar4);\n    pcVar13 = local_44;\nLAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));\nLAB_0002c500:\n    iVar4 = local_b4 + local_c4;\n    do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c0 = 0x1000;" (assignment_expression "local_c0 = 0x1000" (identifier "local_c0") (= "=") (number_literal "0x1000")) (; ";")) (expression_statement "local_b0 = pcVar6 + 1;" (assignment_expression "local_b0 = pcVar6 + 1" (identifier "local_b0") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (cVar1 == '&') goto LAB_0002c521;" (if "if") (parenthesized_expression "(cVar1 == '&')" (( "(") (binary_expression "cVar1 == '&'" (identifier "cVar1") (== "==") (char_literal "'&'" (' "'") (character "&") (' "'"))) () ")")) (goto_statement "goto LAB_0002c521;" (goto "goto") (statement_identifier "LAB_0002c521") (; ";"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0002c4a8:\n    iVar9 = iVar4 + 1;" (statement_identifier "LAB_0002c4a8") (: ":") (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "local_b4 = iVar9;" (assignment_expression "local_b4 = iVar9" (identifier "local_b4") (= "=") (identifier "iVar9")) (; ";")) (expression_statement "local_44[0] = cVar1;" (assignment_expression "local_44[0] = cVar1" (subscript_expression "local_44[0]" (identifier "local_44") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "cVar1")) (; ";")) (if_statement "if (local_c0 <= iVar9) {\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" (if "if") (parenthesized_expression "(local_c0 <= iVar9)" (( "(") (binary_expression "local_c0 <= iVar9" (identifier "local_c0") (<= "<=") (identifier "iVar9")) () ")")) (compound_statement "{\n      local_c4 = 0;\n      bVar11 = false;\n      goto LAB_0002c56a;\n    }" ({ "{") (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" (identifier "local_c4") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" (identifier "bVar11") (= "=") (false "false")) (; ";")) (goto_statement "goto LAB_0002c56a;" (goto "goto") (statement_identifier "LAB_0002c56a") (; ";")) (} "}"))) (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" (identifier "local_c4") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar6 = (char *)(local_c8 + iVar4);" (assignment_expression "pcVar6 = (char *)(local_c8 + iVar4)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(local_c8 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + iVar4)" (( "(") (binary_expression "local_c8 + iVar4" (identifier "local_c8") (+ "+") (identifier "iVar4")) () ")")))) (; ";")) (expression_statement "pcVar13 = local_44;" (assignment_expression "pcVar13 = local_44" (identifier "pcVar13") (= "=") (identifier "local_44")) (; ";")) (labeled_statement "LAB_0002c4e0:\n    do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));" (statement_identifier "LAB_0002c4e0") (: ":") (do_statement "do {\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));" (do "do") (compound_statement "{\n      pcVar10 = pcVar13 + 1;\n      *pcVar6 = *pcVar13;\n      pcVar6 = pcVar6 + 1;\n      pcVar13 = pcVar10;\n    }" ({ "{") (expression_statement "pcVar10 = pcVar13 + 1;" (assignment_expression "pcVar10 = pcVar13 + 1" (identifier "pcVar10") (= "=") (binary_expression "pcVar13 + 1" (identifier "pcVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar6 = *pcVar13;" (assignment_expression "*pcVar6 = *pcVar13" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (= "=") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13"))) (; ";")) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar13 = pcVar10;" (assignment_expression "pcVar13 = pcVar10" (identifier "pcVar13") (= "=") (identifier "pcVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)))" (( "(") (binary_expression "0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10))" (number_literal "0") (< "<") (cast_expression "(int)(local_44 + local_c4 + (1 - (int)pcVar10))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_44 + local_c4 + (1 - (int)pcVar10))" (( "(") (binary_expression "local_44 + local_c4 + (1 - (int)pcVar10)" (binary_expression "local_44 + local_c4" (identifier "local_44") (+ "+") (identifier "local_c4")) (+ "+") (parenthesized_expression "(1 - (int)pcVar10)" (( "(") (binary_expression "1 - (int)pcVar10" (number_literal "1") (- "-") (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10"))) () ")"))) () ")")))) () ")")) (; ";"))) (labeled_statement "LAB_0002c500:\n    iVar4 = local_b4 + local_c4;" (statement_identifier "LAB_0002c500") (: ":") (expression_statement "iVar4 = local_b4 + local_c4;" (assignment_expression "iVar4 = local_b4 + local_c4" (identifier "iVar4") (= "=") (binary_expression "local_b4 + local_c4" (identifier "local_b4") (+ "+") (identifier "local_c4"))) (; ";"))) (do_statement "do {\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    } while( true );" (do "do") (compound_statement "{\n      while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }\n      local_b0 = pcVar6 + 2;\n      pp_Var7 = __ctype_tolower_loc();\n      if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }\n      local_44[0] = '&';\n      if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }\n      puVar12 = (undefined1 *)(local_c8 + iVar4);\n      pcVar6 = local_44;\n      do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));\n      iVar4 = local_b4 + local_c4;\n    }" ({ "{") (while_statement "while( true ) {\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        cVar1 = *local_b0;\n        if (cVar1 == '\0') goto LAB_0002c70e;\n        pcVar13 = local_b0 + 1;\n        pcVar6 = local_b0;\n        local_b0 = pcVar13;\n        if (cVar1 != '&') goto LAB_0002c4a8;\nLAB_0002c521:\n        bVar2 = pcVar6[1];\n        if (bVar2 != 0) break;\n        if (iVar4 < local_c0) goto LAB_0002c70e;\n        local_c0 = (iVar4 * 5) / 4 + 0x200;\n        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);\n      }" ({ "{") (expression_statement "cVar1 = *local_b0;" (assignment_expression "cVar1 = *local_b0" (identifier "cVar1") (= "=") (pointer_expression "*local_b0" (* "*") (identifier "local_b0"))) (; ";")) (if_statement "if (cVar1 == '\0') goto LAB_0002c70e;" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0002c70e;" (goto "goto") (statement_identifier "LAB_0002c70e") (; ";"))) (expression_statement "pcVar13 = local_b0 + 1;" (assignment_expression "pcVar13 = local_b0 + 1" (identifier "pcVar13") (= "=") (binary_expression "local_b0 + 1" (identifier "local_b0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar6 = local_b0;" (assignment_expression "pcVar6 = local_b0" (identifier "pcVar6") (= "=") (identifier "local_b0")) (; ";")) (expression_statement "local_b0 = pcVar13;" (assignment_expression "local_b0 = pcVar13" (identifier "local_b0") (= "=") (identifier "pcVar13")) (; ";")) (if_statement "if (cVar1 != '&') goto LAB_0002c4a8;" (if "if") (parenthesized_expression "(cVar1 != '&')" (( "(") (binary_expression "cVar1 != '&'" (identifier "cVar1") (!= "!=") (char_literal "'&'" (' "'") (character "&") (' "'"))) () ")")) (goto_statement "goto LAB_0002c4a8;" (goto "goto") (statement_identifier "LAB_0002c4a8") (; ";"))) (labeled_statement "LAB_0002c521:\n        bVar2 = pcVar6[1];" (statement_identifier "LAB_0002c521") (: ":") (expression_statement "bVar2 = pcVar6[1];" (assignment_expression "bVar2 = pcVar6[1]" (identifier "bVar2") (= "=") (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (if_statement "if (bVar2 != 0) break;" (if "if") (parenthesized_expression "(bVar2 != 0)" (( "(") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (iVar4 < local_c0) goto LAB_0002c70e;" (if "if") (parenthesized_expression "(iVar4 < local_c0)" (( "(") (binary_expression "iVar4 < local_c0" (identifier "iVar4") (< "<") (identifier "local_c0")) () ")")) (goto_statement "goto LAB_0002c70e;" (goto "goto") (statement_identifier "LAB_0002c70e") (; ";"))) (expression_statement "local_c0 = (iVar4 * 5) / 4 + 0x200;" (assignment_expression "local_c0 = (iVar4 * 5) / 4 + 0x200" (identifier "local_c0") (= "=") (binary_expression "(iVar4 * 5) / 4 + 0x200" (binary_expression "(iVar4 * 5) / 4" (parenthesized_expression "(iVar4 * 5)" (( "(") (binary_expression "iVar4 * 5" (identifier "iVar4") (* "*") (number_literal "5")) () ")")) (/ "/") (number_literal "4")) (+ "+") (number_literal "0x200"))) (; ";")) (expression_statement "local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);" (assignment_expression "local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4)" (identifier "local_c8") (= "=") (call_expression "FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4)" (identifier "FUN_000314a0") (argument_list "(local_c8,local_c0,1,(iVar4 * 5) % 4)" (( "(") (identifier "local_c8") (, ",") (identifier "local_c0") (, ",") (number_literal "1") (, ",") (binary_expression "(iVar4 * 5) % 4" (parenthesized_expression "(iVar4 * 5)" (( "(") (binary_expression "iVar4 * 5" (identifier "iVar4") (* "*") (number_literal "5")) () ")")) (% "%") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (expression_statement "local_b0 = pcVar6 + 2;" (assignment_expression "local_b0 = pcVar6 + 2" (identifier "local_b0") (= "=") (binary_expression "pcVar6 + 2" (identifier "pcVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pp_Var7 = __ctype_tolower_loc();" (assignment_expression "pp_Var7 = __ctype_tolower_loc()" (identifier "pp_Var7") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((*pp_Var7)[bVar2] - 100U < 0x16) {\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" (if "if") (parenthesized_expression "((*pp_Var7)[bVar2] - 100U < 0x16)" (( "(") (binary_expression "(*pp_Var7)[bVar2] - 100U < 0x16" (binary_expression "(*pp_Var7)[bVar2] - 100U" (subscript_expression "(*pp_Var7)[bVar2]" (parenthesized_expression "(*pp_Var7)" (( "(") (pointer_expression "*pp_Var7" (* "*") (identifier "pp_Var7")) () ")")) ([ "[") (identifier "bVar2") (] "]")) (- "-") (number_literal "100U")) (< "<") (number_literal "0x16")) () ")")) (compound_statement "{\n                    \n                    \n        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();\n        return;\n      }" ({ "{") (expression_statement "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )();" (call_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )()" (parenthesized_expression "(*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)\n        )" (( "(") (pointer_expression "*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" (* "*") (cast_expression "(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "("###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)" (( "(") (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI" (binary_expression ""###################### @+  oo @@@@@@@@@OOOO    #" +\n                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" (string_literal ""###################### @+  oo @@@@@@@@@OOOO    #"" (" """) (string_content "###################### @+  oo @@@@@@@@@OOOO    #") (" """)) (+ "+") (pointer_expression "*(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4)" (( "(") (binary_expression "unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4" (binary_expression "unaff_EDI + 0x611d9" (identifier "unaff_EDI") (+ "+") (number_literal "0x611d9")) (+ "+") (binary_expression "((*pp_Var7)[bVar2] - 100U) * 4" (parenthesized_expression "((*pp_Var7)[bVar2] - 100U)" (( "(") (binary_expression "(*pp_Var7)[bVar2] - 100U" (subscript_expression "(*pp_Var7)[bVar2]" (parenthesized_expression "(*pp_Var7)" (( "(") (pointer_expression "*pp_Var7" (* "*") (identifier "pp_Var7")) () ")")) ([ "[") (identifier "bVar2") (] "]")) (- "-") (number_literal "100U")) () ")")) (* "*") (number_literal "4"))) () ")"))))) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x19")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_44[0] = '&';" (assignment_expression "local_44[0] = '&'" (subscript_expression "local_44[0]" (identifier "local_44") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'&'" (' "'") (character "&") (' "'"))) (; ";")) (if_statement "if (bVar2 == 0x26) {\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }\n      else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" (if "if") (parenthesized_expression "(bVar2 == 0x26)" (( "(") (binary_expression "bVar2 == 0x26" (identifier "bVar2") (== "==") (number_literal "0x26")) () ")")) (compound_statement "{\n        iVar9 = iVar4 + 1;\n        local_c4 = 0;\n        local_b4 = iVar9;\n        if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }\n      }" ({ "{") (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_c4 = 0;" (assignment_expression "local_c4 = 0" (identifier "local_c4") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_b4 = iVar9;" (assignment_expression "local_b4 = iVar9" (identifier "local_b4") (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (local_c0 <= iVar9) {\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" (if "if") (parenthesized_expression "(local_c0 <= iVar9)" (( "(") (binary_expression "local_c0 <= iVar9" (identifier "local_c0") (<= "<=") (identifier "iVar9")) () ")")) (compound_statement "{\n          bVar11 = true;\n          goto LAB_0002c56a;\n        }" ({ "{") (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" (identifier "bVar11") (= "=") (true "true")) (; ";")) (goto_statement "goto LAB_0002c56a;" (goto "goto") (statement_identifier "LAB_0002c56a") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" (else "else") (compound_statement "{\n        iVar9 = iVar4 + 2;\n        local_c4 = 1;\n        local_44[1] = bVar2;\n        if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }\n      }" ({ "{") (expression_statement "iVar9 = iVar4 + 2;" (assignment_expression "iVar9 = iVar4 + 2" (identifier "iVar9") (= "=") (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "local_c4 = 1;" (assignment_expression "local_c4 = 1" (identifier "local_c4") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_44[1] = bVar2;" (assignment_expression "local_44[1] = bVar2" (subscript_expression "local_44[1]" (identifier "local_44") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "bVar2")) (; ";")) (if_statement "if (iVar9 < local_c0) {\n          local_b4 = iVar4 + 1;\n        }\n        else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" (if "if") (parenthesized_expression "(iVar9 < local_c0)" (( "(") (binary_expression "iVar9 < local_c0" (identifier "iVar9") (< "<") (identifier "local_c0")) () ")")) (compound_statement "{\n          local_b4 = iVar4 + 1;\n        }" ({ "{") (expression_statement "local_b4 = iVar4 + 1;" (assignment_expression "local_b4 = iVar4 + 1" (identifier "local_b4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" (else "else") (compound_statement "{\n          bVar11 = true;\n          local_b4 = iVar4 + 1;\nLAB_0002c56a:\n          iVar9 = iVar9 * 5;\n          iVar8 = iVar9 + 3;\n          if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }\n          local_c0 = (iVar8 >> 2) + 0x200;\n          local_c8 = FUN_000314a0(local_c8,local_c0,1);\n          if (!bVar11) goto code_r0x0002c5bc;\n        }" ({ "{") (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" (identifier "bVar11") (= "=") (true "true")) (; ";")) (expression_statement "local_b4 = iVar4 + 1;" (assignment_expression "local_b4 = iVar4 + 1" (identifier "local_b4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_0002c56a:\n          iVar9 = iVar9 * 5;" (statement_identifier "LAB_0002c56a") (: ":") (expression_statement "iVar9 = iVar9 * 5;" (assignment_expression "iVar9 = iVar9 * 5" (identifier "iVar9") (= "=") (binary_expression "iVar9 * 5" (identifier "iVar9") (* "*") (number_literal "5"))) (; ";"))) (expression_statement "iVar8 = iVar9 + 3;" (assignment_expression "iVar8 = iVar9 + 3" (identifier "iVar8") (= "=") (binary_expression "iVar9 + 3" (identifier "iVar9") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (-1 < iVar9) {\n            iVar8 = iVar9;\n          }" (if "if") (parenthesized_expression "(-1 < iVar9)" (( "(") (binary_expression "-1 < iVar9" (number_literal "-1") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n            iVar8 = iVar9;\n          }" ({ "{") (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" (identifier "iVar8") (= "=") (identifier "iVar9")) (; ";")) (} "}"))) (expression_statement "local_c0 = (iVar8 >> 2) + 0x200;" (assignment_expression "local_c0 = (iVar8 >> 2) + 0x200" (identifier "local_c0") (= "=") (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" (( "(") (binary_expression "iVar8 >> 2" (identifier "iVar8") (>> ">>") (number_literal "2")) () ")")) (+ "+") (number_literal "0x200"))) (; ";")) (expression_statement "local_c8 = FUN_000314a0(local_c8,local_c0,1);" (assignment_expression "local_c8 = FUN_000314a0(local_c8,local_c0,1)" (identifier "local_c8") (= "=") (call_expression "FUN_000314a0(local_c8,local_c0,1)" (identifier "FUN_000314a0") (argument_list "(local_c8,local_c0,1)" (( "(") (identifier "local_c8") (, ",") (identifier "local_c0") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (!bVar11) goto code_r0x0002c5bc;" (if "if") (parenthesized_expression "(!bVar11)" (( "(") (unary_expression "!bVar11" (! "!") (identifier "bVar11")) () ")")) (goto_statement "goto code_r0x0002c5bc;" (goto "goto") (statement_identifier "code_r0x0002c5bc") (; ";"))) (} "}")))) (} "}")))) (expression_statement "puVar12 = (undefined1 *)(local_c8 + iVar4);" (assignment_expression "puVar12 = (undefined1 *)(local_c8 + iVar4)" (identifier "puVar12") (= "=") (cast_expression "(undefined1 *)(local_c8 + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + iVar4)" (( "(") (binary_expression "local_c8 + iVar4" (identifier "local_c8") (+ "+") (identifier "iVar4")) () ")")))) (; ";")) (expression_statement "pcVar6 = local_44;" (assignment_expression "pcVar6 = local_44" (identifier "pcVar6") (= "=") (identifier "local_44")) (; ";")) (do_statement "do {\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));" (do "do") (compound_statement "{\n        pcVar13 = pcVar6 + 1;\n        uVar3 = FUN_0006f060((int)*pcVar6);\n        *puVar12 = uVar3;\n        puVar12 = puVar12 + 1;\n        pcVar6 = pcVar13;\n      }" ({ "{") (expression_statement "pcVar13 = pcVar6 + 1;" (assignment_expression "pcVar13 = pcVar6 + 1" (identifier "pcVar13") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = FUN_0006f060((int)*pcVar6);" (assignment_expression "uVar3 = FUN_0006f060((int)*pcVar6)" (identifier "uVar3") (= "=") (call_expression "FUN_0006f060((int)*pcVar6)" (identifier "FUN_0006f060") (argument_list "((int)*pcVar6)" (( "(") (cast_expression "(int)*pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) () ")")))) (; ";")) (expression_statement "*puVar12 = uVar3;" (assignment_expression "*puVar12 = uVar3" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 1" (identifier "puVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar6 = pcVar13;" (assignment_expression "pcVar6 = pcVar13" (identifier "pcVar6") (= "=") (identifier "pcVar13")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)))" (( "(") (binary_expression "0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13))" (number_literal "0") (< "<") (cast_expression "(int)(local_44 + local_c4 + (1 - (int)pcVar13))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_44 + local_c4 + (1 - (int)pcVar13))" (( "(") (binary_expression "local_44 + local_c4 + (1 - (int)pcVar13)" (binary_expression "local_44 + local_c4" (identifier "local_44") (+ "+") (identifier "local_c4")) (+ "+") (parenthesized_expression "(1 - (int)pcVar13)" (( "(") (binary_expression "1 - (int)pcVar13" (number_literal "1") (- "-") (cast_expression "(int)pcVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar13"))) () ")"))) () ")")))) () ")")) (; ";")) (expression_statement "iVar4 = local_b4 + local_c4;" (assignment_expression "iVar4 = local_b4 + local_c4" (identifier "iVar4") (= "=") (binary_expression "local_b4 + local_c4" (identifier "local_b4") (+ "+") (identifier "local_c4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0002c70e:\n  *(undefined1 *)(local_c8 + iVar4) = 0;" (statement_identifier "LAB_0002c70e") (: ":") (expression_statement "*(undefined1 *)(local_c8 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(local_c8 + iVar4) = 0" (pointer_expression "*(undefined1 *)(local_c8 + iVar4)" (* "*") (cast_expression "(undefined1 *)(local_c8 + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + iVar4)" (( "(") (binary_expression "local_c8 + iVar4" (identifier "local_c8") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar5 = FUN_0006eec0(local_c8);" (assignment_expression "uVar5 = FUN_0006eec0(local_c8)" (identifier "uVar5") (= "=") (call_expression "FUN_0006eec0(local_c8)" (identifier "FUN_0006eec0") (argument_list "(local_c8)" (( "(") (identifier "local_c8") () ")")))) (; ";")) (expression_statement "FUN_00031580(local_c8);" (call_expression "FUN_00031580(local_c8)" (identifier "FUN_00031580") (argument_list "(local_c8)" (( "(") (identifier "local_c8") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(local_b8 + 0x14) = uVar5;" (assignment_expression "*(undefined4 *)(local_b8 + 0x14) = uVar5" (pointer_expression "*(undefined4 *)(local_b8 + 0x14)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x14)" (( "(") (binary_expression "local_b8 + 0x14" (identifier "local_b8") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "__stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);" (assignment_expression "__stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" (identifier "__stream") (= "=") (cast_expression "(FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0)" (identifier "FUN_0006f370") (argument_list "(uVar5,unaff_EDI + 0x5d913,0)" (( "(") (identifier "uVar5") (, ",") (binary_expression "unaff_EDI + 0x5d913" (identifier "unaff_EDI") (+ "+") (number_literal "0x5d913")) (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (__stream == (FILE *)0x0) {\nLAB_0002c7b0:\n    iVar9 = 2;\n  }\n  else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" (if "if") (parenthesized_expression "(__stream == (FILE *)0x0)" (( "(") (binary_expression "__stream == (FILE *)0x0" (identifier "__stream") (== "==") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0002c7b0:\n    iVar9 = 2;\n  }" ({ "{") (labeled_statement "LAB_0002c7b0:\n    iVar9 = 2;" (statement_identifier "LAB_0002c7b0") (: ":") (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" (identifier "iVar9") (= "=") (number_literal "2")) (; ";"))) (} "}")) (else_clause "else {\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);\n    fclose(__stream);\n    if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }\n  }" ({ "{") (expression_statement "iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);" (assignment_expression "iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79)" (identifier "iVar4") (= "=") (call_expression "FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79)" (identifier "FUN_000200f0") (argument_list "(*(undefined4 *)(local_b8 + 0x1c),0x79)" (( "(") (pointer_expression "*(undefined4 *)(local_b8 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x1c)" (( "(") (binary_expression "local_b8 + 0x1c" (identifier "local_b8") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "0x79") () ")")))) (; ";")) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" (identifier "fclose") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")"))) (; ";")) (if_statement "if (iVar4 == -1) {\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }\n    else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);\n      if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }\n    }" ({ "{") (expression_statement "iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8);" (assignment_expression "iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" (identifier "iVar9") (= "=") (call_expression "FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" (identifier "FUN_0005ea60") (argument_list "(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),\n                           unaff_EDI + -0x3b7,local_b8)" (( "(") (pointer_expression "*(undefined4 *)(local_b8 + 0x18)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x18)" (( "(") (binary_expression "local_b8 + 0x18" (identifier "local_b8") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(local_b8 + 0x14)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 0x14)" (( "(") (binary_expression "local_b8 + 0x14" (identifier "local_b8") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (binary_expression "unaff_EDI + -0x3b7" (identifier "unaff_EDI") (+ "+") (number_literal "-0x3b7")) (, ",") (identifier "local_b8") () ")")))) (; ";")) (if_statement "if (iVar9 < 0) {\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }" (if "if") (parenthesized_expression "(iVar9 < 0)" (( "(") (binary_expression "iVar9 < 0" (identifier "iVar9") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined4 *)(local_b8 + 4) = 1;\n        goto LAB_0002c787;\n      }" ({ "{") (expression_statement "*(undefined4 *)(local_b8 + 4) = 1;" (assignment_expression "*(undefined4 *)(local_b8 + 4) = 1" (pointer_expression "*(undefined4 *)(local_b8 + 4)" (* "*") (cast_expression "(undefined4 *)(local_b8 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b8 + 4)" (( "(") (binary_expression "local_b8 + 4" (identifier "local_b8") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0002c787;" (goto "goto") (statement_identifier "LAB_0002c787") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" (else "else") (compound_statement "{\n      iVar9 = 1;\n      if (iVar4 == 1) goto LAB_0002c7b0;\n    }" ({ "{") (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar4 == 1) goto LAB_0002c7b0;" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_0002c7b0;" (goto "goto") (statement_identifier "LAB_0002c7b0") (; ";"))) (} "}")))) (} "}")))) (expression_statement "FUN_0002bfb0(local_b8,iVar9);" (call_expression "FUN_0002bfb0(local_b8,iVar9)" (identifier "FUN_0002bfb0") (argument_list "(local_b8,iVar9)" (( "(") (identifier "local_b8") (, ",") (identifier "iVar9") () ")"))) (; ";")) (labeled_statement "LAB_0002c787:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }" (statement_identifier "LAB_0002c787") (: ":") (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00077880();\n  }" (if "if") (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00077880();\n  }" ({ "{") (expression_statement "FUN_00077880();" (call_expression "FUN_00077880()" (identifier "FUN_00077880") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (labeled_statement "code_r0x0002c5bc:\n  pcVar6 = (char *)(local_c8 + iVar4);" (statement_identifier "code_r0x0002c5bc") (: ":") (expression_statement "pcVar6 = (char *)(local_c8 + iVar4);" (assignment_expression "pcVar6 = (char *)(local_c8 + iVar4)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(local_c8 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + iVar4)" (( "(") (binary_expression "local_c8 + iVar4" (identifier "local_c8") (+ "+") (identifier "iVar4")) () ")")))) (; ";"))) (expression_statement "pcVar13 = local_44;" (assignment_expression "pcVar13 = local_44" (identifier "pcVar13") (= "=") (identifier "local_44")) (; ";")) (if_statement "if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;" (if "if") (parenthesized_expression "((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0))" (( "(") (binary_expression "(pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||\n     (((uint)pcVar6 & 3) != 0)" (parenthesized_expression "(pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4)" (( "(") (binary_expression "pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4" (binary_expression "pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4)" (binary_expression "pcVar6 < local_44 + 4" (identifier "pcVar6") (< "<") (binary_expression "local_44 + 4" (identifier "local_44") (+ "+") (number_literal "4"))) (&& "&&") (binary_expression "local_44 < (char *)(local_c8 + 4 + iVar4)" (identifier "local_44") (< "<") (cast_expression "(char *)(local_c8 + 4 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + 4 + iVar4)" (( "(") (binary_expression "local_c8 + 4 + iVar4" (binary_expression "local_c8 + 4" (identifier "local_c8") (+ "+") (number_literal "4")) (+ "+") (identifier "iVar4")) () ")"))))) (|| "||") (binary_expression "local_c4 < 4" (identifier "local_c4") (< "<") (number_literal "4"))) () ")")) (|| "||") (parenthesized_expression "(((uint)pcVar6 & 3) != 0)" (( "(") (binary_expression "((uint)pcVar6 & 3) != 0" (parenthesized_expression "((uint)pcVar6 & 3)" (( "(") (binary_expression "(uint)pcVar6 & 3" (cast_expression "(uint)pcVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pcVar6")) (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0002c4e0;" (goto "goto") (statement_identifier "LAB_0002c4e0") (; ";"))) (do_statement "do {\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  } while (pcVar10 != local_44);" (do "do") (compound_statement "{\n    pcVar10 = pcVar13 + 4;\n    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;\n    pcVar6 = pcVar6 + 4;\n    pcVar13 = pcVar10;\n  }" ({ "{") (expression_statement "pcVar10 = pcVar13 + 4;" (assignment_expression "pcVar10 = pcVar13 + 4" (identifier "pcVar10") (= "=") (binary_expression "pcVar13 + 4" (identifier "pcVar13") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;" (assignment_expression "*(undefined4 *)pcVar6 = *(undefined4 *)pcVar13" (pointer_expression "*(undefined4 *)pcVar6" (* "*") (cast_expression "(undefined4 *)pcVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar6"))) (= "=") (pointer_expression "*(undefined4 *)pcVar13" (* "*") (cast_expression "(undefined4 *)pcVar13" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar13")))) (; ";")) (expression_statement "pcVar6 = pcVar6 + 4;" (assignment_expression "pcVar6 = pcVar6 + 4" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 4" (identifier "pcVar6") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "pcVar13 = pcVar10;" (assignment_expression "pcVar13 = pcVar10" (identifier "pcVar13") (= "=") (identifier "pcVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar10 != local_44)" (( "(") (binary_expression "pcVar10 != local_44" (identifier "pcVar10") (!= "!=") (identifier "local_44")) () ")")) (; ";")) (if_statement "if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }" (if "if") (parenthesized_expression "(((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4))" (( "(") (binary_expression "((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&\n     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)" (parenthesized_expression "((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0))" (( "(") (binary_expression "(local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)" (parenthesized_expression "(local_c4 != 0xffffffff)" (( "(") (binary_expression "local_c4 != 0xffffffff" (identifier "local_c4") (!= "!=") (number_literal "0xffffffff")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)" (( "(") (comma_expression "*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0" (assignment_expression "*(char *)(local_c8 + iVar4) = local_44[0]" (pointer_expression "*(char *)(local_c8 + iVar4)" (* "*") (cast_expression "(char *)(local_c8 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + iVar4)" (( "(") (binary_expression "local_c8 + iVar4" (identifier "local_c8") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (subscript_expression "local_44[0]" (identifier "local_44") ([ "[") (number_literal "0") (] "]"))) (, ",") (binary_expression "local_c4 != 0" (identifier "local_c4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)" (( "(") (comma_expression "*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4" (assignment_expression "*(char *)(local_c8 + 1 + iVar4) = local_44[1]" (pointer_expression "*(char *)(local_c8 + 1 + iVar4)" (* "*") (cast_expression "(char *)(local_c8 + 1 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + 1 + iVar4)" (( "(") (binary_expression "local_c8 + 1 + iVar4" (binary_expression "local_c8 + 1" (identifier "local_c8") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar4")) () ")")))) (= "=") (subscript_expression "local_44[1]" (identifier "local_44") ([ "[") (number_literal "1") (] "]"))) (, ",") (binary_expression "1 < local_c4" (number_literal "1") (< "<") (identifier "local_c4"))) () ")"))) () ")")) (compound_statement "{\n    *(char *)(local_c8 + 2 + iVar4) = local_44[2];\n  }" ({ "{") (expression_statement "*(char *)(local_c8 + 2 + iVar4) = local_44[2];" (assignment_expression "*(char *)(local_c8 + 2 + iVar4) = local_44[2]" (pointer_expression "*(char *)(local_c8 + 2 + iVar4)" (* "*") (cast_expression "(char *)(local_c8 + 2 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_c8 + 2 + iVar4)" (( "(") (binary_expression "local_c8 + 2 + iVar4" (binary_expression "local_c8 + 2" (identifier "local_c8") (+ "+") (number_literal "2")) (+ "+") (identifier "iVar4")) () ")")))) (= "=") (subscript_expression "local_44[2]" (identifier "local_44") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0002c500;" (goto "goto") (statement_identifier "LAB_0002c500") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x0002c6f5) */
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffc0 : 0x0002c630 */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

void function_1(void *handle)

{
  int var_33;
  type_1 var_20;
  char var_10;
  void *ctx;
  type_2 *pFVar4;
  char *var_11;
  type_3 **pp_Var6;
  int var_24;
  type_4 *var_29;
  int var_13;
  char *var_15;
  char *var_35;
  bool bVar11;
  int var_12;
  int var_23;
  int var_2;
  char *var_14;
  type_5 var_17;
  size_t local_bc;
  int var_18;
  char *var_19;
  type_6 type_6;
  char var_16 [32];
  
  ctx = (void *)var_1();
  var_33 = *(int *)(var_2 + 0x14);
  var_3();
  if (*(type_2 **)((int)ctx + 0x14) != (type_2 *)0x0) {
    var_4(*(type_2 **)((int)ctx + 0x14));
  }
  var_5(*(type_7 **)((int)ctx + 0x1c),1);
  var_6(*(type_7 **)((int)ctx + 0x1c),0);
  pFVar4 = var_7(*(type_7 **)((int)ctx + 0x1c),0x77);
  var_14 = (char *)var_8(0x1000,1);
  var_11 = var_9(pFVar4);
  var_10 = *var_11;
  if (var_10 != '\0') {
    var_12 = 0;
    local_bc = 0x1000;
    var_19 = var_11 + 1;
    if (var_10 == '&') goto LAB_0002c521;
    var_12 = 0;
LAB_0002c4a8:
    var_13 = var_12 + 1;
    var_18 = var_13;
    var_16[0] = var_10;
    if ((int)local_bc <= var_13) {
      var_17 = 0;
      bVar11 = false;
      goto LAB_0002c56a;
    }
    var_17 = 0;
    var_11 = var_14 + var_12;
    var_15 = var_16;
LAB_0002c4e0:
    do {
      var_35 = var_15 + 1;
      *var_11 = *var_15;
      var_11 = var_11 + 1;
      var_15 = var_35;
    } while (0 < (int)(var_16 + var_17 + (1 - (int)var_35)));
LAB_0002c500:
    var_12 = var_18 + var_17;
    do {
      while( true ) {
        var_10 = *var_19;
        if (var_10 == '\0') goto LAB_0002c70e;
        var_15 = var_19 + 1;
        var_11 = var_19;
        var_19 = var_15;
        if (var_10 != '&') goto LAB_0002c4a8;
LAB_0002c521:
        var_20 = var_11[1];
        if (var_20 != 0) break;
        if (var_12 < (int)local_bc) goto LAB_0002c70e;
        local_bc = (var_12 * 5) / 4 + 0x200;
        var_14 = (char *)var_21(var_14,local_bc,1);
      }
      var_19 = var_11 + 2;
      pp_Var6 = var_22();
      if ((*pp_Var6)[var_20] - 100U < 0x16) {
                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(type_8 *)("###################### @+  oo @@@@@@@@@OOOO    #" +
                  *(int *)(var_23 + 0x611d9 + ((*pp_Var6)[var_20] - 100U) * 4) + var_23 + 0x19)
        )();
        return;
      }
      var_16[0] = '&';
      if (var_20 == 0x26) {
        var_13 = var_12 + 1;
        var_17 = 0;
        var_18 = var_13;
        if ((int)local_bc <= var_13) {
          bVar11 = true;
          goto LAB_0002c56a;
        }
      }
      else {
        var_13 = var_12 + 2;
        var_17 = 1;
        var_16[1] = var_20;
        if (var_13 < (int)local_bc) {
          var_18 = var_12 + 1;
        }
        else {
          bVar11 = true;
          var_18 = var_12 + 1;
LAB_0002c56a:
          var_13 = var_13 * 5;
          var_24 = var_13 + 3;
          if (-1 < var_13) {
            var_24 = var_13;
          }
          local_bc = (var_24 >> 2) + 0x200;
          var_14 = (char *)var_21(var_14,local_bc,1);
          if (!bVar11) goto code_r0x0002c5bc;
        }
      }
      var_11 = var_14 + var_12;
      var_15 = var_16;
      do {
        var_35 = var_15 + 1;
        var_10 = var_25(*var_15);
        *var_11 = var_10;
        var_11 = var_11 + 1;
        var_15 = var_35;
      } while (0 < (int)(var_16 + var_17 + (1 - (int)var_35)));
      var_12 = var_18 + var_17;
    } while( true );
  }
  var_12 = 0;
LAB_0002c70e:
  var_14[var_12] = '\0';
  pFVar4 = var_26(var_14);
  var_27(var_14);
  *(type_2 **)((int)ctx + 0x14) = pFVar4;
  var_29 = (type_4 *)var_28(pFVar4,(char *)(var_23 + 0x5d913),0);
  if (var_29 == (type_4 *)0x0) {
LAB_0002c7b0:
    var_13 = 2;
  }
  else {
    var_12 = var_5(*(type_7 **)((int)ctx + 0x1c),0x79);
    var_30(var_29);
    if (var_12 == -1) {
      var_13 = var_31(*(void **)((int)ctx + 0x18),*(type_2 **)((int)ctx + 0x14),
                        (type_9 *)(var_23 + -0x3b7),ctx);
      if (var_13 < 0) {
        *(type_10 *)((int)ctx + 4) = 1;
        goto LAB_0002c787;
      }
    }
    else {
      var_13 = 1;
      if (var_12 == 1) goto LAB_0002c7b0;
    }
  }
  var_32(ctx,var_13);
LAB_0002c787:
  if (var_33 != *(int *)(var_2 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_34();
  }
  return;
code_r0x0002c5bc:
  var_11 = var_14 + var_12;
  var_15 = var_16;
  if ((var_11 < var_16 + 4 && var_16 < var_14 + var_12 + 4 || var_17 < 4) || (((type_5)var_11 & 3) != 0)
     ) goto LAB_0002c4e0;
  do {
    var_35 = var_15 + 4;
    *(type_10 *)var_11 = *(type_10 *)var_15;
    var_11 = var_11 + 4;
    var_15 = var_35;
  } while (var_35 != var_16);
  if (((var_17 != 0xffffffff) && (var_14[var_12] = var_16[0], var_17 != 0)) &&
     (var_14[var_12 + 1] = var_16[1], 1 < var_17)) {
    var_14[var_12 + 2] = var_16[2];
  }
  goto LAB_0002c500;
}


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

/* WARNING: Removing unreachable block (ram,0x0002c6f5) */
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffbc : 0x0002c630 */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

void MASKED(void)

{
  char cVar1;
  byte bVar2;
  undefined1 uVar3;
  int iVar4;
  undefined4 uVar5;
  char *pcVar6;
  __int32_t **pp_Var7;
  int iVar8;
  FILE *__stream;
  int iVar9;
  char *pcVar10;
  bool bVar11;
  undefined1 *puVar12;
  char *pcVar13;
  int unaff_EDI;
  int in_GS_OFFSET;
  int local_c8;
  uint local_c4;
  int local_c0;
  int local_b8;
  int local_b4;
  char *local_b0;
  undefined4 local_9c;
  undefined4 local_98;
  undefined4 local_94;
  undefined4 local_90;
  undefined4 local_8c;
  undefined4 local_88;
  undefined4 local_84;
  undefined4 local_80;
  undefined4 local_7c;
  undefined4 local_78;
  undefined4 local_6c;
  undefined4 local_68;
  undefined4 local_64;
  undefined4 local_60;
  undefined4 local_5c;
  undefined4 local_58;
  undefined4 local_54;
  undefined4 local_50;
  undefined4 local_4c;
  undefined4 local_48;
  char local_44 [32];
  int local_24;
  undefined4 local_20;
  
  iVar4 = FUN_0002d41e();
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  FUN_0004f2a0(&local_9c);
  local_6c = local_9c;
  local_68 = local_98;
  local_64 = local_94;
  local_60 = local_90;
  local_5c = local_8c;
  local_58 = local_88;
  local_54 = local_84;
  local_50 = local_80;
  local_4c = local_7c;
  local_48 = local_78;
  if (*(int *)(iVar4 + 0x14) != 0) {
    FUN_0006ef80(*(int *)(iVar4 + 0x14));
  }
  FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),1);
  FUN_000202a0(*(undefined4 *)(local_b8 + 0x1c),0);
  uVar5 = FUN_00020700(*(undefined4 *)(local_b8 + 0x1c),0x77);
  local_c8 = FUN_000313e0(0x1000,1);
  pcVar6 = (char *)FUN_0006ef30(uVar5);
  cVar1 = *pcVar6;
  if (cVar1 != '\0') {
    iVar4 = 0;
    local_c0 = 0x1000;
    local_b0 = pcVar6 + 1;
    if (cVar1 == '&') goto LAB_0002c521;
    iVar4 = 0;
LAB_0002c4a8:
    iVar9 = iVar4 + 1;
    local_b4 = iVar9;
    local_44[0] = cVar1;
    if (local_c0 <= iVar9) {
      local_c4 = 0;
      bVar11 = false;
      goto LAB_0002c56a;
    }
    local_c4 = 0;
    pcVar6 = (char *)(local_c8 + iVar4);
    pcVar13 = local_44;
LAB_0002c4e0:
    do {
      pcVar10 = pcVar13 + 1;
      *pcVar6 = *pcVar13;
      pcVar6 = pcVar6 + 1;
      pcVar13 = pcVar10;
    } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar10)));
LAB_0002c500:
    iVar4 = local_b4 + local_c4;
    do {
      while( true ) {
        cVar1 = *local_b0;
        if (cVar1 == '\0') goto LAB_0002c70e;
        pcVar13 = local_b0 + 1;
        pcVar6 = local_b0;
        local_b0 = pcVar13;
        if (cVar1 != '&') goto LAB_0002c4a8;
LAB_0002c521:
        bVar2 = pcVar6[1];
        if (bVar2 != 0) break;
        if (iVar4 < local_c0) goto LAB_0002c70e;
        local_c0 = (iVar4 * 5) / 4 + 0x200;
        local_c8 = FUN_000314a0(local_c8,local_c0,1,(iVar4 * 5) % 4);
      }
      local_b0 = pcVar6 + 2;
      pp_Var7 = __ctype_tolower_loc();
      if ((*pp_Var7)[bVar2] - 100U < 0x16) {
                    /* WARNING: Could not recover jumptable at 0x0002c55c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)("###################### @+  oo @@@@@@@@@OOOO    #" +
                  *(int *)(unaff_EDI + 0x611d9 + ((*pp_Var7)[bVar2] - 100U) * 4) + unaff_EDI + 0x19)
        )();
        return;
      }
      local_44[0] = '&';
      if (bVar2 == 0x26) {
        iVar9 = iVar4 + 1;
        local_c4 = 0;
        local_b4 = iVar9;
        if (local_c0 <= iVar9) {
          bVar11 = true;
          goto LAB_0002c56a;
        }
      }
      else {
        iVar9 = iVar4 + 2;
        local_c4 = 1;
        local_44[1] = bVar2;
        if (iVar9 < local_c0) {
          local_b4 = iVar4 + 1;
        }
        else {
          bVar11 = true;
          local_b4 = iVar4 + 1;
LAB_0002c56a:
          iVar9 = iVar9 * 5;
          iVar8 = iVar9 + 3;
          if (-1 < iVar9) {
            iVar8 = iVar9;
          }
          local_c0 = (iVar8 >> 2) + 0x200;
          local_c8 = FUN_000314a0(local_c8,local_c0,1);
          if (!bVar11) goto code_r0x0002c5bc;
        }
      }
      puVar12 = (undefined1 *)(local_c8 + iVar4);
      pcVar6 = local_44;
      do {
        pcVar13 = pcVar6 + 1;
        uVar3 = FUN_0006f060((int)*pcVar6);
        *puVar12 = uVar3;
        puVar12 = puVar12 + 1;
        pcVar6 = pcVar13;
      } while (0 < (int)(local_44 + local_c4 + (1 - (int)pcVar13)));
      iVar4 = local_b4 + local_c4;
    } while( true );
  }
  iVar4 = 0;
LAB_0002c70e:
  *(undefined1 *)(local_c8 + iVar4) = 0;
  uVar5 = FUN_0006eec0(local_c8);
  FUN_00031580(local_c8);
  *(undefined4 *)(local_b8 + 0x14) = uVar5;
  __stream = (FILE *)FUN_0006f370(uVar5,unaff_EDI + 0x5d913,0);
  if (__stream == (FILE *)0x0) {
LAB_0002c7b0:
    iVar9 = 2;
  }
  else {
    iVar4 = FUN_000200f0(*(undefined4 *)(local_b8 + 0x1c),0x79);
    fclose(__stream);
    if (iVar4 == -1) {
      iVar9 = FUN_0005ea60(*(undefined4 *)(local_b8 + 0x18),*(undefined4 *)(local_b8 + 0x14),
                           unaff_EDI + -0x3b7,local_b8);
      if (iVar9 < 0) {
        *(undefined4 *)(local_b8 + 4) = 1;
        goto LAB_0002c787;
      }
    }
    else {
      iVar9 = 1;
      if (iVar4 == 1) goto LAB_0002c7b0;
    }
  }
  FUN_0002bfb0(local_b8,iVar9);
LAB_0002c787:
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00077880();
  }
  return;
code_r0x0002c5bc:
  pcVar6 = (char *)(local_c8 + iVar4);
  pcVar13 = local_44;
  if ((pcVar6 < local_44 + 4 && local_44 < (char *)(local_c8 + 4 + iVar4) || local_c4 < 4) ||
     (((uint)pcVar6 & 3) != 0)) goto LAB_0002c4e0;
  do {
    pcVar10 = pcVar13 + 4;
    *(undefined4 *)pcVar6 = *(undefined4 *)pcVar13;
    pcVar6 = pcVar6 + 4;
    pcVar13 = pcVar10;
  } while (pcVar10 != local_44);
  if (((local_c4 != 0xffffffff) && (*(char *)(local_c8 + iVar4) = local_44[0], local_c4 != 0)) &&
     (*(char *)(local_c8 + 1 + iVar4) = local_44[1], 1 < local_c4)) {
    *(char *)(local_c8 + 2 + iVar4) = local_44[2];
  }
  goto LAB_0002c500;
}

