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

int syslogd_main(int argc,char **argv)

{
  char *opt_m;
  char *opt_l;
  char *opt_C;
  llist_t *remoteAddrList;
  char *p;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_00062593(undefined4 param_1,undefined4 param_2)

{
  char cVar1;
  int iVar2;
  bool bVar3;
  int *piVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  char *pcVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  undefined *puVar11;
  byte *pbVar12;
  ssize_t sVar13;
  int iVar14;
  undefined4 extraout_ECX;
  undefined **ppuVar15;
  undefined4 extraout_EDX;
  socklen_t *psVar16;
  undefined **ppuVar17;
  int *piVar18;
  byte *pbVar19;
  int in_GS_OFFSET;
  undefined1 uVar20;
  byte bVar21;
  size_t __size;
  undefined4 uVar22;
  undefined4 uVar23;
  undefined **ppuVar24;
  byte *local_50;
  byte *local_4c;
  undefined1 local_34 [4];
  undefined1 local_30 [4];
  int local_2c;
  undefined **local_28;
  byte *local_24;
  undefined4 local_20;
  
  bVar21 = 0;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_2c = 0;
  local_28 = (undefined **)0x0;
  puVar5 = (undefined4 *)FUN_00019b89();
  ppuVar15 = &PTR_s__var_log_messages_000d0180;
  puVar6 = puVar5;
  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {
    *puVar6 = *ppuVar15;
    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;
    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;
  }
  DAT_000d1700 = puVar5;
  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,
                                  &local_2c,puVar6);
  if (local_28 != (undefined **)0x0) {
    local_4c = (byte *)(puVar5 + 0xd);
    do {
      puVar6 = (undefined4 *)FUN_00019b89();
      uVar7 = FUN_00018d50();
      puVar6[3] = uVar7;
      *puVar6 = 0xffffffff;
      iVar14 = FUN_0001b77a();
      puVar6[1] = iVar14 + -0x79;
      FUN_00018d02();
      ppuVar15 = local_28;
    } while (local_28 != (undefined **)0x0);
  }
  if (((uint)local_50 & 8) != 0) {
    uVar7 = FUN_000b34e2();
    puVar5[3] = uVar7;
  }
  if (local_2c != 0) {
    iVar14 = FUN_000b34e2();
    puVar5[6] = iVar14 << 10;
  }
  if (((uint)local_50 & 0x40) == 0) {
    _DAT_000d171c = _DAT_000d171c | 0x80;
  }
  pcVar8 = (char *)FUN_000b17b6();
  puVar5[0xf] = pcVar8;
  pcVar8 = strchrnul(pcVar8,0x2e);
  *pcVar8 = '\0';
  if (((uint)local_50 & 2) == 0) {
    FUN_000b2f0a();
  }
  FUN_000ae0c5();
  FUN_0001b022();
  FUN_0001b022();
  signal(1,(__sighandler_t)0x1);
  FUN_000624ba();
  FUN_00019dd8();
  if ((_DAT_000d171c & 0x100) != 0) {
    uVar22 = 0x3a4;
    __size = puVar5[6];
    uVar7 = extraout_ECX;
    iVar14 = shmget(0x414e4547,__size,0x3a4);
    puVar5[4] = iVar14;
    if (iVar14 == -1) {
                    /* WARNING: Subroutine does not return */
      FUN_00018e79("shmget",__size,uVar22,uVar7);
    }
    uVar23 = 0;
    uVar22 = 0;
    uVar7 = extraout_EDX;
    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);
    puVar5[0xe] = puVar9;
    if (puVar9 == (undefined1 *)0xffffffff) {
                    /* WARNING: Subroutine does not return */
      FUN_00018e79("shmat",uVar22,uVar23,uVar7);
    }
    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {
      *puVar9 = 0;
      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;
    }
    puVar10 = (undefined1 *)(puVar5[6] + -9);
    *(undefined1 **)puVar5[0xe] = puVar10;
    uVar22 = 0x7ff;
    uVar7 = 2;
    iVar14 = semget(0x414e4547,2,0x7ff);
    puVar5[5] = iVar14;
    if (iVar14 == -1) {
      if (*DAT_000d16fc == 0x11) {
        uVar22 = 0;
        uVar7 = 2;
        iVar14 = semget(0x414e4547,2,0);
        puVar5[5] = iVar14;
        puVar10 = puVar9;
        if (iVar14 != -1) goto LAB_000627d4;
      }
                    /* WARNING: Subroutine does not return */
      FUN_00018e79("semget",uVar7,uVar22,puVar10);
    }
  }
LAB_000627d4:
  piVar4 = DAT_000d16fc;
  if ((_DAT_000d171c & 0x80) != 0) {
    FUN_00062098();
    piVar4 = DAT_000d16fc;
  }
LAB_000627f4:
  if (DAT_000d1724 != '\0') goto LAB_00062846;
  local_50 = (byte *)(puVar5 + 0x10);
  local_4c = local_50;
  do {
    do {
      uVar7 = 0x3ff;
      ppuVar24 = ppuVar15;
      iVar14 = read(0,local_50,0x3ff);
      uVar20 = iVar14 == 0;
      if (iVar14 < 0) {
        if (DAT_000d1724 == '\0') {
          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);
        }
LAB_00062846:
        if ((_DAT_000d171c & 0x80) != 0) {
          FUN_00062098();
        }
        if (DAT_000d1727 != '\0') {
          unlink("/var/run/syslogd.pid");
        }
        if (puVar5[4] != -1) {
          shmdt((void *)puVar5[0xe]);
          if (puVar5[4] != -1) {
            shmctl(puVar5[4],0,(shmid_ds *)0x0);
          }
        }
        iVar14 = puVar5[5];
        if (iVar14 != -1) {
          semctl(iVar14,0,0,0);
        }
        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;
        iVar14 = FUN_0001af7d();
      }
    } while ((bool)uVar20);
    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);
    while( true ) {
      if ((cVar1 != '\0') && (cVar1 != '\n')) {
        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;
        piVar18 = (int *)puVar5[0xd];
        if (piVar18 == (int *)0x0) goto LAB_0006293e;
        goto LAB_00062902;
      }
      if (iVar14 + -1 == 0) break;
      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);
      iVar14 = iVar14 + -1;
    }
  } while( true );
LAB_00062902:
  do {
    ppuVar15 = (undefined **)piVar18[1];
    puVar11 = *ppuVar15;
    psVar16 = (socklen_t *)ppuVar15[2];
    if (puVar11 == (undefined *)0xffffffff) {
      if (psVar16 == (socklen_t *)0x0) {
        puVar11 = (undefined *)FUN_0001b77a();
        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {
          ppuVar15[1] = puVar11;
          puVar11 = (undefined *)FUN_000b3dd0();
          ppuVar15[2] = puVar11;
          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;
        }
        *ppuVar15 = (undefined *)0xffffffff;
      }
      else {
LAB_00062a5f:
        puVar11 = (undefined *)FUN_0001a291();
        *ppuVar15 = puVar11;
        if (puVar11 != (undefined *)0xffffffff) {
          psVar16 = (socklen_t *)ppuVar15[2];
          goto LAB_00062a7d;
        }
      }
    }
    else {
LAB_00062a7d:
      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);
      if ((sVar13 == -1) &&
         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {
        close((int)*ppuVar15);
        *ppuVar15 = (undefined *)0xffffffff;
        free(ppuVar15[2]);
        ppuVar15[2] = (undefined *)0x0;
        piVar18 = (int *)*piVar18;
        if (piVar18 == (int *)0x0) break;
        goto LAB_00062902;
      }
    }
    piVar18 = (int *)*piVar18;
  } while (piVar18 != (int *)0x0);
LAB_0006293e:
  if ((_DAT_000d171c & 0x80) != 0) {
    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;
    local_24 = local_50;
    pbVar19 = local_50 + iVar14;
    bVar3 = local_50 < pbVar19;
    local_50 = pbVar19;
    if (bVar3) {
      pbVar12 = local_4c;
      do {
        if (*pbVar12 == 0x3c) {
          pbVar12 = (byte *)FUN_0001b930();
          if (*local_24 == 0x3e) {
            local_24 = local_24 + 1;
          }
          if (((uint)pbVar12 & 0xfffffc00) != 0) {
            pbVar12 = (byte *)0xd;
          }
        }
        else {
          pbVar12 = (byte *)0xd;
        }
        bVar21 = *local_24;
        ppuVar15 = (undefined **)(puVar5 + 0x110);
        while (local_24 = local_24 + 1, bVar21 != 0) {
          ppuVar24 = (undefined **)((int)ppuVar15 + 1);
          ppuVar17 = ppuVar24;
          if (bVar21 == 10) {
            bVar21 = 0x20;
          }
          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {
            *(undefined1 *)ppuVar15 = 0x5e;
            bVar21 = bVar21 + 0x40;
            ppuVar17 = (undefined **)((int)ppuVar15 + 2);
            ppuVar15 = ppuVar24;
          }
          *(byte *)ppuVar15 = bVar21;
          ppuVar15 = ppuVar17;
          local_4c = pbVar12;
          bVar21 = *local_24;
        }
        *(undefined1 *)ppuVar15 = 0;
        FUN_00062098();
        pbVar12 = local_24;
      } while (local_24 < pbVar19);
    }
  }
  goto LAB_000627f4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
CALL 0x00017640
ADD EBX,0x6e481
MOV EDX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0xc],EDX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x34],0x0
MOV EAX,0x14c0
CALL 0x00019b89
MOV EBP,EAX
LEA ESI,[EBX + 0xfffff760]
MOV ECX,0xd
MOV EDI,EAX
MOVSD.REP ES:EDI,ESI
MOV dword ptr [EBX + 0xce0],EAX
PUSH EDI
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EDI,[ESP + 0x3c]
PUSH EDI
LEA EAX,[ESP + 0x38]
PUSH EAX
PUSH EBP
LEA EAX,[ESP + 0x3c]
PUSH EAX
LEA EAX,[EBX + 0xffff8be7]
PUSH EAX
MOV EDX,dword ptr [ESP + 0x28]
PUSH EDX
CALL 0x000a8bdf
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x20
MOV EAX,dword ptr [ESP + 0x34]
TEST EAX,EAX
JZ 0x00062661
LEA EAX,[EBP + 0x34]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,0x10
CALL 0x00019b89
MOV ESI,EAX
MOV EAX,EDI
CALL 0x00018d50
MOV dword ptr [ESI + 0xc],EAX
MOV dword ptr [ESI],0xffffffff
CALL 0x0001b77a
SUB EAX,0x79
MOV dword ptr [ESI + 0x4],EAX
MOV EDX,ESI
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00018d02
MOV ESI,dword ptr [ESP + 0x34]
TEST ESI,ESI
JNZ 0x00062627
TEST byte ptr [ESP + 0xc],0x8
JZ 0x0006267e
MOV ECX,0x8
MOV EDX,0x1
MOV EAX,dword ptr [ESP + 0x2c]
CALL 0x000b34e2
MOV dword ptr [EBP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x30]
TEST EAX,EAX
JZ 0x0006269b
MOV ECX,0x1fffff
MOV EDX,0x4
CALL 0x000b34e2
SHL EAX,0xa
MOV dword ptr [EBP + 0x18],EAX
TEST byte ptr [ESP + 0xc],0x40
JNZ 0x000626ac
OR dword ptr [EBX + 0xcfc],0x80
CALL 0x000b17b6
MOV dword ptr [EBP + 0x3c],EAX
SUB ESP,0x8
PUSH 0x2e
PUSH EAX
CALL 0x00016d50
ADD ESP,0x10
MOV byte ptr [EAX],0x0
TEST byte ptr [ESP + 0xc],0x2
JNZ 0x000626d6
MOV EAX,0x1
CALL 0x000b2f0a
LEA EAX,[EBX + 0xffff8bfc]
CALL 0x000ae0c5
LEA EDX,[EBX + 0xfff4a370]
MOV EAX,0xf
CALL 0x0001b022
LEA EDX,[EBX + 0xfff4a370]
MOV EAX,0x2
CALL 0x0001b022
SUB ESP,0x8
PUSH 0x1
PUSH 0x1
CALL 0x00016380
CALL 0x000624ba
XOR EDX,EDX
CALL 0x00019dd8
MOV EAX,dword ptr [EBX + 0xcfc]
ADD ESP,0x10
TEST AH,0x1
JZ 0x000627d4
PUSH ECX
PUSH 0x3a4
PUSH dword ptr [EBP + 0x18]
PUSH 0x414e4547
CALL 0x00016310
MOV dword ptr [EBP + 0x10],EAX
ADD ESP,0x10
CMP EAX,-0x1
JNZ 0x00062758
SUB ESP,0xc
LEA EAX,[EBX + 0xffff8c11]
PUSH EAX
CALL 0x00018e79
PUSH EDX
PUSH 0x0
PUSH 0x0
PUSH EAX
CALL 0x000165b0
MOV EDX,EAX
MOV dword ptr [EBP + 0x38],EAX
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x00062afd
MOV ECX,dword ptr [EBP + 0x18]
XOR EAX,EAX
MOV EDI,EDX
STOSB.REP ES:EDI
MOV EDX,dword ptr [EBP + 0x38]
MOV EAX,dword ptr [EBP + 0x18]
SUB EAX,0x9
MOV dword ptr [EDX],EAX
PUSH EAX
PUSH 0x7ff
PUSH 0x2
PUSH 0x414e4547
CALL 0x00016d60
MOV dword ptr [EBP + 0x14],EAX
ADD ESP,0x10
INC EAX
JNZ 0x000627ce
MOV EAX,dword ptr [EBX + 0xcdc]
CMP dword ptr [EAX],0x11
JNZ 0x00062aee
PUSH EDI
PUSH 0x0
PUSH 0x2
PUSH 0x414e4547
CALL 0x00016d60
MOV dword ptr [EBP + 0x14],EAX
ADD ESP,0x10
INC EAX
JZ 0x00062aee
MOV EAX,dword ptr [EBX + 0xcfc]
TEST AL,0x80
JZ 0x000627ea
XOR ECX,ECX
LEA EDX,[EBX + 0xfffe9dd8]
MOV EAX,0x2e
CALL 0x00062098
MOV EAX,dword ptr [EBX + 0xcdc]
MOV dword ptr [ESP + 0x18],EAX
CMP byte ptr [EBX + 0xd04],0x0
JNZ 0x00062846
LEA EAX,[EBP + 0x40]
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x10],EAX
PUSH ESI
PUSH 0x3ff
PUSH dword ptr [ESP + 0x14]
PUSH 0x0
CALL 0x000161a0
ADD ESP,0x10
TEST EAX,EAX
JNS 0x000628c9
CMP byte ptr [EBX + 0xd04],0x0
JNZ 0x00062846
SUB ESP,0x8
LEA EAX,[EBX + 0xffff8bde]
PUSH EAX
LEA EAX,[EBX + 0xffff8c25]
PUSH EAX
CALL 0x00018e3c
ADD ESP,0x10
TEST byte ptr [EBX + 0xcfc],0x80
JZ 0x00062861
XOR ECX,ECX
LEA EDX,[EBX + 0xffff8c32]
MOV EAX,0x2e
CALL 0x00062098
CMP byte ptr [EBX + 0xd07],0x0
JZ 0x0006287c
SUB ESP,0xc
LEA EAX,[EBX + 0xffff8bfc]
PUSH EAX
CALL 0x000165d0
ADD ESP,0x10
CMP dword ptr [EBP + 0x10],-0x1
JZ 0x000628a6
SUB ESP,0xc
PUSH dword ptr [EBP + 0x38]
CALL 0x00016f50
MOV EAX,dword ptr [EBP + 0x10]
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x000628a6
PUSH EDX
PUSH 0x0
PUSH 0x0
PUSH EAX
CALL 0x00016860
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0x14]
CMP EAX,-0x1
JZ 0x000628bd
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH EAX
CALL 0x00017300
ADD ESP,0x10
MOVSX EAX,byte ptr [EBX + 0xd04]
CALL 0x0001af7d
JZ 0x00062808
LEA ECX,[EAX + -0x1]
MOV DL,byte ptr [EBP + ECX*0x1 + 0x40]
TEST DL,DL
JZ 0x000629c4
CMP DL,0xa
JZ 0x000629c4
MOV EDI,EAX
MOV byte ptr [EBP + EAX*0x1 + 0x40],0xa
MOV EAX,dword ptr [EBP + 0x34]
TEST EAX,EAX
JZ 0x0006293e
LEA ESI,[EDI + 0x1]
MOV dword ptr [ESP + 0x14],ESI
MOV dword ptr [ESP + 0x1c],EDI
MOV EDI,EAX
MOV ESI,dword ptr [EDI + 0x4]
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [ESI + 0x8]
CMP EAX,-0x1
JNZ 0x00062a7d
TEST EDX,EDX
JNZ 0x00062a5f
CALL 0x0001b77a
MOV EDX,EAX
SUB EDX,dword ptr [ESI + 0x4]
CMP EDX,0x77
JA 0x00062a42
MOV dword ptr [ESI],0xffffffff
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JNZ 0x00062902
MOV EDI,dword ptr [ESP + 0x1c]
TEST byte ptr [EBX + 0xcfc],0x80
JZ 0x000627f4
MOV byte ptr [EBP + EDI*0x1 + 0x40],0x0
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x38],EAX
ADD EDI,EAX
MOV dword ptr [ESP + 0xc],EDI
CMP EDI,EAX
JBE 0x000627f4
LEA EDI,[EBP + 0x440]
LEA EAX,[ESP + 0x38]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX],0x3c
JZ 0x00062a14
MOV EDX,dword ptr [ESP + 0x38]
MOV EAX,0xd
LEA ECX,[EDX + 0x1]
MOV dword ptr [ESP + 0x38],ECX
MOV DL,byte ptr [EDX]
TEST DL,DL
JZ 0x000629de
MOV ECX,EDI
MOV dword ptr [ESP + 0x10],EAX
LEA ESI,[ECX + 0x1]
CMP DL,0xa
JNZ 0x000629fb
MOV DL,0x20
MOV byte ptr [ECX],DL
MOV EAX,dword ptr [ESP + 0x38]
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESP + 0x38],EDX
MOV DL,byte ptr [EAX]
MOV ECX,ESI
TEST DL,DL
JNZ 0x0006299d
MOV EAX,dword ptr [ESP + 0x10]
SUB ECX,EDI
JMP 0x000629e2
MOV EAX,ECX
TEST ECX,ECX
JZ 0x00062808
LEA ECX,[EAX + -0x1]
MOV DL,byte ptr [EBP + ECX*0x1 + 0x40]
TEST DL,DL
JZ 0x000629c4
JMP 0x000628de
MOV ESI,EDI
XOR ECX,ECX
MOV byte ptr [ESI],0x0
MOV EDX,EDI
CALL 0x00062098
MOV EAX,dword ptr [ESP + 0x38]
CMP dword ptr [ESP + 0xc],EAX
JA 0x00062978
JMP 0x000627f4
TEST DL,0xe0
JNZ 0x000629a7
CMP DL,0x9
JZ 0x000629a7
MOV byte ptr [ECX],0x5e
ADD EDX,0x40
LEA EAX,[ECX + 0x2]
MOV ECX,ESI
MOV ESI,EAX
JMP 0x000629a7
INC EAX
MOV ECX,0xa
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x0001b930
MOV EDX,dword ptr [ESP + 0x38]
CMP byte ptr [EDX],0x3e
JNZ 0x00062a2d
INC EDX
TEST EAX,0xfffffc00
JZ 0x0006298a
MOV EAX,0xd
JMP 0x0006298a
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESI + 0xc]
MOV EDX,0x202
CALL 0x000b3dd0
MOV EDX,EAX
MOV dword ptr [ESI + 0x8],EAX
TEST EAX,EAX
JZ 0x0006292e
MOVZX EAX,word ptr [EDX + 0x4]
XOR ECX,ECX
MOV EDX,0x2
CALL 0x0001a291
MOV dword ptr [ESI],EAX
CMP EAX,-0x1
JZ 0x00062934
MOV EDX,dword ptr [ESI + 0x8]
LEA ECX,[EDX + 0x4]
SUB ESP,0x8
PUSH dword ptr [EDX]
PUSH ECX
PUSH 0x4040
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x24]
PUSH EAX
CALL 0x00016fa0
ADD ESP,0x20
INC EAX
JNZ 0x00062934
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
CMP EAX,0x68
JZ 0x00062abc
CMP EAX,0x6b
JZ 0x00062abc
CMP EAX,0x20
JNZ 0x00062934
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x000174d0
MOV dword ptr [ESI],0xffffffff
POP ECX
PUSH dword ptr [ESI + 0x8]
CALL 0x000175a0
MOV dword ptr [ESI + 0x8],0x0
ADD ESP,0x10
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JNZ 0x00062902
JMP 0x0006293a
SUB ESP,0xc
LEA EAX,[EBX + 0xffff8c1e]
PUSH EAX
CALL 0x00018e79
SUB ESP,0xc
LEA EAX,[EBX + 0xffff8c18]
PUSH EAX
CALL 0x00018e79
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_00062593(undefined4 param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}\n\n" comment comment (function_definition "void FUN_00062593(undefined4 param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}" primitive_type (function_declarator "FUN_00062593(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "ssize_t sVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "undefined **ppuVar15;" type_identifier (pointer_declarator "**ppuVar15" * (pointer_declarator "*ppuVar15" * identifier)) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "socklen_t *psVar16;" type_identifier (pointer_declarator "*psVar16" * identifier) ;) (declaration "undefined **ppuVar17;" type_identifier (pointer_declarator "**ppuVar17" * (pointer_declarator "*ppuVar17" * identifier)) ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "byte *pbVar19;" type_identifier (pointer_declarator "*pbVar19" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 uVar20;" type_identifier identifier ;) (declaration "byte bVar21;" type_identifier identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "undefined4 uVar22;" type_identifier identifier ;) (declaration "undefined4 uVar23;" type_identifier identifier ;) (declaration "undefined **ppuVar24;" type_identifier (pointer_declarator "**ppuVar24" * (pointer_declarator "*ppuVar24" * identifier)) ;) (declaration "byte *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "byte *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "undefined1 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined **local_28;" type_identifier (pointer_declarator "**local_28" * (pointer_declarator "*local_28" * identifier)) ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 0" identifier = number_literal) ;) (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 "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = (undefined **)0x0;" (assignment_expression "local_28 = (undefined **)0x0" identifier = (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)FUN_00019b89();" (assignment_expression "puVar5 = (undefined4 *)FUN_00019b89()" identifier = (cast_expression "(undefined4 *)FUN_00019b89()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b89()" identifier (argument_list "()" ( ))))) ;) (expression_statement "ppuVar15 = &PTR_s__var_log_messages_000d0180;" (assignment_expression "ppuVar15 = &PTR_s__var_log_messages_000d0180" identifier = (pointer_expression "&PTR_s__var_log_messages_000d0180" & identifier)) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (for_statement "for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }" for ( (assignment_expression "iVar14 = 0xd" identifier = number_literal) ; (binary_expression "iVar14 != 0" identifier != number_literal) ; (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }" { (expression_statement "*puVar6 = *ppuVar15;" (assignment_expression "*puVar6 = *ppuVar15" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*ppuVar15" * identifier)) ;) (expression_statement "ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;" (assignment_expression "ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "ppuVar15 + (uint)bVar21 * -2 + 1" (binary_expression "ppuVar15 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar6 = puVar6 + (uint)bVar21 * -2 + 1;" (assignment_expression "puVar6 = puVar6 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "puVar6 + (uint)bVar21 * -2 + 1" (binary_expression "puVar6 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "DAT_000d1700 = puVar5;" (assignment_expression "DAT_000d1700 = puVar5" identifier = identifier) ;) (expression_statement "local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);" (assignment_expression "local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" identifier = (cast_expression "(byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" identifier (argument_list "(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" ( identifier , (string_literal ""^m:nO:l:StR:*LC::"" " string_content ") , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_2c" & identifier) , identifier ))))) ;) (if_statement "if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }" if (parenthesized_expression "(local_28 != (undefined **)0x0)" ( (binary_expression "local_28 != (undefined **)0x0" identifier != (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }" { (expression_statement "local_4c = (byte *)(puVar5 + 0xd);" (assignment_expression "local_4c = (byte *)(puVar5 + 0xd)" identifier = (cast_expression "(byte *)(puVar5 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xd)" ( (binary_expression "puVar5 + 0xd" identifier + number_literal) )))) ;) (do_statement "do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);" do (compound_statement "{\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    }" { (expression_statement "puVar6 = (undefined4 *)FUN_00019b89();" (assignment_expression "puVar6 = (undefined4 *)FUN_00019b89()" identifier = (cast_expression "(undefined4 *)FUN_00019b89()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b89()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = FUN_00018d50();" (assignment_expression "uVar7 = FUN_00018d50()" identifier = (call_expression "FUN_00018d50()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar6[3] = uVar7;" (assignment_expression "puVar6[3] = uVar7" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar6 = 0xffffffff;" (assignment_expression "*puVar6 = 0xffffffff" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "iVar14 = FUN_0001b77a();" (assignment_expression "iVar14 = FUN_0001b77a()" identifier = (call_expression "FUN_0001b77a()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar6[1] = iVar14 + -0x79;" (assignment_expression "puVar6[1] = iVar14 + -0x79" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "iVar14 + -0x79" identifier + number_literal)) ;) (expression_statement "FUN_00018d02();" (call_expression "FUN_00018d02()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar15 = local_28;" (assignment_expression "ppuVar15 = local_28" identifier = identifier) ;) }) while (parenthesized_expression "(local_28 != (undefined **)0x0)" ( (binary_expression "local_28 != (undefined **)0x0" identifier != (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) ;) })) (if_statement "if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }" if (parenthesized_expression "(((uint)local_50 & 8) != 0)" ( (binary_expression "((uint)local_50 & 8) != 0" (parenthesized_expression "((uint)local_50 & 8)" ( (binary_expression "(uint)local_50 & 8" (cast_expression "(uint)local_50" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }" { (expression_statement "uVar7 = FUN_000b34e2();" (assignment_expression "uVar7 = FUN_000b34e2()" identifier = (call_expression "FUN_000b34e2()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5[3] = uVar7;" (assignment_expression "puVar5[3] = uVar7" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }" { (expression_statement "iVar14 = FUN_000b34e2();" (assignment_expression "iVar14 = FUN_000b34e2()" identifier = (call_expression "FUN_000b34e2()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5[6] = iVar14 << 10;" (assignment_expression "puVar5[6] = iVar14 << 10" (subscript_expression "puVar5[6]" identifier [ number_literal ]) = (binary_expression "iVar14 << 10" identifier << number_literal)) ;) })) (if_statement "if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }" if (parenthesized_expression "(((uint)local_50 & 0x40) == 0)" ( (binary_expression "((uint)local_50 & 0x40) == 0" (parenthesized_expression "((uint)local_50 & 0x40)" ( (binary_expression "(uint)local_50 & 0x40" (cast_expression "(uint)local_50" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }" { (expression_statement "_DAT_000d171c = _DAT_000d171c | 0x80;" (assignment_expression "_DAT_000d171c = _DAT_000d171c | 0x80" identifier = (binary_expression "_DAT_000d171c | 0x80" identifier | number_literal)) ;) })) (expression_statement "pcVar8 = (char *)FUN_000b17b6();" (assignment_expression "pcVar8 = (char *)FUN_000b17b6()" identifier = (cast_expression "(char *)FUN_000b17b6()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b17b6()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar5[0xf] = pcVar8;" (assignment_expression "puVar5[0xf] = pcVar8" (subscript_expression "puVar5[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar8 = strchrnul(pcVar8,0x2e);" (assignment_expression "pcVar8 = strchrnul(pcVar8,0x2e)" identifier = (call_expression "strchrnul(pcVar8,0x2e)" identifier (argument_list "(pcVar8,0x2e)" ( identifier , number_literal )))) ;) (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }" if (parenthesized_expression "(((uint)local_50 & 2) == 0)" ( (binary_expression "((uint)local_50 & 2) == 0" (parenthesized_expression "((uint)local_50 & 2)" ( (binary_expression "(uint)local_50 & 2" (cast_expression "(uint)local_50" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    FUN_000b2f0a();\n  }" { (expression_statement "FUN_000b2f0a();" (call_expression "FUN_000b2f0a()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000ae0c5();" (call_expression "FUN_000ae0c5()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001b022();" (call_expression "FUN_0001b022()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001b022();" (call_expression "FUN_0001b022()" identifier (argument_list "()" ( ))) ;) (expression_statement "signal(1,(__sighandler_t)0x1);" (call_expression "signal(1,(__sighandler_t)0x1)" identifier (argument_list "(1,(__sighandler_t)0x1)" ( number_literal , (cast_expression "(__sighandler_t)0x1" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal) ))) ;) (expression_statement "FUN_000624ba();" (call_expression "FUN_000624ba()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00019dd8();" (call_expression "FUN_00019dd8()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }" if (parenthesized_expression "((_DAT_000d171c & 0x100) != 0)" ( (binary_expression "(_DAT_000d171c & 0x100) != 0" (parenthesized_expression "(_DAT_000d171c & 0x100)" ( (binary_expression "_DAT_000d171c & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }" { (expression_statement "uVar22 = 0x3a4;" (assignment_expression "uVar22 = 0x3a4" identifier = number_literal) ;) (expression_statement "__size = puVar5[6];" (assignment_expression "__size = puVar5[6]" identifier = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = extraout_ECX;" (assignment_expression "uVar7 = extraout_ECX" identifier = identifier) ;) (expression_statement "iVar14 = shmget(0x414e4547,__size,0x3a4);" (assignment_expression "iVar14 = shmget(0x414e4547,__size,0x3a4)" identifier = (call_expression "shmget(0x414e4547,__size,0x3a4)" identifier (argument_list "(0x414e4547,__size,0x3a4)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "puVar5[4] = iVar14;" (assignment_expression "puVar5[4] = iVar14" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar14 == -1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }" if (parenthesized_expression "(iVar14 == -1)" ( (binary_expression "iVar14 == -1" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }" { comment (expression_statement "FUN_00018e79("shmget",__size,uVar22,uVar7);" (call_expression "FUN_00018e79("shmget",__size,uVar22,uVar7)" identifier (argument_list "("shmget",__size,uVar22,uVar7)" ( (string_literal ""shmget"" " string_content ") , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar23 = 0;" (assignment_expression "uVar23 = 0" identifier = number_literal) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = extraout_EDX;" (assignment_expression "uVar7 = extraout_EDX" identifier = identifier) ;) (expression_statement "puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);" (assignment_expression "puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0)" identifier = (cast_expression "(undefined1 *)shmat(iVar14,(void *)0x0,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "shmat(iVar14,(void *)0x0,0)" identifier (argument_list "(iVar14,(void *)0x0,0)" ( identifier , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))))) ;) (expression_statement "puVar5[0xe] = puVar9;" (assignment_expression "puVar5[0xe] = puVar9" (subscript_expression "puVar5[0xe]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar9 == (undefined1 *)0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }" if (parenthesized_expression "(puVar9 == (undefined1 *)0xffffffff)" ( (binary_expression "puVar9 == (undefined1 *)0xffffffff" identifier == (cast_expression "(undefined1 *)0xffffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }" { comment (expression_statement "FUN_00018e79("shmat",uVar22,uVar23,uVar7);" (call_expression "FUN_00018e79("shmat",uVar22,uVar23,uVar7)" identifier (argument_list "("shmat",uVar22,uVar23,uVar7)" ( (string_literal ""shmat"" " string_content ") , identifier , identifier , identifier ))) ;) })) (for_statement "for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }" for ( (assignment_expression "iVar14 = puVar5[6]" identifier = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ; (binary_expression "iVar14 != 0" identifier != number_literal) ; (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar21 * -2 + 1" (binary_expression "puVar9 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar10 = (undefined1 *)(puVar5[6] + -9);" (assignment_expression "puVar10 = (undefined1 *)(puVar5[6] + -9)" identifier = (cast_expression "(undefined1 *)(puVar5[6] + -9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5[6] + -9)" ( (binary_expression "puVar5[6] + -9" (subscript_expression "puVar5[6]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "*(undefined1 **)puVar5[0xe] = puVar10;" (assignment_expression "*(undefined1 **)puVar5[0xe] = puVar10" (pointer_expression "*(undefined1 **)puVar5[0xe]" * (cast_expression "(undefined1 **)puVar5[0xe]" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar5[0xe]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "uVar22 = 0x7ff;" (assignment_expression "uVar22 = 0x7ff" identifier = number_literal) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (expression_statement "iVar14 = semget(0x414e4547,2,0x7ff);" (assignment_expression "iVar14 = semget(0x414e4547,2,0x7ff)" identifier = (call_expression "semget(0x414e4547,2,0x7ff)" identifier (argument_list "(0x414e4547,2,0x7ff)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar5[5] = iVar14;" (assignment_expression "puVar5[5] = iVar14" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }" if (parenthesized_expression "(iVar14 == -1)" ( (binary_expression "iVar14 == -1" identifier == number_literal) )) (compound_statement "{\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }" { (if_statement "if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }" if (parenthesized_expression "(*DAT_000d16fc == 0x11)" ( (binary_expression "*DAT_000d16fc == 0x11" (pointer_expression "*DAT_000d16fc" * identifier) == number_literal) )) (compound_statement "{\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }" { (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (expression_statement "iVar14 = semget(0x414e4547,2,0);" (assignment_expression "iVar14 = semget(0x414e4547,2,0)" identifier = (call_expression "semget(0x414e4547,2,0)" identifier (argument_list "(0x414e4547,2,0)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar5[5] = iVar14;" (assignment_expression "puVar5[5] = iVar14" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (if_statement "if (iVar14 != -1) goto LAB_000627d4;" if (parenthesized_expression "(iVar14 != -1)" ( (binary_expression "iVar14 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000627d4;" goto statement_identifier ;)) })) comment (expression_statement "FUN_00018e79("semget",uVar7,uVar22,puVar10);" (call_expression "FUN_00018e79("semget",uVar7,uVar22,puVar10)" identifier (argument_list "("semget",uVar7,uVar22,puVar10)" ( (string_literal ""semget"" " string_content ") , identifier , identifier , identifier ))) ;) })) })) (labeled_statement "LAB_000627d4:\n  piVar4 = DAT_000d16fc;" statement_identifier : (expression_statement "piVar4 = DAT_000d16fc;" (assignment_expression "piVar4 = DAT_000d16fc" identifier = identifier) ;)) (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }" if (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" ( (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" ( (binary_expression "_DAT_000d171c & 0x80" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }" { (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar4 = DAT_000d16fc;" (assignment_expression "piVar4 = DAT_000d16fc" identifier = identifier) ;) })) (labeled_statement "LAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;" statement_identifier : (if_statement "if (DAT_000d1724 != '\0') goto LAB_00062846;" if (parenthesized_expression "(DAT_000d1724 != '\0')" ( (binary_expression "DAT_000d1724 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00062846;" goto statement_identifier ;))) (expression_statement "local_50 = (byte *)(puVar5 + 0x10);" (assignment_expression "local_50 = (byte *)(puVar5 + 0x10)" identifier = (cast_expression "(byte *)(puVar5 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x10)" ( (binary_expression "puVar5 + 0x10" identifier + number_literal) )))) ;) (expression_statement "local_4c = local_50;" (assignment_expression "local_4c = local_50" identifier = identifier) ;) (do_statement "do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );" do (compound_statement "{\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  }" { (do_statement "do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);" do (compound_statement "{\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    }" { (expression_statement "uVar7 = 0x3ff;" (assignment_expression "uVar7 = 0x3ff" identifier = number_literal) ;) (expression_statement "ppuVar24 = ppuVar15;" (assignment_expression "ppuVar24 = ppuVar15" identifier = identifier) ;) (expression_statement "iVar14 = read(0,local_50,0x3ff);" (assignment_expression "iVar14 = read(0,local_50,0x3ff)" identifier = (call_expression "read(0,local_50,0x3ff)" identifier (argument_list "(0,local_50,0x3ff)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "uVar20 = iVar14 == 0;" (assignment_expression "uVar20 = iVar14 == 0" identifier = (binary_expression "iVar14 == 0" identifier == number_literal)) ;) (if_statement "if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }" if (parenthesized_expression "(iVar14 < 0)" ( (binary_expression "iVar14 < 0" identifier < number_literal) )) (compound_statement "{\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }" { (if_statement "if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }" if (parenthesized_expression "(DAT_000d1724 == '\0')" ( (binary_expression "DAT_000d1724 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }" { (expression_statement "FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);" (call_expression "FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24)" identifier (argument_list "("read from %s",&DAT_000c95fe,uVar7,ppuVar24)" ( (string_literal ""read from %s"" " string_content ") , (pointer_expression "&DAT_000c95fe" & identifier) , identifier , identifier ))) ;) })) (labeled_statement "LAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }" statement_identifier : (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }" if (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" ( (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" ( (binary_expression "_DAT_000d171c & 0x80" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          FUN_00062098();\n        }" { (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }" if (parenthesized_expression "(DAT_000d1727 != '\0')" ( (binary_expression "DAT_000d1727 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          unlink("/var/run/syslogd.pid");\n        }" { (expression_statement "unlink("/var/run/syslogd.pid");" (call_expression "unlink("/var/run/syslogd.pid")" identifier (argument_list "("/var/run/syslogd.pid")" ( (string_literal ""/var/run/syslogd.pid"" " string_content ") ))) ;) })) (if_statement "if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }" if (parenthesized_expression "(puVar5[4] != -1)" ( (binary_expression "puVar5[4] != -1" (subscript_expression "puVar5[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }" { (expression_statement "shmdt((void *)puVar5[0xe]);" (call_expression "shmdt((void *)puVar5[0xe])" identifier (argument_list "((void *)puVar5[0xe])" ( (cast_expression "(void *)puVar5[0xe]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[0xe]" identifier [ number_literal ])) ))) ;) (if_statement "if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }" if (parenthesized_expression "(puVar5[4] != -1)" ( (binary_expression "puVar5[4] != -1" (subscript_expression "puVar5[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }" { (expression_statement "shmctl(puVar5[4],0,(shmid_ds *)0x0);" (call_expression "shmctl(puVar5[4],0,(shmid_ds *)0x0)" identifier (argument_list "(puVar5[4],0,(shmid_ds *)0x0)" ( (subscript_expression "puVar5[4]" identifier [ number_literal ]) , number_literal , (cast_expression "(shmid_ds *)0x0" ( (type_descriptor "shmid_ds *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) })) (expression_statement "iVar14 = puVar5[5];" (assignment_expression "iVar14 = puVar5[5]" identifier = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (if_statement "if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }" if (parenthesized_expression "(iVar14 != -1)" ( (binary_expression "iVar14 != -1" identifier != number_literal) )) (compound_statement "{\n          semctl(iVar14,0,0,0);\n        }" { (expression_statement "semctl(iVar14,0,0,0);" (call_expression "semctl(iVar14,0,0,0)" identifier (argument_list "(iVar14,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) })) (expression_statement "uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;" (assignment_expression "uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c" identifier = (binary_expression "iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c" (binary_expression "iVar14 == -1" identifier == number_literal) || (binary_expression "&stack0x00000000 == (undefined1 *)0x5c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x5c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ;) (expression_statement "iVar14 = FUN_0001af7d();" (assignment_expression "iVar14 = FUN_0001af7d()" identifier = (call_expression "FUN_0001af7d()" identifier (argument_list "()" ( )))) ;) })) }) while (parenthesized_expression "((bool)uVar20)" ( (cast_expression "(bool)uVar20" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);" (assignment_expression "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f)" identifier = (pointer_expression "*(char *)((int)puVar5 + iVar14 + 0x3f)" * (cast_expression "(char *)((int)puVar5 + iVar14 + 0x3f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x3f)" ( (binary_expression "(int)puVar5 + iVar14 + 0x3f" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (while_statement "while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }" { (if_statement "if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }" if (parenthesized_expression "((cVar1 != '\0') && (cVar1 != '\n'))" ( (binary_expression "(cVar1 != '\0') && (cVar1 != '\n')" (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(cVar1 != '\n')" ( (binary_expression "cVar1 != '\n'" identifier != (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }" { (expression_statement "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;" (assignment_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10" (pointer_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40)" * (cast_expression "(undefined1 *)((int)puVar5 + iVar14 + 0x40)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x40)" ( (binary_expression "(int)puVar5 + iVar14 + 0x40" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "piVar18 = (int *)puVar5[0xd];" (assignment_expression "piVar18 = (int *)puVar5[0xd]" identifier = (cast_expression "(int *)puVar5[0xd]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[0xd]" identifier [ number_literal ]))) ;) (if_statement "if (piVar18 == (int *)0x0) goto LAB_0006293e;" if (parenthesized_expression "(piVar18 == (int *)0x0)" ( (binary_expression "piVar18 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0006293e;" goto statement_identifier ;)) (goto_statement "goto LAB_00062902;" goto statement_identifier ;) })) (if_statement "if (iVar14 + -1 == 0) break;" if (parenthesized_expression "(iVar14 + -1 == 0)" ( (binary_expression "iVar14 + -1 == 0" (binary_expression "iVar14 + -1" identifier + number_literal) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);" (assignment_expression "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e)" identifier = (pointer_expression "*(char *)((int)puVar5 + iVar14 + 0x3e)" * (cast_expression "(char *)((int)puVar5 + iVar14 + 0x3e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x3e)" ( (binary_expression "(int)puVar5 + iVar14 + 0x3e" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "LAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);" statement_identifier : (do_statement "do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);" do (compound_statement "{\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  }" { (expression_statement "ppuVar15 = (undefined **)piVar18[1];" (assignment_expression "ppuVar15 = (undefined **)piVar18[1]" identifier = (cast_expression "(undefined **)piVar18[1]" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "piVar18[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar11 = *ppuVar15;" (assignment_expression "puVar11 = *ppuVar15" identifier = (pointer_expression "*ppuVar15" * identifier)) ;) (expression_statement "psVar16 = (socklen_t *)ppuVar15[2];" (assignment_expression "psVar16 = (socklen_t *)ppuVar15[2]" identifier = (cast_expression "(socklen_t *)ppuVar15[2]" ( (type_descriptor "socklen_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar15[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" if (parenthesized_expression "(puVar11 == (undefined *)0xffffffff)" ( (binary_expression "puVar11 == (undefined *)0xffffffff" identifier == (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }" { (if_statement "if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" if (parenthesized_expression "(psVar16 == (socklen_t *)0x0)" ( (binary_expression "psVar16 == (socklen_t *)0x0" identifier == (cast_expression "(socklen_t *)0x0" ( (type_descriptor "socklen_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }" { (expression_statement "puVar11 = (undefined *)FUN_0001b77a();" (assignment_expression "puVar11 = (undefined *)FUN_0001b77a()" identifier = (cast_expression "(undefined *)FUN_0001b77a()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001b77a()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }" if (parenthesized_expression "(0x77 < (uint)((int)puVar11 - (int)ppuVar15[1]))" ( (binary_expression "0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])" number_literal < (call_expression "(uint)((int)puVar11 - (int)ppuVar15[1])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar11 - (int)ppuVar15[1])" ( (binary_expression "(int)puVar11 - (int)ppuVar15[1]" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)ppuVar15[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "ppuVar15[1]" identifier [ number_literal ]))) )))) )) (compound_statement "{\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }" { (expression_statement "ppuVar15[1] = puVar11;" (assignment_expression "ppuVar15[1] = puVar11" (subscript_expression "ppuVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11 = (undefined *)FUN_000b3dd0();" (assignment_expression "puVar11 = (undefined *)FUN_000b3dd0()" identifier = (cast_expression "(undefined *)FUN_000b3dd0()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b3dd0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "ppuVar15[2] = puVar11;" (assignment_expression "ppuVar15[2] = puVar11" (subscript_expression "ppuVar15[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;" if (parenthesized_expression "(puVar11 != (undefined *)0x0)" ( (binary_expression "puVar11 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00062a5f;" goto statement_identifier ;)) })) (expression_statement "*ppuVar15 = (undefined *)0xffffffff;" (assignment_expression "*ppuVar15 = (undefined *)0xffffffff" (pointer_expression "*ppuVar15" * identifier) = (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" else (compound_statement "{\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" { (labeled_statement "LAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();" statement_identifier : (expression_statement "puVar11 = (undefined *)FUN_0001a291();" (assignment_expression "puVar11 = (undefined *)FUN_0001a291()" identifier = (cast_expression "(undefined *)FUN_0001a291()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a291()" identifier (argument_list "()" ( ))))) ;)) (expression_statement "*ppuVar15 = puVar11;" (assignment_expression "*ppuVar15 = puVar11" (pointer_expression "*ppuVar15" * identifier) = identifier) ;) (if_statement "if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }" if (parenthesized_expression "(puVar11 != (undefined *)0xffffffff)" ( (binary_expression "puVar11 != (undefined *)0xffffffff" identifier != (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }" { (expression_statement "psVar16 = (socklen_t *)ppuVar15[2];" (assignment_expression "psVar16 = (socklen_t *)ppuVar15[2]" identifier = (cast_expression "(socklen_t *)ppuVar15[2]" ( (type_descriptor "socklen_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar15[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_00062a7d;" goto statement_identifier ;) })) }))) }) (else_clause "else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" else (compound_statement "{\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" { (labeled_statement "LAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);" statement_identifier : (expression_statement "sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);" (assignment_expression "sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" identifier = (call_expression "sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" identifier (argument_list "((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" ( (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (binary_expression "iVar14 + 1" identifier + number_literal) , number_literal , (cast_expression "(sockaddr *)(psVar16 + 1)" ( (type_descriptor "sockaddr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar16 + 1)" ( (binary_expression "psVar16 + 1" identifier + number_literal) ))) , (pointer_expression "*psVar16" * identifier) )))) ;)) (if_statement "if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }" if (parenthesized_expression "((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20))))" ( (binary_expression "(sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))" (parenthesized_expression "(sVar13 == -1)" ( (binary_expression "sVar13 == -1" identifier == number_literal) )) && (parenthesized_expression "(((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))" ( (parenthesized_expression "((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20))" ( (binary_expression "(iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)" (parenthesized_expression "(iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b))" ( (comma_expression "iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) , (binary_expression "iVar2 == 0x68 || (iVar2 == 0x6b)" (binary_expression "iVar2 == 0x68" identifier == number_literal) || (parenthesized_expression "(iVar2 == 0x6b)" ( (binary_expression "iVar2 == 0x6b" identifier == number_literal) )))) )) || (parenthesized_expression "(iVar2 == 0x20)" ( (binary_expression "iVar2 == 0x20" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }" { (expression_statement "close((int)*ppuVar15);" (call_expression "close((int)*ppuVar15)" identifier (argument_list "((int)*ppuVar15)" ( (cast_expression "(int)*ppuVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar15" * identifier)) ))) ;) (expression_statement "*ppuVar15 = (undefined *)0xffffffff;" (assignment_expression "*ppuVar15 = (undefined *)0xffffffff" (pointer_expression "*ppuVar15" * identifier) = (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "free(ppuVar15[2]);" (call_expression "free(ppuVar15[2])" identifier (argument_list "(ppuVar15[2])" ( (subscript_expression "ppuVar15[2]" identifier [ number_literal ]) ))) ;) (expression_statement "ppuVar15[2] = (undefined *)0x0;" (assignment_expression "ppuVar15[2] = (undefined *)0x0" (subscript_expression "ppuVar15[2]" identifier [ number_literal ]) = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar18 = (int *)*piVar18;" (assignment_expression "piVar18 = (int *)*piVar18" identifier = (cast_expression "(int *)*piVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar18" * identifier))) ;) (if_statement "if (piVar18 == (int *)0x0) break;" if (parenthesized_expression "(piVar18 == (int *)0x0)" ( (binary_expression "piVar18 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00062902;" goto statement_identifier ;) })) }))) (expression_statement "piVar18 = (int *)*piVar18;" (assignment_expression "piVar18 = (int *)*piVar18" identifier = (cast_expression "(int *)*piVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar18" * identifier))) ;) }) while (parenthesized_expression "(piVar18 != (int *)0x0)" ( (binary_expression "piVar18 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) (labeled_statement "LAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" statement_identifier : (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" if (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" ( (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" ( (binary_expression "_DAT_000d171c & 0x80" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" { (expression_statement "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;" (assignment_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0" (pointer_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40)" * (cast_expression "(undefined1 *)((int)puVar5 + iVar14 + 0x40)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x40)" ( (binary_expression "(int)puVar5 + iVar14 + 0x40" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "local_24 = local_50;" (assignment_expression "local_24 = local_50" identifier = identifier) ;) (expression_statement "pbVar19 = local_50 + iVar14;" (assignment_expression "pbVar19 = local_50 + iVar14" identifier = (binary_expression "local_50 + iVar14" identifier + identifier)) ;) (expression_statement "bVar3 = local_50 < pbVar19;" (assignment_expression "bVar3 = local_50 < pbVar19" identifier = (binary_expression "local_50 < pbVar19" identifier < identifier)) ;) (expression_statement "local_50 = pbVar19;" (assignment_expression "local_50 = pbVar19" identifier = identifier) ;) (if_statement "if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }" { (expression_statement "pbVar12 = local_4c;" (assignment_expression "pbVar12 = local_4c" identifier = identifier) ;) (do_statement "do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);" do (compound_statement "{\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      }" { (if_statement "if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }" if (parenthesized_expression "(*pbVar12 == 0x3c)" ( (binary_expression "*pbVar12 == 0x3c" (pointer_expression "*pbVar12" * identifier) == number_literal) )) (compound_statement "{\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }" { (expression_statement "pbVar12 = (byte *)FUN_0001b930();" (assignment_expression "pbVar12 = (byte *)FUN_0001b930()" identifier = (cast_expression "(byte *)FUN_0001b930()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001b930()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }" if (parenthesized_expression "(*local_24 == 0x3e)" ( (binary_expression "*local_24 == 0x3e" (pointer_expression "*local_24" * identifier) == number_literal) )) (compound_statement "{\n            local_24 = local_24 + 1;\n          }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) })) (if_statement "if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }" if (parenthesized_expression "(((uint)pbVar12 & 0xfffffc00) != 0)" ( (binary_expression "((uint)pbVar12 & 0xfffffc00) != 0" (parenthesized_expression "((uint)pbVar12 & 0xfffffc00)" ( (binary_expression "(uint)pbVar12 & 0xfffffc00" (cast_expression "(uint)pbVar12" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n            pbVar12 = (byte *)0xd;\n          }" { (expression_statement "pbVar12 = (byte *)0xd;" (assignment_expression "pbVar12 = (byte *)0xd" identifier = (cast_expression "(byte *)0xd" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }) (else_clause "else {\n          pbVar12 = (byte *)0xd;\n        }" else (compound_statement "{\n          pbVar12 = (byte *)0xd;\n        }" { (expression_statement "pbVar12 = (byte *)0xd;" (assignment_expression "pbVar12 = (byte *)0xd" identifier = (cast_expression "(byte *)0xd" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "bVar21 = *local_24;" (assignment_expression "bVar21 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "ppuVar15 = (undefined **)(puVar5 + 0x110);" (assignment_expression "ppuVar15 = (undefined **)(puVar5 + 0x110)" identifier = (cast_expression "(undefined **)(puVar5 + 0x110)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x110)" ( (binary_expression "puVar5 + 0x110" identifier + number_literal) )))) ;) (while_statement "while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }" while (parenthesized_expression "(local_24 = local_24 + 1, bVar21 != 0)" ( (comma_expression "local_24 = local_24 + 1, bVar21 != 0" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) , (binary_expression "bVar21 != 0" identifier != number_literal)) )) (compound_statement "{\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }" { (expression_statement "ppuVar24 = (undefined **)((int)ppuVar15 + 1);" (assignment_expression "ppuVar24 = (undefined **)((int)ppuVar15 + 1)" identifier = (cast_expression "(undefined **)((int)ppuVar15 + 1)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar15 + 1)" ( (binary_expression "(int)ppuVar15 + 1" (cast_expression "(int)ppuVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "ppuVar17 = ppuVar24;" (assignment_expression "ppuVar17 = ppuVar24" identifier = identifier) ;) (if_statement "if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" if (parenthesized_expression "(bVar21 == 10)" ( (binary_expression "bVar21 == 10" identifier == number_literal) )) (compound_statement "{\n            bVar21 = 0x20;\n          }" { (expression_statement "bVar21 = 0x20;" (assignment_expression "bVar21 = 0x20" identifier = number_literal) ;) }) (else_clause "else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" else (if_statement "if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" if (parenthesized_expression "(((bVar21 & 0xe0) == 0) && (bVar21 != 9))" ( (binary_expression "((bVar21 & 0xe0) == 0) && (bVar21 != 9)" (parenthesized_expression "((bVar21 & 0xe0) == 0)" ( (binary_expression "(bVar21 & 0xe0) == 0" (parenthesized_expression "(bVar21 & 0xe0)" ( (binary_expression "bVar21 & 0xe0" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(bVar21 != 9)" ( (binary_expression "bVar21 != 9" identifier != number_literal) ))) )) (compound_statement "{\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" { (expression_statement "*(undefined1 *)ppuVar15 = 0x5e;" (assignment_expression "*(undefined1 *)ppuVar15 = 0x5e" (pointer_expression "*(undefined1 *)ppuVar15" * (cast_expression "(undefined1 *)ppuVar15" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "bVar21 = bVar21 + 0x40;" (assignment_expression "bVar21 = bVar21 + 0x40" identifier = (binary_expression "bVar21 + 0x40" identifier + number_literal)) ;) (expression_statement "ppuVar17 = (undefined **)((int)ppuVar15 + 2);" (assignment_expression "ppuVar17 = (undefined **)((int)ppuVar15 + 2)" identifier = (cast_expression "(undefined **)((int)ppuVar15 + 2)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar15 + 2)" ( (binary_expression "(int)ppuVar15 + 2" (cast_expression "(int)ppuVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "ppuVar15 = ppuVar24;" (assignment_expression "ppuVar15 = ppuVar24" identifier = identifier) ;) })))) (expression_statement "*(byte *)ppuVar15 = bVar21;" (assignment_expression "*(byte *)ppuVar15 = bVar21" (pointer_expression "*(byte *)ppuVar15" * (cast_expression "(byte *)ppuVar15" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "ppuVar15 = ppuVar17;" (assignment_expression "ppuVar15 = ppuVar17" identifier = identifier) ;) (expression_statement "local_4c = pbVar12;" (assignment_expression "local_4c = pbVar12" identifier = identifier) ;) (expression_statement "bVar21 = *local_24;" (assignment_expression "bVar21 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) })) (expression_statement "*(undefined1 *)ppuVar15 = 0;" (assignment_expression "*(undefined1 *)ppuVar15 = 0" (pointer_expression "*(undefined1 *)ppuVar15" * (cast_expression "(undefined1 *)ppuVar15" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar12 = local_24;" (assignment_expression "pbVar12 = local_24" identifier = identifier) ;) }) while (parenthesized_expression "(local_24 < pbVar19)" ( (binary_expression "local_24 < pbVar19" identifier < identifier) )) ;) })) }))) (goto_statement "goto LAB_000627f4;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint syslogd_main(int argc,char **argv)\n\n{\n  char *opt_m;\n  char *opt_l;\n  char *opt_C;\n  llist_t *remoteAddrList;\n  char *p;\n  \n}\n\n" comment comment (function_definition "int syslogd_main(int argc,char **argv)\n\n{\n  char *opt_m;\n  char *opt_l;\n  char *opt_C;\n  llist_t *remoteAddrList;\n  char *p;\n  \n}" primitive_type (function_declarator "syslogd_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  char *opt_m;\n  char *opt_l;\n  char *opt_C;\n  llist_t *remoteAddrList;\n  char *p;\n  \n}" { (declaration "char *opt_m;" primitive_type (pointer_declarator "*opt_m" * identifier) ;) (declaration "char *opt_l;" primitive_type (pointer_declarator "*opt_l" * identifier) ;) (declaration "char *opt_C;" primitive_type (pointer_declarator "*opt_C" * identifier) ;) (declaration "llist_t *remoteAddrList;" type_identifier (pointer_declarator "*remoteAddrList" * identifier) ;) (declaration "char *p;" primitive_type (pointer_declarator "*p" * identifier) ;) })))
(translation_unit "void FUN_00062593(undefined4 param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}\n\n" (function_definition "void FUN_00062593(undefined4 param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}" primitive_type (function_declarator "FUN_00062593(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "ssize_t sVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "undefined **ppuVar15;" type_identifier (pointer_declarator "**ppuVar15" * (pointer_declarator "*ppuVar15" * identifier)) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "socklen_t *psVar16;" type_identifier (pointer_declarator "*psVar16" * identifier) ;) (declaration "undefined **ppuVar17;" type_identifier (pointer_declarator "**ppuVar17" * (pointer_declarator "*ppuVar17" * identifier)) ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "byte *pbVar19;" type_identifier (pointer_declarator "*pbVar19" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 uVar20;" type_identifier identifier ;) (declaration "byte bVar21;" type_identifier identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "undefined4 uVar22;" type_identifier identifier ;) (declaration "undefined4 uVar23;" type_identifier identifier ;) (declaration "undefined **ppuVar24;" type_identifier (pointer_declarator "**ppuVar24" * (pointer_declarator "*ppuVar24" * identifier)) ;) (declaration "byte *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "byte *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "undefined1 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined **local_28;" type_identifier (pointer_declarator "**local_28" * (pointer_declarator "*local_28" * identifier)) ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 0" identifier = number_literal) ;) (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 "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = (undefined **)0x0;" (assignment_expression "local_28 = (undefined **)0x0" identifier = (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)FUN_00019b89();" (assignment_expression "puVar5 = (undefined4 *)FUN_00019b89()" identifier = (cast_expression "(undefined4 *)FUN_00019b89()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b89()" identifier (argument_list "()" ( ))))) ;) (expression_statement "ppuVar15 = &PTR_s__var_log_messages_000d0180;" (assignment_expression "ppuVar15 = &PTR_s__var_log_messages_000d0180" identifier = (pointer_expression "&PTR_s__var_log_messages_000d0180" & identifier)) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (for_statement "for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }" for ( (assignment_expression "iVar14 = 0xd" identifier = number_literal) ; (binary_expression "iVar14 != 0" identifier != number_literal) ; (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }" { (expression_statement "*puVar6 = *ppuVar15;" (assignment_expression "*puVar6 = *ppuVar15" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*ppuVar15" * identifier)) ;) (expression_statement "ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;" (assignment_expression "ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "ppuVar15 + (uint)bVar21 * -2 + 1" (binary_expression "ppuVar15 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar6 = puVar6 + (uint)bVar21 * -2 + 1;" (assignment_expression "puVar6 = puVar6 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "puVar6 + (uint)bVar21 * -2 + 1" (binary_expression "puVar6 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "DAT_000d1700 = puVar5;" (assignment_expression "DAT_000d1700 = puVar5" identifier = identifier) ;) (expression_statement "local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);" (assignment_expression "local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" identifier = (cast_expression "(byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" identifier (argument_list "(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" ( identifier , (string_literal ""^m:nO:l:StR:*LC::"" " string_content ") , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_2c" & identifier) , identifier ))))) ;) (if_statement "if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }" if (parenthesized_expression "(local_28 != (undefined **)0x0)" ( (binary_expression "local_28 != (undefined **)0x0" identifier != (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }" { (expression_statement "local_4c = (byte *)(puVar5 + 0xd);" (assignment_expression "local_4c = (byte *)(puVar5 + 0xd)" identifier = (cast_expression "(byte *)(puVar5 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xd)" ( (binary_expression "puVar5 + 0xd" identifier + number_literal) )))) ;) (do_statement "do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);" do (compound_statement "{\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    }" { (expression_statement "puVar6 = (undefined4 *)FUN_00019b89();" (assignment_expression "puVar6 = (undefined4 *)FUN_00019b89()" identifier = (cast_expression "(undefined4 *)FUN_00019b89()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b89()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = FUN_00018d50();" (assignment_expression "uVar7 = FUN_00018d50()" identifier = (call_expression "FUN_00018d50()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar6[3] = uVar7;" (assignment_expression "puVar6[3] = uVar7" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar6 = 0xffffffff;" (assignment_expression "*puVar6 = 0xffffffff" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "iVar14 = FUN_0001b77a();" (assignment_expression "iVar14 = FUN_0001b77a()" identifier = (call_expression "FUN_0001b77a()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar6[1] = iVar14 + -0x79;" (assignment_expression "puVar6[1] = iVar14 + -0x79" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "iVar14 + -0x79" identifier + number_literal)) ;) (expression_statement "FUN_00018d02();" (call_expression "FUN_00018d02()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar15 = local_28;" (assignment_expression "ppuVar15 = local_28" identifier = identifier) ;) }) while (parenthesized_expression "(local_28 != (undefined **)0x0)" ( (binary_expression "local_28 != (undefined **)0x0" identifier != (cast_expression "(undefined **)0x0" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) ;) })) (if_statement "if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }" if (parenthesized_expression "(((uint)local_50 & 8) != 0)" ( (binary_expression "((uint)local_50 & 8) != 0" (parenthesized_expression "((uint)local_50 & 8)" ( (binary_expression "(uint)local_50 & 8" (cast_expression "(uint)local_50" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }" { (expression_statement "uVar7 = FUN_000b34e2();" (assignment_expression "uVar7 = FUN_000b34e2()" identifier = (call_expression "FUN_000b34e2()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5[3] = uVar7;" (assignment_expression "puVar5[3] = uVar7" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }" { (expression_statement "iVar14 = FUN_000b34e2();" (assignment_expression "iVar14 = FUN_000b34e2()" identifier = (call_expression "FUN_000b34e2()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5[6] = iVar14 << 10;" (assignment_expression "puVar5[6] = iVar14 << 10" (subscript_expression "puVar5[6]" identifier [ number_literal ]) = (binary_expression "iVar14 << 10" identifier << number_literal)) ;) })) (if_statement "if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }" if (parenthesized_expression "(((uint)local_50 & 0x40) == 0)" ( (binary_expression "((uint)local_50 & 0x40) == 0" (parenthesized_expression "((uint)local_50 & 0x40)" ( (binary_expression "(uint)local_50 & 0x40" (cast_expression "(uint)local_50" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }" { (expression_statement "_DAT_000d171c = _DAT_000d171c | 0x80;" (assignment_expression "_DAT_000d171c = _DAT_000d171c | 0x80" identifier = (binary_expression "_DAT_000d171c | 0x80" identifier | number_literal)) ;) })) (expression_statement "pcVar8 = (char *)FUN_000b17b6();" (assignment_expression "pcVar8 = (char *)FUN_000b17b6()" identifier = (cast_expression "(char *)FUN_000b17b6()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b17b6()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar5[0xf] = pcVar8;" (assignment_expression "puVar5[0xf] = pcVar8" (subscript_expression "puVar5[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar8 = strchrnul(pcVar8,0x2e);" (assignment_expression "pcVar8 = strchrnul(pcVar8,0x2e)" identifier = (call_expression "strchrnul(pcVar8,0x2e)" identifier (argument_list "(pcVar8,0x2e)" ( identifier , number_literal )))) ;) (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }" if (parenthesized_expression "(((uint)local_50 & 2) == 0)" ( (binary_expression "((uint)local_50 & 2) == 0" (parenthesized_expression "((uint)local_50 & 2)" ( (binary_expression "(uint)local_50 & 2" (cast_expression "(uint)local_50" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    FUN_000b2f0a();\n  }" { (expression_statement "FUN_000b2f0a();" (call_expression "FUN_000b2f0a()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000ae0c5();" (call_expression "FUN_000ae0c5()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001b022();" (call_expression "FUN_0001b022()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001b022();" (call_expression "FUN_0001b022()" identifier (argument_list "()" ( ))) ;) (expression_statement "signal(1,(__sighandler_t)0x1);" (call_expression "signal(1,(__sighandler_t)0x1)" identifier (argument_list "(1,(__sighandler_t)0x1)" ( number_literal , (cast_expression "(__sighandler_t)0x1" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal) ))) ;) (expression_statement "FUN_000624ba();" (call_expression "FUN_000624ba()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00019dd8();" (call_expression "FUN_00019dd8()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }" if (parenthesized_expression "((_DAT_000d171c & 0x100) != 0)" ( (binary_expression "(_DAT_000d171c & 0x100) != 0" (parenthesized_expression "(_DAT_000d171c & 0x100)" ( (binary_expression "_DAT_000d171c & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }" { (expression_statement "uVar22 = 0x3a4;" (assignment_expression "uVar22 = 0x3a4" identifier = number_literal) ;) (expression_statement "__size = puVar5[6];" (assignment_expression "__size = puVar5[6]" identifier = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = extraout_ECX;" (assignment_expression "uVar7 = extraout_ECX" identifier = identifier) ;) (expression_statement "iVar14 = shmget(0x414e4547,__size,0x3a4);" (assignment_expression "iVar14 = shmget(0x414e4547,__size,0x3a4)" identifier = (call_expression "shmget(0x414e4547,__size,0x3a4)" identifier (argument_list "(0x414e4547,__size,0x3a4)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "puVar5[4] = iVar14;" (assignment_expression "puVar5[4] = iVar14" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }" if (parenthesized_expression "(iVar14 == -1)" ( (binary_expression "iVar14 == -1" identifier == number_literal) )) (compound_statement "{\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }" { (expression_statement "FUN_00018e79("shmget",__size,uVar22,uVar7);" (call_expression "FUN_00018e79("shmget",__size,uVar22,uVar7)" identifier (argument_list "("shmget",__size,uVar22,uVar7)" ( (string_literal ""shmget"" " string_content ") , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar23 = 0;" (assignment_expression "uVar23 = 0" identifier = number_literal) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = extraout_EDX;" (assignment_expression "uVar7 = extraout_EDX" identifier = identifier) ;) (expression_statement "puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);" (assignment_expression "puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0)" identifier = (cast_expression "(undefined1 *)shmat(iVar14,(void *)0x0,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "shmat(iVar14,(void *)0x0,0)" identifier (argument_list "(iVar14,(void *)0x0,0)" ( identifier , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))))) ;) (expression_statement "puVar5[0xe] = puVar9;" (assignment_expression "puVar5[0xe] = puVar9" (subscript_expression "puVar5[0xe]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }" if (parenthesized_expression "(puVar9 == (undefined1 *)0xffffffff)" ( (binary_expression "puVar9 == (undefined1 *)0xffffffff" identifier == (cast_expression "(undefined1 *)0xffffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }" { (expression_statement "FUN_00018e79("shmat",uVar22,uVar23,uVar7);" (call_expression "FUN_00018e79("shmat",uVar22,uVar23,uVar7)" identifier (argument_list "("shmat",uVar22,uVar23,uVar7)" ( (string_literal ""shmat"" " string_content ") , identifier , identifier , identifier ))) ;) })) (for_statement "for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }" for ( (assignment_expression "iVar14 = puVar5[6]" identifier = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ; (binary_expression "iVar14 != 0" identifier != number_literal) ; (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar21 * -2 + 1" (binary_expression "puVar9 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar10 = (undefined1 *)(puVar5[6] + -9);" (assignment_expression "puVar10 = (undefined1 *)(puVar5[6] + -9)" identifier = (cast_expression "(undefined1 *)(puVar5[6] + -9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5[6] + -9)" ( (binary_expression "puVar5[6] + -9" (subscript_expression "puVar5[6]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "*(undefined1 **)puVar5[0xe] = puVar10;" (assignment_expression "*(undefined1 **)puVar5[0xe] = puVar10" (pointer_expression "*(undefined1 **)puVar5[0xe]" * (cast_expression "(undefined1 **)puVar5[0xe]" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar5[0xe]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "uVar22 = 0x7ff;" (assignment_expression "uVar22 = 0x7ff" identifier = number_literal) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (expression_statement "iVar14 = semget(0x414e4547,2,0x7ff);" (assignment_expression "iVar14 = semget(0x414e4547,2,0x7ff)" identifier = (call_expression "semget(0x414e4547,2,0x7ff)" identifier (argument_list "(0x414e4547,2,0x7ff)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar5[5] = iVar14;" (assignment_expression "puVar5[5] = iVar14" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }" if (parenthesized_expression "(iVar14 == -1)" ( (binary_expression "iVar14 == -1" identifier == number_literal) )) (compound_statement "{\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }" { (if_statement "if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }" if (parenthesized_expression "(*DAT_000d16fc == 0x11)" ( (binary_expression "*DAT_000d16fc == 0x11" (pointer_expression "*DAT_000d16fc" * identifier) == number_literal) )) (compound_statement "{\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }" { (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (expression_statement "iVar14 = semget(0x414e4547,2,0);" (assignment_expression "iVar14 = semget(0x414e4547,2,0)" identifier = (call_expression "semget(0x414e4547,2,0)" identifier (argument_list "(0x414e4547,2,0)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar5[5] = iVar14;" (assignment_expression "puVar5[5] = iVar14" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (if_statement "if (iVar14 != -1) goto LAB_000627d4;" if (parenthesized_expression "(iVar14 != -1)" ( (binary_expression "iVar14 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000627d4;" goto statement_identifier ;)) })) (expression_statement "FUN_00018e79("semget",uVar7,uVar22,puVar10);" (call_expression "FUN_00018e79("semget",uVar7,uVar22,puVar10)" identifier (argument_list "("semget",uVar7,uVar22,puVar10)" ( (string_literal ""semget"" " string_content ") , identifier , identifier , identifier ))) ;) })) })) (labeled_statement "LAB_000627d4:\n  piVar4 = DAT_000d16fc;" statement_identifier : (expression_statement "piVar4 = DAT_000d16fc;" (assignment_expression "piVar4 = DAT_000d16fc" identifier = identifier) ;)) (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }" if (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" ( (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" ( (binary_expression "_DAT_000d171c & 0x80" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }" { (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar4 = DAT_000d16fc;" (assignment_expression "piVar4 = DAT_000d16fc" identifier = identifier) ;) })) (labeled_statement "LAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;" statement_identifier : (if_statement "if (DAT_000d1724 != '\0') goto LAB_00062846;" if (parenthesized_expression "(DAT_000d1724 != '\0')" ( (binary_expression "DAT_000d1724 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00062846;" goto statement_identifier ;))) (expression_statement "local_50 = (byte *)(puVar5 + 0x10);" (assignment_expression "local_50 = (byte *)(puVar5 + 0x10)" identifier = (cast_expression "(byte *)(puVar5 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x10)" ( (binary_expression "puVar5 + 0x10" identifier + number_literal) )))) ;) (expression_statement "local_4c = local_50;" (assignment_expression "local_4c = local_50" identifier = identifier) ;) (do_statement "do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );" do (compound_statement "{\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  }" { (do_statement "do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);" do (compound_statement "{\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    }" { (expression_statement "uVar7 = 0x3ff;" (assignment_expression "uVar7 = 0x3ff" identifier = number_literal) ;) (expression_statement "ppuVar24 = ppuVar15;" (assignment_expression "ppuVar24 = ppuVar15" identifier = identifier) ;) (expression_statement "iVar14 = read(0,local_50,0x3ff);" (assignment_expression "iVar14 = read(0,local_50,0x3ff)" identifier = (call_expression "read(0,local_50,0x3ff)" identifier (argument_list "(0,local_50,0x3ff)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "uVar20 = iVar14 == 0;" (assignment_expression "uVar20 = iVar14 == 0" identifier = (binary_expression "iVar14 == 0" identifier == number_literal)) ;) (if_statement "if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }" if (parenthesized_expression "(iVar14 < 0)" ( (binary_expression "iVar14 < 0" identifier < number_literal) )) (compound_statement "{\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }" { (if_statement "if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }" if (parenthesized_expression "(DAT_000d1724 == '\0')" ( (binary_expression "DAT_000d1724 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }" { (expression_statement "FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);" (call_expression "FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24)" identifier (argument_list "("read from %s",&DAT_000c95fe,uVar7,ppuVar24)" ( (string_literal ""read from %s"" " string_content ") , (pointer_expression "&DAT_000c95fe" & identifier) , identifier , identifier ))) ;) })) (labeled_statement "LAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }" statement_identifier : (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }" if (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" ( (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" ( (binary_expression "_DAT_000d171c & 0x80" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          FUN_00062098();\n        }" { (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }" if (parenthesized_expression "(DAT_000d1727 != '\0')" ( (binary_expression "DAT_000d1727 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          unlink("/var/run/syslogd.pid");\n        }" { (expression_statement "unlink("/var/run/syslogd.pid");" (call_expression "unlink("/var/run/syslogd.pid")" identifier (argument_list "("/var/run/syslogd.pid")" ( (string_literal ""/var/run/syslogd.pid"" " string_content ") ))) ;) })) (if_statement "if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }" if (parenthesized_expression "(puVar5[4] != -1)" ( (binary_expression "puVar5[4] != -1" (subscript_expression "puVar5[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }" { (expression_statement "shmdt((void *)puVar5[0xe]);" (call_expression "shmdt((void *)puVar5[0xe])" identifier (argument_list "((void *)puVar5[0xe])" ( (cast_expression "(void *)puVar5[0xe]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[0xe]" identifier [ number_literal ])) ))) ;) (if_statement "if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }" if (parenthesized_expression "(puVar5[4] != -1)" ( (binary_expression "puVar5[4] != -1" (subscript_expression "puVar5[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }" { (expression_statement "shmctl(puVar5[4],0,(shmid_ds *)0x0);" (call_expression "shmctl(puVar5[4],0,(shmid_ds *)0x0)" identifier (argument_list "(puVar5[4],0,(shmid_ds *)0x0)" ( (subscript_expression "puVar5[4]" identifier [ number_literal ]) , number_literal , (cast_expression "(shmid_ds *)0x0" ( (type_descriptor "shmid_ds *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) })) (expression_statement "iVar14 = puVar5[5];" (assignment_expression "iVar14 = puVar5[5]" identifier = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (if_statement "if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }" if (parenthesized_expression "(iVar14 != -1)" ( (binary_expression "iVar14 != -1" identifier != number_literal) )) (compound_statement "{\n          semctl(iVar14,0,0,0);\n        }" { (expression_statement "semctl(iVar14,0,0,0);" (call_expression "semctl(iVar14,0,0,0)" identifier (argument_list "(iVar14,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) })) (expression_statement "uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;" (assignment_expression "uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c" identifier = (binary_expression "iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c" (binary_expression "iVar14 == -1" identifier == number_literal) || (binary_expression "&stack0x00000000 == (undefined1 *)0x5c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x5c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ;) (expression_statement "iVar14 = FUN_0001af7d();" (assignment_expression "iVar14 = FUN_0001af7d()" identifier = (call_expression "FUN_0001af7d()" identifier (argument_list "()" ( )))) ;) })) }) while (parenthesized_expression "((bool)uVar20)" ( (cast_expression "(bool)uVar20" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);" (assignment_expression "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f)" identifier = (pointer_expression "*(char *)((int)puVar5 + iVar14 + 0x3f)" * (cast_expression "(char *)((int)puVar5 + iVar14 + 0x3f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x3f)" ( (binary_expression "(int)puVar5 + iVar14 + 0x3f" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (while_statement "while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }" { (if_statement "if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }" if (parenthesized_expression "((cVar1 != '\0') && (cVar1 != '\n'))" ( (binary_expression "(cVar1 != '\0') && (cVar1 != '\n')" (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(cVar1 != '\n')" ( (binary_expression "cVar1 != '\n'" identifier != (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }" { (expression_statement "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;" (assignment_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10" (pointer_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40)" * (cast_expression "(undefined1 *)((int)puVar5 + iVar14 + 0x40)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x40)" ( (binary_expression "(int)puVar5 + iVar14 + 0x40" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "piVar18 = (int *)puVar5[0xd];" (assignment_expression "piVar18 = (int *)puVar5[0xd]" identifier = (cast_expression "(int *)puVar5[0xd]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[0xd]" identifier [ number_literal ]))) ;) (if_statement "if (piVar18 == (int *)0x0) goto LAB_0006293e;" if (parenthesized_expression "(piVar18 == (int *)0x0)" ( (binary_expression "piVar18 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0006293e;" goto statement_identifier ;)) (goto_statement "goto LAB_00062902;" goto statement_identifier ;) })) (if_statement "if (iVar14 + -1 == 0) break;" if (parenthesized_expression "(iVar14 + -1 == 0)" ( (binary_expression "iVar14 + -1 == 0" (binary_expression "iVar14 + -1" identifier + number_literal) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);" (assignment_expression "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e)" identifier = (pointer_expression "*(char *)((int)puVar5 + iVar14 + 0x3e)" * (cast_expression "(char *)((int)puVar5 + iVar14 + 0x3e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x3e)" ( (binary_expression "(int)puVar5 + iVar14 + 0x3e" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "LAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);" statement_identifier : (do_statement "do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);" do (compound_statement "{\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  }" { (expression_statement "ppuVar15 = (undefined **)piVar18[1];" (assignment_expression "ppuVar15 = (undefined **)piVar18[1]" identifier = (cast_expression "(undefined **)piVar18[1]" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "piVar18[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar11 = *ppuVar15;" (assignment_expression "puVar11 = *ppuVar15" identifier = (pointer_expression "*ppuVar15" * identifier)) ;) (expression_statement "psVar16 = (socklen_t *)ppuVar15[2];" (assignment_expression "psVar16 = (socklen_t *)ppuVar15[2]" identifier = (cast_expression "(socklen_t *)ppuVar15[2]" ( (type_descriptor "socklen_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar15[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" if (parenthesized_expression "(puVar11 == (undefined *)0xffffffff)" ( (binary_expression "puVar11 == (undefined *)0xffffffff" identifier == (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }" { (if_statement "if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" if (parenthesized_expression "(psVar16 == (socklen_t *)0x0)" ( (binary_expression "psVar16 == (socklen_t *)0x0" identifier == (cast_expression "(socklen_t *)0x0" ( (type_descriptor "socklen_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }" { (expression_statement "puVar11 = (undefined *)FUN_0001b77a();" (assignment_expression "puVar11 = (undefined *)FUN_0001b77a()" identifier = (cast_expression "(undefined *)FUN_0001b77a()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001b77a()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }" if (parenthesized_expression "(0x77 < (uint)((int)puVar11 - (int)ppuVar15[1]))" ( (binary_expression "0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])" number_literal < (call_expression "(uint)((int)puVar11 - (int)ppuVar15[1])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar11 - (int)ppuVar15[1])" ( (binary_expression "(int)puVar11 - (int)ppuVar15[1]" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)ppuVar15[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "ppuVar15[1]" identifier [ number_literal ]))) )))) )) (compound_statement "{\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }" { (expression_statement "ppuVar15[1] = puVar11;" (assignment_expression "ppuVar15[1] = puVar11" (subscript_expression "ppuVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11 = (undefined *)FUN_000b3dd0();" (assignment_expression "puVar11 = (undefined *)FUN_000b3dd0()" identifier = (cast_expression "(undefined *)FUN_000b3dd0()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b3dd0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "ppuVar15[2] = puVar11;" (assignment_expression "ppuVar15[2] = puVar11" (subscript_expression "ppuVar15[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;" if (parenthesized_expression "(puVar11 != (undefined *)0x0)" ( (binary_expression "puVar11 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00062a5f;" goto statement_identifier ;)) })) (expression_statement "*ppuVar15 = (undefined *)0xffffffff;" (assignment_expression "*ppuVar15 = (undefined *)0xffffffff" (pointer_expression "*ppuVar15" * identifier) = (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" else (compound_statement "{\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" { (labeled_statement "LAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();" statement_identifier : (expression_statement "puVar11 = (undefined *)FUN_0001a291();" (assignment_expression "puVar11 = (undefined *)FUN_0001a291()" identifier = (cast_expression "(undefined *)FUN_0001a291()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a291()" identifier (argument_list "()" ( ))))) ;)) (expression_statement "*ppuVar15 = puVar11;" (assignment_expression "*ppuVar15 = puVar11" (pointer_expression "*ppuVar15" * identifier) = identifier) ;) (if_statement "if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }" if (parenthesized_expression "(puVar11 != (undefined *)0xffffffff)" ( (binary_expression "puVar11 != (undefined *)0xffffffff" identifier != (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }" { (expression_statement "psVar16 = (socklen_t *)ppuVar15[2];" (assignment_expression "psVar16 = (socklen_t *)ppuVar15[2]" identifier = (cast_expression "(socklen_t *)ppuVar15[2]" ( (type_descriptor "socklen_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar15[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_00062a7d;" goto statement_identifier ;) })) }))) }) (else_clause "else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" else (compound_statement "{\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" { (labeled_statement "LAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);" statement_identifier : (expression_statement "sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);" (assignment_expression "sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" identifier = (call_expression "sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" identifier (argument_list "((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" ( (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (binary_expression "iVar14 + 1" identifier + number_literal) , number_literal , (cast_expression "(sockaddr *)(psVar16 + 1)" ( (type_descriptor "sockaddr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar16 + 1)" ( (binary_expression "psVar16 + 1" identifier + number_literal) ))) , (pointer_expression "*psVar16" * identifier) )))) ;)) (if_statement "if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }" if (parenthesized_expression "((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20))))" ( (binary_expression "(sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))" (parenthesized_expression "(sVar13 == -1)" ( (binary_expression "sVar13 == -1" identifier == number_literal) )) && (parenthesized_expression "(((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))" ( (parenthesized_expression "((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20))" ( (binary_expression "(iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)" (parenthesized_expression "(iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b))" ( (comma_expression "iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) , (binary_expression "iVar2 == 0x68 || (iVar2 == 0x6b)" (binary_expression "iVar2 == 0x68" identifier == number_literal) || (parenthesized_expression "(iVar2 == 0x6b)" ( (binary_expression "iVar2 == 0x6b" identifier == number_literal) )))) )) || (parenthesized_expression "(iVar2 == 0x20)" ( (binary_expression "iVar2 == 0x20" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }" { (expression_statement "close((int)*ppuVar15);" (call_expression "close((int)*ppuVar15)" identifier (argument_list "((int)*ppuVar15)" ( (cast_expression "(int)*ppuVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar15" * identifier)) ))) ;) (expression_statement "*ppuVar15 = (undefined *)0xffffffff;" (assignment_expression "*ppuVar15 = (undefined *)0xffffffff" (pointer_expression "*ppuVar15" * identifier) = (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "free(ppuVar15[2]);" (call_expression "free(ppuVar15[2])" identifier (argument_list "(ppuVar15[2])" ( (subscript_expression "ppuVar15[2]" identifier [ number_literal ]) ))) ;) (expression_statement "ppuVar15[2] = (undefined *)0x0;" (assignment_expression "ppuVar15[2] = (undefined *)0x0" (subscript_expression "ppuVar15[2]" identifier [ number_literal ]) = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar18 = (int *)*piVar18;" (assignment_expression "piVar18 = (int *)*piVar18" identifier = (cast_expression "(int *)*piVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar18" * identifier))) ;) (if_statement "if (piVar18 == (int *)0x0) break;" if (parenthesized_expression "(piVar18 == (int *)0x0)" ( (binary_expression "piVar18 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00062902;" goto statement_identifier ;) })) }))) (expression_statement "piVar18 = (int *)*piVar18;" (assignment_expression "piVar18 = (int *)*piVar18" identifier = (cast_expression "(int *)*piVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar18" * identifier))) ;) }) while (parenthesized_expression "(piVar18 != (int *)0x0)" ( (binary_expression "piVar18 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) (labeled_statement "LAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" statement_identifier : (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" if (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" ( (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" ( (binary_expression "_DAT_000d171c & 0x80" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" { (expression_statement "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;" (assignment_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0" (pointer_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40)" * (cast_expression "(undefined1 *)((int)puVar5 + iVar14 + 0x40)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar14 + 0x40)" ( (binary_expression "(int)puVar5 + iVar14 + 0x40" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "local_24 = local_50;" (assignment_expression "local_24 = local_50" identifier = identifier) ;) (expression_statement "pbVar19 = local_50 + iVar14;" (assignment_expression "pbVar19 = local_50 + iVar14" identifier = (binary_expression "local_50 + iVar14" identifier + identifier)) ;) (expression_statement "bVar3 = local_50 < pbVar19;" (assignment_expression "bVar3 = local_50 < pbVar19" identifier = (binary_expression "local_50 < pbVar19" identifier < identifier)) ;) (expression_statement "local_50 = pbVar19;" (assignment_expression "local_50 = pbVar19" identifier = identifier) ;) (if_statement "if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }" { (expression_statement "pbVar12 = local_4c;" (assignment_expression "pbVar12 = local_4c" identifier = identifier) ;) (do_statement "do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);" do (compound_statement "{\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      }" { (if_statement "if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }" if (parenthesized_expression "(*pbVar12 == 0x3c)" ( (binary_expression "*pbVar12 == 0x3c" (pointer_expression "*pbVar12" * identifier) == number_literal) )) (compound_statement "{\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }" { (expression_statement "pbVar12 = (byte *)FUN_0001b930();" (assignment_expression "pbVar12 = (byte *)FUN_0001b930()" identifier = (cast_expression "(byte *)FUN_0001b930()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001b930()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }" if (parenthesized_expression "(*local_24 == 0x3e)" ( (binary_expression "*local_24 == 0x3e" (pointer_expression "*local_24" * identifier) == number_literal) )) (compound_statement "{\n            local_24 = local_24 + 1;\n          }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) })) (if_statement "if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }" if (parenthesized_expression "(((uint)pbVar12 & 0xfffffc00) != 0)" ( (binary_expression "((uint)pbVar12 & 0xfffffc00) != 0" (parenthesized_expression "((uint)pbVar12 & 0xfffffc00)" ( (binary_expression "(uint)pbVar12 & 0xfffffc00" (cast_expression "(uint)pbVar12" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n            pbVar12 = (byte *)0xd;\n          }" { (expression_statement "pbVar12 = (byte *)0xd;" (assignment_expression "pbVar12 = (byte *)0xd" identifier = (cast_expression "(byte *)0xd" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }) (else_clause "else {\n          pbVar12 = (byte *)0xd;\n        }" else (compound_statement "{\n          pbVar12 = (byte *)0xd;\n        }" { (expression_statement "pbVar12 = (byte *)0xd;" (assignment_expression "pbVar12 = (byte *)0xd" identifier = (cast_expression "(byte *)0xd" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "bVar21 = *local_24;" (assignment_expression "bVar21 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "ppuVar15 = (undefined **)(puVar5 + 0x110);" (assignment_expression "ppuVar15 = (undefined **)(puVar5 + 0x110)" identifier = (cast_expression "(undefined **)(puVar5 + 0x110)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x110)" ( (binary_expression "puVar5 + 0x110" identifier + number_literal) )))) ;) (while_statement "while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }" while (parenthesized_expression "(local_24 = local_24 + 1, bVar21 != 0)" ( (comma_expression "local_24 = local_24 + 1, bVar21 != 0" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) , (binary_expression "bVar21 != 0" identifier != number_literal)) )) (compound_statement "{\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }" { (expression_statement "ppuVar24 = (undefined **)((int)ppuVar15 + 1);" (assignment_expression "ppuVar24 = (undefined **)((int)ppuVar15 + 1)" identifier = (cast_expression "(undefined **)((int)ppuVar15 + 1)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar15 + 1)" ( (binary_expression "(int)ppuVar15 + 1" (cast_expression "(int)ppuVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "ppuVar17 = ppuVar24;" (assignment_expression "ppuVar17 = ppuVar24" identifier = identifier) ;) (if_statement "if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" if (parenthesized_expression "(bVar21 == 10)" ( (binary_expression "bVar21 == 10" identifier == number_literal) )) (compound_statement "{\n            bVar21 = 0x20;\n          }" { (expression_statement "bVar21 = 0x20;" (assignment_expression "bVar21 = 0x20" identifier = number_literal) ;) }) (else_clause "else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" else (if_statement "if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" if (parenthesized_expression "(((bVar21 & 0xe0) == 0) && (bVar21 != 9))" ( (binary_expression "((bVar21 & 0xe0) == 0) && (bVar21 != 9)" (parenthesized_expression "((bVar21 & 0xe0) == 0)" ( (binary_expression "(bVar21 & 0xe0) == 0" (parenthesized_expression "(bVar21 & 0xe0)" ( (binary_expression "bVar21 & 0xe0" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(bVar21 != 9)" ( (binary_expression "bVar21 != 9" identifier != number_literal) ))) )) (compound_statement "{\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" { (expression_statement "*(undefined1 *)ppuVar15 = 0x5e;" (assignment_expression "*(undefined1 *)ppuVar15 = 0x5e" (pointer_expression "*(undefined1 *)ppuVar15" * (cast_expression "(undefined1 *)ppuVar15" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "bVar21 = bVar21 + 0x40;" (assignment_expression "bVar21 = bVar21 + 0x40" identifier = (binary_expression "bVar21 + 0x40" identifier + number_literal)) ;) (expression_statement "ppuVar17 = (undefined **)((int)ppuVar15 + 2);" (assignment_expression "ppuVar17 = (undefined **)((int)ppuVar15 + 2)" identifier = (cast_expression "(undefined **)((int)ppuVar15 + 2)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar15 + 2)" ( (binary_expression "(int)ppuVar15 + 2" (cast_expression "(int)ppuVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "ppuVar15 = ppuVar24;" (assignment_expression "ppuVar15 = ppuVar24" identifier = identifier) ;) })))) (expression_statement "*(byte *)ppuVar15 = bVar21;" (assignment_expression "*(byte *)ppuVar15 = bVar21" (pointer_expression "*(byte *)ppuVar15" * (cast_expression "(byte *)ppuVar15" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "ppuVar15 = ppuVar17;" (assignment_expression "ppuVar15 = ppuVar17" identifier = identifier) ;) (expression_statement "local_4c = pbVar12;" (assignment_expression "local_4c = pbVar12" identifier = identifier) ;) (expression_statement "bVar21 = *local_24;" (assignment_expression "bVar21 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) })) (expression_statement "*(undefined1 *)ppuVar15 = 0;" (assignment_expression "*(undefined1 *)ppuVar15 = 0" (pointer_expression "*(undefined1 *)ppuVar15" * (cast_expression "(undefined1 *)ppuVar15" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar12 = local_24;" (assignment_expression "pbVar12 = local_24" identifier = identifier) ;) }) while (parenthesized_expression "(local_24 < pbVar19)" ( (binary_expression "local_24 < pbVar19" identifier < identifier) )) ;) })) }))) (goto_statement "goto LAB_000627f4;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * 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 (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT)) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT << LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE) ) LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) })) (for_statement for ( (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression & IDENT) , IDENT , IDENT ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;) })) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT == LIT) || (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) }) while (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE) ) IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) while (parenthesized_expression ( BOOL )) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) }))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (binary_expression IDENT + LIT) , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (pointer_expression * IDENT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) )))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) }))) (goto_statement goto statement_identifier ;) })))
(function_definition "void FUN_00062593(undefined4 param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}" (primitive_type "void") (function_declarator "FUN_00062593(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00062593") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined *puVar11;\n  byte *pbVar12;\n  ssize_t sVar13;\n  int iVar14;\n  undefined4 extraout_ECX;\n  undefined **ppuVar15;\n  undefined4 extraout_EDX;\n  socklen_t *psVar16;\n  undefined **ppuVar17;\n  int *piVar18;\n  byte *pbVar19;\n  int in_GS_OFFSET;\n  undefined1 uVar20;\n  byte bVar21;\n  size_t __size;\n  undefined4 uVar22;\n  undefined4 uVar23;\n  undefined **ppuVar24;\n  byte *local_50;\n  byte *local_4c;\n  undefined1 local_34 [4];\n  undefined1 local_30 [4];\n  int local_2c;\n  undefined **local_28;\n  byte *local_24;\n  undefined4 local_20;\n  \n  bVar21 = 0;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = (undefined **)0x0;\n  puVar5 = (undefined4 *)FUN_00019b89();\n  ppuVar15 = &PTR_s__var_log_messages_000d0180;\n  puVar6 = puVar5;\n  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }\n  DAT_000d1700 = puVar5;\n  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);\n  if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }\n  if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }\n  if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }\n  if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }\n  pcVar8 = (char *)FUN_000b17b6();\n  puVar5[0xf] = pcVar8;\n  pcVar8 = strchrnul(pcVar8,0x2e);\n  *pcVar8 = '\0';\n  if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }\n  FUN_000ae0c5();\n  FUN_0001b022();\n  FUN_0001b022();\n  signal(1,(__sighandler_t)0x1);\n  FUN_000624ba();\n  FUN_00019dd8();\n  if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }\nLAB_000627d4:\n  piVar4 = DAT_000d16fc;\n  if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }\nLAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;\n  local_50 = (byte *)(puVar5 + 0x10);\n  local_4c = local_50;\n  do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );\nLAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);\nLAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }\n  goto LAB_000627f4;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined1 *puVar10;" (type_identifier "undefined1") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined *puVar11;" (type_identifier "undefined") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "ssize_t sVar13;" (primitive_type "ssize_t") (identifier "sVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (declaration "undefined **ppuVar15;" (type_identifier "undefined") (pointer_declarator "**ppuVar15" (* "*") (pointer_declarator "*ppuVar15" (* "*") (identifier "ppuVar15"))) (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "socklen_t *psVar16;" (type_identifier "socklen_t") (pointer_declarator "*psVar16" (* "*") (identifier "psVar16")) (; ";")) (declaration "undefined **ppuVar17;" (type_identifier "undefined") (pointer_declarator "**ppuVar17" (* "*") (pointer_declarator "*ppuVar17" (* "*") (identifier "ppuVar17"))) (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (declaration "byte *pbVar19;" (type_identifier "byte") (pointer_declarator "*pbVar19" (* "*") (identifier "pbVar19")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 uVar20;" (type_identifier "undefined1") (identifier "uVar20") (; ";")) (declaration "byte bVar21;" (type_identifier "byte") (identifier "bVar21") (; ";")) (declaration "size_t __size;" (primitive_type "size_t") (identifier "__size") (; ";")) (declaration "undefined4 uVar22;" (type_identifier "undefined4") (identifier "uVar22") (; ";")) (declaration "undefined4 uVar23;" (type_identifier "undefined4") (identifier "uVar23") (; ";")) (declaration "undefined **ppuVar24;" (type_identifier "undefined") (pointer_declarator "**ppuVar24" (* "*") (pointer_declarator "*ppuVar24" (* "*") (identifier "ppuVar24"))) (; ";")) (declaration "byte *local_50;" (type_identifier "byte") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "byte *local_4c;" (type_identifier "byte") (pointer_declarator "*local_4c" (* "*") (identifier "local_4c")) (; ";")) (declaration "undefined1 local_34 [4];" (type_identifier "undefined1") (array_declarator "local_34 [4]" (identifier "local_34") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined1 local_30 [4];" (type_identifier "undefined1") (array_declarator "local_30 [4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "undefined **local_28;" (type_identifier "undefined") (pointer_declarator "**local_28" (* "*") (pointer_declarator "*local_28" (* "*") (identifier "local_28"))) (; ";")) (declaration "byte *local_24;" (type_identifier "byte") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 0" (identifier "bVar21") (= "=") (number_literal "0")) (; ";")) (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 "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = (undefined **)0x0;" (assignment_expression "local_28 = (undefined **)0x0" (identifier "local_28") (= "=") (cast_expression "(undefined **)0x0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)FUN_00019b89();" (assignment_expression "puVar5 = (undefined4 *)FUN_00019b89()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)FUN_00019b89()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b89()" (identifier "FUN_00019b89") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "ppuVar15 = &PTR_s__var_log_messages_000d0180;" (assignment_expression "ppuVar15 = &PTR_s__var_log_messages_000d0180" (identifier "ppuVar15") (= "=") (pointer_expression "&PTR_s__var_log_messages_000d0180" (& "&") (identifier "PTR_s__var_log_messages_000d0180"))) (; ";")) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (for_statement "for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar14 = 0xd" (identifier "iVar14") (= "=") (number_literal "0xd")) (; ";") (binary_expression "iVar14 != 0" (identifier "iVar14") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar14 = iVar14 + -1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar6 = *ppuVar15;\n    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;\n    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar6 = *ppuVar15;" (assignment_expression "*puVar6 = *ppuVar15" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "*ppuVar15" (* "*") (identifier "ppuVar15"))) (; ";")) (expression_statement "ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;" (assignment_expression "ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1" (identifier "ppuVar15") (= "=") (binary_expression "ppuVar15 + (uint)bVar21 * -2 + 1" (binary_expression "ppuVar15 + (uint)bVar21 * -2" (identifier "ppuVar15") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = puVar6 + (uint)bVar21 * -2 + 1;" (assignment_expression "puVar6 = puVar6 + (uint)bVar21 * -2 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + (uint)bVar21 * -2 + 1" (binary_expression "puVar6 + (uint)bVar21 * -2" (identifier "puVar6") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "DAT_000d1700 = puVar5;" (assignment_expression "DAT_000d1700 = puVar5" (identifier "DAT_000d1700") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6);" (assignment_expression "local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" (identifier "local_50") (= "=") (cast_expression "(byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" (identifier "FUN_000a8bdf") (argument_list "(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,\n                                  &local_2c,puVar6)" (( "(") (identifier "param_2") (, ",") (string_literal ""^m:nO:l:StR:*LC::"" (" """) (string_content "^m:nO:l:StR:*LC::") (" """)) (, ",") (identifier "local_34") (, ",") (identifier "puVar5") (, ",") (identifier "local_30") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (identifier "puVar6") () ")"))))) (; ";")) (if_statement "if (local_28 != (undefined **)0x0) {\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }" (if "if") (parenthesized_expression "(local_28 != (undefined **)0x0)" (( "(") (binary_expression "local_28 != (undefined **)0x0" (identifier "local_28") (!= "!=") (cast_expression "(undefined **)0x0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_4c = (byte *)(puVar5 + 0xd);\n    do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);\n  }" ({ "{") (expression_statement "local_4c = (byte *)(puVar5 + 0xd);" (assignment_expression "local_4c = (byte *)(puVar5 + 0xd)" (identifier "local_4c") (= "=") (cast_expression "(byte *)(puVar5 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0xd)" (( "(") (binary_expression "puVar5 + 0xd" (identifier "puVar5") (+ "+") (number_literal "0xd")) () ")")))) (; ";")) (do_statement "do {\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    } while (local_28 != (undefined **)0x0);" (do "do") (compound_statement "{\n      puVar6 = (undefined4 *)FUN_00019b89();\n      uVar7 = FUN_00018d50();\n      puVar6[3] = uVar7;\n      *puVar6 = 0xffffffff;\n      iVar14 = FUN_0001b77a();\n      puVar6[1] = iVar14 + -0x79;\n      FUN_00018d02();\n      ppuVar15 = local_28;\n    }" ({ "{") (expression_statement "puVar6 = (undefined4 *)FUN_00019b89();" (assignment_expression "puVar6 = (undefined4 *)FUN_00019b89()" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_00019b89()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b89()" (identifier "FUN_00019b89") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar7 = FUN_00018d50();" (assignment_expression "uVar7 = FUN_00018d50()" (identifier "uVar7") (= "=") (call_expression "FUN_00018d50()" (identifier "FUN_00018d50") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar6[3] = uVar7;" (assignment_expression "puVar6[3] = uVar7" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "*puVar6 = 0xffffffff;" (assignment_expression "*puVar6 = 0xffffffff" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "iVar14 = FUN_0001b77a();" (assignment_expression "iVar14 = FUN_0001b77a()" (identifier "iVar14") (= "=") (call_expression "FUN_0001b77a()" (identifier "FUN_0001b77a") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar6[1] = iVar14 + -0x79;" (assignment_expression "puVar6[1] = iVar14 + -0x79" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar14 + -0x79" (identifier "iVar14") (+ "+") (number_literal "-0x79"))) (; ";")) (expression_statement "FUN_00018d02();" (call_expression "FUN_00018d02()" (identifier "FUN_00018d02") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "ppuVar15 = local_28;" (assignment_expression "ppuVar15 = local_28" (identifier "ppuVar15") (= "=") (identifier "local_28")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_28 != (undefined **)0x0)" (( "(") (binary_expression "local_28 != (undefined **)0x0" (identifier "local_28") (!= "!=") (cast_expression "(undefined **)0x0" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (if_statement "if (((uint)local_50 & 8) != 0) {\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }" (if "if") (parenthesized_expression "(((uint)local_50 & 8) != 0)" (( "(") (binary_expression "((uint)local_50 & 8) != 0" (parenthesized_expression "((uint)local_50 & 8)" (( "(") (binary_expression "(uint)local_50 & 8" (cast_expression "(uint)local_50" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_50")) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = FUN_000b34e2();\n    puVar5[3] = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = FUN_000b34e2();" (assignment_expression "uVar7 = FUN_000b34e2()" (identifier "uVar7") (= "=") (call_expression "FUN_000b34e2()" (identifier "FUN_000b34e2") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar5[3] = uVar7;" (assignment_expression "puVar5[3] = uVar7" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (if_statement "if (local_2c != 0) {\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }" (if "if") (parenthesized_expression "(local_2c != 0)" (( "(") (binary_expression "local_2c != 0" (identifier "local_2c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar14 = FUN_000b34e2();\n    puVar5[6] = iVar14 << 10;\n  }" ({ "{") (expression_statement "iVar14 = FUN_000b34e2();" (assignment_expression "iVar14 = FUN_000b34e2()" (identifier "iVar14") (= "=") (call_expression "FUN_000b34e2()" (identifier "FUN_000b34e2") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar5[6] = iVar14 << 10;" (assignment_expression "puVar5[6] = iVar14 << 10" (subscript_expression "puVar5[6]" (identifier "puVar5") ([ "[") (number_literal "6") (] "]")) (= "=") (binary_expression "iVar14 << 10" (identifier "iVar14") (<< "<<") (number_literal "10"))) (; ";")) (} "}"))) (if_statement "if (((uint)local_50 & 0x40) == 0) {\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }" (if "if") (parenthesized_expression "(((uint)local_50 & 0x40) == 0)" (( "(") (binary_expression "((uint)local_50 & 0x40) == 0" (parenthesized_expression "((uint)local_50 & 0x40)" (( "(") (binary_expression "(uint)local_50 & 0x40" (cast_expression "(uint)local_50" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_50")) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    _DAT_000d171c = _DAT_000d171c | 0x80;\n  }" ({ "{") (expression_statement "_DAT_000d171c = _DAT_000d171c | 0x80;" (assignment_expression "_DAT_000d171c = _DAT_000d171c | 0x80" (identifier "_DAT_000d171c") (= "=") (binary_expression "_DAT_000d171c | 0x80" (identifier "_DAT_000d171c") (| "|") (number_literal "0x80"))) (; ";")) (} "}"))) (expression_statement "pcVar8 = (char *)FUN_000b17b6();" (assignment_expression "pcVar8 = (char *)FUN_000b17b6()" (identifier "pcVar8") (= "=") (cast_expression "(char *)FUN_000b17b6()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000b17b6()" (identifier "FUN_000b17b6") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar5[0xf] = pcVar8;" (assignment_expression "puVar5[0xf] = pcVar8" (subscript_expression "puVar5[0xf]" (identifier "puVar5") ([ "[") (number_literal "0xf") (] "]")) (= "=") (identifier "pcVar8")) (; ";")) (expression_statement "pcVar8 = strchrnul(pcVar8,0x2e);" (assignment_expression "pcVar8 = strchrnul(pcVar8,0x2e)" (identifier "pcVar8") (= "=") (call_expression "strchrnul(pcVar8,0x2e)" (identifier "strchrnul") (argument_list "(pcVar8,0x2e)" (( "(") (identifier "pcVar8") (, ",") (number_literal "0x2e") () ")")))) (; ";")) (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if (((uint)local_50 & 2) == 0) {\n    FUN_000b2f0a();\n  }" (if "if") (parenthesized_expression "(((uint)local_50 & 2) == 0)" (( "(") (binary_expression "((uint)local_50 & 2) == 0" (parenthesized_expression "((uint)local_50 & 2)" (( "(") (binary_expression "(uint)local_50 & 2" (cast_expression "(uint)local_50" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_50")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000b2f0a();\n  }" ({ "{") (expression_statement "FUN_000b2f0a();" (call_expression "FUN_000b2f0a()" (identifier "FUN_000b2f0a") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000ae0c5();" (call_expression "FUN_000ae0c5()" (identifier "FUN_000ae0c5") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001b022();" (call_expression "FUN_0001b022()" (identifier "FUN_0001b022") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001b022();" (call_expression "FUN_0001b022()" (identifier "FUN_0001b022") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "signal(1,(__sighandler_t)0x1);" (call_expression "signal(1,(__sighandler_t)0x1)" (identifier "signal") (argument_list "(1,(__sighandler_t)0x1)" (( "(") (number_literal "1") (, ",") (cast_expression "(__sighandler_t)0x1" (( "(") (type_descriptor "__sighandler_t" (type_identifier "__sighandler_t")) () ")") (number_literal "0x1")) () ")"))) (; ";")) (expression_statement "FUN_000624ba();" (call_expression "FUN_000624ba()" (identifier "FUN_000624ba") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00019dd8();" (call_expression "FUN_00019dd8()" (identifier "FUN_00019dd8") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((_DAT_000d171c & 0x100) != 0) {\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }" (if "if") (parenthesized_expression "((_DAT_000d171c & 0x100) != 0)" (( "(") (binary_expression "(_DAT_000d171c & 0x100) != 0" (parenthesized_expression "(_DAT_000d171c & 0x100)" (( "(") (binary_expression "_DAT_000d171c & 0x100" (identifier "_DAT_000d171c") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar22 = 0x3a4;\n    __size = puVar5[6];\n    uVar7 = extraout_ECX;\n    iVar14 = shmget(0x414e4547,__size,0x3a4);\n    puVar5[4] = iVar14;\n    if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }\n    uVar23 = 0;\n    uVar22 = 0;\n    uVar7 = extraout_EDX;\n    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);\n    puVar5[0xe] = puVar9;\n    if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }\n    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }\n    puVar10 = (undefined1 *)(puVar5[6] + -9);\n    *(undefined1 **)puVar5[0xe] = puVar10;\n    uVar22 = 0x7ff;\n    uVar7 = 2;\n    iVar14 = semget(0x414e4547,2,0x7ff);\n    puVar5[5] = iVar14;\n    if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }\n  }" ({ "{") (expression_statement "uVar22 = 0x3a4;" (assignment_expression "uVar22 = 0x3a4" (identifier "uVar22") (= "=") (number_literal "0x3a4")) (; ";")) (expression_statement "__size = puVar5[6];" (assignment_expression "__size = puVar5[6]" (identifier "__size") (= "=") (subscript_expression "puVar5[6]" (identifier "puVar5") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "uVar7 = extraout_ECX;" (assignment_expression "uVar7 = extraout_ECX" (identifier "uVar7") (= "=") (identifier "extraout_ECX")) (; ";")) (expression_statement "iVar14 = shmget(0x414e4547,__size,0x3a4);" (assignment_expression "iVar14 = shmget(0x414e4547,__size,0x3a4)" (identifier "iVar14") (= "=") (call_expression "shmget(0x414e4547,__size,0x3a4)" (identifier "shmget") (argument_list "(0x414e4547,__size,0x3a4)" (( "(") (number_literal "0x414e4547") (, ",") (identifier "__size") (, ",") (number_literal "0x3a4") () ")")))) (; ";")) (expression_statement "puVar5[4] = iVar14;" (assignment_expression "puVar5[4] = iVar14" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar14")) (; ";")) (if_statement "if (iVar14 == -1) {\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }" (if "if") (parenthesized_expression "(iVar14 == -1)" (( "(") (binary_expression "iVar14 == -1" (identifier "iVar14") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n                    \n      FUN_00018e79("shmget",__size,uVar22,uVar7);\n    }" ({ "{") (expression_statement "FUN_00018e79("shmget",__size,uVar22,uVar7);" (call_expression "FUN_00018e79("shmget",__size,uVar22,uVar7)" (identifier "FUN_00018e79") (argument_list "("shmget",__size,uVar22,uVar7)" (( "(") (string_literal ""shmget"" (" """) (string_content "shmget") (" """)) (, ",") (identifier "__size") (, ",") (identifier "uVar22") (, ",") (identifier "uVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar23 = 0;" (assignment_expression "uVar23 = 0" (identifier "uVar23") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = extraout_EDX;" (assignment_expression "uVar7 = extraout_EDX" (identifier "uVar7") (= "=") (identifier "extraout_EDX")) (; ";")) (expression_statement "puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);" (assignment_expression "puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0)" (identifier "puVar9") (= "=") (cast_expression "(undefined1 *)shmat(iVar14,(void *)0x0,0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "shmat(iVar14,(void *)0x0,0)" (identifier "shmat") (argument_list "(iVar14,(void *)0x0,0)" (( "(") (identifier "iVar14") (, ",") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "puVar5[0xe] = puVar9;" (assignment_expression "puVar5[0xe] = puVar9" (subscript_expression "puVar5[0xe]" (identifier "puVar5") ([ "[") (number_literal "0xe") (] "]")) (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (puVar9 == (undefined1 *)0xffffffff) {\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }" (if "if") (parenthesized_expression "(puVar9 == (undefined1 *)0xffffffff)" (( "(") (binary_expression "puVar9 == (undefined1 *)0xffffffff" (identifier "puVar9") (== "==") (cast_expression "(undefined1 *)0xffffffff" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n                    \n      FUN_00018e79("shmat",uVar22,uVar23,uVar7);\n    }" ({ "{") (expression_statement "FUN_00018e79("shmat",uVar22,uVar23,uVar7);" (call_expression "FUN_00018e79("shmat",uVar22,uVar23,uVar7)" (identifier "FUN_00018e79") (argument_list "("shmat",uVar22,uVar23,uVar7)" (( "(") (string_literal ""shmat"" (" """) (string_content "shmat") (" """)) (, ",") (identifier "uVar22") (, ",") (identifier "uVar23") (, ",") (identifier "uVar7") () ")"))) (; ";")) (} "}"))) (for_statement "for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar14 = puVar5[6]" (identifier "iVar14") (= "=") (subscript_expression "puVar5[6]" (identifier "puVar5") ([ "[") (number_literal "6") (] "]"))) (; ";") (binary_expression "iVar14 != 0" (identifier "iVar14") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar14 = iVar14 + -1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar21 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar21 * -2 + 1" (binary_expression "puVar9 + (uint)bVar21 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar10 = (undefined1 *)(puVar5[6] + -9);" (assignment_expression "puVar10 = (undefined1 *)(puVar5[6] + -9)" (identifier "puVar10") (= "=") (cast_expression "(undefined1 *)(puVar5[6] + -9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5[6] + -9)" (( "(") (binary_expression "puVar5[6] + -9" (subscript_expression "puVar5[6]" (identifier "puVar5") ([ "[") (number_literal "6") (] "]")) (+ "+") (number_literal "-9")) () ")")))) (; ";")) (expression_statement "*(undefined1 **)puVar5[0xe] = puVar10;" (assignment_expression "*(undefined1 **)puVar5[0xe] = puVar10" (pointer_expression "*(undefined1 **)puVar5[0xe]" (* "*") (cast_expression "(undefined1 **)puVar5[0xe]" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "puVar5[0xe]" (identifier "puVar5") ([ "[") (number_literal "0xe") (] "]")))) (= "=") (identifier "puVar10")) (; ";")) (expression_statement "uVar22 = 0x7ff;" (assignment_expression "uVar22 = 0x7ff" (identifier "uVar22") (= "=") (number_literal "0x7ff")) (; ";")) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" (identifier "uVar7") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar14 = semget(0x414e4547,2,0x7ff);" (assignment_expression "iVar14 = semget(0x414e4547,2,0x7ff)" (identifier "iVar14") (= "=") (call_expression "semget(0x414e4547,2,0x7ff)" (identifier "semget") (argument_list "(0x414e4547,2,0x7ff)" (( "(") (number_literal "0x414e4547") (, ",") (number_literal "2") (, ",") (number_literal "0x7ff") () ")")))) (; ";")) (expression_statement "puVar5[5] = iVar14;" (assignment_expression "puVar5[5] = iVar14" (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar14")) (; ";")) (if_statement "if (iVar14 == -1) {\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }" (if "if") (parenthesized_expression "(iVar14 == -1)" (( "(") (binary_expression "iVar14 == -1" (identifier "iVar14") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }\n                    \n      FUN_00018e79("semget",uVar7,uVar22,puVar10);\n    }" ({ "{") (if_statement "if (*DAT_000d16fc == 0x11) {\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }" (if "if") (parenthesized_expression "(*DAT_000d16fc == 0x11)" (( "(") (binary_expression "*DAT_000d16fc == 0x11" (pointer_expression "*DAT_000d16fc" (* "*") (identifier "DAT_000d16fc")) (== "==") (number_literal "0x11")) () ")")) (compound_statement "{\n        uVar22 = 0;\n        uVar7 = 2;\n        iVar14 = semget(0x414e4547,2,0);\n        puVar5[5] = iVar14;\n        puVar10 = puVar9;\n        if (iVar14 != -1) goto LAB_000627d4;\n      }" ({ "{") (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" (identifier "uVar7") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar14 = semget(0x414e4547,2,0);" (assignment_expression "iVar14 = semget(0x414e4547,2,0)" (identifier "iVar14") (= "=") (call_expression "semget(0x414e4547,2,0)" (identifier "semget") (argument_list "(0x414e4547,2,0)" (( "(") (number_literal "0x414e4547") (, ",") (number_literal "2") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar5[5] = iVar14;" (assignment_expression "puVar5[5] = iVar14" (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar14")) (; ";")) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" (identifier "puVar10") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (iVar14 != -1) goto LAB_000627d4;" (if "if") (parenthesized_expression "(iVar14 != -1)" (( "(") (binary_expression "iVar14 != -1" (identifier "iVar14") (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_000627d4;" (goto "goto") (statement_identifier "LAB_000627d4") (; ";"))) (} "}"))) (expression_statement "FUN_00018e79("semget",uVar7,uVar22,puVar10);" (call_expression "FUN_00018e79("semget",uVar7,uVar22,puVar10)" (identifier "FUN_00018e79") (argument_list "("semget",uVar7,uVar22,puVar10)" (( "(") (string_literal ""semget"" (" """) (string_content "semget") (" """)) (, ",") (identifier "uVar7") (, ",") (identifier "uVar22") (, ",") (identifier "puVar10") () ")"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_000627d4:\n  piVar4 = DAT_000d16fc;" (statement_identifier "LAB_000627d4") (: ":") (expression_statement "piVar4 = DAT_000d16fc;" (assignment_expression "piVar4 = DAT_000d16fc" (identifier "piVar4") (= "=") (identifier "DAT_000d16fc")) (; ";"))) (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }" (if "if") (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" (( "(") (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" (( "(") (binary_expression "_DAT_000d171c & 0x80" (identifier "_DAT_000d171c") (& "&") (number_literal "0x80")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00062098();\n    piVar4 = DAT_000d16fc;\n  }" ({ "{") (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" (identifier "FUN_00062098") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar4 = DAT_000d16fc;" (assignment_expression "piVar4 = DAT_000d16fc" (identifier "piVar4") (= "=") (identifier "DAT_000d16fc")) (; ";")) (} "}"))) (labeled_statement "LAB_000627f4:\n  if (DAT_000d1724 != '\0') goto LAB_00062846;" (statement_identifier "LAB_000627f4") (: ":") (if_statement "if (DAT_000d1724 != '\0') goto LAB_00062846;" (if "if") (parenthesized_expression "(DAT_000d1724 != '\0')" (( "(") (binary_expression "DAT_000d1724 != '\0'" (identifier "DAT_000d1724") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00062846;" (goto "goto") (statement_identifier "LAB_00062846") (; ";")))) (expression_statement "local_50 = (byte *)(puVar5 + 0x10);" (assignment_expression "local_50 = (byte *)(puVar5 + 0x10)" (identifier "local_50") (= "=") (cast_expression "(byte *)(puVar5 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x10)" (( "(") (binary_expression "puVar5 + 0x10" (identifier "puVar5") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "local_4c = local_50;" (assignment_expression "local_4c = local_50" (identifier "local_4c") (= "=") (identifier "local_50")) (; ";")) (do_statement "do {\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);\n    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);\n    while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }\n  }" ({ "{") (do_statement "do {\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    } while ((bool)uVar20);" (do "do") (compound_statement "{\n      uVar7 = 0x3ff;\n      ppuVar24 = ppuVar15;\n      iVar14 = read(0,local_50,0x3ff);\n      uVar20 = iVar14 == 0;\n      if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }\n    }" ({ "{") (expression_statement "uVar7 = 0x3ff;" (assignment_expression "uVar7 = 0x3ff" (identifier "uVar7") (= "=") (number_literal "0x3ff")) (; ";")) (expression_statement "ppuVar24 = ppuVar15;" (assignment_expression "ppuVar24 = ppuVar15" (identifier "ppuVar24") (= "=") (identifier "ppuVar15")) (; ";")) (expression_statement "iVar14 = read(0,local_50,0x3ff);" (assignment_expression "iVar14 = read(0,local_50,0x3ff)" (identifier "iVar14") (= "=") (call_expression "read(0,local_50,0x3ff)" (identifier "read") (argument_list "(0,local_50,0x3ff)" (( "(") (number_literal "0") (, ",") (identifier "local_50") (, ",") (number_literal "0x3ff") () ")")))) (; ";")) (expression_statement "uVar20 = iVar14 == 0;" (assignment_expression "uVar20 = iVar14 == 0" (identifier "uVar20") (= "=") (binary_expression "iVar14 == 0" (identifier "iVar14") (== "==") (number_literal "0"))) (; ";")) (if_statement "if (iVar14 < 0) {\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }" (if "if") (parenthesized_expression "(iVar14 < 0)" (( "(") (binary_expression "iVar14 < 0" (identifier "iVar14") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }\nLAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }\n        if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }\n        if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }\n        iVar14 = puVar5[5];\n        if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }\n        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;\n        iVar14 = FUN_0001af7d();\n      }" ({ "{") (if_statement "if (DAT_000d1724 == '\0') {\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }" (if "if") (parenthesized_expression "(DAT_000d1724 == '\0')" (( "(") (binary_expression "DAT_000d1724 == '\0'" (identifier "DAT_000d1724") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);\n        }" ({ "{") (expression_statement "FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);" (call_expression "FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24)" (identifier "FUN_00018e3c") (argument_list "("read from %s",&DAT_000c95fe,uVar7,ppuVar24)" (( "(") (string_literal ""read from %s"" (" """) (string_content "read from %s") (" """)) (, ",") (pointer_expression "&DAT_000c95fe" (& "&") (identifier "DAT_000c95fe")) (, ",") (identifier "uVar7") (, ",") (identifier "ppuVar24") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00062846:\n        if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }" (statement_identifier "LAB_00062846") (: ":") (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n          FUN_00062098();\n        }" (if "if") (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" (( "(") (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" (( "(") (binary_expression "_DAT_000d171c & 0x80" (identifier "_DAT_000d171c") (& "&") (number_literal "0x80")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00062098();\n        }" ({ "{") (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" (identifier "FUN_00062098") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (DAT_000d1727 != '\0') {\n          unlink("/var/run/syslogd.pid");\n        }" (if "if") (parenthesized_expression "(DAT_000d1727 != '\0')" (( "(") (binary_expression "DAT_000d1727 != '\0'" (identifier "DAT_000d1727") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          unlink("/var/run/syslogd.pid");\n        }" ({ "{") (expression_statement "unlink("/var/run/syslogd.pid");" (call_expression "unlink("/var/run/syslogd.pid")" (identifier "unlink") (argument_list "("/var/run/syslogd.pid")" (( "(") (string_literal ""/var/run/syslogd.pid"" (" """) (string_content "/var/run/syslogd.pid") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (puVar5[4] != -1) {\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }" (if "if") (parenthesized_expression "(puVar5[4] != -1)" (( "(") (binary_expression "puVar5[4] != -1" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          shmdt((void *)puVar5[0xe]);\n          if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }\n        }" ({ "{") (expression_statement "shmdt((void *)puVar5[0xe]);" (call_expression "shmdt((void *)puVar5[0xe])" (identifier "shmdt") (argument_list "((void *)puVar5[0xe])" (( "(") (cast_expression "(void *)puVar5[0xe]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[0xe]" (identifier "puVar5") ([ "[") (number_literal "0xe") (] "]"))) () ")"))) (; ";")) (if_statement "if (puVar5[4] != -1) {\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }" (if "if") (parenthesized_expression "(puVar5[4] != -1)" (( "(") (binary_expression "puVar5[4] != -1" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n            shmctl(puVar5[4],0,(shmid_ds *)0x0);\n          }" ({ "{") (expression_statement "shmctl(puVar5[4],0,(shmid_ds *)0x0);" (call_expression "shmctl(puVar5[4],0,(shmid_ds *)0x0)" (identifier "shmctl") (argument_list "(puVar5[4],0,(shmid_ds *)0x0)" (( "(") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (, ",") (number_literal "0") (, ",") (cast_expression "(shmid_ds *)0x0" (( "(") (type_descriptor "shmid_ds *" (type_identifier "shmid_ds") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar14 = puVar5[5];" (assignment_expression "iVar14 = puVar5[5]" (identifier "iVar14") (= "=") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (if_statement "if (iVar14 != -1) {\n          semctl(iVar14,0,0,0);\n        }" (if "if") (parenthesized_expression "(iVar14 != -1)" (( "(") (binary_expression "iVar14 != -1" (identifier "iVar14") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          semctl(iVar14,0,0,0);\n        }" ({ "{") (expression_statement "semctl(iVar14,0,0,0);" (call_expression "semctl(iVar14,0,0,0)" (identifier "semctl") (argument_list "(iVar14,0,0,0)" (( "(") (identifier "iVar14") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;" (assignment_expression "uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c" (identifier "uVar20") (= "=") (binary_expression "iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c" (binary_expression "iVar14 == -1" (identifier "iVar14") (== "==") (number_literal "-1")) (|| "||") (binary_expression "&stack0x00000000 == (undefined1 *)0x5c" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x5c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x5c"))))) (; ";")) (expression_statement "iVar14 = FUN_0001af7d();" (assignment_expression "iVar14 = FUN_0001af7d()" (identifier "iVar14") (= "=") (call_expression "FUN_0001af7d()" (identifier "FUN_0001af7d") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "((bool)uVar20)" (( "(") (cast_expression "(bool)uVar20" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar20")) () ")")) (; ";")) (expression_statement "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);" (assignment_expression "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)((int)puVar5 + iVar14 + 0x3f)" (* "*") (cast_expression "(char *)((int)puVar5 + iVar14 + 0x3f)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + iVar14 + 0x3f)" (( "(") (binary_expression "(int)puVar5 + iVar14 + 0x3f" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "iVar14")) (+ "+") (number_literal "0x3f")) () ")"))))) (; ";")) (while_statement "while( true ) {\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }\n      if (iVar14 + -1 == 0) break;\n      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);\n      iVar14 = iVar14 + -1;\n    }" ({ "{") (if_statement "if ((cVar1 != '\0') && (cVar1 != '\n')) {\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }" (if "if") (parenthesized_expression "((cVar1 != '\0') && (cVar1 != '\n'))" (( "(") (binary_expression "(cVar1 != '\0') && (cVar1 != '\n')" (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar1 != '\n')" (( "(") (binary_expression "cVar1 != '\n'" (identifier "cVar1") (!= "!=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;\n        piVar18 = (int *)puVar5[0xd];\n        if (piVar18 == (int *)0x0) goto LAB_0006293e;\n        goto LAB_00062902;\n      }" ({ "{") (expression_statement "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;" (assignment_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10" (pointer_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40)" (* "*") (cast_expression "(undefined1 *)((int)puVar5 + iVar14 + 0x40)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + iVar14 + 0x40)" (( "(") (binary_expression "(int)puVar5 + iVar14 + 0x40" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "iVar14")) (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "10")) (; ";")) (expression_statement "piVar18 = (int *)puVar5[0xd];" (assignment_expression "piVar18 = (int *)puVar5[0xd]" (identifier "piVar18") (= "=") (cast_expression "(int *)puVar5[0xd]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[0xd]" (identifier "puVar5") ([ "[") (number_literal "0xd") (] "]")))) (; ";")) (if_statement "if (piVar18 == (int *)0x0) goto LAB_0006293e;" (if "if") (parenthesized_expression "(piVar18 == (int *)0x0)" (( "(") (binary_expression "piVar18 == (int *)0x0" (identifier "piVar18") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0006293e;" (goto "goto") (statement_identifier "LAB_0006293e") (; ";"))) (goto_statement "goto LAB_00062902;" (goto "goto") (statement_identifier "LAB_00062902") (; ";")) (} "}"))) (if_statement "if (iVar14 + -1 == 0) break;" (if "if") (parenthesized_expression "(iVar14 + -1 == 0)" (( "(") (binary_expression "iVar14 + -1 == 0" (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);" (assignment_expression "cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)((int)puVar5 + iVar14 + 0x3e)" (* "*") (cast_expression "(char *)((int)puVar5 + iVar14 + 0x3e)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + iVar14 + 0x3e)" (( "(") (binary_expression "(int)puVar5 + iVar14 + 0x3e" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "iVar14")) (+ "+") (number_literal "0x3e")) () ")"))))) (; ";")) (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (labeled_statement "LAB_00062902:\n  do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);" (statement_identifier "LAB_00062902") (: ":") (do_statement "do {\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  } while (piVar18 != (int *)0x0);" (do "do") (compound_statement "{\n    ppuVar15 = (undefined **)piVar18[1];\n    puVar11 = *ppuVar15;\n    psVar16 = (socklen_t *)ppuVar15[2];\n    if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }\n    piVar18 = (int *)*piVar18;\n  }" ({ "{") (expression_statement "ppuVar15 = (undefined **)piVar18[1];" (assignment_expression "ppuVar15 = (undefined **)piVar18[1]" (identifier "ppuVar15") (= "=") (cast_expression "(undefined **)piVar18[1]" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "piVar18[1]" (identifier "piVar18") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "puVar11 = *ppuVar15;" (assignment_expression "puVar11 = *ppuVar15" (identifier "puVar11") (= "=") (pointer_expression "*ppuVar15" (* "*") (identifier "ppuVar15"))) (; ";")) (expression_statement "psVar16 = (socklen_t *)ppuVar15[2];" (assignment_expression "psVar16 = (socklen_t *)ppuVar15[2]" (identifier "psVar16") (= "=") (cast_expression "(socklen_t *)ppuVar15[2]" (( "(") (type_descriptor "socklen_t *" (type_identifier "socklen_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "ppuVar15[2]" (identifier "ppuVar15") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (puVar11 == (undefined *)0xffffffff) {\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }\n    else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" (if "if") (parenthesized_expression "(puVar11 == (undefined *)0xffffffff)" (( "(") (binary_expression "puVar11 == (undefined *)0xffffffff" (identifier "puVar11") (== "==") (cast_expression "(undefined *)0xffffffff" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n      if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }\n    }" ({ "{") (if_statement "if (psVar16 == (socklen_t *)0x0) {\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }\n      else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" (if "if") (parenthesized_expression "(psVar16 == (socklen_t *)0x0)" (( "(") (binary_expression "psVar16 == (socklen_t *)0x0" (identifier "psVar16") (== "==") (cast_expression "(socklen_t *)0x0" (( "(") (type_descriptor "socklen_t *" (type_identifier "socklen_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        puVar11 = (undefined *)FUN_0001b77a();\n        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }\n        *ppuVar15 = (undefined *)0xffffffff;\n      }" ({ "{") (expression_statement "puVar11 = (undefined *)FUN_0001b77a();" (assignment_expression "puVar11 = (undefined *)FUN_0001b77a()" (identifier "puVar11") (= "=") (cast_expression "(undefined *)FUN_0001b77a()" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001b77a()" (identifier "FUN_0001b77a") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }" (if "if") (parenthesized_expression "(0x77 < (uint)((int)puVar11 - (int)ppuVar15[1]))" (( "(") (binary_expression "0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])" (number_literal "0x77") (< "<") (call_expression "(uint)((int)puVar11 - (int)ppuVar15[1])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)puVar11 - (int)ppuVar15[1])" (( "(") (binary_expression "(int)puVar11 - (int)ppuVar15[1]" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (- "-") (cast_expression "(int)ppuVar15[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "ppuVar15[1]" (identifier "ppuVar15") ([ "[") (number_literal "1") (] "]")))) () ")")))) () ")")) (compound_statement "{\n          ppuVar15[1] = puVar11;\n          puVar11 = (undefined *)FUN_000b3dd0();\n          ppuVar15[2] = puVar11;\n          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;\n        }" ({ "{") (expression_statement "ppuVar15[1] = puVar11;" (assignment_expression "ppuVar15[1] = puVar11" (subscript_expression "ppuVar15[1]" (identifier "ppuVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar11 = (undefined *)FUN_000b3dd0();" (assignment_expression "puVar11 = (undefined *)FUN_000b3dd0()" (identifier "puVar11") (= "=") (cast_expression "(undefined *)FUN_000b3dd0()" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000b3dd0()" (identifier "FUN_000b3dd0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "ppuVar15[2] = puVar11;" (assignment_expression "ppuVar15[2] = puVar11" (subscript_expression "ppuVar15[2]" (identifier "ppuVar15") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "puVar11")) (; ";")) (if_statement "if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;" (if "if") (parenthesized_expression "(puVar11 != (undefined *)0x0)" (( "(") (binary_expression "puVar11 != (undefined *)0x0" (identifier "puVar11") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00062a5f;" (goto "goto") (statement_identifier "LAB_00062a5f") (; ";"))) (} "}"))) (expression_statement "*ppuVar15 = (undefined *)0xffffffff;" (assignment_expression "*ppuVar15 = (undefined *)0xffffffff" (pointer_expression "*ppuVar15" (* "*") (identifier "ppuVar15")) (= "=") (cast_expression "(undefined *)0xffffffff" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (} "}")) (else_clause "else {\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" (else "else") (compound_statement "{\nLAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();\n        *ppuVar15 = puVar11;\n        if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }\n      }" ({ "{") (labeled_statement "LAB_00062a5f:\n        puVar11 = (undefined *)FUN_0001a291();" (statement_identifier "LAB_00062a5f") (: ":") (expression_statement "puVar11 = (undefined *)FUN_0001a291();" (assignment_expression "puVar11 = (undefined *)FUN_0001a291()" (identifier "puVar11") (= "=") (cast_expression "(undefined *)FUN_0001a291()" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a291()" (identifier "FUN_0001a291") (argument_list "()" (( "(") () ")"))))) (; ";"))) (expression_statement "*ppuVar15 = puVar11;" (assignment_expression "*ppuVar15 = puVar11" (pointer_expression "*ppuVar15" (* "*") (identifier "ppuVar15")) (= "=") (identifier "puVar11")) (; ";")) (if_statement "if (puVar11 != (undefined *)0xffffffff) {\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }" (if "if") (parenthesized_expression "(puVar11 != (undefined *)0xffffffff)" (( "(") (binary_expression "puVar11 != (undefined *)0xffffffff" (identifier "puVar11") (!= "!=") (cast_expression "(undefined *)0xffffffff" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n          psVar16 = (socklen_t *)ppuVar15[2];\n          goto LAB_00062a7d;\n        }" ({ "{") (expression_statement "psVar16 = (socklen_t *)ppuVar15[2];" (assignment_expression "psVar16 = (socklen_t *)ppuVar15[2]" (identifier "psVar16") (= "=") (cast_expression "(socklen_t *)ppuVar15[2]" (( "(") (type_descriptor "socklen_t *" (type_identifier "socklen_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "ppuVar15[2]" (identifier "ppuVar15") ([ "[") (number_literal "2") (] "]")))) (; ";")) (goto_statement "goto LAB_00062a7d;" (goto "goto") (statement_identifier "LAB_00062a7d") (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" (else "else") (compound_statement "{\nLAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);\n      if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }\n    }" ({ "{") (labeled_statement "LAB_00062a7d:\n      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);" (statement_identifier "LAB_00062a7d") (: ":") (expression_statement "sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);" (assignment_expression "sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" (identifier "sVar13") (= "=") (call_expression "sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" (identifier "sendto") (argument_list "((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16)" (( "(") (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (, ",") (identifier "local_50") (, ",") (binary_expression "iVar14 + 1" (identifier "iVar14") (+ "+") (number_literal "1")) (, ",") (number_literal "0x4040") (, ",") (cast_expression "(sockaddr *)(psVar16 + 1)" (( "(") (type_descriptor "sockaddr *" (type_identifier "sockaddr") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar16 + 1)" (( "(") (binary_expression "psVar16 + 1" (identifier "psVar16") (+ "+") (number_literal "1")) () ")"))) (, ",") (pointer_expression "*psVar16" (* "*") (identifier "psVar16")) () ")")))) (; ";"))) (if_statement "if ((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }" (if "if") (parenthesized_expression "((sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20))))" (( "(") (binary_expression "(sVar13 == -1) &&\n         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))" (parenthesized_expression "(sVar13 == -1)" (( "(") (binary_expression "sVar13 == -1" (identifier "sVar13") (== "==") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))" (( "(") (parenthesized_expression "((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20))" (( "(") (binary_expression "(iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)" (parenthesized_expression "(iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b))" (( "(") (comma_expression "iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)" (assignment_expression "iVar2 = *piVar4" (identifier "iVar2") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (, ",") (binary_expression "iVar2 == 0x68 || (iVar2 == 0x6b)" (binary_expression "iVar2 == 0x68" (identifier "iVar2") (== "==") (number_literal "0x68")) (|| "||") (parenthesized_expression "(iVar2 == 0x6b)" (( "(") (binary_expression "iVar2 == 0x6b" (identifier "iVar2") (== "==") (number_literal "0x6b")) () ")")))) () ")")) (|| "||") (parenthesized_expression "(iVar2 == 0x20)" (( "(") (binary_expression "iVar2 == 0x20" (identifier "iVar2") (== "==") (number_literal "0x20")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        close((int)*ppuVar15);\n        *ppuVar15 = (undefined *)0xffffffff;\n        free(ppuVar15[2]);\n        ppuVar15[2] = (undefined *)0x0;\n        piVar18 = (int *)*piVar18;\n        if (piVar18 == (int *)0x0) break;\n        goto LAB_00062902;\n      }" ({ "{") (expression_statement "close((int)*ppuVar15);" (call_expression "close((int)*ppuVar15)" (identifier "close") (argument_list "((int)*ppuVar15)" (( "(") (cast_expression "(int)*ppuVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar15" (* "*") (identifier "ppuVar15"))) () ")"))) (; ";")) (expression_statement "*ppuVar15 = (undefined *)0xffffffff;" (assignment_expression "*ppuVar15 = (undefined *)0xffffffff" (pointer_expression "*ppuVar15" (* "*") (identifier "ppuVar15")) (= "=") (cast_expression "(undefined *)0xffffffff" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (expression_statement "free(ppuVar15[2]);" (call_expression "free(ppuVar15[2])" (identifier "free") (argument_list "(ppuVar15[2])" (( "(") (subscript_expression "ppuVar15[2]" (identifier "ppuVar15") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "ppuVar15[2] = (undefined *)0x0;" (assignment_expression "ppuVar15[2] = (undefined *)0x0" (subscript_expression "ppuVar15[2]" (identifier "ppuVar15") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar18 = (int *)*piVar18;" (assignment_expression "piVar18 = (int *)*piVar18" (identifier "piVar18") (= "=") (cast_expression "(int *)*piVar18" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")))) (; ";")) (if_statement "if (piVar18 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar18 == (int *)0x0)" (( "(") (binary_expression "piVar18 == (int *)0x0" (identifier "piVar18") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (goto_statement "goto LAB_00062902;" (goto "goto") (statement_identifier "LAB_00062902") (; ";")) (} "}"))) (} "}")))) (expression_statement "piVar18 = (int *)*piVar18;" (assignment_expression "piVar18 = (int *)*piVar18" (identifier "piVar18") (= "=") (cast_expression "(int *)*piVar18" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar18 != (int *)0x0)" (( "(") (binary_expression "piVar18 != (int *)0x0" (identifier "piVar18") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";"))) (labeled_statement "LAB_0006293e:\n  if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" (statement_identifier "LAB_0006293e") (: ":") (if_statement "if ((_DAT_000d171c & 0x80) != 0) {\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" (if "if") (parenthesized_expression "((_DAT_000d171c & 0x80) != 0)" (( "(") (binary_expression "(_DAT_000d171c & 0x80) != 0" (parenthesized_expression "(_DAT_000d171c & 0x80)" (( "(") (binary_expression "_DAT_000d171c & 0x80" (identifier "_DAT_000d171c") (& "&") (number_literal "0x80")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;\n    local_24 = local_50;\n    pbVar19 = local_50 + iVar14;\n    bVar3 = local_50 < pbVar19;\n    local_50 = pbVar19;\n    if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }\n  }" ({ "{") (expression_statement "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;" (assignment_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0" (pointer_expression "*(undefined1 *)((int)puVar5 + iVar14 + 0x40)" (* "*") (cast_expression "(undefined1 *)((int)puVar5 + iVar14 + 0x40)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + iVar14 + 0x40)" (( "(") (binary_expression "(int)puVar5 + iVar14 + 0x40" (binary_expression "(int)puVar5 + iVar14" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "iVar14")) (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = local_50;" (assignment_expression "local_24 = local_50" (identifier "local_24") (= "=") (identifier "local_50")) (; ";")) (expression_statement "pbVar19 = local_50 + iVar14;" (assignment_expression "pbVar19 = local_50 + iVar14" (identifier "pbVar19") (= "=") (binary_expression "local_50 + iVar14" (identifier "local_50") (+ "+") (identifier "iVar14"))) (; ";")) (expression_statement "bVar3 = local_50 < pbVar19;" (assignment_expression "bVar3 = local_50 < pbVar19" (identifier "bVar3") (= "=") (binary_expression "local_50 < pbVar19" (identifier "local_50") (< "<") (identifier "pbVar19"))) (; ";")) (expression_statement "local_50 = pbVar19;" (assignment_expression "local_50 = pbVar19" (identifier "local_50") (= "=") (identifier "pbVar19")) (; ";")) (if_statement "if (bVar3) {\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n      pbVar12 = local_4c;\n      do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);\n    }" ({ "{") (expression_statement "pbVar12 = local_4c;" (assignment_expression "pbVar12 = local_4c" (identifier "pbVar12") (= "=") (identifier "local_4c")) (; ";")) (do_statement "do {\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      } while (local_24 < pbVar19);" (do "do") (compound_statement "{\n        if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }\n        bVar21 = *local_24;\n        ppuVar15 = (undefined **)(puVar5 + 0x110);\n        while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }\n        *(undefined1 *)ppuVar15 = 0;\n        FUN_00062098();\n        pbVar12 = local_24;\n      }" ({ "{") (if_statement "if (*pbVar12 == 0x3c) {\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }\n        else {\n          pbVar12 = (byte *)0xd;\n        }" (if "if") (parenthesized_expression "(*pbVar12 == 0x3c)" (( "(") (binary_expression "*pbVar12 == 0x3c" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (== "==") (number_literal "0x3c")) () ")")) (compound_statement "{\n          pbVar12 = (byte *)FUN_0001b930();\n          if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }\n          if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }\n        }" ({ "{") (expression_statement "pbVar12 = (byte *)FUN_0001b930();" (assignment_expression "pbVar12 = (byte *)FUN_0001b930()" (identifier "pbVar12") (= "=") (cast_expression "(byte *)FUN_0001b930()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001b930()" (identifier "FUN_0001b930") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*local_24 == 0x3e) {\n            local_24 = local_24 + 1;\n          }" (if "if") (parenthesized_expression "(*local_24 == 0x3e)" (( "(") (binary_expression "*local_24 == 0x3e" (pointer_expression "*local_24" (* "*") (identifier "local_24")) (== "==") (number_literal "0x3e")) () ")")) (compound_statement "{\n            local_24 = local_24 + 1;\n          }" ({ "{") (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (((uint)pbVar12 & 0xfffffc00) != 0) {\n            pbVar12 = (byte *)0xd;\n          }" (if "if") (parenthesized_expression "(((uint)pbVar12 & 0xfffffc00) != 0)" (( "(") (binary_expression "((uint)pbVar12 & 0xfffffc00) != 0" (parenthesized_expression "((uint)pbVar12 & 0xfffffc00)" (( "(") (binary_expression "(uint)pbVar12 & 0xfffffc00" (cast_expression "(uint)pbVar12" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar12")) (& "&") (number_literal "0xfffffc00")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            pbVar12 = (byte *)0xd;\n          }" ({ "{") (expression_statement "pbVar12 = (byte *)0xd;" (assignment_expression "pbVar12 = (byte *)0xd" (identifier "pbVar12") (= "=") (cast_expression "(byte *)0xd" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xd"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          pbVar12 = (byte *)0xd;\n        }" (else "else") (compound_statement "{\n          pbVar12 = (byte *)0xd;\n        }" ({ "{") (expression_statement "pbVar12 = (byte *)0xd;" (assignment_expression "pbVar12 = (byte *)0xd" (identifier "pbVar12") (= "=") (cast_expression "(byte *)0xd" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xd"))) (; ";")) (} "}")))) (expression_statement "bVar21 = *local_24;" (assignment_expression "bVar21 = *local_24" (identifier "bVar21") (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (expression_statement "ppuVar15 = (undefined **)(puVar5 + 0x110);" (assignment_expression "ppuVar15 = (undefined **)(puVar5 + 0x110)" (identifier "ppuVar15") (= "=") (cast_expression "(undefined **)(puVar5 + 0x110)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x110)" (( "(") (binary_expression "puVar5 + 0x110" (identifier "puVar5") (+ "+") (number_literal "0x110")) () ")")))) (; ";")) (while_statement "while (local_24 = local_24 + 1, bVar21 != 0) {\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }" (while "while") (parenthesized_expression "(local_24 = local_24 + 1, bVar21 != 0)" (( "(") (comma_expression "local_24 = local_24 + 1, bVar21 != 0" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (, ",") (binary_expression "bVar21 != 0" (identifier "bVar21") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n          ppuVar24 = (undefined **)((int)ppuVar15 + 1);\n          ppuVar17 = ppuVar24;\n          if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }\n          *(byte *)ppuVar15 = bVar21;\n          ppuVar15 = ppuVar17;\n          local_4c = pbVar12;\n          bVar21 = *local_24;\n        }" ({ "{") (expression_statement "ppuVar24 = (undefined **)((int)ppuVar15 + 1);" (assignment_expression "ppuVar24 = (undefined **)((int)ppuVar15 + 1)" (identifier "ppuVar24") (= "=") (cast_expression "(undefined **)((int)ppuVar15 + 1)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppuVar15 + 1)" (( "(") (binary_expression "(int)ppuVar15 + 1" (cast_expression "(int)ppuVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar15")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "ppuVar17 = ppuVar24;" (assignment_expression "ppuVar17 = ppuVar24" (identifier "ppuVar17") (= "=") (identifier "ppuVar24")) (; ";")) (if_statement "if (bVar21 == 10) {\n            bVar21 = 0x20;\n          }\n          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" (if "if") (parenthesized_expression "(bVar21 == 10)" (( "(") (binary_expression "bVar21 == 10" (identifier "bVar21") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n            bVar21 = 0x20;\n          }" ({ "{") (expression_statement "bVar21 = 0x20;" (assignment_expression "bVar21 = 0x20" (identifier "bVar21") (= "=") (number_literal "0x20")) (; ";")) (} "}")) (else_clause "else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" (else "else") (if_statement "if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" (if "if") (parenthesized_expression "(((bVar21 & 0xe0) == 0) && (bVar21 != 9))" (( "(") (binary_expression "((bVar21 & 0xe0) == 0) && (bVar21 != 9)" (parenthesized_expression "((bVar21 & 0xe0) == 0)" (( "(") (binary_expression "(bVar21 & 0xe0) == 0" (parenthesized_expression "(bVar21 & 0xe0)" (( "(") (binary_expression "bVar21 & 0xe0" (identifier "bVar21") (& "&") (number_literal "0xe0")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(bVar21 != 9)" (( "(") (binary_expression "bVar21 != 9" (identifier "bVar21") (!= "!=") (number_literal "9")) () ")"))) () ")")) (compound_statement "{\n            *(undefined1 *)ppuVar15 = 0x5e;\n            bVar21 = bVar21 + 0x40;\n            ppuVar17 = (undefined **)((int)ppuVar15 + 2);\n            ppuVar15 = ppuVar24;\n          }" ({ "{") (expression_statement "*(undefined1 *)ppuVar15 = 0x5e;" (assignment_expression "*(undefined1 *)ppuVar15 = 0x5e" (pointer_expression "*(undefined1 *)ppuVar15" (* "*") (cast_expression "(undefined1 *)ppuVar15" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "ppuVar15"))) (= "=") (number_literal "0x5e")) (; ";")) (expression_statement "bVar21 = bVar21 + 0x40;" (assignment_expression "bVar21 = bVar21 + 0x40" (identifier "bVar21") (= "=") (binary_expression "bVar21 + 0x40" (identifier "bVar21") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "ppuVar17 = (undefined **)((int)ppuVar15 + 2);" (assignment_expression "ppuVar17 = (undefined **)((int)ppuVar15 + 2)" (identifier "ppuVar17") (= "=") (cast_expression "(undefined **)((int)ppuVar15 + 2)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppuVar15 + 2)" (( "(") (binary_expression "(int)ppuVar15 + 2" (cast_expression "(int)ppuVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar15")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "ppuVar15 = ppuVar24;" (assignment_expression "ppuVar15 = ppuVar24" (identifier "ppuVar15") (= "=") (identifier "ppuVar24")) (; ";")) (} "}"))))) (expression_statement "*(byte *)ppuVar15 = bVar21;" (assignment_expression "*(byte *)ppuVar15 = bVar21" (pointer_expression "*(byte *)ppuVar15" (* "*") (cast_expression "(byte *)ppuVar15" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "ppuVar15"))) (= "=") (identifier "bVar21")) (; ";")) (expression_statement "ppuVar15 = ppuVar17;" (assignment_expression "ppuVar15 = ppuVar17" (identifier "ppuVar15") (= "=") (identifier "ppuVar17")) (; ";")) (expression_statement "local_4c = pbVar12;" (assignment_expression "local_4c = pbVar12" (identifier "local_4c") (= "=") (identifier "pbVar12")) (; ";")) (expression_statement "bVar21 = *local_24;" (assignment_expression "bVar21 = *local_24" (identifier "bVar21") (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)ppuVar15 = 0;" (assignment_expression "*(undefined1 *)ppuVar15 = 0" (pointer_expression "*(undefined1 *)ppuVar15" (* "*") (cast_expression "(undefined1 *)ppuVar15" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "ppuVar15"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00062098();" (call_expression "FUN_00062098()" (identifier "FUN_00062098") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pbVar12 = local_24;" (assignment_expression "pbVar12 = local_24" (identifier "pbVar12") (= "=") (identifier "local_24")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_24 < pbVar19)" (( "(") (binary_expression "local_24 < pbVar19" (identifier "local_24") (< "<") (identifier "pbVar19")) () ")")) (; ";")) (} "}"))) (} "}")))) (goto_statement "goto LAB_000627f4;" (goto "goto") (statement_identifier "LAB_000627f4") (; ";")) (} "}")))

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

int function_1(int argc,char **argv)

{
  char *opt_m;
  char *opt_l;
  char *opt_C;
  type_1 *remoteAddrList;
  char *p;
  
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(undefined4 param_1,undefined4 param_2)

{
  char cVar1;
  int iVar2;
  bool bVar3;
  int *piVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  char *pcVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  undefined *puVar11;
  byte *pbVar12;
  ssize_t sVar13;
  int iVar14;
  undefined4 extraout_ECX;
  undefined **ppuVar15;
  undefined4 extraout_EDX;
  socklen_t *psVar16;
  undefined **ppuVar17;
  int *piVar18;
  byte *pbVar19;
  int in_GS_OFFSET;
  undefined1 uVar20;
  byte bVar21;
  size_t __size;
  undefined4 uVar22;
  undefined4 uVar23;
  undefined **ppuVar24;
  byte *local_50;
  byte *local_4c;
  undefined1 local_34 [4];
  undefined1 local_30 [4];
  int local_2c;
  undefined **local_28;
  byte *local_24;
  undefined4 local_20;
  
  bVar21 = 0;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_2c = 0;
  local_28 = (undefined **)0x0;
  puVar5 = (undefined4 *)FUN_00019b89();
  ppuVar15 = &PTR_s__var_log_messages_000d0180;
  puVar6 = puVar5;
  for (iVar14 = 0xd; iVar14 != 0; iVar14 = iVar14 + -1) {
    *puVar6 = *ppuVar15;
    ppuVar15 = ppuVar15 + (uint)bVar21 * -2 + 1;
    puVar6 = puVar6 + (uint)bVar21 * -2 + 1;
  }
  DAT_000d1700 = puVar5;
  local_50 = (byte *)FUN_000a8bdf(param_2,"^m:nO:l:StR:*LC::",local_34,puVar5,local_30,&local_28,
                                  &local_2c,puVar6);
  if (local_28 != (undefined **)0x0) {
    local_4c = (byte *)(puVar5 + 0xd);
    do {
      puVar6 = (undefined4 *)FUN_00019b89();
      uVar7 = FUN_00018d50();
      puVar6[3] = uVar7;
      *puVar6 = 0xffffffff;
      iVar14 = FUN_0001b77a();
      puVar6[1] = iVar14 + -0x79;
      FUN_00018d02();
      ppuVar15 = local_28;
    } while (local_28 != (undefined **)0x0);
  }
  if (((uint)local_50 & 8) != 0) {
    uVar7 = FUN_000b34e2();
    puVar5[3] = uVar7;
  }
  if (local_2c != 0) {
    iVar14 = FUN_000b34e2();
    puVar5[6] = iVar14 << 10;
  }
  if (((uint)local_50 & 0x40) == 0) {
    _DAT_000d171c = _DAT_000d171c | 0x80;
  }
  pcVar8 = (char *)FUN_000b17b6();
  puVar5[0xf] = pcVar8;
  pcVar8 = strchrnul(pcVar8,0x2e);
  *pcVar8 = '\0';
  if (((uint)local_50 & 2) == 0) {
    FUN_000b2f0a();
  }
  FUN_000ae0c5();
  FUN_0001b022();
  FUN_0001b022();
  signal(1,(__sighandler_t)0x1);
  FUN_000624ba();
  FUN_00019dd8();
  if ((_DAT_000d171c & 0x100) != 0) {
    uVar22 = 0x3a4;
    __size = puVar5[6];
    uVar7 = extraout_ECX;
    iVar14 = shmget(0x414e4547,__size,0x3a4);
    puVar5[4] = iVar14;
    if (iVar14 == -1) {
                    /* WARNING: Subroutine does not return */
      FUN_00018e79("shmget",__size,uVar22,uVar7);
    }
    uVar23 = 0;
    uVar22 = 0;
    uVar7 = extraout_EDX;
    puVar9 = (undefined1 *)shmat(iVar14,(void *)0x0,0);
    puVar5[0xe] = puVar9;
    if (puVar9 == (undefined1 *)0xffffffff) {
                    /* WARNING: Subroutine does not return */
      FUN_00018e79("shmat",uVar22,uVar23,uVar7);
    }
    for (iVar14 = puVar5[6]; iVar14 != 0; iVar14 = iVar14 + -1) {
      *puVar9 = 0;
      puVar9 = puVar9 + (uint)bVar21 * -2 + 1;
    }
    puVar10 = (undefined1 *)(puVar5[6] + -9);
    *(undefined1 **)puVar5[0xe] = puVar10;
    uVar22 = 0x7ff;
    uVar7 = 2;
    iVar14 = semget(0x414e4547,2,0x7ff);
    puVar5[5] = iVar14;
    if (iVar14 == -1) {
      if (*DAT_000d16fc == 0x11) {
        uVar22 = 0;
        uVar7 = 2;
        iVar14 = semget(0x414e4547,2,0);
        puVar5[5] = iVar14;
        puVar10 = puVar9;
        if (iVar14 != -1) goto LAB_000627d4;
      }
                    /* WARNING: Subroutine does not return */
      FUN_00018e79("semget",uVar7,uVar22,puVar10);
    }
  }
LAB_000627d4:
  piVar4 = DAT_000d16fc;
  if ((_DAT_000d171c & 0x80) != 0) {
    FUN_00062098();
    piVar4 = DAT_000d16fc;
  }
LAB_000627f4:
  if (DAT_000d1724 != '\0') goto LAB_00062846;
  local_50 = (byte *)(puVar5 + 0x10);
  local_4c = local_50;
  do {
    do {
      uVar7 = 0x3ff;
      ppuVar24 = ppuVar15;
      iVar14 = read(0,local_50,0x3ff);
      uVar20 = iVar14 == 0;
      if (iVar14 < 0) {
        if (DAT_000d1724 == '\0') {
          FUN_00018e3c("read from %s",&DAT_000c95fe,uVar7,ppuVar24);
        }
LAB_00062846:
        if ((_DAT_000d171c & 0x80) != 0) {
          FUN_00062098();
        }
        if (DAT_000d1727 != '\0') {
          unlink("/var/run/syslogd.pid");
        }
        if (puVar5[4] != -1) {
          shmdt((void *)puVar5[0xe]);
          if (puVar5[4] != -1) {
            shmctl(puVar5[4],0,(shmid_ds *)0x0);
          }
        }
        iVar14 = puVar5[5];
        if (iVar14 != -1) {
          semctl(iVar14,0,0,0);
        }
        uVar20 = iVar14 == -1 || &stack0x00000000 == (undefined1 *)0x5c;
        iVar14 = FUN_0001af7d();
      }
    } while ((bool)uVar20);
    cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3f);
    while( true ) {
      if ((cVar1 != '\0') && (cVar1 != '\n')) {
        *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 10;
        piVar18 = (int *)puVar5[0xd];
        if (piVar18 == (int *)0x0) goto LAB_0006293e;
        goto LAB_00062902;
      }
      if (iVar14 + -1 == 0) break;
      cVar1 = *(char *)((int)puVar5 + iVar14 + 0x3e);
      iVar14 = iVar14 + -1;
    }
  } while( true );
LAB_00062902:
  do {
    ppuVar15 = (undefined **)piVar18[1];
    puVar11 = *ppuVar15;
    psVar16 = (socklen_t *)ppuVar15[2];
    if (puVar11 == (undefined *)0xffffffff) {
      if (psVar16 == (socklen_t *)0x0) {
        puVar11 = (undefined *)FUN_0001b77a();
        if (0x77 < (uint)((int)puVar11 - (int)ppuVar15[1])) {
          ppuVar15[1] = puVar11;
          puVar11 = (undefined *)FUN_000b3dd0();
          ppuVar15[2] = puVar11;
          if (puVar11 != (undefined *)0x0) goto LAB_00062a5f;
        }
        *ppuVar15 = (undefined *)0xffffffff;
      }
      else {
LAB_00062a5f:
        puVar11 = (undefined *)FUN_0001a291();
        *ppuVar15 = puVar11;
        if (puVar11 != (undefined *)0xffffffff) {
          psVar16 = (socklen_t *)ppuVar15[2];
          goto LAB_00062a7d;
        }
      }
    }
    else {
LAB_00062a7d:
      sVar13 = sendto((int)puVar11,local_50,iVar14 + 1,0x4040,(sockaddr *)(psVar16 + 1),*psVar16);
      if ((sVar13 == -1) &&
         (((iVar2 = *piVar4, iVar2 == 0x68 || (iVar2 == 0x6b)) || (iVar2 == 0x20)))) {
        close((int)*ppuVar15);
        *ppuVar15 = (undefined *)0xffffffff;
        free(ppuVar15[2]);
        ppuVar15[2] = (undefined *)0x0;
        piVar18 = (int *)*piVar18;
        if (piVar18 == (int *)0x0) break;
        goto LAB_00062902;
      }
    }
    piVar18 = (int *)*piVar18;
  } while (piVar18 != (int *)0x0);
LAB_0006293e:
  if ((_DAT_000d171c & 0x80) != 0) {
    *(undefined1 *)((int)puVar5 + iVar14 + 0x40) = 0;
    local_24 = local_50;
    pbVar19 = local_50 + iVar14;
    bVar3 = local_50 < pbVar19;
    local_50 = pbVar19;
    if (bVar3) {
      pbVar12 = local_4c;
      do {
        if (*pbVar12 == 0x3c) {
          pbVar12 = (byte *)FUN_0001b930();
          if (*local_24 == 0x3e) {
            local_24 = local_24 + 1;
          }
          if (((uint)pbVar12 & 0xfffffc00) != 0) {
            pbVar12 = (byte *)0xd;
          }
        }
        else {
          pbVar12 = (byte *)0xd;
        }
        bVar21 = *local_24;
        ppuVar15 = (undefined **)(puVar5 + 0x110);
        while (local_24 = local_24 + 1, bVar21 != 0) {
          ppuVar24 = (undefined **)((int)ppuVar15 + 1);
          ppuVar17 = ppuVar24;
          if (bVar21 == 10) {
            bVar21 = 0x20;
          }
          else if (((bVar21 & 0xe0) == 0) && (bVar21 != 9)) {
            *(undefined1 *)ppuVar15 = 0x5e;
            bVar21 = bVar21 + 0x40;
            ppuVar17 = (undefined **)((int)ppuVar15 + 2);
            ppuVar15 = ppuVar24;
          }
          *(byte *)ppuVar15 = bVar21;
          ppuVar15 = ppuVar17;
          local_4c = pbVar12;
          bVar21 = *local_24;
        }
        *(undefined1 *)ppuVar15 = 0;
        FUN_00062098();
        pbVar12 = local_24;
      } while (local_24 < pbVar19);
    }
  }
  goto LAB_000627f4;
}

