
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void ssh_setup_portfwd(Ssh_conflict ssh,Conf *conf)

{
  bool bVar1;
  bool bVar2;
  undefined4 *puVar3;
  char *pcVar4;
  code *pcVar5;
  undefined *puVar6;
  int iVar7;
  int iVar8;
  char *pcVar9;
  int *piVar10;
  int *piVar11;
  int *piVar12;
  ulong uVar13;
  ulong port;
  ssh_channel *c;
  tree234 *ptVar14;
  Ssh_conflict ssh_00;
  Ssh_conflict psVar15;
  Packet *pkt;
  undefined *puVar16;
  char *pcVar17;
  undefined *puVar18;
  undefined *puVar19;
  int iVar20;
  Packet *pPVar21;
  char *pcVar22;
  uint unaff_s2;
  uint uVar23;
  undefined *puVar24;
  code *pcVar25;
  int iStack_130;
  char *pcStack_12c;
  undefined1 auStack_128 [4];
  ulong uStack_124;
  char *pcStack_11c;
  undefined4 uStack_10c;
  Ssh_conflict psStack_108;
  int *piStack_104;
  uint uStack_100;
  Ssh_conflict psStack_fc;
  int *piStack_f8;
  undefined *puStack_f4;
  undefined *puStack_f0;
  code *pcStack_ec;
  int iStack_d8;
  int iStack_d4;
  int iStack_d0;
  undefined4 uStack_cc;
  int iStack_c8;
  undefined4 uStack_c4;
  undefined4 uStack_c0;
  undefined *puStack_b8;
  Ssh_conflict psStack_ac;
  Packet *pPStack_a8;
  undefined *puStack_a4;
  uint uStack_a0;
  Ssh_conflict psStack_9c;
  int *piStack_98;
  code *pcStack_94;
  char *local_54;
  undefined1 uStack_31;
  char *key;
  int local_2c;
  
  puVar18 = PTR___stack_chk_guard_000adcd4;
  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;
  ptVar14 = ssh->portfwds;
  iVar20 = 0;
  if (ptVar14 == (tree234 *)0x0) {
    ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);
    ssh->portfwds = ptVar14;
  }
  else {
    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),
          puVar3 != (undefined4 *)0x0) {
      iVar20 = iVar20 + 1;
      ptVar14 = ssh->portfwds;
      *puVar3 = 0;
    }
  }
  pcVar17 = (char *)0x0;
  iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key);
  puVar16 = PTR_DAT_000ad2c8;
  if (iVar20 != 0) {
    pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;
    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);
    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;
    do {
      uVar23 = (uint)*key;
      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {
        unaff_s2 = (uint)key[1];
        pcVar17 = key + 1;
        if (unaff_s2 != 0x4c) goto LAB_00041c3c;
LAB_00041d7c:
        pcVar17 = pcVar17 + 1;
      }
      else {
        bVar1 = uVar23 == 0x4c;
        pcVar17 = key;
        unaff_s2 = uVar23;
        uVar23 = 0x41;
        if (bVar1) goto LAB_00041d7c;
LAB_00041c3c:
        if (unaff_s2 == 0x52) goto LAB_00041d7c;
        unaff_s2 = 0x4c;
      }
      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);
      if (iVar7 != 0) {
        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);
        host_strduptrim(pcVar17);
                    /* WARNING: Subroutine does not return */
        safefree(pcVar17);
      }
      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);
      if (iVar7 == 0) {
        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);
        if (iVar7 == 0) {
          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);
          bVar1 = true;
        }
        else {
          bVar1 = true;
        }
      }
      else {
        bVar1 = false;
      }
      if ((unaff_s2 == 0x4c) &&
         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {
        if (iVar7 == 0) {
LAB_00041d44:
                    /* WARNING: Subroutine does not return */
          safefree((void *)0x0);
        }
        piVar10 = (int *)safemalloc(1,0x2c);
        piVar10[4] = 0;
        piVar10[1] = 0x44;
        iVar20 = -1;
        if (bVar1) {
          pcVar9 = (char *)0x0;
          pcVar22 = (char *)0x0;
          bVar2 = false;
LAB_00042660:
          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);
          piVar10[6] = iVar8;
          piVar10[2] = iVar7;
          piVar10[5] = (int)pcVar9;
          goto joined_r0x00042688;
        }
        piVar10[6] = 0;
        iVar8 = 0;
        piVar10[2] = iVar7;
        piVar10[5] = 0;
LAB_00041b48:
        piVar10[7] = iVar8;
        piVar10[3] = iVar20;
        piVar10[10] = 0;
        piVar10[8] = 0;
        if (uVar23 == 0x34) goto LAB_00041e2c;
LAB_00041b60:
        puVar24 = PTR_add234_000ad45c;
        iVar20 = 2;
        ptVar14 = ssh->portfwds;
        if (uVar23 != 0x36) {
          iVar20 = 0;
        }
        piVar10[9] = iVar20;
        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);
        if (piVar10 != piVar11) goto LAB_00041b8c;
      }
      else {
        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);
        pcVar22 = (char *)(iVar20 + iVar8);
        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);
        if (*pcVar22 != '\0') {
          pcVar22 = pcVar22 + 1;
        }
        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);
        if (iVar20 == 0) {
          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);
          if (iVar20 == 0) {
            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);
            goto LAB_00041d44;
          }
          bVar2 = true;
        }
        else {
          bVar2 = false;
        }
        if (iVar7 == 0) goto LAB_00041d44;
        piVar10 = (int *)safemalloc(1,0x2c);
        piVar10[1] = unaff_s2;
        piVar10[4] = 0;
        if (bVar1) goto LAB_00042660;
        piVar10[2] = iVar7;
        piVar10[5] = (int)pcVar9;
        piVar10[6] = 0;
joined_r0x00042688:
        if (bVar2) {
          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);
          goto LAB_00041b48;
        }
        piVar10[3] = iVar20;
        piVar10[10] = 0;
        piVar10[7] = 0;
        piVar10[8] = 0;
        if (uVar23 != 0x34) goto LAB_00041b60;
LAB_00041e2c:
        puVar24 = PTR_add234_000ad45c;
        ptVar14 = ssh->portfwds;
        piVar10[9] = 1;
        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);
        if (piVar10 != piVar11) {
LAB_00041b8c:
          if (*piVar11 == 0) {
            *piVar11 = 1;
          }
                    /* WARNING: Subroutine does not return */
          safefree((void *)piVar10[4]);
        }
      }
      *piVar10 = 2;
      pcVar17 = key;
      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);
    } while (iVar20 != 0);
  }
  puVar6 = PTR_DAT_000ad2c8;
  iVar20 = 0;
  piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0);
  puVar16 = PTR_LAB_000ad5b0;
  while (puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0) {
    if (*piVar10 == 0) {
      if (piVar10[1] == 0x4c) {
        puVar18 = (undefined *)piVar10[4];
        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;
      }
      else {
        if (piVar10[1] == 0x52) {
          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;
        }
        else {
          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;
        }
        puVar18 = (undefined *)piVar10[4];
      }
      if (puVar18 == (undefined *)0x0) {
        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;
        puVar24 = puVar18;
      }
      else {
        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;
      }
      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);
      if (piVar10[1] != 0x44) {
        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);
                    /* WARNING: Subroutine does not return */
        safefree(pcVar17);
      }
      logeventf(ssh,puVar6 + -0x844,pcVar17);
                    /* WARNING: Subroutine does not return */
      safefree(pcVar17);
    }
    iVar20 = iVar20 + 1;
    piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);
    puVar16 = PTR_LAB_000ad5b0;
  }
  pPVar21 = (Packet *)0x0;
  pkt = (Packet *)0x0;
  ssh_00 = (Ssh_conflict)ssh->portfwds;
  pcVar5 = (code *)(puVar16 + -0xe98);
  puVar6 = PTR_DAT_000ad2c8 + -0x22a4;
  piVar11 = (int *)(*(code *)PTR_index234_000ad470)();
  while( true ) {
    if (piVar11 == (int *)0x0) {
      if (local_2c == *(int *)puVar18) {
        return;
      }
      pcVar5 = ssh_size;
      puVar18 = PTR___stack_chk_fail_000adca4;
      (*(code *)PTR___stack_chk_fail_000adca4)();
      puStack_b8 = puVar18 + 0x72a6c;
      ssh_00->term_width = (int)pkt;
      ssh_00->term_height = (int)pcVar17;
      piVar11 = *(int **)(puVar18 + 0x6b4b0);
      psVar15 = (Ssh_conflict)*piVar11;
      psStack_ac = psVar15;
      pPStack_a8 = pPVar21;
      puStack_a4 = puVar6;
      uStack_a0 = unaff_s2;
      psStack_9c = ssh;
      piStack_98 = piVar10;
      pcStack_94 = pcVar5;
      if (ssh_00->state == ADDRTYPE_IPV6) {
        ssh_00->size_needed = 1;
      }
      else if (ssh_00->state == ADDRTYPE_NAME) {
        pkt = (Packet *)&DAT_00000016;
        psVar15 = (Ssh_conflict)ssh_00->conf;
        iVar20 = (**(code **)(puVar18 + 0x6ab28))();
        if (iVar20 == 0) {
          iVar20 = ssh_00->version;
          if (iVar20 == 1) {
            iStack_d4 = ssh_00->term_width;
            pkt = (Packet *)0xb;
            uStack_c0 = 0;
            uStack_c4 = 0;
            uStack_cc = 0;
            psVar15 = ssh_00;
            iStack_d8 = iVar20;
            iStack_d0 = iVar20;
            iStack_c8 = iVar20;
            send_packet(ssh_00,0xb,1,ssh_00->term_height);
          }
          else {
            psVar15 = (Ssh_conflict)ssh_00->mainchan;
            pkt = *(Packet **)(puStack_b8 + -0x7fc8);
            if (psVar15 != (Ssh_conflict)0x0) {
              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,
                                          (cchandler_fn_t)0x0,(void *)0x0);
                    /* WARNING: Subroutine does not return */
              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);
            }
          }
        }
      }
      if (psStack_ac == (Ssh_conflict)*piVar11) {
        return;
      }
      pcVar5 = *(code **)(puStack_b8 + -0x75ec);
      pcVar25 = ssh1_msg_port_open;
      (*pcVar5)();
      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);
      pPVar21 = pkt;
      psStack_108 = ssh_00;
      piStack_104 = piVar11;
      uStack_100 = unaff_s2;
      psStack_fc = ssh;
      piStack_f8 = piVar10;
      puStack_f4 = puVar16;
      puStack_f0 = puVar24;
      pcStack_ec = pcVar25;
      uVar13 = ssh_pkt_getuint32(pkt);
      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);
      port = ssh_pkt_getuint32(pkt);
      if (pcStack_12c == (char *)0x0) {
        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);
      }
      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))
                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);
      uStack_124 = port;
      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);
      if (iVar20 == 0) {
        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);
        send_packet(psVar15,0x16,1,uVar13,0);
      }
      else {
        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);
        c->ssh = psVar15;
        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);
        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,
                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));
        if (pcVar17 != (char *)0x0) {
          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);
                    /* WARNING: Subroutine does not return */
          safefree(pcVar17);
        }
        ssh_channel_init(c);
        c->type = 3;
        c->remoteid = uVar13;
        c->halfopen = 0;
        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);
        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);
      }
                    /* WARNING: Subroutine does not return */
      safefree(pcStack_11c);
    }
    if (*piVar11 == 2) break;
    pPVar21 = (Packet *)((int)&pPVar21->length + 1);
    ssh_00 = (Ssh_conflict)ssh->portfwds;
    pkt = pPVar21;
    piVar11 = (int *)(*(code *)PTR_index234_000ad470)();
  }
  puVar18 = puVar6;
  puVar16 = puVar6;
  if ((undefined *)piVar11[4] != (undefined *)0x0) {
    puVar18 = (undefined *)piVar11[4];
    puVar16 = PTR_DAT_000ad2c8 + 0x7b40;
  }
  puVar19 = puVar6;
  if ((undefined *)piVar11[6] != (undefined *)0x0) {
    puVar19 = (undefined *)piVar11[6];
  }
  pcVar17 = dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19);
  if (piVar11[1] != 0x44) {
    puVar18 = puVar6;
    puVar16 = puVar6;
    if ((undefined *)piVar11[7] != (undefined *)0x0) {
      puVar18 = (undefined *)piVar11[7];
      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;
    }
    pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);
    if (piVar11[1] == 0x4c) {
      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,
                            (PortListener **)(piVar11 + 10),piVar11[9]);
      if (piVar11[9] == 1) {
        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;
      }
      else if (piVar11[9] == 2) {
        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;
      }
      if (local_54 == (char *)0x0) {
        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);
        FUN_000420e8();
        return;
      }
      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);
      goto LAB_000424c0;
    }
    if (piVar11[1] != 0x44) {
      if (ssh->rportfwds == (tree234 *)0x0) {
        if (ssh->version == 1) {
          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);
          ssh->rportfwds = ptVar14;
        }
        else {
          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);
          ssh->rportfwds = ptVar14;
        }
      }
      piVar10 = (int *)safemalloc(1,0x1c);
      pcVar22 = (char *)piVar11[5];
      piVar10[5] = 0;
      pcVar22 = dupstr(pcVar22);
      iVar20 = piVar11[3];
      pcVar9 = (char *)piVar11[4];
      piVar10[3] = (int)pcVar22;
      piVar10[1] = iVar20;
      if (pcVar9 == (char *)0x0) {
        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);
        if (iVar20 == 0) {
          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);
          piVar10[2] = iVar20;
        }
        else {
          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);
          piVar10[2] = iVar20;
        }
      }
      else {
        pcVar22 = dupstr(pcVar9);
        piVar10[2] = (int)pcVar22;
      }
      puVar18 = PTR_add234_000ad45c;
      ptVar14 = ssh->rportfwds;
      *piVar10 = piVar11[2];
      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);
      if (piVar10 != piVar12) {
        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);
                    /* WARNING: Subroutine does not return */
        safefree(piVar10);
      }
      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);
      iVar20 = ssh->version;
      piVar10[4] = (int)pcVar17;
      piVar11[8] = (int)piVar10;
      piVar10[6] = (int)piVar11;
      if (iVar20 != 1) {
        pPVar21 = ssh2_pkt_init(0x50);
        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);
        uStack_31 = 1;
                    /* WARNING: Subroutine does not return */
        ssh_pkt_adddata(pPVar21,&uStack_31,1);
      }
      send_packet(ssh,0x1c,1,piVar11[2]);
      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);
      FUN_000420e8();
      return;
    }
  }
  local_54 = pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,
                        (PortListener **)(piVar11 + 10),piVar11[9]);
  if (piVar11[9] == 1) {
    puVar6 = PTR_DAT_000ad2c8 + -0x8dc;
  }
  else if (piVar11[9] == 2) {
    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;
  }
  if (local_54 == (char *)0x0) {
    (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);
    FUN_000420e8();
    return;
  }
  (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);
LAB_000424c0:
                    /* WARNING: Subroutine does not return */
  safefree(local_54);
}



void FUN_000419f8(int param_1,undefined4 param_2)

{
  bool bVar1;
  bool bVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined *puVar6;
  undefined4 uVar7;
  int iVar8;
  int iVar9;
  code *pcVar10;
  int *piVar11;
  int *piVar12;
  int iVar13;
  uint uVar14;
  int *piVar15;
  int *piVar16;
  undefined *puVar17;
  int iVar18;
  int *piVar19;
  char *pcVar20;
  int *piVar21;
  uint unaff_s2;
  uint uVar22;
  undefined *puVar23;
  undefined *puVar24;
  int *piVar25;
  undefined4 uStack_130;
  int iStack_12c;
  undefined1 auStack_128 [4];
  undefined4 uStack_124;
  int iStack_11c;
  int iStack_10c;
  int iStack_108;
  int *piStack_104;
  uint uStack_100;
  int iStack_fc;
  int *piStack_f8;
  int *piStack_f4;
  undefined *puStack_f0;
  undefined4 uStack_ec;
  int iStack_d8;
  undefined4 uStack_d4;
  int iStack_d0;
  undefined4 uStack_cc;
  int iStack_c8;
  undefined4 uStack_c4;
  undefined4 uStack_c0;
  undefined *puStack_b8;
  int iStack_b0;
  int iStack_ac;
  uint uStack_a8;
  int *piStack_a4;
  uint uStack_a0;
  int iStack_9c;
  int *piStack_98;
  code *pcStack_94;
  int *local_80;
  int *local_7c;
  int *local_78;
  int local_74;
  undefined4 local_70;
  int *local_54;
  undefined1 local_31;
  int *local_30;
  int local_2c;
  
  puVar24 = PTR___stack_chk_guard_000adcd4;
  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;
  iVar13 = *(int *)(param_1 + 0x140);
  iVar18 = 0;
  if (iVar13 == 0) {
    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);
    *(undefined4 *)(param_1 + 0x140) = uVar7;
  }
  else {
    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),
          puVar3 != (undefined4 *)0x0) {
      iVar18 = iVar18 + 1;
      iVar13 = *(int *)(param_1 + 0x140);
      *puVar3 = 0;
    }
  }
  piVar15 = (int *)0x0;
  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);
  puVar23 = PTR_DAT_000ad2c8;
  if (iVar13 != 0) {
    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;
    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);
    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;
    do {
      uVar22 = (uint)*(char *)local_30;
      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {
        unaff_s2 = (uint)*(char *)((int)local_30 + 1);
        piVar15 = (int *)((int)local_30 + 1);
        if (unaff_s2 != 0x4c) goto LAB_00041c3c;
LAB_00041d7c:
        piVar15 = (int *)((int)piVar15 + 1);
      }
      else {
        bVar1 = uVar22 == 0x4c;
        piVar15 = local_30;
        unaff_s2 = uVar22;
        uVar22 = 0x41;
        if (bVar1) goto LAB_00041d7c;
LAB_00041c3c:
        if (unaff_s2 == 0x52) goto LAB_00041d7c;
        unaff_s2 = 0x4c;
      }
      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);
      piVar19 = piVar15;
      if (iVar18 != 0) {
        piVar19 = (int *)(iVar18 + 1);
        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);
        iVar18 = host_strduptrim(uVar7);
        safefree(uVar7);
      }
      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);
      if (iVar8 == 0) {
        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);
        if (iVar8 == 0) {
          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);
          bVar1 = true;
        }
        else {
          bVar1 = true;
        }
      }
      else {
        bVar1 = false;
      }
      if ((unaff_s2 == 0x4c) &&
         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {
        if (iVar8 == 0) {
          iVar13 = 0;
LAB_00041d44:
          safefree(iVar18);
          safefree(iVar13);
        }
        else {
          piVar15 = (int *)safemalloc(1,0x2c);
          piVar15[4] = iVar18;
          piVar15[1] = 0x44;
          iVar9 = -1;
          if (bVar1) {
            iVar13 = 0;
            pcVar20 = (char *)0x0;
            bVar2 = false;
LAB_00042660:
            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);
            piVar15[6] = iVar18;
            piVar15[2] = iVar8;
            piVar15[5] = iVar13;
            goto joined_r0x00042688;
          }
          piVar15[6] = 0;
          iVar13 = 0;
          piVar15[2] = iVar8;
          piVar15[5] = 0;
LAB_00041b48:
          piVar15[7] = iVar13;
          piVar15[3] = iVar9;
          piVar15[10] = 0;
          piVar15[8] = 0;
          if (uVar22 != 0x34) goto LAB_00041b60;
LAB_00041e2c:
          puVar17 = PTR_add234_000ad45c;
          uVar7 = *(undefined4 *)(param_1 + 0x140);
          piVar15[9] = 1;
          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);
          if (piVar15 != piVar19) goto LAB_00041b8c;
LAB_00041e4c:
          *piVar15 = 2;
        }
      }
      else {
        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);
        pcVar20 = (char *)(iVar13 + iVar9);
        iVar13 = dupprintf(puVar4,iVar9,iVar13);
        if (*pcVar20 != '\0') {
          pcVar20 = pcVar20 + 1;
        }
        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);
        if (iVar9 == 0) {
          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);
          if (iVar9 == 0) {
            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);
            goto LAB_00041d44;
          }
          bVar2 = true;
        }
        else {
          bVar2 = false;
        }
        if (iVar8 == 0) goto LAB_00041d44;
        piVar15 = (int *)safemalloc(1,0x2c);
        piVar15[1] = unaff_s2;
        piVar15[4] = iVar18;
        if (bVar1) goto LAB_00042660;
        piVar15[2] = iVar8;
        piVar15[5] = iVar13;
        piVar15[6] = 0;
joined_r0x00042688:
        if (bVar2) {
          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);
          goto LAB_00041b48;
        }
        piVar15[3] = iVar9;
        piVar15[10] = 0;
        piVar15[7] = 0;
        piVar15[8] = 0;
        if (uVar22 == 0x34) goto LAB_00041e2c;
LAB_00041b60:
        puVar17 = PTR_add234_000ad45c;
        iVar13 = 2;
        uVar7 = *(undefined4 *)(param_1 + 0x140);
        if (uVar22 != 0x36) {
          iVar13 = 0;
        }
        piVar15[9] = iVar13;
        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);
        if (piVar15 == piVar19) goto LAB_00041e4c;
LAB_00041b8c:
        if (*piVar19 == 0) {
          *piVar19 = 1;
        }
        safefree(piVar15[4]);
        safefree(piVar15[5]);
        safefree(piVar15[6]);
        safefree(piVar15[7]);
        safefree(piVar15);
      }
      piVar15 = local_30;
      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);
    } while (iVar13 != 0);
  }
  puVar23 = PTR_DAT_000ad2c8;
  iVar13 = 0;
  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);
  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);
  do {
    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);
    piVar12 = (int *)PTR_LAB_000ad5b0;
    while( true ) {
      puVar4 = PTR_DAT_000ad2c8;
      PTR_LAB_000ad5b0 = (undefined *)piVar12;
      if (piVar19 == (int *)0x0) {
        uVar22 = 0;
        uVar14 = 0;
        iVar13 = *(int *)(param_1 + 0x140);
        puVar23 = PTR_DAT_000ad2c8;
        pcVar5 = (code *)(piVar12 + -0x3a6);
        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);
        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);
        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();
        piVar11 = (int *)0x0;
        goto joined_r0x00041f0c;
      }
      if (*piVar19 == 0) break;
      iVar13 = iVar13 + 1;
      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);
      piVar12 = (int *)PTR_LAB_000ad5b0;
    }
    if (piVar19[1] == 0x4c) {
      puVar6 = (undefined *)piVar19[4];
      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;
      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;
LAB_00042138:
      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;
    }
    else {
      if (piVar19[1] == 0x52) {
        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;
      }
      else {
        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;
      }
      puVar6 = (undefined *)piVar19[4];
      if (puVar6 != (undefined *)0x0) goto LAB_00042138;
LAB_0004230c:
      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;
      puVar17 = puVar6;
    }
    local_80 = (int *)piVar19[2];
    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);
    piVar12 = piVar15;
    if (piVar19[1] != 0x44) {
      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);
      safefree(piVar15);
    }
    piVar15 = piVar12;
    FUN_0002f168(param_1,puVar23 + -0x844);
    safefree(piVar12);
    iVar18 = piVar19[8];
    if (iVar18 == 0) {
      if (piVar19[10] != 0) {
        pfl_terminate();
      }
    }
    else {
      if (*(int *)(param_1 + 0x198) != 1) {
        unaff_s2 = (*pcVar10)(0x50);
        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);
        piVar15 = (int *)0x1;
        local_31 = 0;
        FUN_00033374(unaff_s2,&local_31);
        if (piVar19[4] == 0) {
          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);
          if (iVar8 == 0) {
            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);
          }
          else {
            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);
          }
        }
        else {
          FUN_000336bc(unaff_s2);
        }
        FUN_0003364c(unaff_s2,piVar19[2]);
        FUN_0003e878(param_1,unaff_s2);
      }
      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);
      (*pcVar5)(iVar18);
    }
    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);
    safefree(piVar19[4]);
    safefree(piVar19[5]);
    safefree(piVar19[6]);
    safefree(piVar19[7]);
    safefree(piVar19);
  } while( true );
joined_r0x00041f0c:
  if (piVar19 == (int *)0x0) goto LAB_00041f44;
  if (*piVar19 == 2) {
    piVar15 = piVar21;
    piVar11 = piVar21;
    if ((int *)piVar19[4] != (int *)0x0) {
      piVar15 = (int *)piVar19[4];
      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);
    }
    local_7c = (int *)piVar19[2];
    local_80 = piVar21;
    piVar16 = piVar21;
    local_78 = piVar21;
    if ((int *)piVar19[6] != (int *)0x0) {
      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);
      piVar16 = (int *)piVar19[6];
      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);
    }
    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);
    piVar15 = piVar21;
    if (piVar19[1] == 0x44) {
      piVar11 = (int *)0x0;
LAB_0004233c:
      local_74 = piVar19[9];
      local_78 = piVar19 + 10;
      local_80 = (int *)param_1;
      local_7c = (int *)param_2;
      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);
      if (piVar19[9] == 1) {
        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);
      }
      else if (piVar19[9] == 2) {
        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);
      }
      if (local_54 == (int *)0x0) {
        local_80 = piVar21;
        local_7c = piVar21;
        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);
      }
      else {
        local_80 = piVar25;
        local_7c = local_54;
        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);
LAB_000424c0:
        safefree(local_54);
      }
    }
    else {
      local_80 = (int *)piVar19[3];
      local_7c = piVar21;
      piVar11 = piVar21;
      piVar16 = piVar21;
      if ((int *)piVar19[7] != (int *)0x0) {
        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);
        piVar11 = (int *)piVar19[7];
        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);
      }
      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);
      if (piVar19[1] == 0x4c) {
        local_74 = piVar19[9];
        local_78 = piVar19 + 10;
        local_80 = (int *)param_1;
        local_7c = (int *)param_2;
        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);
        if (piVar19[9] == 1) {
          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);
        }
        else if (piVar19[9] == 2) {
          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);
        }
        local_80 = piVar11;
        if (local_54 != (int *)0x0) {
          local_7c = piVar25;
          local_78 = local_54;
          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);
          goto LAB_000424c0;
        }
        local_7c = piVar21;
        local_78 = piVar21;
        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);
      }
      else {
        if (piVar19[1] == 0x44) goto LAB_0004233c;
        if (*(int *)(param_1 + 0x13c) == 0) {
          if (*(int *)(param_1 + 0x198) == 1) {
            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);
            *(undefined4 *)(param_1 + 0x13c) = uVar7;
          }
          else {
            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);
            *(undefined4 *)(param_1 + 0x13c) = uVar7;
          }
        }
        piVar12 = (int *)safemalloc(1,0x1c);
        iVar13 = piVar19[5];
        piVar12[5] = 0;
        iVar13 = dupstr(iVar13);
        iVar8 = piVar19[3];
        iVar18 = piVar19[4];
        piVar12[3] = iVar13;
        piVar12[1] = iVar8;
        if (iVar18 == 0) {
          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);
          if (iVar13 == 0) {
            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);
            piVar12[2] = iVar13;
          }
          else {
            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);
            piVar12[2] = iVar13;
          }
        }
        else {
          iVar13 = dupstr();
          piVar12[2] = iVar13;
        }
        puVar6 = PTR_add234_000ad45c;
        uVar7 = *(undefined4 *)(param_1 + 0x13c);
        *piVar12 = piVar19[2];
        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);
        if (piVar12 == piVar15) {
          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);
          piVar15 = *(int **)(param_1 + 0x198);
          piVar12[4] = unaff_s2;
          piVar19[8] = (int)piVar12;
          piVar12[6] = (int)piVar19;
          if (piVar15 == (int *)0x1) {
            local_70 = 0;
            local_74 = piVar19[3];
            unaff_s2 = 0;
            local_7c = (int *)piVar19[5];
            local_80 = (int *)0x4;
            local_78 = piVar15;
            FUN_00041954(param_1,0x1c,1,piVar19[2]);
            piVar15 = (int *)0xf;
            local_80 = piVar12;
            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);
          }
          else {
            uVar7 = FUN_000334cc(0x50);
            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);
            local_31 = 1;
            FUN_00033374(uVar7,&local_31,1);
            FUN_000336bc(uVar7,piVar12[2]);
            FUN_0003364c(uVar7,*piVar12);
            unaff_s2 = 0;
            FUN_0003e878(param_1,uVar7);
            piVar15 = (int *)0x52;
            local_80 = piVar12;
            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);
          }
        }
        else {
          piVar15 = (int *)piVar19[5];
          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);
          safefree(piVar12);
        }
      }
    }
    safefree(unaff_s2);
    safefree(piVar11);
  }
  uVar22 = uVar22 + 1;
  iVar13 = *(int *)(param_1 + 0x140);
  uVar14 = uVar22;
  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();
  goto joined_r0x00041f0c;
LAB_00041f44:
  if (local_2c == *(int *)puVar24) {
    return;
  }
  pcVar5 = FUN_00042824;
  puVar24 = PTR___stack_chk_fail_000adca4;
  (*(code *)PTR___stack_chk_fail_000adca4)();
  puStack_b8 = puVar24 + 0x72a6c;
  *(uint *)(iVar13 + 0x11c) = uVar14;
  *(int **)(iVar13 + 0x120) = piVar15;
  piVar15 = *(int **)(puVar24 + 0x6b4b0);
  iVar18 = *piVar15;
  iStack_ac = iVar18;
  uStack_a8 = uVar22;
  piStack_a4 = piVar21;
  uStack_a0 = unaff_s2;
  iStack_9c = param_1;
  piStack_98 = piVar11;
  pcStack_94 = pcVar5;
  if (*(int *)(iVar13 + 0x144) == 2) {
    *(undefined4 *)(iVar13 + 0x148) = 1;
  }
  else if (*(int *)(iVar13 + 0x144) == 3) {
    uVar14 = 0x16;
    iVar18 = *(int *)(iVar13 + 0x248);
    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);
    if (iVar8 == 0) {
      iVar8 = *(int *)(iVar13 + 0x198);
      if (iVar8 == 1) {
        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);
        uVar14 = 0xb;
        uStack_c0 = 0;
        uStack_c4 = 0;
        uStack_cc = 0;
        iVar18 = iVar13;
        iStack_d8 = iVar8;
        iStack_d0 = iVar8;
        iStack_c8 = iVar8;
        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));
      }
      else {
        iVar18 = *(int *)(iVar13 + 0x128);
        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);
        if (iVar18 != 0) {
          piVar11 = &iStack_b0;
          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);
          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));
          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));
          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;
          iStack_b0 = 0;
          FUN_00033374(unaff_s2,piVar11,4);
          iStack_b0 = 0;
          FUN_00033374(unaff_s2,piVar11,4);
          iVar18 = iVar13;
          uVar14 = unaff_s2;
          FUN_0003e878(iVar13,unaff_s2);
        }
      }
    }
  }
  if (iStack_ac == *piVar15) {
    return;
  }
  pcVar5 = *(code **)(puStack_b8 + -0x75ec);
  uVar7 = 0x429d8;
  (*pcVar5)();
  piVar19 = *(int **)(pcVar5 + 0x6b2fc);
  iStack_10c = *piVar19;
  iStack_108 = iVar13;
  piStack_104 = piVar15;
  uStack_100 = unaff_s2;
  iStack_fc = param_1;
  piStack_f8 = piVar11;
  piStack_f4 = piVar12;
  puStack_f0 = puVar23;
  uStack_ec = uVar7;
  iVar13 = FUN_0002f068(uVar14);
  FUN_0002fb84();
  uVar7 = FUN_0002f068(uVar14);
  if (iStack_12c == 0) {
    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;
  }
  iStack_11c = (**(code **)(pcVar5 + 0x6a900))
                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);
  uStack_124 = uVar7;
  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);
  if (iVar8 == 0) {
    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);
  }
  else {
    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);
    *piVar15 = iVar18;
    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);
    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),
                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));
    if (iVar8 == 0) {
      FUN_00036678(piVar15);
      piVar15[3] = 3;
      piVar15[1] = iVar13;
      piVar15[4] = 0;
      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);
      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;
      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);
      goto LAB_00042b8c;
    }
    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);
    safefree(iVar8);
    safefree(piVar15);
  }
  iVar8 = 0x16;
  FUN_00041954(iVar18,0x16,1,iVar13,0);
LAB_00042b8c:
  iVar13 = iStack_11c;
  safefree();
  if (iStack_10c == *piVar19) {
    return;
  }
  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);
  (*pcVar5)();
  iVar18 = FUN_0002f068(iVar8);
  (**(code **)(pcVar5 + 0x6a784))
            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);
  if (*(int *)(iVar13 + 0x4c) == 0) {
    FUN_00041954(iVar13,0x16,1,iVar18,0);
                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(pcVar5 + 0x6a784))
              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);
    return;
  }
  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);
  *piVar15 = iVar13;
  FUN_00036678(piVar15);
  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);
  piVar15[0x13] = iVar8;
  piVar15[1] = iVar18;
  piVar15[4] = 0;
  piVar15[3] = 1;
  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);
                    /* WARNING: Could not recover jumptable at 0x00042de0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(pcVar5 + 0x6a784))
            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);
  return;
}


lui gp,0x7
addiu gp,gp,0x3898
addu gp,gp,t9
lw v0,-0x75bc(gp)
addiu sp,sp,-0x90
sw s3,0x74(sp)
or s3,a0,zero
sw v0,0x4c(sp)
sw gp,0x28(sp)
sw ra,0x8c(sp)
sw s8,0x88(sp)
sw s7,0x84(sp)
sw s6,0x80(sp)
sw s5,0x7c(sp)
sw s4,0x78(sp)
sw s2,0x70(sp)
sw s1,0x6c(sp)
sw s0,0x68(sp)
sw a1,0x30(sp)
lw v0,0x0(v0)
lw a0,0x140(a0)
sw v0,0x64(sp)
beq a0,zero,0x000427f4
_or s0,zero,zero
b 0x00041a70
_lw t9,-0x7e20(gp)
addiu s0,s0,0x1
lw a0,0x140(s3)
sw zero,0x0(v0)
lw t9,-0x7e20(gp)
jalr t9
_or a1,s0,zero
bne v0,zero,0x00041a60
_lw gp,0x28(sp)
lw t9,-0x7cb8(gp)
addiu v0,sp,0x60
lw a0,0x30(sp)
or a2,zero,zero
li a1,0x9b
sw v0,0x3c(sp)
jalr t9
_or a3,v0,zero
lw gp,0x28(sp)
beq v0,zero,0x00041e58
_or s1,v0,zero
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x1de0
sw v0,0x34(sp)
lw v0,-0x7fc8(gp)
sw v0,0x50(sp)
lw v0,-0x7ce0(gp)
addiu v0,v0,-0xe98
sw v0,0x48(sp)
lw v0,-0x7fc8(gp)
sw v0,0x54(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,0x7b40
b 0x00041c10
_sw v0,0x40(sp)
or a0,s1,zero
lw t9,-0x757c(gp)
jalr t9
_addiu a1,a1,0x78e4
bne v0,zero,0x00041cdc
_lw gp,0x28(sp)
beq s5,zero,0x00042410
_lw t9,-0x7e7c(gp)
li a1,0x2c
li a0,0x1
bal 0x00022094
_sw v0,0x44(sp)
or s8,v0,zero
lw gp,0x28(sp)
li v0,0x44
lw a2,0x44(sp)
sw s4,0x10(s8)
sw v0,0x4(s8)
lw v0,0x38(sp)
bne v0,zero,0x00042658
_li v1,-0x1
sw zero,0x18(s8)
or v0,zero,zero
sw s5,0x8(s8)
sw zero,0x14(s8)
li a0,0x34
sw v0,0x1c(s8)
sw v1,0xc(s8)
sw zero,0x28(s8)
beq s6,a0,0x00041e2c
_sw zero,0x20(s8)
li v0,0x2
lw t9,-0x7e34(gp)
xori s6,s6,0x36
lw a0,0x140(s3)
movn v0,zero,s6
or a1,s8,zero
or s6,v0,zero
jalr t9
_sw s6,0x24(s8)
beq s8,v0,0x00041e4c
_lw gp,0x28(sp)
lw a0,0x0(v0)
bne a0,zero,0x00041ba0
_lw t9,-0x7f10(gp)
li a0,0x1
sw a0,0x0(v0)
bal 0x00022dc4
_lw a0,0x10(s8)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x14(s8)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x18(s8)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x1c(s8)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s8,zero
lw gp,0x28(sp)
lw t9,-0x7cb8(gp)
li a1,0x9b
lw a2,0x60(sp)
lw a3,0x3c(sp)
jalr t9
_lw a0,0x30(sp)
lw gp,0x28(sp)
beq v0,zero,0x00041e58
_or s1,v0,zero
lw s0,0x60(sp)
li v0,0x41
lb s2,0x0(s0)
beq s2,v0,0x00041d68
_li v0,-0x3
li v1,0x34
and v0,s2,v0
beq v0,v1,0x00041d68
_li v0,0x4c
beq s2,v0,0x00041d7c
_li s6,0x41
li v0,0x52
beq s2,v0,0x00041d7c
_nop
li s2,0x4c
lw t9,-0x7f14(gp)
li a1,0x3a
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
beq v0,zero,0x00041cac
_or s4,v0,zero
lw t9,-0x7fb8(gp)
subu a1,v0,s0
lw a0,0x34(sp)
or a2,s0,zero
bal 0x00022a38
_addiu s0,s4,0x1
lw gp,0x28(sp)
or a0,v0,zero
lw t9,-0x7c18(gp)
bal 0x00022ac8
_or s4,v0,zero
or a0,s4,zero
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or s4,v0,zero
lw gp,0x28(sp)
lw t9,-0x7768(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
beq v0,zero,0x00041d84
_or s5,v0,zero
sw zero,0x38(sp)
li v0,0x4c
beq s2,v0,0x00041ae4
_lw a1,-0x7fc8(gp)
lw t9,-0x7f34(gp)
or a0,s1,zero
jalr t9
_lw a1,0x40(sp)
or a2,s1,zero
lw gp,0x28(sp)
addu s1,s1,v0
lw a0,0x34(sp)
lw t9,-0x7fb8(gp)
bal 0x00022a38
_or a1,v0,zero
lb v1,0x0(s1)
or s7,v0,zero
beq v1,zero,0x00041d1c
_lw gp,0x28(sp)
addiu s1,s1,0x1
lw t9,-0x7768(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,s1,zero
lw gp,0x28(sp)
beq v0,zero,0x00041da8
_or s8,v0,zero
bne s5,zero,0x00041dc8
_or a2,zero,zero
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s4,zero
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s7,zero
b 0x00041bec
_lw gp,0x28(sp)
or s6,s2,zero
lb s2,0x1(s0)
li v0,0x4c
bne s2,v0,0x00041c3c
_addiu s0,s0,0x1
b 0x00041c4c
_addiu s0,s0,0x1
lw t9,-0x7aa4(gp)
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
beq v0,zero,0x000423cc
_or s5,v0,zero
li v0,0x1
b 0x00041cd0
_sw v0,0x38(sp)
lw t9,-0x7aa4(gp)
jalr t9
_or a0,s1,zero
lw gp,0x28(sp)
beq v0,zero,0x00042418
_or s8,v0,zero
beq s5,zero,0x00041d44
_li a2,0x1
lw t9,-0x7e7c(gp)
li a1,0x2c
li a0,0x1
bal 0x00022094
_sw a2,0x44(sp)
or v1,s8,zero
lw gp,0x28(sp)
or s8,v0,zero
lw a2,0x44(sp)
sw s2,0x4(v0)
sw s4,0x10(v0)
lw v0,0x38(sp)
bne v0,zero,0x00042660
_or v0,zero,zero
sw s5,0x8(s8)
sw s7,0x14(s8)
bne a2,zero,0x00042690
_sw v0,0x18(s8)
or v0,zero,zero
sw v1,0xc(s8)
li a0,0x34
sw zero,0x28(s8)
sw v0,0x1c(s8)
bne s6,a0,0x00041b60
_sw zero,0x20(s8)
lw t9,-0x7e34(gp)
li s6,0x1
lw a0,0x140(s3)
or a1,s8,zero
jalr t9
_sw s6,0x24(s8)
bne s8,v0,0x00041b8c
_lw gp,0x28(sp)
li v0,0x2
b 0x00041bec
_sw v0,0x0(s8)
lw v0,-0x7ce0(gp)
or s0,zero,zero
lw s4,-0x7ce0(gp)
lw s6,-0x7fc8(gp)
addiu v0,v0,0x2ae8
lw s5,-0x7fc8(gp)
addiu s8,s4,-0xe98
sw v0,0x34(sp)
lw v0,-0x7ce0(gp)
addiu v0,v0,0x34cc
sw v0,0x38(sp)
lw t9,-0x7e20(gp)
or a1,s0,zero
jalr t9
_lw a0,0x140(s3)
lw gp,0x28(sp)
beq v0,zero,0x00041ecc
_or s4,v0,zero
lw v0,0x0(s4)
beq v0,zero,0x00042110
_li a0,0x4c
lw t9,-0x7e20(gp)
addiu s0,s0,0x1
lw a0,0x140(s3)
jalr t9
_or a1,s0,zero
lw gp,0x28(sp)
bne v0,zero,0x00041ea0
_or s4,v0,zero
lw v0,-0x7fc8(gp)
or s0,zero,zero
lw s5,-0x7ce0(gp)
lw t9,-0x7e20(gp)
or a1,s0,zero
lw a0,0x140(s3)
lw s7,-0x7fc8(gp)
lw s1,-0x7fc8(gp)
lw s6,-0x7fc8(gp)
sw v0,0x38(sp)
addiu v0,s5,-0xe98
addiu s8,s7,-0x768
sw v0,0x34(sp)
jalr t9
_addiu s1,s1,-0x22a4
lw gp,0x28(sp)
beq v0,zero,0x00041f44
_or s7,v0,zero
lw a0,0x0(s7)
li v0,0x2
beq a0,v0,0x00041f84
_nop
addiu s0,s0,0x1
lw t9,-0x7e20(gp)
or a1,s0,zero
jalr t9
_lw a0,0x140(s3)
lw gp,0x28(sp)
bne v0,zero,0x00041f14
_or s7,v0,zero
lw v0,0x4c(sp)
lw v1,0x64(sp)
lw v0,0x0(v0)
bne v1,v0,0x00042818
_lw ra,0x8c(sp)
lw s8,0x88(sp)
lw s7,0x84(sp)
lw s6,0x80(sp)
lw s5,0x7c(sp)
lw s4,0x78(sp)
lw s3,0x74(sp)
lw s2,0x70(sp)
lw s1,0x6c(sp)
lw s0,0x68(sp)
jr ra
_addiu sp,sp,0x90
lw a1,0x10(s7)
beq a1,zero,0x00042404
_nop
lw a2,-0x7fc8(gp)
addiu a2,a2,0x7b40
lw a3,0x18(s7)
beq a3,zero,0x000423f4
_lw t1,0x8(s7)
lw v0,-0x7fc8(gp)
lw t0,-0x7fc8(gp)
addiu v0,v0,-0x8e0
addiu t0,t0,-0xa48
lw t9,-0x7fb8(gp)
addiu a0,s6,-0x810
sw t0,0x18(sp)
sw t1,0x14(sp)
bal 0x00022a38
_sw v0,0x10(sp)
li a0,0x44
lw a1,0x4(s7)
or s2,v0,zero
beq a1,a0,0x00042338
_lw gp,0x28(sp)
lw a2,0x1c(s7)
lw a1,0x14(s7)
beq a2,zero,0x000424d8
_lw t0,0xc(s7)
lw a3,-0x7fc8(gp)
lw v0,-0x7fc8(gp)
addiu a3,a3,-0x8e0
addiu v0,v0,-0xa48
lw a0,-0x7fc8(gp)
lw t9,-0x7fb8(gp)
sw v0,0x14(sp)
addiu a0,a0,-0x800
bal 0x00022a38
_sw t0,0x10(sp)
li a1,0x4c
lw a0,0x4(s7)
or s4,v0,zero
beq a0,a1,0x00042438
_lw gp,0x28(sp)
li v0,0x44
beq a0,v0,0x0004233c
_nop
lw v0,0x13c(s3)
beq v0,zero,0x000424e8
_li v0,0x1
lw t9,-0x7e7c(gp)
li a1,0x1c
bal 0x00022094
_li a0,0x1
lw gp,0x28(sp)
or s5,v0,zero
lw a0,0x14(s7)
lw t9,-0x7fb4(gp)
bal 0x000221dc
_sw zero,0x14(v0)
lw a1,0xc(s7)
lw a0,0x10(s7)
lw gp,0x28(sp)
sw v0,0xc(s5)
beq a0,zero,0x00042610
_sw a1,0x4(s5)
lw t9,-0x7fb4(gp)
bal 0x000221dc
_nop
lw gp,0x28(sp)
sw v0,0x8(s5)
lw v0,0x8(s7)
or a1,s5,zero
lw t9,-0x7e34(gp)
lw a0,0x13c(s3)
jalr t9
_sw v0,0x0(s5)
beq s5,v0,0x0004250c
_lw gp,0x28(sp)
lw a1,-0x7fc8(gp)
or a0,s3,zero
lw a3,0xc(s7)
lw a2,0x14(s7)
lw t9,0x34(sp)
jalr t9
_addiu a1,a1,-0x7f4
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s5,zero
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
or a0,s2,zero
bal 0x00022dc4
_addiu s0,s0,0x1
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s4,zero
b 0x00041f28
_lw gp,0x28(sp)
lw v0,0x4(s4)
beq v0,a0,0x000422fc
_li a0,0x52
beq v0,a0,0x000423c4
_lw a1,-0x7fc8(gp)
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x8e8
lw a2,0x10(s4)
beq a2,zero,0x0004230c
_nop
lw a3,-0x7fc8(gp)
addiu a3,a3,0x7b40
lw v0,0x8(s4)
addiu a0,s6,-0x870
lw t9,-0x7fb8(gp)
bal 0x00022a38
_sw v0,0x10(sp)
li a0,0x44
lw a1,0x4(s4)
or s1,v0,zero
beq a1,a0,0x00042198
_lw gp,0x28(sp)
lw a0,-0x7fc8(gp)
or a1,v0,zero
lw t9,-0x7fb8(gp)
lw a3,0xc(s4)
lw a2,0x14(s4)
bal 0x00022a38
_addiu a0,a0,-0x850
or a0,s1,zero
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or s1,v0,zero
addiu a1,s5,-0x844
or a2,s1,zero
or t9,s8,zero
bal 0x0002f168
_or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s1,zero
lw s1,0x20(s4)
beq s1,zero,0x0004231c
_lw gp,0x28(sp)
lw a0,0x198(s3)
li v0,0x1
beq a0,v0,0x00042278
_lw t9,-0x7e30(gp)
lw t9,0x38(sp)
jalr t9
_li a0,0x50
lw gp,0x28(sp)
or a0,v0,zero
or s2,v0,zero
lw s7,-0x7ce0(gp)
lw a1,-0x7fc8(gp)
addiu s7,s7,0x36bc
or t9,s7,zero
bal 0x000336bc
_addiu a1,a1,-0x834
addiu a1,sp,0x5f
lw gp,0x28(sp)
li a2,0x1
or a0,s2,zero
lw t9,-0x7ce0(gp)
addiu t9,t9,0x3374
bal 0x00033374
_sb zero,0x5f(sp)
lw a1,0x10(s4)
beq a1,zero,0x000426ac
_lw gp,0x28(sp)
or t9,s7,zero
bal 0x000336bc
_or a0,s2,zero
lw gp,0x28(sp)
lw t9,-0x7ce0(gp)
or a0,s2,zero
addiu t9,t9,0x364c
bal 0x0003364c
_lw a1,0x8(s4)
or a1,s2,zero
lw gp,0x28(sp)
lw t9,-0x7b94(gp)
addiu t9,t9,-0x1788
bal 0x0003e878
_or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7e30(gp)
or a1,s1,zero
jalr t9
_lw a0,0x13c(s3)
lw t9,0x34(sp)
jalr t9
_or a0,s1,zero
lw gp,0x28(sp)
lw t9,-0x7e38(gp)
or a1,s0,zero
jalr t9
_lw a0,0x140(s3)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x10(s4)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x14(s4)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x18(s4)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_lw a0,0x1c(s4)
lw gp,0x28(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,s4,zero
b 0x00041e84
_lw gp,0x28(sp)
lw a1,-0x7fc8(gp)
lw a2,0x10(s4)
bne a2,zero,0x00042138
_addiu a1,a1,-0x8f8
lw a2,-0x7fc8(gp)
addiu a2,a2,-0x22a4
b 0x00042140
_or a3,a2,zero
lw a0,0x28(s4)
beq a0,zero,0x00042294
_lw t9,-0x7d44(gp)
bal 0x00024668
_nop
b 0x00042294
_lw gp,0x28(sp)
or s4,zero,zero
lw v0,0x24(s7)
addiu t0,s7,0x28
lw a2,0x10(s7)
or a0,zero,zero
lw a3,0x8(s7)
li a1,-0x1
lw t9,-0x7aa0(gp)
sw v0,0x1c(sp)
sw t0,0x18(sp)
sw s3,0x10(sp)
lw v0,0x30(sp)
bal 0x00023dac
_sw v0,0x14(sp)
li a0,0x1
lw v1,0x24(s7)
beq v1,a0,0x000427b8
_lw gp,0x28(sp)
li a0,0x2
beq v1,a0,0x000427ec
_lw a2,-0x7fc8(gp)
or a2,s1,zero
beq v0,zero,0x000427c4
_nop
lw v1,0x38(sp)
or a0,s3,zero
lw t9,0x34(sp)
or a3,s2,zero
sw v0,0x14(sp)
addiu a1,v1,-0x75c
sw v0,0x3c(sp)
jalr t9
_sw s8,0x10(sp)
b 0x000424c0
_lw gp,0x28(sp)
b 0x0004212c
_addiu a1,a1,-0x8f0
lw v0,0x50(sp)
or a2,s0,zero
lw t9,0x48(sp)
or a0,s3,zero
jalr t9
_addiu a1,v0,-0x8cc
li v0,0x1
lw gp,0x28(sp)
b 0x00041cd0
_sw v0,0x38(sp)
or v0,s1,zero
or a3,s1,zero
b 0x00041fb4
_or t0,s1,zero
or a1,s1,zero
b 0x00041f98
_or a2,s1,zero
b 0x00041d44
_or s7,zero,zero
lw v0,0x54(sp)
or a2,s1,zero
lw t9,0x48(sp)
or a0,s3,zero
jalr t9
_addiu a1,v0,-0x8a0
b 0x00041d44
_lw gp,0x28(sp)
lw v0,0x24(s7)
addiu t0,s7,0x28
lw a0,0x14(s7)
lw a3,0x8(s7)
lw a2,0x10(s7)
lw a1,0xc(s7)
lw t9,-0x7aa0(gp)
sw v0,0x1c(sp)
sw t0,0x18(sp)
sw s3,0x10(sp)
lw v0,0x30(sp)
bal 0x00023dac
_sw v0,0x14(sp)
li a0,0x1
lw v1,0x24(s7)
beq v1,a0,0x000426f8
_lw gp,0x28(sp)
li a0,0x2
beq v1,a0,0x00042810
_lw a2,-0x7fc8(gp)
or a2,s1,zero
beq v0,zero,0x00042708
_lw a1,-0x7fc8(gp)
lw a1,-0x7fc8(gp)
or a0,s3,zero
lw t9,0x34(sp)
or a3,s2,zero
sw v0,0x18(sp)
addiu a1,a1,-0x790
sw v0,0x3c(sp)
sw s8,0x14(sp)
jalr t9
_sw s4,0x10(sp)
lw gp,0x28(sp)
lw v0,0x3c(sp)
lw t9,-0x7f10(gp)
bal 0x00022dc4
_or a0,v0,zero
b 0x000420e8
_lw gp,0x28(sp)
or a3,s1,zero
or a2,s1,zero
b 0x00042000
_or v0,s1,zero
lw a0,0x198(s3)
beq a0,v0,0x00042730
_lw t9,-0x7e2c(gp)
lw a0,-0x7ce0(gp)
jalr t9
_addiu a0,a0,0x6140
lw gp,0x28(sp)
b 0x00042044
_sw v0,0x13c(s3)
lw a1,-0x7fc8(gp)
or a3,s4,zero
lw t9,0x34(sp)
or a2,s2,zero
or a0,s3,zero
jalr t9
_addiu a1,a1,-0x7c8
li a3,0x1
lw v0,0x198(s3)
lw gp,0x28(sp)
sw s2,0x10(s5)
sw s5,0x20(s7)
beq v0,a3,0x00042748
_sw s7,0x18(s5)
lw t9,-0x7ce0(gp)
addiu t9,t9,0x34cc
bal 0x000334cc
_li a0,0x50
lw gp,0x28(sp)
or s2,v0,zero
or a0,v0,zero
lw v0,-0x7ce0(gp)
lw a1,-0x7fc8(gp)
addiu s7,v0,0x36bc
or t9,s7,zero
bal 0x000336bc
_addiu a1,a1,-0x7a0
li a3,0x1
lw gp,0x28(sp)
li a2,0x1
addiu a1,sp,0x5f
sb a3,0x5f(sp)
lw t9,-0x7ce0(gp)
addiu t9,t9,0x3374
bal 0x00033374
_or a0,s2,zero
or a0,s2,zero
or t9,s7,zero
bal 0x000336bc
_lw a1,0x8(s5)
or a0,s2,zero
lw gp,0x28(sp)
lw t9,-0x7ce0(gp)
addiu t9,t9,0x364c
bal 0x0003364c
_lw a1,0x0(s5)
or a1,s2,zero
lw gp,0x28(sp)
or a0,s3,zero
lw t9,-0x7b94(gp)
addiu t9,t9,-0x1788
bal 0x0003e878
_or s2,zero,zero
li a2,0x52
lw gp,0x28(sp)
li a1,0x51
or a0,s3,zero
sw s5,0x10(sp)
lw a3,-0x7ce0(gp)
lw t9,-0x7ce0(gp)
addiu t9,t9,-0xb58
bal 0x0002f4a8
_addiu a3,a3,0x6478
b 0x000420e8
_lw gp,0x28(sp)
lw t9,-0x7f44(gp)
li a1,0x9a
jalr t9
_lw a0,0x30(sp)
lw gp,0x28(sp)
beq v0,zero,0x00042640
_lw t9,-0x7fb4(gp)
jalr t9
_or a0,s1,zero
lw gp,0x28(sp)
b 0x00042098
_sw v0,0x8(s5)
lw a0,-0x7fc8(gp)
jalr t9
_addiu a0,a0,-0x81c
lw gp,0x28(sp)
b 0x00042098
_sw v0,0x8(s5)
or s7,zero,zero
or s1,zero,zero
lw t9,-0x7fb4(gp)
or a0,s0,zero
sw v1,0x44(sp)
jalr t9
_sw a2,0x38(sp)
lw a2,0x38(sp)
lw gp,0x28(sp)
lw v1,0x44(sp)
sw v0,0x18(s8)
sw s5,0x8(s8)
beq a2,zero,0x00041e10
_sw s7,0x14(s8)
lw t9,-0x7fb4(gp)
or a0,s1,zero
jalr t9
_sw v1,0x38(sp)
lw gp,0x28(sp)
b 0x00041b48
_lw v1,0x38(sp)
lw t9,-0x7f44(gp)
li a1,0x9a
jalr t9
_lw a0,0x30(sp)
or a0,s2,zero
beq v0,zero,0x000426e0
_lw gp,0x28(sp)
lw a1,-0x7fc8(gp)
or t9,s7,zero
bal 0x000336bc
_addiu a1,a1,-0x22a4
b 0x00042244
_lw gp,0x28(sp)
lw a1,-0x7fc8(gp)
or t9,s7,zero
bal 0x000336bc
_addiu a1,a1,-0x81c
b 0x00042244
_lw gp,0x28(sp)
lw a2,-0x7fc8(gp)
bne v0,zero,0x00042494
_addiu a2,a2,-0x8dc
lw a1,-0x7fc8(gp)
or a3,s2,zero
lw t9,0x34(sp)
or a0,s3,zero
sw s1,0x18(sp)
addiu a1,a1,-0x790
sw s1,0x14(sp)
jalr t9
_sw s4,0x10(sp)
b 0x000420e8
_lw gp,0x28(sp)
lw a0,-0x7ce0(gp)
jalr t9
_addiu a0,a0,0x61e4
lw gp,0x28(sp)
b 0x00042044
_sw v0,0x13c(s3)
lw a3,0x8(s7)
li v1,0x4
lw t9,-0x7b94(gp)
li a2,0x1
sw zero,0x20(sp)
li a1,0x1c
lw t1,0xc(s7)
or a0,s3,zero
sw v0,0x18(sp)
addiu t9,t9,0x1954
or s2,zero,zero
sw t1,0x1c(sp)
lw v0,0x14(s7)
sw v1,0x10(sp)
bal 0x00041954
_sw v0,0x14(sp)
li a2,0xf
lw gp,0x28(sp)
li a1,0xe
or a0,s3,zero
sw s5,0x10(sp)
lw a3,-0x7ce0(gp)
lw t9,-0x7ce0(gp)
addiu t9,t9,-0xb58
bal 0x0002f4a8
_addiu a3,a3,0x6478
b 0x000420e8
_lw gp,0x28(sp)
lw a2,-0x7fc8(gp)
bne v0,zero,0x00042398
_addiu a2,a2,-0x8dc
lw v0,0x38(sp)
or a3,s2,zero
lw t9,0x34(sp)
or a0,s3,zero
sw s1,0x14(sp)
addiu a1,v0,-0x75c
jalr t9
_sw s1,0x10(sp)
b 0x000420e8
_lw gp,0x28(sp)
b 0x00042390
_addiu a2,a2,-0x8d4
lw a0,-0x7ce0(gp)
lw t9,-0x7e2c(gp)
jalr t9
_addiu a0,a0,0x6288
lw gp,0x28(sp)
b 0x00041a80
_sw v0,0x140(s3)
b 0x0004248c
_addiu a2,a2,-0x8d4
lw t9,-0x75ec(gp)
jalr t9
_nop
(translation_unit "void FUN_000419f8(int param_1,undefined4 param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    /* WARNING: Could not recover jumptable at 0x00042de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}\n\n" (function_definition "void FUN_000419f8(int param_1,undefined4 param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    /* WARNING: Could not recover jumptable at 0x00042de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}" primitive_type (function_declarator "FUN_000419f8(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    /* WARNING: Could not recover jumptable at 0x00042de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int *piVar19;" primitive_type (pointer_declarator "*piVar19" * identifier) ;) (declaration "char *pcVar20;" primitive_type (pointer_declarator "*pcVar20" * identifier) ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "uint unaff_s2;" type_identifier identifier ;) (declaration "uint uVar22;" type_identifier identifier ;) (declaration "undefined *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "int *piVar25;" primitive_type (pointer_declarator "*piVar25" * identifier) ;) (declaration "undefined4 uStack_130;" type_identifier identifier ;) (declaration "int iStack_12c;" primitive_type identifier ;) (declaration "undefined1 auStack_128 [4];" type_identifier (array_declarator "auStack_128 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_124;" type_identifier identifier ;) (declaration "int iStack_11c;" primitive_type identifier ;) (declaration "int iStack_10c;" primitive_type identifier ;) (declaration "int iStack_108;" primitive_type identifier ;) (declaration "int *piStack_104;" primitive_type (pointer_declarator "*piStack_104" * identifier) ;) (declaration "uint uStack_100;" type_identifier identifier ;) (declaration "int iStack_fc;" primitive_type identifier ;) (declaration "int *piStack_f8;" primitive_type (pointer_declarator "*piStack_f8" * identifier) ;) (declaration "int *piStack_f4;" primitive_type (pointer_declarator "*piStack_f4" * identifier) ;) (declaration "undefined *puStack_f0;" type_identifier (pointer_declarator "*puStack_f0" * identifier) ;) (declaration "undefined4 uStack_ec;" type_identifier identifier ;) (declaration "int iStack_d8;" primitive_type identifier ;) (declaration "undefined4 uStack_d4;" type_identifier identifier ;) (declaration "int iStack_d0;" primitive_type identifier ;) (declaration "undefined4 uStack_cc;" type_identifier identifier ;) (declaration "int iStack_c8;" primitive_type identifier ;) (declaration "undefined4 uStack_c4;" type_identifier identifier ;) (declaration "undefined4 uStack_c0;" type_identifier identifier ;) (declaration "undefined *puStack_b8;" type_identifier (pointer_declarator "*puStack_b8" * identifier) ;) (declaration "int iStack_b0;" primitive_type identifier ;) (declaration "int iStack_ac;" primitive_type identifier ;) (declaration "uint uStack_a8;" type_identifier identifier ;) (declaration "int *piStack_a4;" primitive_type (pointer_declarator "*piStack_a4" * identifier) ;) (declaration "uint uStack_a0;" type_identifier identifier ;) (declaration "int iStack_9c;" primitive_type identifier ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "code *pcStack_94;" type_identifier (pointer_declarator "*pcStack_94" * identifier) ;) (declaration "int *local_80;" primitive_type (pointer_declarator "*local_80" * identifier) ;) (declaration "int *local_7c;" primitive_type (pointer_declarator "*local_7c" * identifier) ;) (declaration "int *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "int local_74;" primitive_type identifier ;) (declaration "undefined4 local_70;" type_identifier identifier ;) (declaration "int *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined1 local_31;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar24 = PTR___stack_chk_guard_000adcd4;" (assignment_expression "puVar24 = PTR___stack_chk_guard_000adcd4" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000adcd4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000adcd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000adcd4" * (cast_expression "(int *)PTR___stack_chk_guard_000adcd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (if_statement "if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }" { (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" identifier = (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x6288)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6288" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x140) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x140) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" else (compound_statement "{\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" { (while_statement "while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }" while (parenthesized_expression "(puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,iVar18)" ( identifier , identifier ))))) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) }))) (expression_statement "piVar15 = (int *)0x0;" (assignment_expression "piVar15 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30)" identifier = (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" ( (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" * (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9b,0,&local_30)" ( identifier , number_literal , number_literal , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" identifier = identifier) ;) (if_statement "if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x1de0;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x1de0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x1de0" identifier + number_literal)) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + -0xe98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + -0xe98)" ( (binary_expression "PTR_LAB_000ad5b0 + -0xe98" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;) (do_statement "do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);" do (compound_statement "{\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    }" { (expression_statement "uVar22 = (uint)*(char *)local_30;" (assignment_expression "uVar22 = (uint)*(char *)local_30" identifier = (binary_expression "(uint)*(char *)local_30" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(char *)local_30" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" if (parenthesized_expression "((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34))" ( (binary_expression "(uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)" (parenthesized_expression "(uVar22 == 0x41)" ( (binary_expression "uVar22 == 0x41" identifier == number_literal) )) || (parenthesized_expression "((uVar22 & 0xfffffffd) == 0x34)" ( (binary_expression "(uVar22 & 0xfffffffd) == 0x34" (parenthesized_expression "(uVar22 & 0xfffffffd)" ( (binary_expression "uVar22 & 0xfffffffd" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }" { (expression_statement "unaff_s2 = (uint)*(char *)((int)local_30 + 1);" (assignment_expression "unaff_s2 = (uint)*(char *)((int)local_30 + 1)" identifier = (binary_expression "(uint)*(char *)((int)local_30 + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(char *)((int)local_30 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + 1)" ( (binary_expression "(int)local_30 + 1" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "piVar15 = (int *)((int)local_30 + 1);" (assignment_expression "piVar15 = (int *)((int)local_30 + 1)" identifier = (cast_expression "(int *)((int)local_30 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + 1)" ( (binary_expression "(int)local_30 + 1" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (unaff_s2 != 0x4c) goto LAB_00041c3c;" if (parenthesized_expression "(unaff_s2 != 0x4c)" ( (binary_expression "unaff_s2 != 0x4c" identifier != number_literal) )) (goto_statement "goto LAB_00041c3c;" goto statement_identifier ;)) (labeled_statement "LAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);" statement_identifier : (expression_statement "piVar15 = (int *)((int)piVar15 + 1);" (assignment_expression "piVar15 = (int *)((int)piVar15 + 1)" identifier = (cast_expression "(int *)((int)piVar15 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar15 + 1)" ( (binary_expression "(int)piVar15 + 1" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;)) }) (else_clause "else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" else (compound_statement "{\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" { (expression_statement "bVar1 = uVar22 == 0x4c;" (assignment_expression "bVar1 = uVar22 == 0x4c" identifier = (binary_expression "uVar22 == 0x4c" identifier == number_literal)) ;) (expression_statement "piVar15 = local_30;" (assignment_expression "piVar15 = local_30" identifier = identifier) ;) (expression_statement "unaff_s2 = uVar22;" (assignment_expression "unaff_s2 = uVar22" identifier = identifier) ;) (expression_statement "uVar22 = 0x41;" (assignment_expression "uVar22 = 0x41" identifier = number_literal) ;) (if_statement "if (bVar1) goto LAB_00041d7c;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00041d7c;" goto statement_identifier ;)) (labeled_statement "LAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;" statement_identifier : (if_statement "if (unaff_s2 == 0x52) goto LAB_00041d7c;" if (parenthesized_expression "(unaff_s2 == 0x52)" ( (binary_expression "unaff_s2 == 0x52" identifier == number_literal) )) (goto_statement "goto LAB_00041d7c;" goto statement_identifier ;))) (expression_statement "unaff_s2 = 0x4c;" (assignment_expression "unaff_s2 = 0x4c" identifier = number_literal) ;) }))) (expression_statement "iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);" (assignment_expression "iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a)" identifier = (call_expression "(*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a)" (parenthesized_expression "(*(code *)PTR_host_strchr_000ad37c)" ( (pointer_expression "*(code *)PTR_host_strchr_000ad37c" * (cast_expression "(code *)PTR_host_strchr_000ad37c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar15,0x3a)" ( identifier , number_literal )))) ;) (expression_statement "piVar19 = piVar15;" (assignment_expression "piVar19 = piVar15" identifier = identifier) ;) (if_statement "if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }" { (expression_statement "piVar19 = (int *)(iVar18 + 1);" (assignment_expression "piVar19 = (int *)(iVar18 + 1)" identifier = (cast_expression "(int *)(iVar18 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 1)" ( (binary_expression "iVar18 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);" (assignment_expression "uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15)" identifier = (call_expression "dupprintf(puVar4,iVar18 - (int)piVar15,piVar15)" identifier (argument_list "(puVar4,iVar18 - (int)piVar15,piVar15)" ( identifier , (binary_expression "iVar18 - (int)piVar15" identifier - (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier)) , identifier )))) ;) (expression_statement "iVar18 = host_strduptrim(uVar7);" (assignment_expression "iVar18 = host_strduptrim(uVar7)" identifier = (call_expression "host_strduptrim(uVar7)" identifier (argument_list "(uVar7)" ( identifier )))) ;) (expression_statement "safefree(uVar7);" (call_expression "safefree(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) })) (expression_statement "iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);" (assignment_expression "iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_000adb28)(piVar19,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" ( (pointer_expression "*(code *)PTR_strtol_000adb28" * (cast_expression "(code *)PTR_strtol_000adb28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar19,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }" { (expression_statement "iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);" (assignment_expression "iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19)" identifier = (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(piVar19)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" ( (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" * (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar19)" ( identifier )))) ;) (if_statement "if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }" { (expression_statement "(*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);" (call_expression "(*pcVar5)(param_1,puVar23 + -0x8cc,piVar19)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar23 + -0x8cc,piVar19)" ( identifier , (binary_expression "puVar23 + -0x8cc" identifier + number_literal) , identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n          bVar1 = true;\n        }" else (compound_statement "{\n          bVar1 = true;\n        }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) }) (else_clause "else {\n        bVar1 = false;\n      }" else (compound_statement "{\n        bVar1 = false;\n      }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) (if_statement "if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" if (parenthesized_expression "((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0))" ( (binary_expression "(unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)" (parenthesized_expression "(unaff_s2 == 0x4c)" ( (binary_expression "unaff_s2 == 0x4c" identifier == number_literal) )) && (parenthesized_expression "(iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)" ( (comma_expression "iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" identifier = (call_expression "(*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" (parenthesized_expression "(*(code *)PTR_strcmp_000add14)" ( (pointer_expression "*(code *)PTR_strcmp_000add14" * (cast_expression "(code *)PTR_strcmp_000add14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + 0x78e4" identifier + number_literal) )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }" { (if_statement "if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00041d44:\n          safefree(iVar18);" statement_identifier : (expression_statement "safefree(iVar18);" (call_expression "safefree(iVar18)" identifier (argument_list "(iVar18)" ( identifier ))) ;)) (expression_statement "safefree(iVar13);" (call_expression "safefree(iVar13)" identifier (argument_list "(iVar13)" ( identifier ))) ;) }) (else_clause "else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" else (compound_statement "{\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" { (expression_statement "piVar15 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar15 = (int *)safemalloc(1,0x2c)" identifier = (cast_expression "(int *)safemalloc(1,0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x2c)" identifier (argument_list "(1,0x2c)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar15[4] = iVar18;" (assignment_expression "piVar15[4] = iVar18" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[1] = 0x44;" (assignment_expression "piVar15[1] = 0x44" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;) (if_statement "if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "pcVar20 = (char *)0x0;" (assignment_expression "pcVar20 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (labeled_statement "LAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);" statement_identifier : (expression_statement "iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);" (assignment_expression "iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(piVar19)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar19)" ( identifier )))) ;)) (expression_statement "piVar15[6] = iVar18;" (assignment_expression "piVar15[6] = iVar18" (subscript_expression "piVar15[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[5] = iVar13;" (assignment_expression "piVar15[5] = iVar13" (subscript_expression "piVar15[5]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto joined_r0x00042688;" goto statement_identifier ;) })) (expression_statement "piVar15[6] = 0;" (assignment_expression "piVar15[6] = 0" (subscript_expression "piVar15[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[5] = 0;" (assignment_expression "piVar15[5] = 0" (subscript_expression "piVar15[5]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_00041b48:\n          piVar15[7] = iVar13;" statement_identifier : (expression_statement "piVar15[7] = iVar13;" (assignment_expression "piVar15[7] = iVar13" (subscript_expression "piVar15[7]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "piVar15[3] = iVar9;" (assignment_expression "piVar15[3] = iVar9" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[10] = 0;" (assignment_expression "piVar15[10] = 0" (subscript_expression "piVar15[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[8] = 0;" (assignment_expression "piVar15[8] = 0" (subscript_expression "piVar15[8]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar22 != 0x34) goto LAB_00041b60;" if (parenthesized_expression "(uVar22 != 0x34)" ( (binary_expression "uVar22 != 0x34" identifier != number_literal) )) (goto_statement "goto LAB_00041b60;" goto statement_identifier ;)) (labeled_statement "LAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;" statement_identifier : (expression_statement "puVar17 = PTR_add234_000ad45c;" (assignment_expression "puVar17 = PTR_add234_000ad45c" identifier = identifier) ;)) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x140);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x140)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "piVar15[9] = 1;" (assignment_expression "piVar15[9] = 1" (subscript_expression "piVar15[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);" (assignment_expression "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15)" identifier = (cast_expression "(int *)(*(code *)puVar17)(uVar7,piVar15)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar17)(uVar7,piVar15)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,piVar15)" ( identifier , identifier ))))) ;) (if_statement "if (piVar15 != piVar19) goto LAB_00041b8c;" if (parenthesized_expression "(piVar15 != piVar19)" ( (binary_expression "piVar15 != piVar19" identifier != identifier) )) (goto_statement "goto LAB_00041b8c;" goto statement_identifier ;)) (labeled_statement "LAB_00041e4c:\n          *piVar15 = 2;" statement_identifier : (expression_statement "*piVar15 = 2;" (assignment_expression "*piVar15 = 2" (pointer_expression "*piVar15" * identifier) = number_literal) ;)) }))) }) (else_clause "else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" else (compound_statement "{\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" { (expression_statement "iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);" (assignment_expression "iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6)" identifier = (call_expression "(*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6)" (parenthesized_expression "(*(code *)PTR_host_strcspn_000ad35c)" ( (pointer_expression "*(code *)PTR_host_strcspn_000ad35c" * (cast_expression "(code *)PTR_host_strcspn_000ad35c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,puVar6)" ( identifier , identifier )))) ;) (expression_statement "pcVar20 = (char *)(iVar13 + iVar9);" (assignment_expression "pcVar20 = (char *)(iVar13 + iVar9)" identifier = (cast_expression "(char *)(iVar13 + iVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar9)" ( (binary_expression "iVar13 + iVar9" identifier + identifier) )))) ;) (expression_statement "iVar13 = dupprintf(puVar4,iVar9,iVar13);" (assignment_expression "iVar13 = dupprintf(puVar4,iVar9,iVar13)" identifier = (call_expression "dupprintf(puVar4,iVar9,iVar13)" identifier (argument_list "(puVar4,iVar9,iVar13)" ( identifier , identifier , identifier )))) ;) (if_statement "if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }" if (parenthesized_expression "(*pcVar20 != '\0')" ( (binary_expression "*pcVar20 != '\0'" (pointer_expression "*pcVar20" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar20 = pcVar20 + 1;\n        }" { (expression_statement "pcVar20 = pcVar20 + 1;" (assignment_expression "pcVar20 = pcVar20 + 1" identifier = (binary_expression "pcVar20 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);" (assignment_expression "iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_000adb28)(pcVar20,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" ( (pointer_expression "*(code *)PTR_strtol_000adb28" * (cast_expression "(code *)PTR_strtol_000adb28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar20,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }" { (expression_statement "iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);" (assignment_expression "iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20)" identifier = (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" ( (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" * (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar20)" ( identifier )))) ;) (if_statement "if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }" { (expression_statement "(*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);" (call_expression "(*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar23 + -0x8a0,pcVar20)" ( identifier , (binary_expression "puVar23 + -0x8a0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00041d44;" goto statement_identifier ;) })) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n          bVar2 = false;\n        }" else (compound_statement "{\n          bVar2 = false;\n        }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) (if_statement "if (iVar8 == 0) goto LAB_00041d44;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00041d44;" goto statement_identifier ;)) (expression_statement "piVar15 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar15 = (int *)safemalloc(1,0x2c)" identifier = (cast_expression "(int *)safemalloc(1,0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x2c)" identifier (argument_list "(1,0x2c)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar15[1] = unaff_s2;" (assignment_expression "piVar15[1] = unaff_s2" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[4] = iVar18;" (assignment_expression "piVar15[4] = iVar18" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (bVar1) goto LAB_00042660;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00042660;" goto statement_identifier ;)) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[5] = iVar13;" (assignment_expression "piVar15[5] = iVar13" (subscript_expression "piVar15[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[6] = 0;" (assignment_expression "piVar15[6] = 0" (subscript_expression "piVar15[6]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "joined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" statement_identifier : (if_statement "if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" { (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar20)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar20)" ( identifier )))) ;) (goto_statement "goto LAB_00041b48;" goto statement_identifier ;) }))) (expression_statement "piVar15[3] = iVar9;" (assignment_expression "piVar15[3] = iVar9" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[10] = 0;" (assignment_expression "piVar15[10] = 0" (subscript_expression "piVar15[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[7] = 0;" (assignment_expression "piVar15[7] = 0" (subscript_expression "piVar15[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[8] = 0;" (assignment_expression "piVar15[8] = 0" (subscript_expression "piVar15[8]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar22 == 0x34) goto LAB_00041e2c;" if (parenthesized_expression "(uVar22 == 0x34)" ( (binary_expression "uVar22 == 0x34" identifier == number_literal) )) (goto_statement "goto LAB_00041e2c;" goto statement_identifier ;)) (labeled_statement "LAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;" statement_identifier : (expression_statement "puVar17 = PTR_add234_000ad45c;" (assignment_expression "puVar17 = PTR_add234_000ad45c" identifier = identifier) ;)) (expression_statement "iVar13 = 2;" (assignment_expression "iVar13 = 2" identifier = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x140);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x140)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (if_statement "if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }" if (parenthesized_expression "(uVar22 != 0x36)" ( (binary_expression "uVar22 != 0x36" identifier != number_literal) )) (compound_statement "{\n          iVar13 = 0;\n        }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) })) (expression_statement "piVar15[9] = iVar13;" (assignment_expression "piVar15[9] = iVar13" (subscript_expression "piVar15[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);" (assignment_expression "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15)" identifier = (cast_expression "(int *)(*(code *)puVar17)(uVar7,piVar15)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar17)(uVar7,piVar15)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,piVar15)" ( identifier , identifier ))))) ;) (if_statement "if (piVar15 == piVar19) goto LAB_00041e4c;" if (parenthesized_expression "(piVar15 == piVar19)" ( (binary_expression "piVar15 == piVar19" identifier == identifier) )) (goto_statement "goto LAB_00041e4c;" goto statement_identifier ;)) (labeled_statement "LAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }" statement_identifier : (if_statement "if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }" if (parenthesized_expression "(*piVar19 == 0)" ( (binary_expression "*piVar19 == 0" (pointer_expression "*piVar19" * identifier) == number_literal) )) (compound_statement "{\n          *piVar19 = 1;\n        }" { (expression_statement "*piVar19 = 1;" (assignment_expression "*piVar19 = 1" (pointer_expression "*piVar19" * identifier) = number_literal) ;) }))) (expression_statement "safefree(piVar15[4]);" (call_expression "safefree(piVar15[4])" identifier (argument_list "(piVar15[4])" ( (subscript_expression "piVar15[4]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15[5]);" (call_expression "safefree(piVar15[5])" identifier (argument_list "(piVar15[5])" ( (subscript_expression "piVar15[5]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15[6]);" (call_expression "safefree(piVar15[6])" identifier (argument_list "(piVar15[6])" ( (subscript_expression "piVar15[6]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15[7]);" (call_expression "safefree(piVar15[7])" identifier (argument_list "(piVar15[7])" ( (subscript_expression "piVar15[7]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) }))) (expression_statement "piVar15 = local_30;" (assignment_expression "piVar15 = local_30" identifier = identifier) ;) (expression_statement "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30)" identifier = (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" ( (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" * (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9b,local_30,&local_30)" ( identifier , number_literal , identifier , (pointer_expression "&local_30" & identifier) )))) ;) }) while (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) ;) })) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + 0x2ae8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + 0x2ae8)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x2ae8" identifier + number_literal) )))) ;) (expression_statement "pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + 0x34cc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + 0x34cc)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x34cc" identifier + number_literal) )))) ;) (do_statement "do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );" do (compound_statement "{\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  }" { (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) , identifier ))))) ;) (expression_statement "piVar12 = (int *)PTR_LAB_000ad5b0;" (assignment_expression "piVar12 = (int *)PTR_LAB_000ad5b0" identifier = (cast_expression "(int *)PTR_LAB_000ad5b0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "PTR_LAB_000ad5b0 = (undefined *)piVar12;" (assignment_expression "PTR_LAB_000ad5b0 = (undefined *)piVar12" identifier = (cast_expression "(undefined *)piVar12" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }" if (parenthesized_expression "(piVar19 == (int *)0x0)" ( (binary_expression "piVar19 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }" { (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "pcVar5 = (code *)(piVar12 + -0x3a6);" (assignment_expression "pcVar5 = (code *)(piVar12 + -0x3a6)" identifier = (cast_expression "(code *)(piVar12 + -0x3a6)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + -0x3a6)" ( (binary_expression "piVar12 + -0x3a6" identifier + number_literal) )))) ;) (expression_statement "piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);" (assignment_expression "piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x768)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x768)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x768" identifier + number_literal) )))) ;) (expression_statement "piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);" (assignment_expression "piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x22a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x22a4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal) )))) ;) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)()" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto joined_r0x00041f0c;" goto statement_identifier ;) })) (if_statement "if (*piVar19 == 0) break;" if (parenthesized_expression "(*piVar19 == 0)" ( (binary_expression "*piVar19 == 0" (pointer_expression "*piVar19" * identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) , identifier ))))) ;) (expression_statement "piVar12 = (int *)PTR_LAB_000ad5b0;" (assignment_expression "piVar12 = (int *)PTR_LAB_000ad5b0" identifier = (cast_expression "(int *)PTR_LAB_000ad5b0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (if_statement "if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" if (parenthesized_expression "(piVar19[1] == 0x4c)" ( (binary_expression "piVar19[1] == 0x4c" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }" { (expression_statement "puVar6 = (undefined *)piVar19[4];" (assignment_expression "puVar6 = (undefined *)piVar19[4]" identifier = (cast_expression "(undefined *)piVar19[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ]))) ;) (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8f8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8f8" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8f8" identifier + number_literal)) ;) (if_statement "if (puVar6 == (undefined *)0x0) goto LAB_0004230c;" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004230c;" goto statement_identifier ;)) (labeled_statement "LAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;" statement_identifier : (expression_statement "puVar17 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar17 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;)) }) (else_clause "else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" else (compound_statement "{\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" { (if_statement "if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" if (parenthesized_expression "(piVar19[1] == 0x52)" ( (binary_expression "piVar19[1] == 0x52" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8f0;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8f0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8f0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" else (compound_statement "{\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8e8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8e8" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8e8" identifier + number_literal)) ;) }))) (expression_statement "puVar6 = (undefined *)piVar19[4];" (assignment_expression "puVar6 = (undefined *)piVar19[4]" identifier = (cast_expression "(undefined *)piVar19[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ]))) ;) (if_statement "if (puVar6 != (undefined *)0x0) goto LAB_00042138;" if (parenthesized_expression "(puVar6 != (undefined *)0x0)" ( (binary_expression "puVar6 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042138;" goto statement_identifier ;)) (labeled_statement "LAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" statement_identifier : (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x22a4" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal)) ;)) (expression_statement "puVar17 = puVar6;" (assignment_expression "puVar17 = puVar6" identifier = identifier) ;) }))) (expression_statement "local_80 = (int *)piVar19[2];" (assignment_expression "local_80 = (int *)piVar19[2]" identifier = (cast_expression "(int *)piVar19[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[2]" identifier [ number_literal ]))) ;) (expression_statement "piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);" (assignment_expression "piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" identifier = (cast_expression "(int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" identifier (argument_list "(puVar23 + -0x870,puVar4,puVar6,puVar17)" ( (binary_expression "puVar23 + -0x870" identifier + number_literal) , identifier , identifier , identifier ))))) ;) (expression_statement "piVar12 = piVar15;" (assignment_expression "piVar12 = piVar15" identifier = identifier) ;) (if_statement "if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }" if (parenthesized_expression "(piVar19[1] != 0x44)" ( (binary_expression "piVar19[1] != 0x44" (subscript_expression "piVar19[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }" { (expression_statement "piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);" (assignment_expression "piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" identifier = (cast_expression "(int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" identifier (argument_list "(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" ( (binary_expression "PTR_DAT_000ad2c8 + -0x850" identifier + number_literal) , identifier , (subscript_expression "piVar19[5]" identifier [ number_literal ]) , (subscript_expression "piVar19[3]" identifier [ number_literal ]) ))))) ;) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) })) (expression_statement "piVar15 = piVar12;" (assignment_expression "piVar15 = piVar12" identifier = identifier) ;) (expression_statement "FUN_0002f168(param_1,puVar23 + -0x844);" (call_expression "FUN_0002f168(param_1,puVar23 + -0x844)" identifier (argument_list "(param_1,puVar23 + -0x844)" ( identifier , (binary_expression "puVar23 + -0x844" identifier + number_literal) ))) ;) (expression_statement "safefree(piVar12);" (call_expression "safefree(piVar12)" identifier (argument_list "(piVar12)" ( identifier ))) ;) (expression_statement "iVar18 = piVar19[8];" (assignment_expression "iVar18 = piVar19[8]" identifier = (subscript_expression "piVar19[8]" identifier [ number_literal ])) ;) (if_statement "if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }" { (if_statement "if (piVar19[10] != 0) {\n        pfl_terminate();\n      }" if (parenthesized_expression "(piVar19[10] != 0)" ( (binary_expression "piVar19[10] != 0" (subscript_expression "piVar19[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        pfl_terminate();\n      }" { (expression_statement "pfl_terminate();" (call_expression "pfl_terminate()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" else (compound_statement "{\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" { (if_statement "if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x198) != 1)" ( (binary_expression "*(int *)(param_1 + 0x198) != 1" (pointer_expression "*(int *)(param_1 + 0x198)" * (cast_expression "(int *)(param_1 + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }" { (expression_statement "unaff_s2 = (*pcVar10)(0x50);" (assignment_expression "unaff_s2 = (*pcVar10)(0x50)" identifier = (call_expression "(*pcVar10)(0x50)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(0x50)" ( number_literal )))) ;) (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834)" identifier (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x834)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x834" identifier + number_literal) ))) ;) (expression_statement "piVar15 = (int *)0x1;" (assignment_expression "piVar15 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_31 = 0;" (assignment_expression "local_31 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033374(unaff_s2,&local_31);" (call_expression "FUN_00033374(unaff_s2,&local_31)" identifier (argument_list "(unaff_s2,&local_31)" ( identifier , (pointer_expression "&local_31" & identifier) ))) ;) (if_statement "if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }" if (parenthesized_expression "(piVar19[4] == 0)" ( (binary_expression "piVar19[4] == 0" (subscript_expression "piVar19[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }" { (expression_statement "iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);" (assignment_expression "iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" ( (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" * (cast_expression "(code *)PTR_conf_get_int_000ad34c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }" { (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c)" identifier (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x81c)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x81c" identifier + number_literal) ))) ;) }) (else_clause "else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" else (compound_statement "{\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" { (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4)" identifier (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal) ))) ;) }))) }) (else_clause "else {\n          FUN_000336bc(unaff_s2);\n        }" else (compound_statement "{\n          FUN_000336bc(unaff_s2);\n        }" { (expression_statement "FUN_000336bc(unaff_s2);" (call_expression "FUN_000336bc(unaff_s2)" identifier (argument_list "(unaff_s2)" ( identifier ))) ;) }))) (expression_statement "FUN_0003364c(unaff_s2,piVar19[2]);" (call_expression "FUN_0003364c(unaff_s2,piVar19[2])" identifier (argument_list "(unaff_s2,piVar19[2])" ( identifier , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0003e878(param_1,unaff_s2);" (call_expression "FUN_0003e878(param_1,unaff_s2)" identifier (argument_list "(param_1,unaff_s2)" ( identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);" (call_expression "(*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18)" (parenthesized_expression "(*(code *)PTR_del234_000ad460)" ( (pointer_expression "*(code *)PTR_del234_000ad460" * (cast_expression "(code *)PTR_del234_000ad460" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x13c),iVar18)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*pcVar5)(iVar18);" (call_expression "(*pcVar5)(iVar18)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(iVar18)" ( identifier ))) ;) }))) (expression_statement "(*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);" (call_expression "(*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_delpos234_000ad458)" ( (pointer_expression "*(code *)PTR_delpos234_000ad458" * (cast_expression "(code *)PTR_delpos234_000ad458" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "safefree(piVar19[4]);" (call_expression "safefree(piVar19[4])" identifier (argument_list "(piVar19[4])" ( (subscript_expression "piVar19[4]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19[5]);" (call_expression "safefree(piVar19[5])" identifier (argument_list "(piVar19[5])" ( (subscript_expression "piVar19[5]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19[6]);" (call_expression "safefree(piVar19[6])" identifier (argument_list "(piVar19[6])" ( (subscript_expression "piVar19[6]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19[7]);" (call_expression "safefree(piVar19[7])" identifier (argument_list "(piVar19[7])" ( (subscript_expression "piVar19[7]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19);" (call_expression "safefree(piVar19)" identifier (argument_list "(piVar19)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "joined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;" statement_identifier : (if_statement "if (piVar19 == (int *)0x0) goto LAB_00041f44;" if (parenthesized_expression "(piVar19 == (int *)0x0)" ( (binary_expression "piVar19 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00041f44;" goto statement_identifier ;))) (if_statement "if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }" if (parenthesized_expression "(*piVar19 == 2)" ( (binary_expression "*piVar19 == 2" (pointer_expression "*piVar19" * identifier) == number_literal) )) (compound_statement "{\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }" { (expression_statement "piVar15 = piVar21;" (assignment_expression "piVar15 = piVar21" identifier = identifier) ;) (expression_statement "piVar11 = piVar21;" (assignment_expression "piVar11 = piVar21" identifier = identifier) ;) (if_statement "if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }" if (parenthesized_expression "((int *)piVar19[4] != (int *)0x0)" ( (binary_expression "(int *)piVar19[4] != (int *)0x0" (cast_expression "(int *)piVar19[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }" { (expression_statement "piVar15 = (int *)piVar19[4];" (assignment_expression "piVar15 = (int *)piVar19[4]" identifier = (cast_expression "(int *)piVar19[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);" (assignment_expression "piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + 0x7b40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x7b40)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal) )))) ;) })) (expression_statement "local_7c = (int *)piVar19[2];" (assignment_expression "local_7c = (int *)piVar19[2]" identifier = (cast_expression "(int *)piVar19[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[2]" identifier [ number_literal ]))) ;) (expression_statement "local_80 = piVar21;" (assignment_expression "local_80 = piVar21" identifier = identifier) ;) (expression_statement "piVar16 = piVar21;" (assignment_expression "piVar16 = piVar21" identifier = identifier) ;) (expression_statement "local_78 = piVar21;" (assignment_expression "local_78 = piVar21" identifier = identifier) ;) (if_statement "if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }" if (parenthesized_expression "((int *)piVar19[6] != (int *)0x0)" ( (binary_expression "(int *)piVar19[6] != (int *)0x0" (cast_expression "(int *)piVar19[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[6]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }" { (expression_statement "local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);" (assignment_expression "local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8e0)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" identifier + number_literal) )))) ;) (expression_statement "piVar16 = (int *)piVar19[6];" (assignment_expression "piVar16 = (int *)piVar19[6]" identifier = (cast_expression "(int *)piVar19[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[6]" identifier [ number_literal ]))) ;) (expression_statement "local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);" (assignment_expression "local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0xa48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0xa48)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa48" identifier + number_literal) )))) ;) })) (expression_statement "unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);" (assignment_expression "unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16)" identifier = (call_expression "dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16)" identifier (argument_list "(puVar4 + -0x810,piVar15,piVar11,piVar16)" ( (binary_expression "puVar4 + -0x810" identifier + number_literal) , identifier , identifier , identifier )))) ;) (expression_statement "piVar15 = piVar21;" (assignment_expression "piVar15 = piVar21" identifier = identifier) ;) (if_statement "if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" if (parenthesized_expression "(piVar19[1] == 0x44)" ( (binary_expression "piVar19[1] == 0x44" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }" { (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0004233c:\n      local_74 = piVar19[9];" statement_identifier : (expression_statement "local_74 = piVar19[9];" (assignment_expression "local_74 = piVar19[9]" identifier = (subscript_expression "piVar19[9]" identifier [ number_literal ])) ;)) (expression_statement "local_78 = piVar19 + 10;" (assignment_expression "local_78 = piVar19 + 10" identifier = (binary_expression "piVar19 + 10" identifier + number_literal)) ;) (expression_statement "local_80 = (int *)param_1;" (assignment_expression "local_80 = (int *)param_1" identifier = (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_7c = (int *)param_2;" (assignment_expression "local_7c = (int *)param_2" identifier = (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);" (assignment_expression "local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" identifier = (cast_expression "(int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" identifier (argument_list "(0,0xffffffff,piVar19[4],piVar19[2])" ( number_literal , number_literal , (subscript_expression "piVar19[4]" identifier [ number_literal ]) , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))))) ;) (if_statement "if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" if (parenthesized_expression "(piVar19[9] == 1)" ( (binary_expression "piVar19[9] == 1" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8dc)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" identifier + number_literal) )))) ;) }) (else_clause "else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" else (if_statement "if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" if (parenthesized_expression "(piVar19[9] == 2)" ( (binary_expression "piVar19[9] == 2" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8d4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8d4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" identifier + number_literal) )))) ;) })))) (if_statement "if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" if (parenthesized_expression "(local_54 == (int *)0x0)" ( (binary_expression "local_54 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }" { (expression_statement "local_80 = piVar21;" (assignment_expression "local_80 = piVar21" identifier = identifier) ;) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" ( identifier , (binary_expression "puVar4 + -0x75c" identifier + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" else (compound_statement "{\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" { (expression_statement "local_80 = piVar25;" (assignment_expression "local_80 = piVar25" identifier = identifier) ;) (expression_statement "local_7c = local_54;" (assignment_expression "local_7c = local_54" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" ( identifier , (binary_expression "puVar4 + -0x75c" identifier + number_literal) , identifier , identifier ))) ;) (labeled_statement "LAB_000424c0:\n        safefree(local_54);" statement_identifier : (expression_statement "safefree(local_54);" (call_expression "safefree(local_54)" identifier (argument_list "(local_54)" ( identifier ))) ;)) }))) }) (else_clause "else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" else (compound_statement "{\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" { (expression_statement "local_80 = (int *)piVar19[3];" (assignment_expression "local_80 = (int *)piVar19[3]" identifier = (cast_expression "(int *)piVar19[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[3]" identifier [ number_literal ]))) ;) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" identifier = identifier) ;) (expression_statement "piVar11 = piVar21;" (assignment_expression "piVar11 = piVar21" identifier = identifier) ;) (expression_statement "piVar16 = piVar21;" (assignment_expression "piVar16 = piVar21" identifier = identifier) ;) (if_statement "if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }" if (parenthesized_expression "((int *)piVar19[7] != (int *)0x0)" ( (binary_expression "(int *)piVar19[7] != (int *)0x0" (cast_expression "(int *)piVar19[7]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[7]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }" { (expression_statement "local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);" (assignment_expression "local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0xa48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0xa48)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa48" identifier + number_literal) )))) ;) (expression_statement "piVar11 = (int *)piVar19[7];" (assignment_expression "piVar11 = (int *)piVar19[7]" identifier = (cast_expression "(int *)piVar19[7]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[7]" identifier [ number_literal ]))) ;) (expression_statement "piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);" (assignment_expression "piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8e0)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" identifier + number_literal) )))) ;) })) (expression_statement "piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);" (assignment_expression "piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" identifier = (cast_expression "(int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" identifier (argument_list "(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x800" identifier + number_literal) , (subscript_expression "piVar19[5]" identifier [ number_literal ]) , identifier , identifier ))))) ;) (if_statement "if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" if (parenthesized_expression "(piVar19[1] == 0x4c)" ( (binary_expression "piVar19[1] == 0x4c" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }" { (expression_statement "local_74 = piVar19[9];" (assignment_expression "local_74 = piVar19[9]" identifier = (subscript_expression "piVar19[9]" identifier [ number_literal ])) ;) (expression_statement "local_78 = piVar19 + 10;" (assignment_expression "local_78 = piVar19 + 10" identifier = (binary_expression "piVar19 + 10" identifier + number_literal)) ;) (expression_statement "local_80 = (int *)param_1;" (assignment_expression "local_80 = (int *)param_1" identifier = (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_7c = (int *)param_2;" (assignment_expression "local_7c = (int *)param_2" identifier = (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);" (assignment_expression "local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" identifier = (cast_expression "(int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" identifier (argument_list "(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" ( (subscript_expression "piVar19[5]" identifier [ number_literal ]) , (subscript_expression "piVar19[3]" identifier [ number_literal ]) , (subscript_expression "piVar19[4]" identifier [ number_literal ]) , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))))) ;) (if_statement "if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" if (parenthesized_expression "(piVar19[9] == 1)" ( (binary_expression "piVar19[9] == 1" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8dc)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" identifier + number_literal) )))) ;) }) (else_clause "else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" else (if_statement "if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" if (parenthesized_expression "(piVar19[9] == 2)" ( (binary_expression "piVar19[9] == 2" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8d4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8d4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" identifier + number_literal) )))) ;) })))) (expression_statement "local_80 = piVar11;" (assignment_expression "local_80 = piVar11" identifier = identifier) ;) (if_statement "if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }" if (parenthesized_expression "(local_54 != (int *)0x0)" ( (binary_expression "local_54 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }" { (expression_statement "local_7c = piVar25;" (assignment_expression "local_7c = piVar25" identifier = identifier) ;) (expression_statement "local_78 = local_54;" (assignment_expression "local_78 = local_54" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x790" identifier + number_literal) , identifier , identifier ))) ;) (goto_statement "goto LAB_000424c0;" goto statement_identifier ;) })) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" identifier = identifier) ;) (expression_statement "local_78 = piVar21;" (assignment_expression "local_78 = piVar21" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x790" identifier + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" else (compound_statement "{\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" { (if_statement "if (piVar19[1] == 0x44) goto LAB_0004233c;" if (parenthesized_expression "(piVar19[1] == 0x44)" ( (binary_expression "piVar19[1] == 0x44" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_0004233c;" goto statement_identifier ;)) (if_statement "if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }" if (parenthesized_expression "(*(int *)(param_1 + 0x13c) == 0)" ( (binary_expression "*(int *)(param_1 + 0x13c) == 0" (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }" { (if_statement "if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" if (parenthesized_expression "(*(int *)(param_1 + 0x198) == 1)" ( (binary_expression "*(int *)(param_1 + 0x198) == 1" (pointer_expression "*(int *)(param_1 + 0x198)" * (cast_expression "(int *)(param_1 + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" { (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" identifier = (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x61e4)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x61e4" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x13c) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x13c) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" else (compound_statement "{\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" { (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" identifier = (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x6140)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6140" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x13c) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x13c) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "piVar12 = (int *)safemalloc(1,0x1c);" (assignment_expression "piVar12 = (int *)safemalloc(1,0x1c)" identifier = (cast_expression "(int *)safemalloc(1,0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x1c)" identifier (argument_list "(1,0x1c)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar13 = piVar19[5];" (assignment_expression "iVar13 = piVar19[5]" identifier = (subscript_expression "piVar19[5]" identifier [ number_literal ])) ;) (expression_statement "piVar12[5] = 0;" (assignment_expression "piVar12[5] = 0" (subscript_expression "piVar12[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar13 = dupstr(iVar13);" (assignment_expression "iVar13 = dupstr(iVar13)" identifier = (call_expression "dupstr(iVar13)" identifier (argument_list "(iVar13)" ( identifier )))) ;) (expression_statement "iVar8 = piVar19[3];" (assignment_expression "iVar8 = piVar19[3]" identifier = (subscript_expression "piVar19[3]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = piVar19[4];" (assignment_expression "iVar18 = piVar19[4]" identifier = (subscript_expression "piVar19[4]" identifier [ number_literal ])) ;) (expression_statement "piVar12[3] = iVar13;" (assignment_expression "piVar12[3] = iVar13" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar12[1] = iVar8;" (assignment_expression "piVar12[1] = iVar8" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }" { (expression_statement "iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" ( (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" * (cast_expression "(code *)PTR_conf_get_int_000ad34c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }" { (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x81c)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x81c" identifier + number_literal) )))) ;) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" else (compound_statement "{\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" { (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(piVar21)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar21)" ( identifier )))) ;) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" else (compound_statement "{\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" { (expression_statement "iVar13 = dupstr();" (assignment_expression "iVar13 = dupstr()" identifier = (call_expression "dupstr()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "puVar6 = PTR_add234_000ad45c;" (assignment_expression "puVar6 = PTR_add234_000ad45c" identifier = identifier) ;) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x13c);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x13c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (expression_statement "*piVar12 = piVar19[2];" (assignment_expression "*piVar12 = piVar19[2]" (pointer_expression "*piVar12" * identifier) = (subscript_expression "piVar19[2]" identifier [ number_literal ])) ;) (expression_statement "piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);" (assignment_expression "piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12)" identifier = (cast_expression "(int *)(*(code *)puVar6)(uVar7,piVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar6)(uVar7,piVar12)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,piVar12)" ( identifier , identifier ))))) ;) (if_statement "if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" if (parenthesized_expression "(piVar12 == piVar15)" ( (binary_expression "piVar12 == piVar15" identifier == identifier) )) (compound_statement "{\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }" { (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7c8" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "piVar15 = *(int **)(param_1 + 0x198);" (assignment_expression "piVar15 = *(int **)(param_1 + 0x198)" identifier = (pointer_expression "*(int **)(param_1 + 0x198)" * (cast_expression "(int **)(param_1 + 0x198)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) ))))) ;) (expression_statement "piVar12[4] = unaff_s2;" (assignment_expression "piVar12[4] = unaff_s2" (subscript_expression "piVar12[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar19[8] = (int)piVar12;" (assignment_expression "piVar19[8] = (int)piVar12" (subscript_expression "piVar19[8]" identifier [ number_literal ]) = (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar12[6] = (int)piVar19;" (assignment_expression "piVar12[6] = (int)piVar19" (subscript_expression "piVar12[6]" identifier [ number_literal ]) = (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" if (parenthesized_expression "(piVar15 == (int *)0x1)" ( (binary_expression "piVar15 == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }" { (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_74 = piVar19[3];" (assignment_expression "local_74 = piVar19[3]" identifier = (subscript_expression "piVar19[3]" identifier [ number_literal ])) ;) (expression_statement "unaff_s2 = 0;" (assignment_expression "unaff_s2 = 0" identifier = number_literal) ;) (expression_statement "local_7c = (int *)piVar19[5];" (assignment_expression "local_7c = (int *)piVar19[5]" identifier = (cast_expression "(int *)piVar19[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[5]" identifier [ number_literal ]))) ;) (expression_statement "local_80 = (int *)0x4;" (assignment_expression "local_80 = (int *)0x4" identifier = (cast_expression "(int *)0x4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_78 = piVar15;" (assignment_expression "local_78 = piVar15" identifier = identifier) ;) (expression_statement "FUN_00041954(param_1,0x1c,1,piVar19[2]);" (call_expression "FUN_00041954(param_1,0x1c,1,piVar19[2])" identifier (argument_list "(param_1,0x1c,1,piVar19[2])" ( identifier , number_literal , number_literal , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar15 = (int *)0xf;" (assignment_expression "piVar15 = (int *)0xf" identifier = (cast_expression "(int *)0xf" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_80 = piVar12;" (assignment_expression "local_80 = piVar12" identifier = identifier) ;) (expression_statement "FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);" (call_expression "FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478)" identifier (argument_list "(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_000ad5b0 + 0x6478" identifier + number_literal) ))) ;) }) (else_clause "else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" else (compound_statement "{\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" { (expression_statement "uVar7 = FUN_000334cc(0x50);" (assignment_expression "uVar7 = FUN_000334cc(0x50)" identifier = (call_expression "FUN_000334cc(0x50)" identifier (argument_list "(0x50)" ( number_literal )))) ;) (expression_statement "FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);" (call_expression "FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0)" identifier (argument_list "(uVar7,PTR_DAT_000ad2c8 + -0x7a0)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7a0" identifier + number_literal) ))) ;) (expression_statement "local_31 = 1;" (assignment_expression "local_31 = 1" identifier = number_literal) ;) (expression_statement "FUN_00033374(uVar7,&local_31,1);" (call_expression "FUN_00033374(uVar7,&local_31,1)" identifier (argument_list "(uVar7,&local_31,1)" ( identifier , (pointer_expression "&local_31" & identifier) , number_literal ))) ;) (expression_statement "FUN_000336bc(uVar7,piVar12[2]);" (call_expression "FUN_000336bc(uVar7,piVar12[2])" identifier (argument_list "(uVar7,piVar12[2])" ( identifier , (subscript_expression "piVar12[2]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0003364c(uVar7,*piVar12);" (call_expression "FUN_0003364c(uVar7,*piVar12)" identifier (argument_list "(uVar7,*piVar12)" ( identifier , (pointer_expression "*piVar12" * identifier) ))) ;) (expression_statement "unaff_s2 = 0;" (assignment_expression "unaff_s2 = 0" identifier = number_literal) ;) (expression_statement "FUN_0003e878(param_1,uVar7);" (call_expression "FUN_0003e878(param_1,uVar7)" identifier (argument_list "(param_1,uVar7)" ( identifier , identifier ))) ;) (expression_statement "piVar15 = (int *)0x52;" (assignment_expression "piVar15 = (int *)0x52" identifier = (cast_expression "(int *)0x52" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_80 = piVar12;" (assignment_expression "local_80 = piVar12" identifier = identifier) ;) (expression_statement "FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);" (call_expression "FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478)" identifier (argument_list "(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_000ad5b0 + 0x6478" identifier + number_literal) ))) ;) }))) }) (else_clause "else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" else (compound_statement "{\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" { (expression_statement "piVar15 = (int *)piVar19[5];" (assignment_expression "piVar15 = (int *)piVar19[5]" identifier = (cast_expression "(int *)piVar19[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[5]" identifier [ number_literal ]))) ;) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3])" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3])" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7f4" identifier + number_literal) , identifier , (subscript_expression "piVar19[3]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar12);" (call_expression "safefree(piVar12)" identifier (argument_list "(piVar12)" ( identifier ))) ;) }))) }))) }))) (expression_statement "safefree(unaff_s2);" (call_expression "safefree(unaff_s2)" identifier (argument_list "(unaff_s2)" ( identifier ))) ;) (expression_statement "safefree(piVar11);" (call_expression "safefree(piVar11)" identifier (argument_list "(piVar11)" ( identifier ))) ;) })) (expression_statement "uVar22 = uVar22 + 1;" (assignment_expression "uVar22 = uVar22 + 1" identifier = (binary_expression "uVar22 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = uVar22;" (assignment_expression "uVar14 = uVar22" identifier = identifier) ;) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)()" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (goto_statement "goto joined_r0x00041f0c;" goto statement_identifier ;) (labeled_statement "LAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar24) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar24)" ( (binary_expression "local_2c == *(int *)puVar24" identifier == (pointer_expression "*(int *)puVar24" * (cast_expression "(int *)puVar24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "pcVar5 = FUN_00042824;" (assignment_expression "pcVar5 = FUN_00042824" identifier = identifier) ;) (expression_statement "puVar24 = PTR___stack_chk_fail_000adca4;" (assignment_expression "puVar24 = PTR___stack_chk_fail_000adca4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000adca4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000adca4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000adca4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000adca4" * (cast_expression "(code *)PTR___stack_chk_fail_000adca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_b8 = puVar24 + 0x72a6c;" (assignment_expression "puStack_b8 = puVar24 + 0x72a6c" identifier = (binary_expression "puVar24 + 0x72a6c" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar13 + 0x11c) = uVar14;" (assignment_expression "*(uint *)(iVar13 + 0x11c) = uVar14" (pointer_expression "*(uint *)(iVar13 + 0x11c)" * (cast_expression "(uint *)(iVar13 + 0x11c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11c)" ( (binary_expression "iVar13 + 0x11c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(iVar13 + 0x120) = piVar15;" (assignment_expression "*(int **)(iVar13 + 0x120) = piVar15" (pointer_expression "*(int **)(iVar13 + 0x120)" * (cast_expression "(int **)(iVar13 + 0x120)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x120)" ( (binary_expression "iVar13 + 0x120" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar15 = *(int **)(puVar24 + 0x6b4b0);" (assignment_expression "piVar15 = *(int **)(puVar24 + 0x6b4b0)" identifier = (pointer_expression "*(int **)(puVar24 + 0x6b4b0)" * (cast_expression "(int **)(puVar24 + 0x6b4b0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0x6b4b0)" ( (binary_expression "puVar24 + 0x6b4b0" identifier + number_literal) ))))) ;) (expression_statement "iVar18 = *piVar15;" (assignment_expression "iVar18 = *piVar15" identifier = (pointer_expression "*piVar15" * identifier)) ;) (expression_statement "iStack_ac = iVar18;" (assignment_expression "iStack_ac = iVar18" identifier = identifier) ;) (expression_statement "uStack_a8 = uVar22;" (assignment_expression "uStack_a8 = uVar22" identifier = identifier) ;) (expression_statement "piStack_a4 = piVar21;" (assignment_expression "piStack_a4 = piVar21" identifier = identifier) ;) (expression_statement "uStack_a0 = unaff_s2;" (assignment_expression "uStack_a0 = unaff_s2" identifier = identifier) ;) (expression_statement "iStack_9c = param_1;" (assignment_expression "iStack_9c = param_1" identifier = identifier) ;) (expression_statement "piStack_98 = piVar11;" (assignment_expression "piStack_98 = piVar11" identifier = identifier) ;) (expression_statement "pcStack_94 = pcVar5;" (assignment_expression "pcStack_94 = pcVar5" identifier = identifier) ;) (if_statement "if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar13 + 0x144) == 2)" ( (binary_expression "*(int *)(iVar13 + 0x144) == 2" (pointer_expression "*(int *)(iVar13 + 0x144)" * (cast_expression "(int *)(iVar13 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x144)" ( (binary_expression "iVar13 + 0x144" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }" { (expression_statement "*(undefined4 *)(iVar13 + 0x148) = 1;" (assignment_expression "*(undefined4 *)(iVar13 + 0x148) = 1" (pointer_expression "*(undefined4 *)(iVar13 + 0x148)" * (cast_expression "(undefined4 *)(iVar13 + 0x148)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x148)" ( (binary_expression "iVar13 + 0x148" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" else (if_statement "if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar13 + 0x144) == 3)" ( (binary_expression "*(int *)(iVar13 + 0x144) == 3" (pointer_expression "*(int *)(iVar13 + 0x144)" * (cast_expression "(int *)(iVar13 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x144)" ( (binary_expression "iVar13 + 0x144" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" { (expression_statement "uVar14 = 0x16;" (assignment_expression "uVar14 = 0x16" identifier = number_literal) ;) (expression_statement "iVar18 = *(int *)(iVar13 + 0x248);" (assignment_expression "iVar18 = *(int *)(iVar13 + 0x248)" identifier = (pointer_expression "*(int *)(iVar13 + 0x248)" * (cast_expression "(int *)(iVar13 + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x248)" ( (binary_expression "iVar13 + 0x248" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);" (assignment_expression "iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16)" identifier = (call_expression "(**(code **)(puVar24 + 0x6ab28))(iVar18,0x16)" (parenthesized_expression "(**(code **)(puVar24 + 0x6ab28))" ( (pointer_expression "**(code **)(puVar24 + 0x6ab28)" * (pointer_expression "*(code **)(puVar24 + 0x6ab28)" * (cast_expression "(code **)(puVar24 + 0x6ab28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0x6ab28)" ( (binary_expression "puVar24 + 0x6ab28" identifier + number_literal) ))))) )) (argument_list "(iVar18,0x16)" ( identifier , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }" { (expression_statement "iVar8 = *(int *)(iVar13 + 0x198);" (assignment_expression "iVar8 = *(int *)(iVar13 + 0x198)" identifier = (pointer_expression "*(int *)(iVar13 + 0x198)" * (cast_expression "(int *)(iVar13 + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x198)" ( (binary_expression "iVar13 + 0x198" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }" { (expression_statement "uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);" (assignment_expression "uStack_d4 = *(undefined4 *)(iVar13 + 0x11c)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x11c)" * (cast_expression "(undefined4 *)(iVar13 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11c)" ( (binary_expression "iVar13 + 0x11c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = 0xb;" (assignment_expression "uVar14 = 0xb" identifier = number_literal) ;) (expression_statement "uStack_c0 = 0;" (assignment_expression "uStack_c0 = 0" identifier = number_literal) ;) (expression_statement "uStack_c4 = 0;" (assignment_expression "uStack_c4 = 0" identifier = number_literal) ;) (expression_statement "uStack_cc = 0;" (assignment_expression "uStack_cc = 0" identifier = number_literal) ;) (expression_statement "iVar18 = iVar13;" (assignment_expression "iVar18 = iVar13" identifier = identifier) ;) (expression_statement "iStack_d8 = iVar8;" (assignment_expression "iStack_d8 = iVar8" identifier = identifier) ;) (expression_statement "iStack_d0 = iVar8;" (assignment_expression "iStack_d0 = iVar8" identifier = identifier) ;) (expression_statement "iStack_c8 = iVar8;" (assignment_expression "iStack_c8 = iVar8" identifier = identifier) ;) (expression_statement "FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));" (call_expression "FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120))" identifier (argument_list "(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120))" ( identifier , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar13 + 0x120)" * (cast_expression "(undefined4 *)(iVar13 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x120)" ( (binary_expression "iVar13 + 0x120" identifier + number_literal) )))) ))) ;) }) (else_clause "else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" else (compound_statement "{\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" { (expression_statement "iVar18 = *(int *)(iVar13 + 0x128);" (assignment_expression "iVar18 = *(int *)(iVar13 + 0x128)" identifier = (pointer_expression "*(int *)(iVar13 + 0x128)" * (cast_expression "(int *)(iVar13 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x128)" ( (binary_expression "iVar13 + 0x128" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(uint *)(puStack_b8 + -0x7fc8);" (assignment_expression "uVar14 = *(uint *)(puStack_b8 + -0x7fc8)" identifier = (pointer_expression "*(uint *)(puStack_b8 + -0x7fc8)" * (cast_expression "(uint *)(puStack_b8 + -0x7fc8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_b8 + -0x7fc8)" ( (binary_expression "puStack_b8 + -0x7fc8" identifier + number_literal) ))))) ;) (if_statement "if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }" { (expression_statement "piVar11 = &iStack_b0;" (assignment_expression "piVar11 = &iStack_b0" identifier = (pointer_expression "&iStack_b0" & identifier)) ;) (expression_statement "unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);" (assignment_expression "unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0)" identifier = (call_expression "FUN_00034800(iVar18,uVar14 - 0x72c,0,0)" identifier (argument_list "(iVar18,uVar14 - 0x72c,0,0)" ( identifier , (binary_expression "uVar14 - 0x72c" identifier - number_literal) , number_literal , number_literal )))) ;) (expression_statement "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));" (call_expression "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c))" identifier (argument_list "(unaff_s2,*(undefined4 *)(iVar13 + 0x11c))" ( identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x11c)" * (cast_expression "(undefined4 *)(iVar13 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11c)" ( (binary_expression "iVar13 + 0x11c" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));" (call_expression "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120))" identifier (argument_list "(unaff_s2,*(undefined4 *)(iVar13 + 0x120))" ( identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x120)" * (cast_expression "(undefined4 *)(iVar13 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x120)" ( (binary_expression "iVar13 + 0x120" identifier + number_literal) )))) ))) ;) (expression_statement "param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;" (assignment_expression "param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374" identifier = (binary_expression "*(int *)(puStack_b8 + -0x7ce0) + 0x3374" (pointer_expression "*(int *)(puStack_b8 + -0x7ce0)" * (cast_expression "(int *)(puStack_b8 + -0x7ce0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_b8 + -0x7ce0)" ( (binary_expression "puStack_b8 + -0x7ce0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033374(unaff_s2,piVar11,4);" (call_expression "FUN_00033374(unaff_s2,piVar11,4)" identifier (argument_list "(unaff_s2,piVar11,4)" ( identifier , identifier , number_literal ))) ;) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033374(unaff_s2,piVar11,4);" (call_expression "FUN_00033374(unaff_s2,piVar11,4)" identifier (argument_list "(unaff_s2,piVar11,4)" ( identifier , identifier , number_literal ))) ;) (expression_statement "iVar18 = iVar13;" (assignment_expression "iVar18 = iVar13" identifier = identifier) ;) (expression_statement "uVar14 = unaff_s2;" (assignment_expression "uVar14 = unaff_s2" identifier = identifier) ;) (expression_statement "FUN_0003e878(iVar13,unaff_s2);" (call_expression "FUN_0003e878(iVar13,unaff_s2)" identifier (argument_list "(iVar13,unaff_s2)" ( identifier , identifier ))) ;) })) }))) })) })))) (if_statement "if (iStack_ac == *piVar15) {\n    return;\n  }" if (parenthesized_expression "(iStack_ac == *piVar15)" ( (binary_expression "iStack_ac == *piVar15" identifier == (pointer_expression "*piVar15" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = *(code **)(puStack_b8 + -0x75ec);" (assignment_expression "pcVar5 = *(code **)(puStack_b8 + -0x75ec)" identifier = (pointer_expression "*(code **)(puStack_b8 + -0x75ec)" * (cast_expression "(code **)(puStack_b8 + -0x75ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_b8 + -0x75ec)" ( (binary_expression "puStack_b8 + -0x75ec" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = 0x429d8;" (assignment_expression "uVar7 = 0x429d8" identifier = number_literal) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar19 = *(int **)(pcVar5 + 0x6b2fc);" (assignment_expression "piVar19 = *(int **)(pcVar5 + 0x6b2fc)" identifier = (pointer_expression "*(int **)(pcVar5 + 0x6b2fc)" * (cast_expression "(int **)(pcVar5 + 0x6b2fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6b2fc)" ( (binary_expression "pcVar5 + 0x6b2fc" identifier + number_literal) ))))) ;) (expression_statement "iStack_10c = *piVar19;" (assignment_expression "iStack_10c = *piVar19" identifier = (pointer_expression "*piVar19" * identifier)) ;) (expression_statement "iStack_108 = iVar13;" (assignment_expression "iStack_108 = iVar13" identifier = identifier) ;) (expression_statement "piStack_104 = piVar15;" (assignment_expression "piStack_104 = piVar15" identifier = identifier) ;) (expression_statement "uStack_100 = unaff_s2;" (assignment_expression "uStack_100 = unaff_s2" identifier = identifier) ;) (expression_statement "iStack_fc = param_1;" (assignment_expression "iStack_fc = param_1" identifier = identifier) ;) (expression_statement "piStack_f8 = piVar11;" (assignment_expression "piStack_f8 = piVar11" identifier = identifier) ;) (expression_statement "piStack_f4 = piVar12;" (assignment_expression "piStack_f4 = piVar12" identifier = identifier) ;) (expression_statement "puStack_f0 = puVar23;" (assignment_expression "puStack_f0 = puVar23" identifier = identifier) ;) (expression_statement "uStack_ec = uVar7;" (assignment_expression "uStack_ec = uVar7" identifier = identifier) ;) (expression_statement "iVar13 = FUN_0002f068(uVar14);" (assignment_expression "iVar13 = FUN_0002f068(uVar14)" identifier = (call_expression "FUN_0002f068(uVar14)" identifier (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "FUN_0002fb84();" (call_expression "FUN_0002fb84()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar7 = FUN_0002f068(uVar14);" (assignment_expression "uVar7 = FUN_0002f068(uVar14)" identifier = (call_expression "FUN_0002f068(uVar14)" identifier (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }" if (parenthesized_expression "(iStack_12c == 0)" ( (binary_expression "iStack_12c == 0" identifier == number_literal) )) (compound_statement "{\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }" { (expression_statement "iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;" (assignment_expression "iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4" identifier = (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x22a4" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);" (assignment_expression "iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a900))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a900)" * (pointer_expression "*(code **)(pcVar5 + 0x6a900)" * (cast_expression "(code **)(pcVar5 + 0x6a900)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a900)" ( (binary_expression "pcVar5 + 0x6a900" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x1de0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) (expression_statement "uStack_124 = uVar7;" (assignment_expression "uStack_124 = uVar7" identifier = identifier) ;) (expression_statement "iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);" (assignment_expression "iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aaa0))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aaa0)" * (pointer_expression "*(code **)(pcVar5 + 0x6aaa0)" * (cast_expression "(code **)(pcVar5 + 0x6aaa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aaa0)" ( (binary_expression "pcVar5 + 0x6aaa0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" ( (pointer_expression "*(undefined4 *)(iVar18 + 0x13c)" * (cast_expression "(undefined4 *)(iVar18 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x13c)" ( (binary_expression "iVar18 + 0x13c" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }" { (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7)" identifier (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7)" ( identifier , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x71c" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" else (compound_statement "{\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" { (expression_statement "piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);" (assignment_expression "piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" identifier = (cast_expression "(int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa3c))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aa3c)" * (pointer_expression "*(code **)(pcVar5 + 0x6aa3c)" * (cast_expression "(code **)(pcVar5 + 0x6aa3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aa3c)" ( (binary_expression "pcVar5 + 0x6aa3c" identifier + number_literal) ))))) )) (argument_list "(1,0x5c)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar15 = iVar18;" (assignment_expression "*piVar15 = iVar18" (pointer_expression "*piVar15" * identifier) = identifier) ;) (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7)" identifier (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7)" ( identifier , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x6f0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));" (assignment_expression "iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" identifier = (call_expression "pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" identifier (argument_list "(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" ( (binary_expression "piVar15 + 0x13" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar18 + 0x248)" * (cast_expression "(undefined4 *)(iVar18 + 0x248)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x248)" ( (binary_expression "iVar18 + 0x248" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24)" * (cast_expression "(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 0x18) + 0x24)" ( (binary_expression "*(int *)(iVar8 + 0x18) + 0x24" (pointer_expression "*(int *)(iVar8 + 0x18)" * (cast_expression "(int *)(iVar8 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x18)" ( (binary_expression "iVar8 + 0x18" identifier + number_literal) )))) + number_literal) )))) )))) ;) (if_statement "if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }" { (expression_statement "FUN_00036678(piVar15);" (call_expression "FUN_00036678(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) (expression_statement "piVar15[3] = 3;" (assignment_expression "piVar15[3] = 3" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[1] = iVar13;" (assignment_expression "piVar15[1] = iVar13" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[4] = 0;" (assignment_expression "piVar15[4] = 0" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);" (call_expression "FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0)" identifier (argument_list "(iVar18,0x15,1,iVar13,1,piVar15[2],0)" ( identifier , number_literal , number_literal , identifier , number_literal , (subscript_expression "piVar15[2]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;" (assignment_expression "iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10" identifier = (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe10" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);" (call_expression "(**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa30))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aa30)" * (pointer_expression "*(code **)(pcVar5 + 0x6aa30)" * (cast_expression "(code **)(pcVar5 + 0x6aa30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aa30)" ( (binary_expression "pcVar5 + 0x6aa30" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar18 + 0x110),iVar8)" ( (pointer_expression "*(undefined4 *)(iVar18 + 0x110)" * (cast_expression "(undefined4 *)(iVar18 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x110)" ( (binary_expression "iVar18 + 0x110" identifier + number_literal) )))) , identifier ))) ;) (goto_statement "goto LAB_00042b8c;" goto statement_identifier ;) })) (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8)" identifier (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8)" ( identifier , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe28" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "safefree(iVar8);" (call_expression "safefree(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))) ;) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) }))) (expression_statement "iVar8 = 0x16;" (assignment_expression "iVar8 = 0x16" identifier = number_literal) ;) (expression_statement "FUN_00041954(iVar18,0x16,1,iVar13,0);" (call_expression "FUN_00041954(iVar18,0x16,1,iVar13,0)" identifier (argument_list "(iVar18,0x16,1,iVar13,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) (labeled_statement "LAB_00042b8c:\n  iVar13 = iStack_11c;" statement_identifier : (expression_statement "iVar13 = iStack_11c;" (assignment_expression "iVar13 = iStack_11c" identifier = identifier) ;)) (expression_statement "safefree();" (call_expression "safefree()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iStack_10c == *piVar19) {\n    return;\n  }" if (parenthesized_expression "(iStack_10c == *piVar19)" ( (binary_expression "iStack_10c == *piVar19" identifier == (pointer_expression "*piVar19" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = *(code **)(pcVar5 + 0x6b2cc);" (assignment_expression "pcVar5 = *(code **)(pcVar5 + 0x6b2cc)" identifier = (pointer_expression "*(code **)(pcVar5 + 0x6b2cc)" * (cast_expression "(code **)(pcVar5 + 0x6b2cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6b2cc)" ( (binary_expression "pcVar5 + 0x6b2cc" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar18 = FUN_0002f068(iVar8);" (assignment_expression "iVar18 = FUN_0002f068(iVar8)" identifier = (call_expression "FUN_0002f068(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a784)" * (pointer_expression "*(code **)(pcVar5 + 0x6a784)" * (cast_expression "(code **)(pcVar5 + 0x6a784)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a784)" ( (binary_expression "pcVar5 + 0x6a784" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" * (cast_expression "(undefined4 *)(iVar13 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x110)" ( (binary_expression "iVar13 + 0x110" identifier + number_literal) )))) , (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0x6c4" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" * (cast_expression "(int *)(pcVar5 + 0x6a644)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a644)" ( (binary_expression "pcVar5 + 0x6a644" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar13 + 0x4c) == 0)" ( (binary_expression "*(int *)(iVar13 + 0x4c) == 0" (pointer_expression "*(int *)(iVar13 + 0x4c)" * (cast_expression "(int *)(iVar13 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x4c)" ( (binary_expression "iVar13 + 0x4c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }" { (expression_statement "FUN_00041954(iVar13,0x16,1,iVar18,0);" (call_expression "FUN_00041954(iVar13,0x16,1,iVar18,0)" identifier (argument_list "(iVar13,0x16,1,iVar18,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) comment comment (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a784)" * (pointer_expression "*(code **)(pcVar5 + 0x6a784)" * (cast_expression "(code **)(pcVar5 + 0x6a784)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a784)" ( (binary_expression "pcVar5 + 0x6a784" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" * (cast_expression "(undefined4 *)(iVar13 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x110)" ( (binary_expression "iVar13 + 0x110" identifier + number_literal) )))) , (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0x6a4" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" * (cast_expression "(int *)(pcVar5 + 0x6a644)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a644)" ( (binary_expression "pcVar5 + 0x6a644" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);" (assignment_expression "piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" identifier = (cast_expression "(int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a790))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a790)" * (pointer_expression "*(code **)(pcVar5 + 0x6a790)" * (cast_expression "(code **)(pcVar5 + 0x6a790)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a790)" ( (binary_expression "pcVar5 + 0x6a790" identifier + number_literal) ))))) )) (argument_list "(1,0x5c)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar15 = iVar13;" (assignment_expression "*piVar15 = iVar13" (pointer_expression "*piVar15" * identifier) = identifier) ;) (expression_statement "FUN_00036678(piVar15);" (call_expression "FUN_00036678(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) (expression_statement "iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);" (assignment_expression "iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6ab54))" ( (pointer_expression "**(code **)(pcVar5 + 0x6ab54)" * (pointer_expression "*(code **)(pcVar5 + 0x6ab54)" * (cast_expression "(code **)(pcVar5 + 0x6ab54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6ab54)" ( (binary_expression "pcVar5 + 0x6ab54" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x194)" * (cast_expression "(undefined4 *)(iVar13 + 0x194)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x194)" ( (binary_expression "iVar13 + 0x194" identifier + number_literal) )))) , identifier , number_literal , number_literal )))) ;) (expression_statement "piVar15[0x13] = iVar8;" (assignment_expression "piVar15[0x13] = iVar8" (subscript_expression "piVar15[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[1] = iVar18;" (assignment_expression "piVar15[1] = iVar18" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[4] = 0;" (assignment_expression "piVar15[4] = 0" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[3] = 1;" (assignment_expression "piVar15[3] = 1" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);" (call_expression "FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0)" identifier (argument_list "(iVar13,0x15,1,iVar18,1,piVar15[2],0)" ( identifier , number_literal , number_literal , identifier , number_literal , (subscript_expression "piVar15[2]" identifier [ number_literal ]) , number_literal ))) ;) comment comment (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a784)" * (pointer_expression "*(code **)(pcVar5 + 0x6a784)" * (cast_expression "(code **)(pcVar5 + 0x6a784)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a784)" ( (binary_expression "pcVar5 + 0x6a784" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" * (cast_expression "(undefined4 *)(iVar13 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x110)" ( (binary_expression "iVar13 + 0x110" identifier + number_literal) )))) , (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0xdb8" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" * (cast_expression "(int *)(pcVar5 + 0x6a644)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a644)" ( (binary_expression "pcVar5 + 0x6a644" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_setup_portfwd(Ssh_conflict ssh,Conf *conf)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int *piVar10;\n  int *piVar11;\n  int *piVar12;\n  ulong uVar13;\n  ulong port;\n  ssh_channel *c;\n  tree234 *ptVar14;\n  Ssh_conflict ssh_00;\n  Ssh_conflict psVar15;\n  Packet *pkt;\n  undefined *puVar16;\n  char *pcVar17;\n  undefined *puVar18;\n  undefined *puVar19;\n  int iVar20;\n  Packet *pPVar21;\n  char *pcVar22;\n  uint unaff_s2;\n  uint uVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iStack_130;\n  char *pcStack_12c;\n  undefined1 auStack_128 [4];\n  ulong uStack_124;\n  char *pcStack_11c;\n  undefined4 uStack_10c;\n  Ssh_conflict psStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  Ssh_conflict psStack_fc;\n  int *piStack_f8;\n  undefined *puStack_f4;\n  undefined *puStack_f0;\n  code *pcStack_ec;\n  int iStack_d8;\n  int iStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  Ssh_conflict psStack_ac;\n  Packet *pPStack_a8;\n  undefined *puStack_a4;\n  uint uStack_a0;\n  Ssh_conflict psStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  char *local_54;\n  undefined1 uStack_31;\n  char *key;\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  ptVar14 = ssh->portfwds;\n  iVar20 = 0;\n  if (ptVar14 == (tree234 *)0x0) {\n    ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    ssh->portfwds = ptVar14;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }\n  }\n  pcVar17 = (char *)0x0;\n  iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key);\n  puVar16 = PTR_DAT_000ad2c8;\n  if (iVar20 != 0) {\n    pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    } while (iVar20 != 0);\n  }\n  puVar6 = PTR_DAT_000ad2c8;\n  iVar20 = 0;\n  piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0);\n  puVar16 = PTR_LAB_000ad5b0;\n  while (puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0) {\n    if (*piVar10 == 0) {\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }\n    iVar20 = iVar20 + 1;\n    piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);\n    puVar16 = PTR_LAB_000ad5b0;\n  }\n  pPVar21 = (Packet *)0x0;\n  pkt = (Packet *)0x0;\n  ssh_00 = (Ssh_conflict)ssh->portfwds;\n  pcVar5 = (code *)(puVar16 + -0xe98);\n  puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n  piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  while( true ) {\n    if (piVar11 == (int *)0x0) {\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }\n    if (*piVar11 == 2) break;\n    pPVar21 = (Packet *)((int)&pPVar21->length + 1);\n    ssh_00 = (Ssh_conflict)ssh->portfwds;\n    pkt = pPVar21;\n    piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  }\n  puVar18 = puVar6;\n  puVar16 = puVar6;\n  if ((undefined *)piVar11[4] != (undefined *)0x0) {\n    puVar18 = (undefined *)piVar11[4];\n    puVar16 = PTR_DAT_000ad2c8 + 0x7b40;\n  }\n  puVar19 = puVar6;\n  if ((undefined *)piVar11[6] != (undefined *)0x0) {\n    puVar19 = (undefined *)piVar11[6];\n  }\n  pcVar17 = dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19);\n  if (piVar11[1] != 0x44) {\n    puVar18 = puVar6;\n    puVar16 = puVar6;\n    if ((undefined *)piVar11[7] != (undefined *)0x0) {\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }\n    pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);\n    if (piVar11[1] == 0x4c) {\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }\n    if (piVar11[1] != 0x44) {\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }\n  }\n  local_54 = pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9]);\n  if (piVar11[9] == 1) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n  }\n  else if (piVar11[9] == 2) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }\n  if (local_54 == (char *)0x0) {\n    (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\n    FUN_000420e8();\n    return;\n  }\n  (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\nLAB_000424c0:\n                    /* WARNING: Subroutine does not return */\n  safefree(local_54);\n}\n\n" comment (function_definition "void ssh_setup_portfwd(Ssh_conflict ssh,Conf *conf)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int *piVar10;\n  int *piVar11;\n  int *piVar12;\n  ulong uVar13;\n  ulong port;\n  ssh_channel *c;\n  tree234 *ptVar14;\n  Ssh_conflict ssh_00;\n  Ssh_conflict psVar15;\n  Packet *pkt;\n  undefined *puVar16;\n  char *pcVar17;\n  undefined *puVar18;\n  undefined *puVar19;\n  int iVar20;\n  Packet *pPVar21;\n  char *pcVar22;\n  uint unaff_s2;\n  uint uVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iStack_130;\n  char *pcStack_12c;\n  undefined1 auStack_128 [4];\n  ulong uStack_124;\n  char *pcStack_11c;\n  undefined4 uStack_10c;\n  Ssh_conflict psStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  Ssh_conflict psStack_fc;\n  int *piStack_f8;\n  undefined *puStack_f4;\n  undefined *puStack_f0;\n  code *pcStack_ec;\n  int iStack_d8;\n  int iStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  Ssh_conflict psStack_ac;\n  Packet *pPStack_a8;\n  undefined *puStack_a4;\n  uint uStack_a0;\n  Ssh_conflict psStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  char *local_54;\n  undefined1 uStack_31;\n  char *key;\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  ptVar14 = ssh->portfwds;\n  iVar20 = 0;\n  if (ptVar14 == (tree234 *)0x0) {\n    ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    ssh->portfwds = ptVar14;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }\n  }\n  pcVar17 = (char *)0x0;\n  iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key);\n  puVar16 = PTR_DAT_000ad2c8;\n  if (iVar20 != 0) {\n    pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    } while (iVar20 != 0);\n  }\n  puVar6 = PTR_DAT_000ad2c8;\n  iVar20 = 0;\n  piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0);\n  puVar16 = PTR_LAB_000ad5b0;\n  while (puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0) {\n    if (*piVar10 == 0) {\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }\n    iVar20 = iVar20 + 1;\n    piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);\n    puVar16 = PTR_LAB_000ad5b0;\n  }\n  pPVar21 = (Packet *)0x0;\n  pkt = (Packet *)0x0;\n  ssh_00 = (Ssh_conflict)ssh->portfwds;\n  pcVar5 = (code *)(puVar16 + -0xe98);\n  puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n  piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  while( true ) {\n    if (piVar11 == (int *)0x0) {\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }\n    if (*piVar11 == 2) break;\n    pPVar21 = (Packet *)((int)&pPVar21->length + 1);\n    ssh_00 = (Ssh_conflict)ssh->portfwds;\n    pkt = pPVar21;\n    piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  }\n  puVar18 = puVar6;\n  puVar16 = puVar6;\n  if ((undefined *)piVar11[4] != (undefined *)0x0) {\n    puVar18 = (undefined *)piVar11[4];\n    puVar16 = PTR_DAT_000ad2c8 + 0x7b40;\n  }\n  puVar19 = puVar6;\n  if ((undefined *)piVar11[6] != (undefined *)0x0) {\n    puVar19 = (undefined *)piVar11[6];\n  }\n  pcVar17 = dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19);\n  if (piVar11[1] != 0x44) {\n    puVar18 = puVar6;\n    puVar16 = puVar6;\n    if ((undefined *)piVar11[7] != (undefined *)0x0) {\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }\n    pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);\n    if (piVar11[1] == 0x4c) {\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }\n    if (piVar11[1] != 0x44) {\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }\n  }\n  local_54 = pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9]);\n  if (piVar11[9] == 1) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n  }\n  else if (piVar11[9] == 2) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }\n  if (local_54 == (char *)0x0) {\n    (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\n    FUN_000420e8();\n    return;\n  }\n  (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\nLAB_000424c0:\n                    /* WARNING: Subroutine does not return */\n  safefree(local_54);\n}" primitive_type (function_declarator "ssh_setup_portfwd(Ssh_conflict ssh,Conf *conf)" identifier (parameter_list "(Ssh_conflict ssh,Conf *conf)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int *piVar10;\n  int *piVar11;\n  int *piVar12;\n  ulong uVar13;\n  ulong port;\n  ssh_channel *c;\n  tree234 *ptVar14;\n  Ssh_conflict ssh_00;\n  Ssh_conflict psVar15;\n  Packet *pkt;\n  undefined *puVar16;\n  char *pcVar17;\n  undefined *puVar18;\n  undefined *puVar19;\n  int iVar20;\n  Packet *pPVar21;\n  char *pcVar22;\n  uint unaff_s2;\n  uint uVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iStack_130;\n  char *pcStack_12c;\n  undefined1 auStack_128 [4];\n  ulong uStack_124;\n  char *pcStack_11c;\n  undefined4 uStack_10c;\n  Ssh_conflict psStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  Ssh_conflict psStack_fc;\n  int *piStack_f8;\n  undefined *puStack_f4;\n  undefined *puStack_f0;\n  code *pcStack_ec;\n  int iStack_d8;\n  int iStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  Ssh_conflict psStack_ac;\n  Packet *pPStack_a8;\n  undefined *puStack_a4;\n  uint uStack_a0;\n  Ssh_conflict psStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  char *local_54;\n  undefined1 uStack_31;\n  char *key;\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  ptVar14 = ssh->portfwds;\n  iVar20 = 0;\n  if (ptVar14 == (tree234 *)0x0) {\n    ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    ssh->portfwds = ptVar14;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }\n  }\n  pcVar17 = (char *)0x0;\n  iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key);\n  puVar16 = PTR_DAT_000ad2c8;\n  if (iVar20 != 0) {\n    pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    } while (iVar20 != 0);\n  }\n  puVar6 = PTR_DAT_000ad2c8;\n  iVar20 = 0;\n  piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0);\n  puVar16 = PTR_LAB_000ad5b0;\n  while (puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0) {\n    if (*piVar10 == 0) {\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }\n    iVar20 = iVar20 + 1;\n    piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);\n    puVar16 = PTR_LAB_000ad5b0;\n  }\n  pPVar21 = (Packet *)0x0;\n  pkt = (Packet *)0x0;\n  ssh_00 = (Ssh_conflict)ssh->portfwds;\n  pcVar5 = (code *)(puVar16 + -0xe98);\n  puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n  piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  while( true ) {\n    if (piVar11 == (int *)0x0) {\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }\n    if (*piVar11 == 2) break;\n    pPVar21 = (Packet *)((int)&pPVar21->length + 1);\n    ssh_00 = (Ssh_conflict)ssh->portfwds;\n    pkt = pPVar21;\n    piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  }\n  puVar18 = puVar6;\n  puVar16 = puVar6;\n  if ((undefined *)piVar11[4] != (undefined *)0x0) {\n    puVar18 = (undefined *)piVar11[4];\n    puVar16 = PTR_DAT_000ad2c8 + 0x7b40;\n  }\n  puVar19 = puVar6;\n  if ((undefined *)piVar11[6] != (undefined *)0x0) {\n    puVar19 = (undefined *)piVar11[6];\n  }\n  pcVar17 = dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19);\n  if (piVar11[1] != 0x44) {\n    puVar18 = puVar6;\n    puVar16 = puVar6;\n    if ((undefined *)piVar11[7] != (undefined *)0x0) {\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }\n    pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);\n    if (piVar11[1] == 0x4c) {\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }\n    if (piVar11[1] != 0x44) {\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }\n  }\n  local_54 = pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9]);\n  if (piVar11[9] == 1) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n  }\n  else if (piVar11[9] == 2) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }\n  if (local_54 == (char *)0x0) {\n    (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\n    FUN_000420e8();\n    return;\n  }\n  (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\nLAB_000424c0:\n                    /* WARNING: Subroutine does not return */\n  safefree(local_54);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "ulong port;" type_identifier identifier ;) (declaration "ssh_channel *c;" type_identifier (pointer_declarator "*c" * identifier) ;) (declaration "tree234 *ptVar14;" type_identifier (pointer_declarator "*ptVar14" * identifier) ;) (declaration "Ssh_conflict ssh_00;" type_identifier identifier ;) (declaration "Ssh_conflict psVar15;" type_identifier identifier ;) (declaration "Packet *pkt;" type_identifier (pointer_declarator "*pkt" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "char *pcVar17;" primitive_type (pointer_declarator "*pcVar17" * identifier) ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "Packet *pPVar21;" type_identifier (pointer_declarator "*pPVar21" * identifier) ;) (declaration "char *pcVar22;" primitive_type (pointer_declarator "*pcVar22" * identifier) ;) (declaration "uint unaff_s2;" type_identifier identifier ;) (declaration "uint uVar23;" type_identifier identifier ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "code *pcVar25;" type_identifier (pointer_declarator "*pcVar25" * identifier) ;) (declaration "int iStack_130;" primitive_type identifier ;) (declaration "char *pcStack_12c;" primitive_type (pointer_declarator "*pcStack_12c" * identifier) ;) (declaration "undefined1 auStack_128 [4];" type_identifier (array_declarator "auStack_128 [4]" identifier [ number_literal ]) ;) (declaration "ulong uStack_124;" type_identifier identifier ;) (declaration "char *pcStack_11c;" primitive_type (pointer_declarator "*pcStack_11c" * identifier) ;) (declaration "undefined4 uStack_10c;" type_identifier identifier ;) (declaration "Ssh_conflict psStack_108;" type_identifier identifier ;) (declaration "int *piStack_104;" primitive_type (pointer_declarator "*piStack_104" * identifier) ;) (declaration "uint uStack_100;" type_identifier identifier ;) (declaration "Ssh_conflict psStack_fc;" type_identifier identifier ;) (declaration "int *piStack_f8;" primitive_type (pointer_declarator "*piStack_f8" * identifier) ;) (declaration "undefined *puStack_f4;" type_identifier (pointer_declarator "*puStack_f4" * identifier) ;) (declaration "undefined *puStack_f0;" type_identifier (pointer_declarator "*puStack_f0" * identifier) ;) (declaration "code *pcStack_ec;" type_identifier (pointer_declarator "*pcStack_ec" * identifier) ;) (declaration "int iStack_d8;" primitive_type identifier ;) (declaration "int iStack_d4;" primitive_type identifier ;) (declaration "int iStack_d0;" primitive_type identifier ;) (declaration "undefined4 uStack_cc;" type_identifier identifier ;) (declaration "int iStack_c8;" primitive_type identifier ;) (declaration "undefined4 uStack_c4;" type_identifier identifier ;) (declaration "undefined4 uStack_c0;" type_identifier identifier ;) (declaration "undefined *puStack_b8;" type_identifier (pointer_declarator "*puStack_b8" * identifier) ;) (declaration "Ssh_conflict psStack_ac;" type_identifier identifier ;) (declaration "Packet *pPStack_a8;" type_identifier (pointer_declarator "*pPStack_a8" * identifier) ;) (declaration "undefined *puStack_a4;" type_identifier (pointer_declarator "*puStack_a4" * identifier) ;) (declaration "uint uStack_a0;" type_identifier identifier ;) (declaration "Ssh_conflict psStack_9c;" type_identifier identifier ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "code *pcStack_94;" type_identifier (pointer_declarator "*pcStack_94" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined1 uStack_31;" type_identifier identifier ;) (declaration "char *key;" primitive_type (pointer_declarator "*key" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar18 = PTR___stack_chk_guard_000adcd4;" (assignment_expression "puVar18 = PTR___stack_chk_guard_000adcd4" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000adcd4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000adcd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000adcd4" * (cast_expression "(int *)PTR___stack_chk_guard_000adcd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "ptVar14 = ssh->portfwds;" (assignment_expression "ptVar14 = ssh->portfwds" identifier = (field_expression "ssh->portfwds" identifier -> field_identifier)) ;) (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (if_statement "if (ptVar14 == (tree234 *)0x0) {\n    ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    ssh->portfwds = ptVar14;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }\n  }" if (parenthesized_expression "(ptVar14 == (tree234 *)0x0)" ( (binary_expression "ptVar14 == (tree234 *)0x0" identifier == (cast_expression "(tree234 *)0x0" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    ssh->portfwds = ptVar14;\n  }" { (expression_statement "ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);" (assignment_expression "ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" identifier = (cast_expression "(tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x6288)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6288" identifier + number_literal) ))))) ;) (expression_statement "ssh->portfwds = ptVar14;" (assignment_expression "ssh->portfwds = ptVar14" (field_expression "ssh->portfwds" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }\n  }" else (compound_statement "{\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }\n  }" { (while_statement "while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0) {\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }" while (parenthesized_expression "(puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20),\n          puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_index234_000ad470)(ptVar14,iVar20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(ptVar14,iVar20)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptVar14,iVar20)" ( identifier , identifier ))))) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      iVar20 = iVar20 + 1;\n      ptVar14 = ssh->portfwds;\n      *puVar3 = 0;\n    }" { (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "ptVar14 = ssh->portfwds;" (assignment_expression "ptVar14 = ssh->portfwds" identifier = (field_expression "ssh->portfwds" identifier -> field_identifier)) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) }))) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key);" (assignment_expression "iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key)" identifier = (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&key)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" ( (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" * (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf,0x9b,0,&key)" ( identifier , number_literal , number_literal , (pointer_expression "&key" & identifier) )))) ;) (expression_statement "puVar16 = PTR_DAT_000ad2c8;" (assignment_expression "puVar16 = PTR_DAT_000ad2c8" identifier = identifier) ;) (if_statement "if (iVar20 != 0) {\n    pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    } while (iVar20 != 0);\n  }" if (parenthesized_expression "(iVar20 != 0)" ( (binary_expression "iVar20 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    } while (iVar20 != 0);\n  }" { (expression_statement "pcVar4 = PTR_DAT_000ad2c8 + -0x1de0;" (assignment_expression "pcVar4 = PTR_DAT_000ad2c8 + -0x1de0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x1de0" identifier + number_literal)) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + -0xe98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + -0xe98)" ( (binary_expression "PTR_LAB_000ad5b0 + -0xe98" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;) (do_statement "do {\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    } while (iVar20 != 0);" do (compound_statement "{\n      uVar23 = (uint)*key;\n      if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);\n      if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);\n      if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }\n      *piVar10 = 2;\n      pcVar17 = key;\n      iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);\n    }" { (expression_statement "uVar23 = (uint)*key;" (assignment_expression "uVar23 = (uint)*key" identifier = (binary_expression "(uint)*key" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }\n      else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" if (parenthesized_expression "((uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34))" ( (binary_expression "(uVar23 == 0x41) || ((uVar23 & 0xfffffffd) == 0x34)" (parenthesized_expression "(uVar23 == 0x41)" ( (binary_expression "uVar23 == 0x41" identifier == number_literal) )) || (parenthesized_expression "((uVar23 & 0xfffffffd) == 0x34)" ( (binary_expression "(uVar23 & 0xfffffffd) == 0x34" (parenthesized_expression "(uVar23 & 0xfffffffd)" ( (binary_expression "uVar23 & 0xfffffffd" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        unaff_s2 = (uint)key[1];\n        pcVar17 = key + 1;\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        pcVar17 = pcVar17 + 1;\n      }" { (expression_statement "unaff_s2 = (uint)key[1];" (assignment_expression "unaff_s2 = (uint)key[1]" identifier = (cast_expression "(uint)key[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[1]" identifier [ number_literal ]))) ;) (expression_statement "pcVar17 = key + 1;" (assignment_expression "pcVar17 = key + 1" identifier = (binary_expression "key + 1" identifier + number_literal)) ;) (if_statement "if (unaff_s2 != 0x4c) goto LAB_00041c3c;" if (parenthesized_expression "(unaff_s2 != 0x4c)" ( (binary_expression "unaff_s2 != 0x4c" identifier != number_literal) )) (goto_statement "goto LAB_00041c3c;" goto statement_identifier ;)) (labeled_statement "LAB_00041d7c:\n        pcVar17 = pcVar17 + 1;" statement_identifier : (expression_statement "pcVar17 = pcVar17 + 1;" (assignment_expression "pcVar17 = pcVar17 + 1" identifier = (binary_expression "pcVar17 + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" else (compound_statement "{\n        bVar1 = uVar23 == 0x4c;\n        pcVar17 = key;\n        unaff_s2 = uVar23;\n        uVar23 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" { (expression_statement "bVar1 = uVar23 == 0x4c;" (assignment_expression "bVar1 = uVar23 == 0x4c" identifier = (binary_expression "uVar23 == 0x4c" identifier == number_literal)) ;) (expression_statement "pcVar17 = key;" (assignment_expression "pcVar17 = key" identifier = identifier) ;) (expression_statement "unaff_s2 = uVar23;" (assignment_expression "unaff_s2 = uVar23" identifier = identifier) ;) (expression_statement "uVar23 = 0x41;" (assignment_expression "uVar23 = 0x41" identifier = number_literal) ;) (if_statement "if (bVar1) goto LAB_00041d7c;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00041d7c;" goto statement_identifier ;)) (labeled_statement "LAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;" statement_identifier : (if_statement "if (unaff_s2 == 0x52) goto LAB_00041d7c;" if (parenthesized_expression "(unaff_s2 == 0x52)" ( (binary_expression "unaff_s2 == 0x52" identifier == number_literal) )) (goto_statement "goto LAB_00041d7c;" goto statement_identifier ;))) (expression_statement "unaff_s2 = 0x4c;" (assignment_expression "unaff_s2 = 0x4c" identifier = number_literal) ;) }))) (expression_statement "iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a);" (assignment_expression "iVar7 = (*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a)" identifier = (call_expression "(*(code *)PTR_host_strchr_000ad37c)(pcVar17,0x3a)" (parenthesized_expression "(*(code *)PTR_host_strchr_000ad37c)" ( (pointer_expression "*(code *)PTR_host_strchr_000ad37c" * (cast_expression "(code *)PTR_host_strchr_000ad37c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar17,0x3a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar7 != 0) {\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);\n        host_strduptrim(pcVar17);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }" { (expression_statement "pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17);" (assignment_expression "pcVar17 = dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17)" identifier = (call_expression "dupprintf(pcVar4,iVar7 - (int)pcVar17,pcVar17)" identifier (argument_list "(pcVar4,iVar7 - (int)pcVar17,pcVar17)" ( identifier , (binary_expression "iVar7 - (int)pcVar17" identifier - (cast_expression "(int)pcVar17" ( (type_descriptor "int" primitive_type) ) identifier)) , identifier )))) ;) (expression_statement "host_strduptrim(pcVar17);" (call_expression "host_strduptrim(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) comment (expression_statement "safefree(pcVar17);" (call_expression "safefree(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) })) (expression_statement "iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10);" (assignment_expression "iVar7 = (*(code *)PTR_strtol_000adb28)(pcVar17,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_000adb28)(pcVar17,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" ( (pointer_expression "*(code *)PTR_strtol_000adb28" * (cast_expression "(code *)PTR_strtol_000adb28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar17,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);\n        if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }" { (expression_statement "iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17);" (assignment_expression "iVar7 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17)" identifier = (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(pcVar17)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" ( (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" * (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar17)" ( identifier )))) ;) (if_statement "if (iVar7 == 0) {\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          (*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);\n          bVar1 = true;\n        }" { (expression_statement "(*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17);" (call_expression "(*pcVar5)(ssh,puVar16 + -0x8cc,pcVar17)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,puVar16 + -0x8cc,pcVar17)" ( identifier , (binary_expression "puVar16 + -0x8cc" identifier + number_literal) , identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n          bVar1 = true;\n        }" else (compound_statement "{\n          bVar1 = true;\n        }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) }) (else_clause "else {\n        bVar1 = false;\n      }" else (compound_statement "{\n        bVar1 = false;\n      }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) (if_statement "if ((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)) {\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }\n      else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }" if (parenthesized_expression "((unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0))" ( (binary_expression "(unaff_s2 == 0x4c) &&\n         (iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)" (parenthesized_expression "(unaff_s2 == 0x4c)" ( (binary_expression "unaff_s2 == 0x4c" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0)" ( (comma_expression "iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4), iVar8 == 0" (assignment_expression "iVar8 = (*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4)" identifier = (call_expression "(*(code *)PTR_strcmp_000add14)(iVar20,PTR_DAT_000ad2c8 + 0x78e4)" (parenthesized_expression "(*(code *)PTR_strcmp_000add14)" ( (pointer_expression "*(code *)PTR_strcmp_000add14" * (cast_expression "(code *)PTR_strcmp_000add14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20,PTR_DAT_000ad2c8 + 0x78e4)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + 0x78e4" identifier + number_literal) )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[4] = 0;\n        piVar10[1] = 0x44;\n        iVar20 = -1;\n        if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }\n        piVar10[6] = 0;\n        iVar8 = 0;\n        piVar10[2] = iVar7;\n        piVar10[5] = 0;\nLAB_00041b48:\n        piVar10[7] = iVar8;\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[8] = 0;\n        if (uVar23 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;\n        iVar20 = 2;\n        ptVar14 = ssh->portfwds;\n        if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }\n        piVar10[9] = iVar20;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) goto LAB_00041b8c;\n      }" { (if_statement "if (iVar7 == 0) {\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);\n        }" { (labeled_statement "LAB_00041d44:\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)0x0);" statement_identifier : comment (expression_statement "safefree((void *)0x0);" (call_expression "safefree((void *)0x0)" identifier (argument_list "((void *)0x0)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) })) (expression_statement "piVar10 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar10 = (int *)safemalloc(1,0x2c)" identifier = (cast_expression "(int *)safemalloc(1,0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x2c)" identifier (argument_list "(1,0x2c)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar10[4] = 0;" (assignment_expression "piVar10[4] = 0" (subscript_expression "piVar10[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[1] = 0x44;" (assignment_expression "piVar10[1] = 0x44" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar20 = -1;" (assignment_expression "iVar20 = -1" identifier = number_literal) ;) (if_statement "if (bVar1) {\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          pcVar9 = (char *)0x0;\n          pcVar22 = (char *)0x0;\n          bVar2 = false;\nLAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);\n          piVar10[6] = iVar8;\n          piVar10[2] = iVar7;\n          piVar10[5] = (int)pcVar9;\n          goto joined_r0x00042688;\n        }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar22 = (char *)0x0;" (assignment_expression "pcVar22 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (labeled_statement "LAB_00042660:\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);" statement_identifier : (expression_statement "iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17);" (assignment_expression "iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar17)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar17)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar17)" ( identifier )))) ;)) (expression_statement "piVar10[6] = iVar8;" (assignment_expression "piVar10[6] = iVar8" (subscript_expression "piVar10[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[2] = iVar7;" (assignment_expression "piVar10[2] = iVar7" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[5] = (int)pcVar9;" (assignment_expression "piVar10[5] = (int)pcVar9" (subscript_expression "piVar10[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto joined_r0x00042688;" goto statement_identifier ;) })) (expression_statement "piVar10[6] = 0;" (assignment_expression "piVar10[6] = 0" (subscript_expression "piVar10[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "piVar10[2] = iVar7;" (assignment_expression "piVar10[2] = iVar7" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[5] = 0;" (assignment_expression "piVar10[5] = 0" (subscript_expression "piVar10[5]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_00041b48:\n        piVar10[7] = iVar8;" statement_identifier : (expression_statement "piVar10[7] = iVar8;" (assignment_expression "piVar10[7] = iVar8" (subscript_expression "piVar10[7]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "piVar10[3] = iVar20;" (assignment_expression "piVar10[3] = iVar20" (subscript_expression "piVar10[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[10] = 0;" (assignment_expression "piVar10[10] = 0" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[8] = 0;" (assignment_expression "piVar10[8] = 0" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar23 == 0x34) goto LAB_00041e2c;" if (parenthesized_expression "(uVar23 == 0x34)" ( (binary_expression "uVar23 == 0x34" identifier == number_literal) )) (goto_statement "goto LAB_00041e2c;" goto statement_identifier ;)) (labeled_statement "LAB_00041b60:\n        puVar24 = PTR_add234_000ad45c;" statement_identifier : (expression_statement "puVar24 = PTR_add234_000ad45c;" (assignment_expression "puVar24 = PTR_add234_000ad45c" identifier = identifier) ;)) (expression_statement "iVar20 = 2;" (assignment_expression "iVar20 = 2" identifier = number_literal) ;) (expression_statement "ptVar14 = ssh->portfwds;" (assignment_expression "ptVar14 = ssh->portfwds" identifier = (field_expression "ssh->portfwds" identifier -> field_identifier)) ;) (if_statement "if (uVar23 != 0x36) {\n          iVar20 = 0;\n        }" if (parenthesized_expression "(uVar23 != 0x36)" ( (binary_expression "uVar23 != 0x36" identifier != number_literal) )) (compound_statement "{\n          iVar20 = 0;\n        }" { (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) })) (expression_statement "piVar10[9] = iVar20;" (assignment_expression "piVar10[9] = iVar20" (subscript_expression "piVar10[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);" (assignment_expression "piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10)" identifier = (cast_expression "(int *)(*(code *)puVar24)(ptVar14,piVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar24)(ptVar14,piVar10)" (parenthesized_expression "(*(code *)puVar24)" ( (pointer_expression "*(code *)puVar24" * (cast_expression "(code *)puVar24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptVar14,piVar10)" ( identifier , identifier ))))) ;) (if_statement "if (piVar10 != piVar11) goto LAB_00041b8c;" if (parenthesized_expression "(piVar10 != piVar11)" ( (binary_expression "piVar10 != piVar11" identifier != identifier) )) (goto_statement "goto LAB_00041b8c;" goto statement_identifier ;)) }) (else_clause "else {\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }" else (compound_statement "{\n        iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);\n        pcVar22 = (char *)(iVar20 + iVar8);\n        pcVar9 = dupprintf(pcVar4,iVar8,iVar20);\n        if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }\n        iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar7 == 0) goto LAB_00041d44;\n        piVar10 = (int *)safemalloc(1,0x2c);\n        piVar10[1] = unaff_s2;\n        piVar10[4] = 0;\n        if (bVar1) goto LAB_00042660;\n        piVar10[2] = iVar7;\n        piVar10[5] = (int)pcVar9;\n        piVar10[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }\n        piVar10[3] = iVar20;\n        piVar10[10] = 0;\n        piVar10[7] = 0;\n        piVar10[8] = 0;\n        if (uVar23 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;\n        ptVar14 = ssh->portfwds;\n        piVar10[9] = 1;\n        piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);\n        if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }\n      }" { (expression_statement "iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6);" (assignment_expression "iVar8 = (*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6)" identifier = (call_expression "(*(code *)PTR_host_strcspn_000ad35c)(iVar20,puVar6)" (parenthesized_expression "(*(code *)PTR_host_strcspn_000ad35c)" ( (pointer_expression "*(code *)PTR_host_strcspn_000ad35c" * (cast_expression "(code *)PTR_host_strcspn_000ad35c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20,puVar6)" ( identifier , identifier )))) ;) (expression_statement "pcVar22 = (char *)(iVar20 + iVar8);" (assignment_expression "pcVar22 = (char *)(iVar20 + iVar8)" identifier = (cast_expression "(char *)(iVar20 + iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + iVar8)" ( (binary_expression "iVar20 + iVar8" identifier + identifier) )))) ;) (expression_statement "pcVar9 = dupprintf(pcVar4,iVar8,iVar20);" (assignment_expression "pcVar9 = dupprintf(pcVar4,iVar8,iVar20)" identifier = (call_expression "dupprintf(pcVar4,iVar8,iVar20)" identifier (argument_list "(pcVar4,iVar8,iVar20)" ( identifier , identifier , identifier )))) ;) (if_statement "if (*pcVar22 != '\0') {\n          pcVar22 = pcVar22 + 1;\n        }" if (parenthesized_expression "(*pcVar22 != '\0')" ( (binary_expression "*pcVar22 != '\0'" (pointer_expression "*pcVar22" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar22 = pcVar22 + 1;\n        }" { (expression_statement "pcVar22 = pcVar22 + 1;" (assignment_expression "pcVar22 = pcVar22 + 1" identifier = (binary_expression "pcVar22 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10);" (assignment_expression "iVar20 = (*(code *)PTR_strtol_000adb28)(pcVar22,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_000adb28)(pcVar22,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" ( (pointer_expression "*(code *)PTR_strtol_000adb28" * (cast_expression "(code *)PTR_strtol_000adb28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar22,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);\n          if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }" { (expression_statement "iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22);" (assignment_expression "iVar20 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22)" identifier = (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(pcVar22)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" ( (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" * (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar22)" ( identifier )))) ;) (if_statement "if (iVar20 == 0) {\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n            (*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);\n            goto LAB_00041d44;\n          }" { (expression_statement "(*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22);" (call_expression "(*pcVar5)(ssh,puVar16 + -0x8a0,pcVar22)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,puVar16 + -0x8a0,pcVar22)" ( identifier , (binary_expression "puVar16 + -0x8a0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00041d44;" goto statement_identifier ;) })) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n          bVar2 = false;\n        }" else (compound_statement "{\n          bVar2 = false;\n        }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) (if_statement "if (iVar7 == 0) goto LAB_00041d44;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00041d44;" goto statement_identifier ;)) (expression_statement "piVar10 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar10 = (int *)safemalloc(1,0x2c)" identifier = (cast_expression "(int *)safemalloc(1,0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x2c)" identifier (argument_list "(1,0x2c)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar10[1] = unaff_s2;" (assignment_expression "piVar10[1] = unaff_s2" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[4] = 0;" (assignment_expression "piVar10[4] = 0" (subscript_expression "piVar10[4]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (bVar1) goto LAB_00042660;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00042660;" goto statement_identifier ;)) (expression_statement "piVar10[2] = iVar7;" (assignment_expression "piVar10[2] = iVar7" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[5] = (int)pcVar9;" (assignment_expression "piVar10[5] = (int)pcVar9" (subscript_expression "piVar10[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar10[6] = 0;" (assignment_expression "piVar10[6] = 0" (subscript_expression "piVar10[6]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "joined_r0x00042688:\n        if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }" statement_identifier : (if_statement "if (bVar2) {\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);\n          goto LAB_00041b48;\n        }" { (expression_statement "iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22);" (assignment_expression "iVar8 = (*(code *)PTR_dupstr_000ad2dc)(pcVar22)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar22)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar22)" ( identifier )))) ;) (goto_statement "goto LAB_00041b48;" goto statement_identifier ;) }))) (expression_statement "piVar10[3] = iVar20;" (assignment_expression "piVar10[3] = iVar20" (subscript_expression "piVar10[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[10] = 0;" (assignment_expression "piVar10[10] = 0" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[7] = 0;" (assignment_expression "piVar10[7] = 0" (subscript_expression "piVar10[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar10[8] = 0;" (assignment_expression "piVar10[8] = 0" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar23 != 0x34) goto LAB_00041b60;" if (parenthesized_expression "(uVar23 != 0x34)" ( (binary_expression "uVar23 != 0x34" identifier != number_literal) )) (goto_statement "goto LAB_00041b60;" goto statement_identifier ;)) (labeled_statement "LAB_00041e2c:\n        puVar24 = PTR_add234_000ad45c;" statement_identifier : (expression_statement "puVar24 = PTR_add234_000ad45c;" (assignment_expression "puVar24 = PTR_add234_000ad45c" identifier = identifier) ;)) (expression_statement "ptVar14 = ssh->portfwds;" (assignment_expression "ptVar14 = ssh->portfwds" identifier = (field_expression "ssh->portfwds" identifier -> field_identifier)) ;) (expression_statement "piVar10[9] = 1;" (assignment_expression "piVar10[9] = 1" (subscript_expression "piVar10[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10);" (assignment_expression "piVar11 = (int *)(*(code *)puVar24)(ptVar14,piVar10)" identifier = (cast_expression "(int *)(*(code *)puVar24)(ptVar14,piVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar24)(ptVar14,piVar10)" (parenthesized_expression "(*(code *)puVar24)" ( (pointer_expression "*(code *)puVar24" * (cast_expression "(code *)puVar24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptVar14,piVar10)" ( identifier , identifier ))))) ;) (if_statement "if (piVar10 != piVar11) {\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }" if (parenthesized_expression "(piVar10 != piVar11)" ( (binary_expression "piVar10 != piVar11" identifier != identifier) )) (compound_statement "{\nLAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }\n                    /* WARNING: Subroutine does not return */\n          safefree((void *)piVar10[4]);\n        }" { (labeled_statement "LAB_00041b8c:\n          if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }" statement_identifier : (if_statement "if (*piVar11 == 0) {\n            *piVar11 = 1;\n          }" if (parenthesized_expression "(*piVar11 == 0)" ( (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" * identifier) == number_literal) )) (compound_statement "{\n            *piVar11 = 1;\n          }" { (expression_statement "*piVar11 = 1;" (assignment_expression "*piVar11 = 1" (pointer_expression "*piVar11" * identifier) = number_literal) ;) }))) comment (expression_statement "safefree((void *)piVar10[4]);" (call_expression "safefree((void *)piVar10[4])" identifier (argument_list "((void *)piVar10[4])" ( (cast_expression "(void *)piVar10[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[4]" identifier [ number_literal ])) ))) ;) })) }))) (expression_statement "*piVar10 = 2;" (assignment_expression "*piVar10 = 2" (pointer_expression "*piVar10" * identifier) = number_literal) ;) (expression_statement "pcVar17 = key;" (assignment_expression "pcVar17 = key" identifier = identifier) ;) (expression_statement "iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key);" (assignment_expression "iVar20 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key)" identifier = (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,key,&key)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" ( (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" * (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf,0x9b,key,&key)" ( identifier , number_literal , identifier , (pointer_expression "&key" & identifier) )))) ;) }) while (parenthesized_expression "(iVar20 != 0)" ( (binary_expression "iVar20 != 0" identifier != number_literal) )) ;) })) (expression_statement "puVar6 = PTR_DAT_000ad2c8;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (expression_statement "piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0);" (assignment_expression "piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(ssh->portfwds,0)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ssh->portfwds,0)" ( (field_expression "ssh->portfwds" identifier -> field_identifier) , number_literal ))))) ;) (expression_statement "puVar16 = PTR_LAB_000ad5b0;" (assignment_expression "puVar16 = PTR_LAB_000ad5b0" identifier = identifier) ;) (while_statement "while (puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0) {\n    if (*piVar10 == 0) {\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }\n    iVar20 = iVar20 + 1;\n    piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);\n    puVar16 = PTR_LAB_000ad5b0;\n  }" while (parenthesized_expression "(puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0)" ( (comma_expression "puVar24 = PTR_DAT_000ad2c8, PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0" (assignment_expression "puVar24 = PTR_DAT_000ad2c8" identifier = identifier) , (comma_expression "PTR_LAB_000ad5b0 = puVar16, piVar10 != (int *)0x0" (assignment_expression "PTR_LAB_000ad5b0 = puVar16" identifier = identifier) , (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) )) (compound_statement "{\n    if (*piVar10 == 0) {\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }\n    iVar20 = iVar20 + 1;\n    piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);\n    puVar16 = PTR_LAB_000ad5b0;\n  }" { (if_statement "if (*piVar10 == 0) {\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }" if (parenthesized_expression "(*piVar10 == 0)" ( (binary_expression "*piVar10 == 0" (pointer_expression "*piVar10" * identifier) == number_literal) )) (compound_statement "{\n      if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }\n      if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }\n      pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);\n      if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }\n      logeventf(ssh,puVar6 + -0x844,pcVar17);\n                    /* WARNING: Subroutine does not return */\n      safefree(pcVar17);\n    }" { (if_statement "if (piVar10[1] == 0x4c) {\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }\n      else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }" if (parenthesized_expression "(piVar10[1] == 0x4c)" ( (binary_expression "piVar10[1] == 0x4c" (subscript_expression "piVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        puVar18 = (undefined *)piVar10[4];\n        puVar16 = PTR_DAT_000ad2c8 + -0x8f8;\n      }" { (expression_statement "puVar18 = (undefined *)piVar10[4];" (assignment_expression "puVar18 = (undefined *)piVar10[4]" identifier = (cast_expression "(undefined *)piVar10[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[4]" identifier [ number_literal ]))) ;) (expression_statement "puVar16 = PTR_DAT_000ad2c8 + -0x8f8;" (assignment_expression "puVar16 = PTR_DAT_000ad2c8 + -0x8f8" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8f8" identifier + number_literal)) ;) }) (else_clause "else {\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }" else (compound_statement "{\n        if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }\n        puVar18 = (undefined *)piVar10[4];\n      }" { (if_statement "if (piVar10[1] == 0x52) {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }\n        else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }" if (parenthesized_expression "(piVar10[1] == 0x52)" ( (binary_expression "piVar10[1] == 0x52" (subscript_expression "piVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          puVar16 = PTR_DAT_000ad2c8 + -0x8f0;\n        }" { (expression_statement "puVar16 = PTR_DAT_000ad2c8 + -0x8f0;" (assignment_expression "puVar16 = PTR_DAT_000ad2c8 + -0x8f0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8f0" identifier + number_literal)) ;) }) (else_clause "else {\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }" else (compound_statement "{\n          puVar16 = PTR_DAT_000ad2c8 + -0x8e8;\n        }" { (expression_statement "puVar16 = PTR_DAT_000ad2c8 + -0x8e8;" (assignment_expression "puVar16 = PTR_DAT_000ad2c8 + -0x8e8" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8e8" identifier + number_literal)) ;) }))) (expression_statement "puVar18 = (undefined *)piVar10[4];" (assignment_expression "puVar18 = (undefined *)piVar10[4]" identifier = (cast_expression "(undefined *)piVar10[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[4]" identifier [ number_literal ]))) ;) }))) (if_statement "if (puVar18 == (undefined *)0x0) {\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }\n      else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }" if (parenthesized_expression "(puVar18 == (undefined *)0x0)" ( (binary_expression "puVar18 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar18 = PTR_DAT_000ad2c8 + -0x22a4;\n        puVar24 = puVar18;\n      }" { (expression_statement "puVar18 = PTR_DAT_000ad2c8 + -0x22a4;" (assignment_expression "puVar18 = PTR_DAT_000ad2c8 + -0x22a4" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal)) ;) (expression_statement "puVar24 = puVar18;" (assignment_expression "puVar24 = puVar18" identifier = identifier) ;) }) (else_clause "else {\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }" else (compound_statement "{\n        puVar24 = PTR_DAT_000ad2c8 + 0x7b40;\n      }" { (expression_statement "puVar24 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar24 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;) }))) (expression_statement "pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24);" (assignment_expression "pcVar17 = dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24)" identifier = (call_expression "dupprintf(puVar6 + -0x870,puVar16,puVar18,puVar24)" identifier (argument_list "(puVar6 + -0x870,puVar16,puVar18,puVar24)" ( (binary_expression "puVar6 + -0x870" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (piVar10[1] != 0x44) {\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }" if (parenthesized_expression "(piVar10[1] != 0x44)" ( (binary_expression "piVar10[1] != 0x44" (subscript_expression "piVar10[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(pcVar17);\n      }" { (expression_statement "dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3]);" (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3])" identifier (argument_list "(PTR_DAT_000ad2c8 + -0x850,pcVar17,piVar10[5],piVar10[3])" ( (binary_expression "PTR_DAT_000ad2c8 + -0x850" identifier + number_literal) , identifier , (subscript_expression "piVar10[5]" identifier [ number_literal ]) , (subscript_expression "piVar10[3]" identifier [ number_literal ]) ))) ;) comment (expression_statement "safefree(pcVar17);" (call_expression "safefree(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) })) (expression_statement "logeventf(ssh,puVar6 + -0x844,pcVar17);" (call_expression "logeventf(ssh,puVar6 + -0x844,pcVar17)" identifier (argument_list "(ssh,puVar6 + -0x844,pcVar17)" ( identifier , (binary_expression "puVar6 + -0x844" identifier + number_literal) , identifier ))) ;) comment (expression_statement "safefree(pcVar17);" (call_expression "safefree(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) })) (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20);" (assignment_expression "piVar10 = (int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(ssh->portfwds,iVar20)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ssh->portfwds,iVar20)" ( (field_expression "ssh->portfwds" identifier -> field_identifier) , identifier ))))) ;) (expression_statement "puVar16 = PTR_LAB_000ad5b0;" (assignment_expression "puVar16 = PTR_LAB_000ad5b0" identifier = identifier) ;) })) (expression_statement "pPVar21 = (Packet *)0x0;" (assignment_expression "pPVar21 = (Packet *)0x0" identifier = (cast_expression "(Packet *)0x0" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pkt = (Packet *)0x0;" (assignment_expression "pkt = (Packet *)0x0" identifier = (cast_expression "(Packet *)0x0" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ssh_00 = (Ssh_conflict)ssh->portfwds;" (assignment_expression "ssh_00 = (Ssh_conflict)ssh->portfwds" identifier = (cast_expression "(Ssh_conflict)ssh->portfwds" ( (type_descriptor "Ssh_conflict" type_identifier) ) (field_expression "ssh->portfwds" identifier -> field_identifier))) ;) (expression_statement "pcVar5 = (code *)(puVar16 + -0xe98);" (assignment_expression "pcVar5 = (code *)(puVar16 + -0xe98)" identifier = (cast_expression "(code *)(puVar16 + -0xe98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0xe98)" ( (binary_expression "puVar16 + -0xe98" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x22a4" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal)) ;) (expression_statement "piVar11 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar11 = (int *)(*(code *)PTR_index234_000ad470)()" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (while_statement "while( true ) {\n    if (piVar11 == (int *)0x0) {\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }\n    if (*piVar11 == 2) break;\n    pPVar21 = (Packet *)((int)&pPVar21->length + 1);\n    ssh_00 = (Ssh_conflict)ssh->portfwds;\n    pkt = pPVar21;\n    piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar11 == (int *)0x0) {\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }\n    if (*piVar11 == 2) break;\n    pPVar21 = (Packet *)((int)&pPVar21->length + 1);\n    ssh_00 = (Ssh_conflict)ssh->portfwds;\n    pkt = pPVar21;\n    piVar11 = (int *)(*(code *)PTR_index234_000ad470)();\n  }" { (if_statement "if (piVar11 == (int *)0x0) {\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }" if (parenthesized_expression "(piVar11 == (int *)0x0)" ( (binary_expression "piVar11 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (local_2c == *(int *)puVar18) {\n        return;\n      }\n      pcVar5 = ssh_size;\n      puVar18 = PTR___stack_chk_fail_000adca4;\n      (*(code *)PTR___stack_chk_fail_000adca4)();\n      puStack_b8 = puVar18 + 0x72a6c;\n      ssh_00->term_width = (int)pkt;\n      ssh_00->term_height = (int)pcVar17;\n      piVar11 = *(int **)(puVar18 + 0x6b4b0);\n      psVar15 = (Ssh_conflict)*piVar11;\n      psStack_ac = psVar15;\n      pPStack_a8 = pPVar21;\n      puStack_a4 = puVar6;\n      uStack_a0 = unaff_s2;\n      psStack_9c = ssh;\n      piStack_98 = piVar10;\n      pcStack_94 = pcVar5;\n      if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }\n      if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }\n      pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n      pcVar25 = ssh1_msg_port_open;\n      (*pcVar5)();\n      uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);\n      pPVar21 = pkt;\n      psStack_108 = ssh_00;\n      piStack_104 = piVar11;\n      uStack_100 = unaff_s2;\n      psStack_fc = ssh;\n      piStack_f8 = piVar10;\n      puStack_f4 = puVar16;\n      puStack_f0 = puVar24;\n      pcStack_ec = pcVar25;\n      uVar13 = ssh_pkt_getuint32(pkt);\n      ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);\n      port = ssh_pkt_getuint32(pkt);\n      if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }\n      pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);\n      uStack_124 = port;\n      iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);\n      if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }\n                    /* WARNING: Subroutine does not return */\n      safefree(pcStack_11c);\n    }" { (if_statement "if (local_2c == *(int *)puVar18) {\n        return;\n      }" if (parenthesized_expression "(local_2c == *(int *)puVar18)" ( (binary_expression "local_2c == *(int *)puVar18" identifier == (pointer_expression "*(int *)puVar18" * (cast_expression "(int *)puVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = ssh_size;" (assignment_expression "pcVar5 = ssh_size" identifier = identifier) ;) (expression_statement "puVar18 = PTR___stack_chk_fail_000adca4;" (assignment_expression "puVar18 = PTR___stack_chk_fail_000adca4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000adca4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000adca4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000adca4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000adca4" * (cast_expression "(code *)PTR___stack_chk_fail_000adca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_b8 = puVar18 + 0x72a6c;" (assignment_expression "puStack_b8 = puVar18 + 0x72a6c" identifier = (binary_expression "puVar18 + 0x72a6c" identifier + number_literal)) ;) (expression_statement "ssh_00->term_width = (int)pkt;" (assignment_expression "ssh_00->term_width = (int)pkt" (field_expression "ssh_00->term_width" identifier -> field_identifier) = (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "ssh_00->term_height = (int)pcVar17;" (assignment_expression "ssh_00->term_height = (int)pcVar17" (field_expression "ssh_00->term_height" identifier -> field_identifier) = (cast_expression "(int)pcVar17" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar11 = *(int **)(puVar18 + 0x6b4b0);" (assignment_expression "piVar11 = *(int **)(puVar18 + 0x6b4b0)" identifier = (pointer_expression "*(int **)(puVar18 + 0x6b4b0)" * (cast_expression "(int **)(puVar18 + 0x6b4b0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x6b4b0)" ( (binary_expression "puVar18 + 0x6b4b0" identifier + number_literal) ))))) ;) (expression_statement "psVar15 = (Ssh_conflict)*piVar11;" (assignment_expression "psVar15 = (Ssh_conflict)*piVar11" identifier = (binary_expression "(Ssh_conflict)*piVar11" (parenthesized_expression "(Ssh_conflict)" ( identifier )) * identifier)) ;) (expression_statement "psStack_ac = psVar15;" (assignment_expression "psStack_ac = psVar15" identifier = identifier) ;) (expression_statement "pPStack_a8 = pPVar21;" (assignment_expression "pPStack_a8 = pPVar21" identifier = identifier) ;) (expression_statement "puStack_a4 = puVar6;" (assignment_expression "puStack_a4 = puVar6" identifier = identifier) ;) (expression_statement "uStack_a0 = unaff_s2;" (assignment_expression "uStack_a0 = unaff_s2" identifier = identifier) ;) (expression_statement "psStack_9c = ssh;" (assignment_expression "psStack_9c = ssh" identifier = identifier) ;) (expression_statement "piStack_98 = piVar10;" (assignment_expression "piStack_98 = piVar10" identifier = identifier) ;) (expression_statement "pcStack_94 = pcVar5;" (assignment_expression "pcStack_94 = pcVar5" identifier = identifier) ;) (if_statement "if (ssh_00->state == ADDRTYPE_IPV6) {\n        ssh_00->size_needed = 1;\n      }\n      else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }" if (parenthesized_expression "(ssh_00->state == ADDRTYPE_IPV6)" ( (binary_expression "ssh_00->state == ADDRTYPE_IPV6" (field_expression "ssh_00->state" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        ssh_00->size_needed = 1;\n      }" { (expression_statement "ssh_00->size_needed = 1;" (assignment_expression "ssh_00->size_needed = 1" (field_expression "ssh_00->size_needed" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }" else (if_statement "if (ssh_00->state == ADDRTYPE_NAME) {\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }" if (parenthesized_expression "(ssh_00->state == ADDRTYPE_NAME)" ( (binary_expression "ssh_00->state == ADDRTYPE_NAME" (field_expression "ssh_00->state" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        pkt = (Packet *)&DAT_00000016;\n        psVar15 = (Ssh_conflict)ssh_00->conf;\n        iVar20 = (**(code **)(puVar18 + 0x6ab28))();\n        if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }\n      }" { (expression_statement "pkt = (Packet *)&DAT_00000016;" (assignment_expression "pkt = (Packet *)&DAT_00000016" identifier = (cast_expression "(Packet *)&DAT_00000016" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000016" & identifier))) ;) (expression_statement "psVar15 = (Ssh_conflict)ssh_00->conf;" (assignment_expression "psVar15 = (Ssh_conflict)ssh_00->conf" identifier = (cast_expression "(Ssh_conflict)ssh_00->conf" ( (type_descriptor "Ssh_conflict" type_identifier) ) (field_expression "ssh_00->conf" identifier -> field_identifier))) ;) (expression_statement "iVar20 = (**(code **)(puVar18 + 0x6ab28))();" (assignment_expression "iVar20 = (**(code **)(puVar18 + 0x6ab28))()" identifier = (call_expression "(**(code **)(puVar18 + 0x6ab28))()" (parenthesized_expression "(**(code **)(puVar18 + 0x6ab28))" ( (pointer_expression "**(code **)(puVar18 + 0x6ab28)" * (pointer_expression "*(code **)(puVar18 + 0x6ab28)" * (cast_expression "(code **)(puVar18 + 0x6ab28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x6ab28)" ( (binary_expression "puVar18 + 0x6ab28" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar20 == 0) {\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar20 = ssh_00->version;\n          if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }\n        }" { (expression_statement "iVar20 = ssh_00->version;" (assignment_expression "iVar20 = ssh_00->version" identifier = (field_expression "ssh_00->version" identifier -> field_identifier)) ;) (if_statement "if (iVar20 == 1) {\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }\n          else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }" if (parenthesized_expression "(iVar20 == 1)" ( (binary_expression "iVar20 == 1" identifier == number_literal) )) (compound_statement "{\n            iStack_d4 = ssh_00->term_width;\n            pkt = (Packet *)0xb;\n            uStack_c0 = 0;\n            uStack_c4 = 0;\n            uStack_cc = 0;\n            psVar15 = ssh_00;\n            iStack_d8 = iVar20;\n            iStack_d0 = iVar20;\n            iStack_c8 = iVar20;\n            send_packet(ssh_00,0xb,1,ssh_00->term_height);\n          }" { (expression_statement "iStack_d4 = ssh_00->term_width;" (assignment_expression "iStack_d4 = ssh_00->term_width" identifier = (field_expression "ssh_00->term_width" identifier -> field_identifier)) ;) (expression_statement "pkt = (Packet *)0xb;" (assignment_expression "pkt = (Packet *)0xb" identifier = (cast_expression "(Packet *)0xb" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_c0 = 0;" (assignment_expression "uStack_c0 = 0" identifier = number_literal) ;) (expression_statement "uStack_c4 = 0;" (assignment_expression "uStack_c4 = 0" identifier = number_literal) ;) (expression_statement "uStack_cc = 0;" (assignment_expression "uStack_cc = 0" identifier = number_literal) ;) (expression_statement "psVar15 = ssh_00;" (assignment_expression "psVar15 = ssh_00" identifier = identifier) ;) (expression_statement "iStack_d8 = iVar20;" (assignment_expression "iStack_d8 = iVar20" identifier = identifier) ;) (expression_statement "iStack_d0 = iVar20;" (assignment_expression "iStack_d0 = iVar20" identifier = identifier) ;) (expression_statement "iStack_c8 = iVar20;" (assignment_expression "iStack_c8 = iVar20" identifier = identifier) ;) (expression_statement "send_packet(ssh_00,0xb,1,ssh_00->term_height);" (call_expression "send_packet(ssh_00,0xb,1,ssh_00->term_height)" identifier (argument_list "(ssh_00,0xb,1,ssh_00->term_height)" ( identifier , number_literal , number_literal , (field_expression "ssh_00->term_height" identifier -> field_identifier) ))) ;) }) (else_clause "else {\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }" else (compound_statement "{\n            psVar15 = (Ssh_conflict)ssh_00->mainchan;\n            pkt = *(Packet **)(puStack_b8 + -0x7fc8);\n            if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }\n          }" { (expression_statement "psVar15 = (Ssh_conflict)ssh_00->mainchan;" (assignment_expression "psVar15 = (Ssh_conflict)ssh_00->mainchan" identifier = (cast_expression "(Ssh_conflict)ssh_00->mainchan" ( (type_descriptor "Ssh_conflict" type_identifier) ) (field_expression "ssh_00->mainchan" identifier -> field_identifier))) ;) (expression_statement "pkt = *(Packet **)(puStack_b8 + -0x7fc8);" (assignment_expression "pkt = *(Packet **)(puStack_b8 + -0x7fc8)" identifier = (pointer_expression "*(Packet **)(puStack_b8 + -0x7fc8)" * (cast_expression "(Packet **)(puStack_b8 + -0x7fc8)" ( (type_descriptor "Packet **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_b8 + -0x7fc8)" ( (binary_expression "puStack_b8 + -0x7fc8" identifier + number_literal) ))))) ;) (if_statement "if (psVar15 != (Ssh_conflict)0x0) {\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }" if (parenthesized_expression "(psVar15 != (Ssh_conflict)0x0)" ( (binary_expression "psVar15 != (Ssh_conflict)0x0" identifier != (cast_expression "(Ssh_conflict)0x0" ( (type_descriptor "Ssh_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n              pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);\n                    /* WARNING: Subroutine does not return */\n              ssh_pkt_adduint32(pPVar21,ssh_00->term_width);\n            }" { (expression_statement "pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0);" (assignment_expression "pPVar21 = ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0)" identifier = (call_expression "ssh2_chanreq_init((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0)" identifier (argument_list "((ssh_channel *)psVar15,(char *)&pkt[-0x2a].sequence,\n                                          (cchandler_fn_t)0x0,(void *)0x0)" ( (cast_expression "(ssh_channel *)psVar15" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)&pkt[-0x2a].sequence" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pkt[-0x2a].sequence" & (field_expression "pkt[-0x2a].sequence" (subscript_expression "pkt[-0x2a]" identifier [ number_literal ]) . field_identifier))) , (cast_expression "(cchandler_fn_t)0x0" ( (type_descriptor "cchandler_fn_t" type_identifier) ) number_literal) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) comment (expression_statement "ssh_pkt_adduint32(pPVar21,ssh_00->term_width);" (call_expression "ssh_pkt_adduint32(pPVar21,ssh_00->term_width)" identifier (argument_list "(pPVar21,ssh_00->term_width)" ( identifier , (field_expression "ssh_00->term_width" identifier -> field_identifier) ))) ;) })) }))) })) })))) (if_statement "if (psStack_ac == (Ssh_conflict)*piVar11) {\n        return;\n      }" if (parenthesized_expression "(psStack_ac == (Ssh_conflict)*piVar11)" ( (binary_expression "psStack_ac == (Ssh_conflict)*piVar11" identifier == (binary_expression "(Ssh_conflict)*piVar11" (parenthesized_expression "(Ssh_conflict)" ( identifier )) * identifier)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = *(code **)(puStack_b8 + -0x75ec);" (assignment_expression "pcVar5 = *(code **)(puStack_b8 + -0x75ec)" identifier = (pointer_expression "*(code **)(puStack_b8 + -0x75ec)" * (cast_expression "(code **)(puStack_b8 + -0x75ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_b8 + -0x75ec)" ( (binary_expression "puStack_b8 + -0x75ec" identifier + number_literal) ))))) ;) (expression_statement "pcVar25 = ssh1_msg_port_open;" (assignment_expression "pcVar25 = ssh1_msg_port_open" identifier = identifier) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc);" (assignment_expression "uStack_10c = **(undefined4 **)(pcVar5 + 0x6b2fc)" identifier = (pointer_expression "**(undefined4 **)(pcVar5 + 0x6b2fc)" * (pointer_expression "*(undefined4 **)(pcVar5 + 0x6b2fc)" * (cast_expression "(undefined4 **)(pcVar5 + 0x6b2fc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6b2fc)" ( (binary_expression "pcVar5 + 0x6b2fc" identifier + number_literal) )))))) ;) (expression_statement "pPVar21 = pkt;" (assignment_expression "pPVar21 = pkt" identifier = identifier) ;) (expression_statement "psStack_108 = ssh_00;" (assignment_expression "psStack_108 = ssh_00" identifier = identifier) ;) (expression_statement "piStack_104 = piVar11;" (assignment_expression "piStack_104 = piVar11" identifier = identifier) ;) (expression_statement "uStack_100 = unaff_s2;" (assignment_expression "uStack_100 = unaff_s2" identifier = identifier) ;) (expression_statement "psStack_fc = ssh;" (assignment_expression "psStack_fc = ssh" identifier = identifier) ;) (expression_statement "piStack_f8 = piVar10;" (assignment_expression "piStack_f8 = piVar10" identifier = identifier) ;) (expression_statement "puStack_f4 = puVar16;" (assignment_expression "puStack_f4 = puVar16" identifier = identifier) ;) (expression_statement "puStack_f0 = puVar24;" (assignment_expression "puStack_f0 = puVar24" identifier = identifier) ;) (expression_statement "pcStack_ec = pcVar25;" (assignment_expression "pcStack_ec = pcVar25" identifier = identifier) ;) (expression_statement "uVar13 = ssh_pkt_getuint32(pkt);" (assignment_expression "uVar13 = ssh_pkt_getuint32(pkt)" identifier = (call_expression "ssh_pkt_getuint32(pkt)" identifier (argument_list "(pkt)" ( identifier )))) ;) (expression_statement "ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130);" (call_expression "ssh_pkt_getstring(pPVar21,&pcStack_12c,&iStack_130)" identifier (argument_list "(pPVar21,&pcStack_12c,&iStack_130)" ( identifier , (pointer_expression "&pcStack_12c" & identifier) , (pointer_expression "&iStack_130" & identifier) ))) ;) (expression_statement "port = ssh_pkt_getuint32(pkt);" (assignment_expression "port = ssh_pkt_getuint32(pkt)" identifier = (call_expression "ssh_pkt_getuint32(pkt)" identifier (argument_list "(pkt)" ( identifier )))) ;) (if_statement "if (pcStack_12c == (char *)0x0) {\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }" if (parenthesized_expression "(pcStack_12c == (char *)0x0)" ( (binary_expression "pcStack_12c == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);\n      }" { (expression_statement "pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4);" (assignment_expression "pcStack_12c = (char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4)" identifier = (cast_expression "(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x6a8f0) + -0x22a4)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x22a4" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) )))) ;) })) (expression_statement "pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c);" (assignment_expression "pcStack_11c = (char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c)" identifier = (cast_expression "(char *)(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x6a900))\n                                      (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a900))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a900)" * (pointer_expression "*(code **)(pcVar5 + 0x6a900)" * (cast_expression "(code **)(pcVar5 + 0x6a900)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a900)" ( (binary_expression "pcVar5 + 0x6a900" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,iStack_130,pcStack_12c)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x1de0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier ))))) ;) (expression_statement "uStack_124 = port;" (assignment_expression "uStack_124 = port" identifier = identifier) ;) (expression_statement "iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0);" (assignment_expression "iVar20 = (**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6aaa0))(psVar15->rportfwds,auStack_128,0)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aaa0))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aaa0)" * (pointer_expression "*(code **)(pcVar5 + 0x6aaa0)" * (cast_expression "(code **)(pcVar5 + 0x6aaa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aaa0)" ( (binary_expression "pcVar5 + 0x6aaa0" identifier + number_literal) ))))) )) (argument_list "(psVar15->rportfwds,auStack_128,0)" ( (field_expression "psVar15->rportfwds" identifier -> field_identifier) , identifier , number_literal )))) ;) (if_statement "if (iVar20 == 0) {\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }\n      else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);\n        send_packet(psVar15,0x16,1,uVar13,0);\n      }" { (expression_statement "logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port);" (call_expression "logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port)" identifier (argument_list "(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c),pcStack_11c,port)" ( identifier , (cast_expression "(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x71c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x6a8f0) + -0x71c)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x71c" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "send_packet(psVar15,0x16,1,uVar13,0);" (call_expression "send_packet(psVar15,0x16,1,uVar13,0)" identifier (argument_list "(psVar15,0x16,1,uVar13,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }" else (compound_statement "{\n        c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n        c->ssh = psVar15;\n        logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);\n        pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));\n        if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }\n        ssh_channel_init(c);\n        c->type = 3;\n        c->remoteid = uVar13;\n        c->halfopen = 0;\n        send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);\n        (**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);\n      }" { (expression_statement "c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);" (assignment_expression "c = (ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" identifier = (cast_expression "(ssh_channel *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa3c))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aa3c)" * (pointer_expression "*(code **)(pcVar5 + 0x6aa3c)" * (cast_expression "(code **)(pcVar5 + 0x6aa3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aa3c)" ( (binary_expression "pcVar5 + 0x6aa3c" identifier + number_literal) ))))) )) (argument_list "(1,0x5c)" ( number_literal , number_literal ))))) ;) (expression_statement "c->ssh = psVar15;" (assignment_expression "c->ssh = psVar15" (field_expression "c->ssh" identifier -> field_identifier) = identifier) ;) (expression_statement "logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port);" (call_expression "logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port)" identifier (argument_list "(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0),pcStack_11c,port)" ( identifier , (cast_expression "(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x6a8f0) + -0x6f0)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x6f0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24));" (assignment_expression "pcVar17 = pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24))" identifier = (call_expression "pfd_connect(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24))" identifier (argument_list "(&(c->u).pfd.pf,pcStack_11c,port,c,psVar15->conf,\n                              *(int *)(*(int *)(iVar20 + 0x18) + 0x24))" ( (pointer_expression "&(c->u).pfd.pf" & (field_expression "(c->u).pfd.pf" (field_expression "(c->u).pfd" (parenthesized_expression "(c->u)" ( (field_expression "c->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) , identifier , identifier , identifier , (field_expression "psVar15->conf" identifier -> field_identifier) , (pointer_expression "*(int *)(*(int *)(iVar20 + 0x18) + 0x24)" * (cast_expression "(int *)(*(int *)(iVar20 + 0x18) + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar20 + 0x18) + 0x24)" ( (binary_expression "*(int *)(iVar20 + 0x18) + 0x24" (pointer_expression "*(int *)(iVar20 + 0x18)" * (cast_expression "(int *)(iVar20 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x18)" ( (binary_expression "iVar20 + 0x18" identifier + number_literal) )))) + number_literal) )))) )))) ;) (if_statement "if (pcVar17 != (char *)0x0) {\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }" if (parenthesized_expression "(pcVar17 != (char *)0x0)" ( (binary_expression "pcVar17 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);\n                    /* WARNING: Subroutine does not return */\n          safefree(pcVar17);\n        }" { (expression_statement "logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17);" (call_expression "logeventf(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17)" identifier (argument_list "(psVar15,(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28),pcVar17)" ( identifier , (cast_expression "(char *)(*(int *)(pcVar5 + 0x6a8f0) + -0xe28)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x6a8f0) + -0xe28)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe28" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) ))) , identifier ))) ;) comment (expression_statement "safefree(pcVar17);" (call_expression "safefree(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) })) (expression_statement "ssh_channel_init(c);" (call_expression "ssh_channel_init(c)" identifier (argument_list "(c)" ( identifier ))) ;) (expression_statement "c->type = 3;" (assignment_expression "c->type = 3" (field_expression "c->type" identifier -> field_identifier) = number_literal) ;) (expression_statement "c->remoteid = uVar13;" (assignment_expression "c->remoteid = uVar13" (field_expression "c->remoteid" identifier -> field_identifier) = identifier) ;) (expression_statement "c->halfopen = 0;" (assignment_expression "c->halfopen = 0" (field_expression "c->halfopen" identifier -> field_identifier) = number_literal) ;) (expression_statement "send_packet(psVar15,0x15,1,uVar13,1,c->localid,0);" (call_expression "send_packet(psVar15,0x15,1,uVar13,1,c->localid,0)" identifier (argument_list "(psVar15,0x15,1,uVar13,1,c->localid,0)" ( identifier , number_literal , number_literal , identifier , number_literal , (field_expression "c->localid" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "(**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10);" (call_expression "(**(code **)(pcVar5 + 0x6aa30))(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa30))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aa30)" * (pointer_expression "*(code **)(pcVar5 + 0x6aa30)" * (cast_expression "(code **)(pcVar5 + 0x6aa30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aa30)" ( (binary_expression "pcVar5 + 0x6aa30" identifier + number_literal) ))))) )) (argument_list "(psVar15->frontend,*(int *)(pcVar5 + 0x6a8f0) + -0xe10)" ( (field_expression "psVar15->frontend" identifier -> field_identifier) , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe10" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) ))) ;) }))) comment (expression_statement "safefree(pcStack_11c);" (call_expression "safefree(pcStack_11c)" identifier (argument_list "(pcStack_11c)" ( identifier ))) ;) })) (if_statement "if (*piVar11 == 2) break;" if (parenthesized_expression "(*piVar11 == 2)" ( (binary_expression "*piVar11 == 2" (pointer_expression "*piVar11" * identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pPVar21 = (Packet *)((int)&pPVar21->length + 1);" (assignment_expression "pPVar21 = (Packet *)((int)&pPVar21->length + 1)" identifier = (cast_expression "(Packet *)((int)&pPVar21->length + 1)" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar21->length + 1)" ( (binary_expression "(int)&pPVar21->length + 1" (cast_expression "(int)&pPVar21->length" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar21->length" & (field_expression "pPVar21->length" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "ssh_00 = (Ssh_conflict)ssh->portfwds;" (assignment_expression "ssh_00 = (Ssh_conflict)ssh->portfwds" identifier = (cast_expression "(Ssh_conflict)ssh->portfwds" ( (type_descriptor "Ssh_conflict" type_identifier) ) (field_expression "ssh->portfwds" identifier -> field_identifier))) ;) (expression_statement "pkt = pPVar21;" (assignment_expression "pkt = pPVar21" identifier = identifier) ;) (expression_statement "piVar11 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar11 = (int *)(*(code *)PTR_index234_000ad470)()" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) })) (expression_statement "puVar18 = puVar6;" (assignment_expression "puVar18 = puVar6" identifier = identifier) ;) (expression_statement "puVar16 = puVar6;" (assignment_expression "puVar16 = puVar6" identifier = identifier) ;) (if_statement "if ((undefined *)piVar11[4] != (undefined *)0x0) {\n    puVar18 = (undefined *)piVar11[4];\n    puVar16 = PTR_DAT_000ad2c8 + 0x7b40;\n  }" if (parenthesized_expression "((undefined *)piVar11[4] != (undefined *)0x0)" ( (binary_expression "(undefined *)piVar11[4] != (undefined *)0x0" (cast_expression "(undefined *)piVar11[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[4]" identifier [ number_literal ])) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar18 = (undefined *)piVar11[4];\n    puVar16 = PTR_DAT_000ad2c8 + 0x7b40;\n  }" { (expression_statement "puVar18 = (undefined *)piVar11[4];" (assignment_expression "puVar18 = (undefined *)piVar11[4]" identifier = (cast_expression "(undefined *)piVar11[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[4]" identifier [ number_literal ]))) ;) (expression_statement "puVar16 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar16 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;) })) (expression_statement "puVar19 = puVar6;" (assignment_expression "puVar19 = puVar6" identifier = identifier) ;) (if_statement "if ((undefined *)piVar11[6] != (undefined *)0x0) {\n    puVar19 = (undefined *)piVar11[6];\n  }" if (parenthesized_expression "((undefined *)piVar11[6] != (undefined *)0x0)" ( (binary_expression "(undefined *)piVar11[6] != (undefined *)0x0" (cast_expression "(undefined *)piVar11[6]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[6]" identifier [ number_literal ])) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar19 = (undefined *)piVar11[6];\n  }" { (expression_statement "puVar19 = (undefined *)piVar11[6];" (assignment_expression "puVar19 = (undefined *)piVar11[6]" identifier = (cast_expression "(undefined *)piVar11[6]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[6]" identifier [ number_literal ]))) ;) })) (expression_statement "pcVar17 = dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19);" (assignment_expression "pcVar17 = dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19)" identifier = (call_expression "dupprintf(puVar24 + -0x810,puVar18,puVar16,puVar19)" identifier (argument_list "(puVar24 + -0x810,puVar18,puVar16,puVar19)" ( (binary_expression "puVar24 + -0x810" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (piVar11[1] != 0x44) {\n    puVar18 = puVar6;\n    puVar16 = puVar6;\n    if ((undefined *)piVar11[7] != (undefined *)0x0) {\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }\n    pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);\n    if (piVar11[1] == 0x4c) {\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }\n    if (piVar11[1] != 0x44) {\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }\n  }" if (parenthesized_expression "(piVar11[1] != 0x44)" ( (binary_expression "piVar11[1] != 0x44" (subscript_expression "piVar11[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    puVar18 = puVar6;\n    puVar16 = puVar6;\n    if ((undefined *)piVar11[7] != (undefined *)0x0) {\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }\n    pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);\n    if (piVar11[1] == 0x4c) {\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }\n    if (piVar11[1] != 0x44) {\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }\n  }" { (expression_statement "puVar18 = puVar6;" (assignment_expression "puVar18 = puVar6" identifier = identifier) ;) (expression_statement "puVar16 = puVar6;" (assignment_expression "puVar16 = puVar6" identifier = identifier) ;) (if_statement "if ((undefined *)piVar11[7] != (undefined *)0x0) {\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }" if (parenthesized_expression "((undefined *)piVar11[7] != (undefined *)0x0)" ( (binary_expression "(undefined *)piVar11[7] != (undefined *)0x0" (cast_expression "(undefined *)piVar11[7]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[7]" identifier [ number_literal ])) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar18 = (undefined *)piVar11[7];\n      puVar16 = PTR_DAT_000ad2c8 + -0x8e0;\n    }" { (expression_statement "puVar18 = (undefined *)piVar11[7];" (assignment_expression "puVar18 = (undefined *)piVar11[7]" identifier = (cast_expression "(undefined *)piVar11[7]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[7]" identifier [ number_literal ]))) ;) (expression_statement "puVar16 = PTR_DAT_000ad2c8 + -0x8e0;" (assignment_expression "puVar16 = PTR_DAT_000ad2c8 + -0x8e0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" identifier + number_literal)) ;) })) (expression_statement "pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16);" (assignment_expression "pcVar4 = dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16)" identifier = (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16)" identifier (argument_list "(PTR_DAT_000ad2c8 + -0x800,piVar11[5],puVar18,puVar16)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x800" identifier + number_literal) , (subscript_expression "piVar11[5]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (piVar11[1] == 0x4c) {\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }" if (parenthesized_expression "(piVar11[1] == 0x4c)" ( (binary_expression "piVar11[1] == 0x4c" (subscript_expression "piVar11[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);\n      if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }\n      if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n      goto LAB_000424c0;\n    }" { (expression_statement "local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9]);" (assignment_expression "local_54 = pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9])" identifier = (call_expression "pfl_listen((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9])" identifier (argument_list "((char *)piVar11[5],piVar11[3],(char *)piVar11[4],piVar11[2],ssh,conf,\n                            (PortListener **)(piVar11 + 10),piVar11[9])" ( (cast_expression "(char *)piVar11[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[5]" identifier [ number_literal ])) , (subscript_expression "piVar11[3]" identifier [ number_literal ]) , (cast_expression "(char *)piVar11[4]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[4]" identifier [ number_literal ])) , (subscript_expression "piVar11[2]" identifier [ number_literal ]) , identifier , identifier , (cast_expression "(PortListener **)(piVar11 + 10)" ( (type_descriptor "PortListener **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11 + 10)" ( (binary_expression "piVar11 + 10" identifier + number_literal) ))) , (subscript_expression "piVar11[9]" identifier [ number_literal ]) )))) ;) (if_statement "if (piVar11[9] == 1) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }\n      else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }" if (parenthesized_expression "(piVar11[9] == 1)" ( (binary_expression "piVar11[9] == 1" (subscript_expression "piVar11[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n      }" { (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x8dc;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x8dc" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" identifier + number_literal)) ;) }) (else_clause "else if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }" else (if_statement "if (piVar11[9] == 2) {\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }" if (parenthesized_expression "(piVar11[9] == 2)" ( (binary_expression "piVar11[9] == 2" (subscript_expression "piVar11[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n      }" { (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x8d4;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x8d4" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" identifier + number_literal)) ;) })))) (if_statement "if (local_54 == (char *)0x0) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }" if (parenthesized_expression "(local_54 == (char *)0x0)" ( (binary_expression "local_54 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);\n        FUN_000420e8();\n        return;\n      }" { (expression_statement "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);" (call_expression "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x790" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "FUN_000420e8();" (call_expression "FUN_000420e8()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17);" (call_expression "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,PTR_DAT_000ad2c8 + -0x790,puVar6,pcVar17)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x790" identifier + number_literal) , identifier , identifier ))) ;) (goto_statement "goto LAB_000424c0;" goto statement_identifier ;) })) (if_statement "if (piVar11[1] != 0x44) {\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }" if (parenthesized_expression "(piVar11[1] != 0x44)" ( (binary_expression "piVar11[1] != 0x44" (subscript_expression "piVar11[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }\n      piVar10 = (int *)safemalloc(1,0x1c);\n      pcVar22 = (char *)piVar11[5];\n      piVar10[5] = 0;\n      pcVar22 = dupstr(pcVar22);\n      iVar20 = piVar11[3];\n      pcVar9 = (char *)piVar11[4];\n      piVar10[3] = (int)pcVar22;\n      piVar10[1] = iVar20;\n      if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }\n      puVar18 = PTR_add234_000ad45c;\n      ptVar14 = ssh->rportfwds;\n      *piVar10 = piVar11[2];\n      piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);\n      if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }\n      (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);\n      iVar20 = ssh->version;\n      piVar10[4] = (int)pcVar17;\n      piVar11[8] = (int)piVar10;\n      piVar10[6] = (int)piVar11;\n      if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }\n      send_packet(ssh,0x1c,1,piVar11[2]);\n      ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);\n      FUN_000420e8();\n      return;\n    }" { (if_statement "if (ssh->rportfwds == (tree234 *)0x0) {\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }" if (parenthesized_expression "(ssh->rportfwds == (tree234 *)0x0)" ( (binary_expression "ssh->rportfwds == (tree234 *)0x0" (field_expression "ssh->rportfwds" identifier -> field_identifier) == (cast_expression "(tree234 *)0x0" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }\n      }" { (if_statement "if (ssh->version == 1) {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }\n        else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }" if (parenthesized_expression "(ssh->version == 1)" ( (binary_expression "ssh->version == 1" (field_expression "ssh->version" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n          ssh->rportfwds = ptVar14;\n        }" { (expression_statement "ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);" (assignment_expression "ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" identifier = (cast_expression "(tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x61e4)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x61e4" identifier + number_literal) ))))) ;) (expression_statement "ssh->rportfwds = ptVar14;" (assignment_expression "ssh->rportfwds = ptVar14" (field_expression "ssh->rportfwds" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }" else (compound_statement "{\n          ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n          ssh->rportfwds = ptVar14;\n        }" { (expression_statement "ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);" (assignment_expression "ptVar14 = (tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" identifier = (cast_expression "(tree234 *)(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x6140)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6140" identifier + number_literal) ))))) ;) (expression_statement "ssh->rportfwds = ptVar14;" (assignment_expression "ssh->rportfwds = ptVar14" (field_expression "ssh->rportfwds" identifier -> field_identifier) = identifier) ;) }))) })) (expression_statement "piVar10 = (int *)safemalloc(1,0x1c);" (assignment_expression "piVar10 = (int *)safemalloc(1,0x1c)" identifier = (cast_expression "(int *)safemalloc(1,0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x1c)" identifier (argument_list "(1,0x1c)" ( number_literal , number_literal ))))) ;) (expression_statement "pcVar22 = (char *)piVar11[5];" (assignment_expression "pcVar22 = (char *)piVar11[5]" identifier = (cast_expression "(char *)piVar11[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[5]" identifier [ number_literal ]))) ;) (expression_statement "piVar10[5] = 0;" (assignment_expression "piVar10[5] = 0" (subscript_expression "piVar10[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar22 = dupstr(pcVar22);" (assignment_expression "pcVar22 = dupstr(pcVar22)" identifier = (call_expression "dupstr(pcVar22)" identifier (argument_list "(pcVar22)" ( identifier )))) ;) (expression_statement "iVar20 = piVar11[3];" (assignment_expression "iVar20 = piVar11[3]" identifier = (subscript_expression "piVar11[3]" identifier [ number_literal ])) ;) (expression_statement "pcVar9 = (char *)piVar11[4];" (assignment_expression "pcVar9 = (char *)piVar11[4]" identifier = (cast_expression "(char *)piVar11[4]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[4]" identifier [ number_literal ]))) ;) (expression_statement "piVar10[3] = (int)pcVar22;" (assignment_expression "piVar10[3] = (int)pcVar22" (subscript_expression "piVar10[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar10[1] = iVar20;" (assignment_expression "piVar10[1] = iVar20" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }\n      else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);\n        if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }\n      }" { (expression_statement "iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a);" (assignment_expression "iVar20 = (*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(conf,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" ( (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" * (cast_expression "(code *)PTR_conf_get_int_000ad34c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf,0x9a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar20 == 0) {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }\n        else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n          piVar10[2] = iVar20;\n        }" { (expression_statement "iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);" (assignment_expression "iVar20 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x81c)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x81c" identifier + number_literal) )))) ;) (expression_statement "piVar10[2] = iVar20;" (assignment_expression "piVar10[2] = iVar20" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }" else (compound_statement "{\n          iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);\n          piVar10[2] = iVar20;\n        }" { (expression_statement "iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6);" (assignment_expression "iVar20 = (*(code *)PTR_dupstr_000ad2dc)(puVar6)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(puVar6)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6)" ( identifier )))) ;) (expression_statement "piVar10[2] = iVar20;" (assignment_expression "piVar10[2] = iVar20" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }" else (compound_statement "{\n        pcVar22 = dupstr(pcVar9);\n        piVar10[2] = (int)pcVar22;\n      }" { (expression_statement "pcVar22 = dupstr(pcVar9);" (assignment_expression "pcVar22 = dupstr(pcVar9)" identifier = (call_expression "dupstr(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "piVar10[2] = (int)pcVar22;" (assignment_expression "piVar10[2] = (int)pcVar22" (subscript_expression "piVar10[2]" identifier [ number_literal ]) = (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "puVar18 = PTR_add234_000ad45c;" (assignment_expression "puVar18 = PTR_add234_000ad45c" identifier = identifier) ;) (expression_statement "ptVar14 = ssh->rportfwds;" (assignment_expression "ptVar14 = ssh->rportfwds" identifier = (field_expression "ssh->rportfwds" identifier -> field_identifier)) ;) (expression_statement "*piVar10 = piVar11[2];" (assignment_expression "*piVar10 = piVar11[2]" (pointer_expression "*piVar10" * identifier) = (subscript_expression "piVar11[2]" identifier [ number_literal ])) ;) (expression_statement "piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10);" (assignment_expression "piVar12 = (int *)(*(code *)puVar18)(ptVar14,piVar10)" identifier = (cast_expression "(int *)(*(code *)puVar18)(ptVar14,piVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar18)(ptVar14,piVar10)" (parenthesized_expression "(*(code *)puVar18)" ( (pointer_expression "*(code *)puVar18" * (cast_expression "(code *)puVar18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptVar14,piVar10)" ( identifier , identifier ))))) ;) (if_statement "if (piVar10 != piVar12) {\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }" if (parenthesized_expression "(piVar10 != piVar12)" ( (binary_expression "piVar10 != piVar12" identifier != identifier) )) (compound_statement "{\n        (*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);\n                    /* WARNING: Subroutine does not return */\n        safefree(piVar10);\n      }" { (expression_statement "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3]);" (call_expression "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3])" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,PTR_DAT_000ad2c8 + -0x7f4,piVar11[5],piVar11[3])" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7f4" identifier + number_literal) , (subscript_expression "piVar11[5]" identifier [ number_literal ]) , (subscript_expression "piVar11[3]" identifier [ number_literal ]) ))) ;) comment (expression_statement "safefree(piVar10);" (call_expression "safefree(piVar10)" identifier (argument_list "(piVar10)" ( identifier ))) ;) })) (expression_statement "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4);" (call_expression "(*pcVar5)(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,PTR_DAT_000ad2c8 + -0x7c8,pcVar17,pcVar4)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7c8" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "iVar20 = ssh->version;" (assignment_expression "iVar20 = ssh->version" identifier = (field_expression "ssh->version" identifier -> field_identifier)) ;) (expression_statement "piVar10[4] = (int)pcVar17;" (assignment_expression "piVar10[4] = (int)pcVar17" (subscript_expression "piVar10[4]" identifier [ number_literal ]) = (cast_expression "(int)pcVar17" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar11[8] = (int)piVar10;" (assignment_expression "piVar11[8] = (int)piVar10" (subscript_expression "piVar11[8]" identifier [ number_literal ]) = (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar10[6] = (int)piVar11;" (assignment_expression "piVar10[6] = (int)piVar11" (subscript_expression "piVar10[6]" identifier [ number_literal ]) = (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar20 != 1) {\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }" if (parenthesized_expression "(iVar20 != 1)" ( (binary_expression "iVar20 != 1" identifier != number_literal) )) (compound_statement "{\n        pPVar21 = ssh2_pkt_init(0x50);\n        ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);\n        uStack_31 = 1;\n                    /* WARNING: Subroutine does not return */\n        ssh_pkt_adddata(pPVar21,&uStack_31,1);\n      }" { (expression_statement "pPVar21 = ssh2_pkt_init(0x50);" (assignment_expression "pPVar21 = ssh2_pkt_init(0x50)" identifier = (call_expression "ssh2_pkt_init(0x50)" identifier (argument_list "(0x50)" ( number_literal )))) ;) (expression_statement "ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0);" (call_expression "ssh_pkt_addstring(pPVar21,PTR_DAT_000ad2c8 + -0x7a0)" identifier (argument_list "(pPVar21,PTR_DAT_000ad2c8 + -0x7a0)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7a0" identifier + number_literal) ))) ;) (expression_statement "uStack_31 = 1;" (assignment_expression "uStack_31 = 1" identifier = number_literal) ;) comment (expression_statement "ssh_pkt_adddata(pPVar21,&uStack_31,1);" (call_expression "ssh_pkt_adddata(pPVar21,&uStack_31,1)" identifier (argument_list "(pPVar21,&uStack_31,1)" ( identifier , (pointer_expression "&uStack_31" & identifier) , number_literal ))) ;) })) (expression_statement "send_packet(ssh,0x1c,1,piVar11[2]);" (call_expression "send_packet(ssh,0x1c,1,piVar11[2])" identifier (argument_list "(ssh,0x1c,1,piVar11[2])" ( identifier , number_literal , number_literal , (subscript_expression "piVar11[2]" identifier [ number_literal ]) ))) ;) (expression_statement "ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10);" (call_expression "ssh_queue_handler(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10)" identifier (argument_list "(ssh,0xe,0xf,(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478),piVar10)" ( identifier , number_literal , number_literal , (call_expression "(chandler_fn_t)(PTR_LAB_000ad5b0 + 0x6478)" (parenthesized_expression "(chandler_fn_t)" ( identifier )) (argument_list "(PTR_LAB_000ad5b0 + 0x6478)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6478" identifier + number_literal) ))) , identifier ))) ;) (expression_statement "FUN_000420e8();" (call_expression "FUN_000420e8()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "local_54 = pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9]);" (assignment_expression "local_54 = pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9])" identifier = (call_expression "pfl_listen((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9])" identifier (argument_list "((char *)0x0,-1,(char *)piVar11[4],piVar11[2],ssh,conf,\n                        (PortListener **)(piVar11 + 10),piVar11[9])" ( (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , (cast_expression "(char *)piVar11[4]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[4]" identifier [ number_literal ])) , (subscript_expression "piVar11[2]" identifier [ number_literal ]) , identifier , identifier , (cast_expression "(PortListener **)(piVar11 + 10)" ( (type_descriptor "PortListener **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11 + 10)" ( (binary_expression "piVar11 + 10" identifier + number_literal) ))) , (subscript_expression "piVar11[9]" identifier [ number_literal ]) )))) ;) (if_statement "if (piVar11[9] == 1) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n  }\n  else if (piVar11[9] == 2) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }" if (parenthesized_expression "(piVar11[9] == 1)" ( (binary_expression "piVar11[9] == 1" (subscript_expression "piVar11[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    puVar6 = PTR_DAT_000ad2c8 + -0x8dc;\n  }" { (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x8dc;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x8dc" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" identifier + number_literal)) ;) }) (else_clause "else if (piVar11[9] == 2) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }" else (if_statement "if (piVar11[9] == 2) {\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }" if (parenthesized_expression "(piVar11[9] == 2)" ( (binary_expression "piVar11[9] == 2" (subscript_expression "piVar11[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    puVar6 = PTR_DAT_000ad2c8 + -0x8d4;\n  }" { (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x8d4;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x8d4" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" identifier + number_literal)) ;) })))) (if_statement "if (local_54 == (char *)0x0) {\n    (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\n    FUN_000420e8();\n    return;\n  }" if (parenthesized_expression "(local_54 == (char *)0x0)" ( (binary_expression "local_54 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);\n    FUN_000420e8();\n    return;\n  }" { (expression_statement "(*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);" (call_expression "(*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,puVar24 + -0x75c,puVar6,pcVar17)" ( identifier , (binary_expression "puVar24 + -0x75c" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "FUN_000420e8();" (call_expression "FUN_000420e8()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17);" (call_expression "(*pcVar5)(ssh,puVar24 + -0x75c,puVar6,pcVar17)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(ssh,puVar24 + -0x75c,puVar6,pcVar17)" ( identifier , (binary_expression "puVar24 + -0x75c" identifier + number_literal) , identifier , identifier ))) ;) (labeled_statement "LAB_000424c0:\n                    /* WARNING: Subroutine does not return */\n  safefree(local_54);" statement_identifier : comment (expression_statement "safefree(local_54);" (call_expression "safefree(local_54)" identifier (argument_list "(local_54)" ( identifier ))) ;)) })))
(translation_unit "void FUN_000419f8(int param_1,undefined4 param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    \n                    \n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}\n\n" (function_definition "void FUN_000419f8(int param_1,undefined4 param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    \n                    \n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}" primitive_type (function_declarator "FUN_000419f8(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    \n                    \n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int *piVar19;" primitive_type (pointer_declarator "*piVar19" * identifier) ;) (declaration "char *pcVar20;" primitive_type (pointer_declarator "*pcVar20" * identifier) ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "uint unaff_s2;" type_identifier identifier ;) (declaration "uint uVar22;" type_identifier identifier ;) (declaration "undefined *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "int *piVar25;" primitive_type (pointer_declarator "*piVar25" * identifier) ;) (declaration "undefined4 uStack_130;" type_identifier identifier ;) (declaration "int iStack_12c;" primitive_type identifier ;) (declaration "undefined1 auStack_128 [4];" type_identifier (array_declarator "auStack_128 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_124;" type_identifier identifier ;) (declaration "int iStack_11c;" primitive_type identifier ;) (declaration "int iStack_10c;" primitive_type identifier ;) (declaration "int iStack_108;" primitive_type identifier ;) (declaration "int *piStack_104;" primitive_type (pointer_declarator "*piStack_104" * identifier) ;) (declaration "uint uStack_100;" type_identifier identifier ;) (declaration "int iStack_fc;" primitive_type identifier ;) (declaration "int *piStack_f8;" primitive_type (pointer_declarator "*piStack_f8" * identifier) ;) (declaration "int *piStack_f4;" primitive_type (pointer_declarator "*piStack_f4" * identifier) ;) (declaration "undefined *puStack_f0;" type_identifier (pointer_declarator "*puStack_f0" * identifier) ;) (declaration "undefined4 uStack_ec;" type_identifier identifier ;) (declaration "int iStack_d8;" primitive_type identifier ;) (declaration "undefined4 uStack_d4;" type_identifier identifier ;) (declaration "int iStack_d0;" primitive_type identifier ;) (declaration "undefined4 uStack_cc;" type_identifier identifier ;) (declaration "int iStack_c8;" primitive_type identifier ;) (declaration "undefined4 uStack_c4;" type_identifier identifier ;) (declaration "undefined4 uStack_c0;" type_identifier identifier ;) (declaration "undefined *puStack_b8;" type_identifier (pointer_declarator "*puStack_b8" * identifier) ;) (declaration "int iStack_b0;" primitive_type identifier ;) (declaration "int iStack_ac;" primitive_type identifier ;) (declaration "uint uStack_a8;" type_identifier identifier ;) (declaration "int *piStack_a4;" primitive_type (pointer_declarator "*piStack_a4" * identifier) ;) (declaration "uint uStack_a0;" type_identifier identifier ;) (declaration "int iStack_9c;" primitive_type identifier ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "code *pcStack_94;" type_identifier (pointer_declarator "*pcStack_94" * identifier) ;) (declaration "int *local_80;" primitive_type (pointer_declarator "*local_80" * identifier) ;) (declaration "int *local_7c;" primitive_type (pointer_declarator "*local_7c" * identifier) ;) (declaration "int *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "int local_74;" primitive_type identifier ;) (declaration "undefined4 local_70;" type_identifier identifier ;) (declaration "int *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined1 local_31;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar24 = PTR___stack_chk_guard_000adcd4;" (assignment_expression "puVar24 = PTR___stack_chk_guard_000adcd4" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000adcd4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000adcd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000adcd4" * (cast_expression "(int *)PTR___stack_chk_guard_000adcd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (if_statement "if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }" { (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" identifier = (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x6288)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6288" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x140) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x140) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" else (compound_statement "{\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" { (while_statement "while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }" while (parenthesized_expression "(puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,iVar18)" ( identifier , identifier ))))) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) }))) (expression_statement "piVar15 = (int *)0x0;" (assignment_expression "piVar15 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30)" identifier = (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" ( (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" * (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9b,0,&local_30)" ( identifier , number_literal , number_literal , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" identifier = identifier) ;) (if_statement "if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x1de0;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x1de0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x1de0" identifier + number_literal)) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + -0xe98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + -0xe98)" ( (binary_expression "PTR_LAB_000ad5b0 + -0xe98" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;) (do_statement "do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);" do (compound_statement "{\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    }" { (expression_statement "uVar22 = (uint)*(char *)local_30;" (assignment_expression "uVar22 = (uint)*(char *)local_30" identifier = (binary_expression "(uint)*(char *)local_30" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(char *)local_30" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" if (parenthesized_expression "((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34))" ( (binary_expression "(uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)" (parenthesized_expression "(uVar22 == 0x41)" ( (binary_expression "uVar22 == 0x41" identifier == number_literal) )) || (parenthesized_expression "((uVar22 & 0xfffffffd) == 0x34)" ( (binary_expression "(uVar22 & 0xfffffffd) == 0x34" (parenthesized_expression "(uVar22 & 0xfffffffd)" ( (binary_expression "uVar22 & 0xfffffffd" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }" { (expression_statement "unaff_s2 = (uint)*(char *)((int)local_30 + 1);" (assignment_expression "unaff_s2 = (uint)*(char *)((int)local_30 + 1)" identifier = (binary_expression "(uint)*(char *)((int)local_30 + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(char *)((int)local_30 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + 1)" ( (binary_expression "(int)local_30 + 1" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "piVar15 = (int *)((int)local_30 + 1);" (assignment_expression "piVar15 = (int *)((int)local_30 + 1)" identifier = (cast_expression "(int *)((int)local_30 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + 1)" ( (binary_expression "(int)local_30 + 1" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (unaff_s2 != 0x4c) goto LAB_00041c3c;" if (parenthesized_expression "(unaff_s2 != 0x4c)" ( (binary_expression "unaff_s2 != 0x4c" identifier != number_literal) )) (goto_statement "goto LAB_00041c3c;" goto statement_identifier ;)) (labeled_statement "LAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);" statement_identifier : (expression_statement "piVar15 = (int *)((int)piVar15 + 1);" (assignment_expression "piVar15 = (int *)((int)piVar15 + 1)" identifier = (cast_expression "(int *)((int)piVar15 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar15 + 1)" ( (binary_expression "(int)piVar15 + 1" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;)) }) (else_clause "else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" else (compound_statement "{\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" { (expression_statement "bVar1 = uVar22 == 0x4c;" (assignment_expression "bVar1 = uVar22 == 0x4c" identifier = (binary_expression "uVar22 == 0x4c" identifier == number_literal)) ;) (expression_statement "piVar15 = local_30;" (assignment_expression "piVar15 = local_30" identifier = identifier) ;) (expression_statement "unaff_s2 = uVar22;" (assignment_expression "unaff_s2 = uVar22" identifier = identifier) ;) (expression_statement "uVar22 = 0x41;" (assignment_expression "uVar22 = 0x41" identifier = number_literal) ;) (if_statement "if (bVar1) goto LAB_00041d7c;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00041d7c;" goto statement_identifier ;)) (labeled_statement "LAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;" statement_identifier : (if_statement "if (unaff_s2 == 0x52) goto LAB_00041d7c;" if (parenthesized_expression "(unaff_s2 == 0x52)" ( (binary_expression "unaff_s2 == 0x52" identifier == number_literal) )) (goto_statement "goto LAB_00041d7c;" goto statement_identifier ;))) (expression_statement "unaff_s2 = 0x4c;" (assignment_expression "unaff_s2 = 0x4c" identifier = number_literal) ;) }))) (expression_statement "iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);" (assignment_expression "iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a)" identifier = (call_expression "(*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a)" (parenthesized_expression "(*(code *)PTR_host_strchr_000ad37c)" ( (pointer_expression "*(code *)PTR_host_strchr_000ad37c" * (cast_expression "(code *)PTR_host_strchr_000ad37c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar15,0x3a)" ( identifier , number_literal )))) ;) (expression_statement "piVar19 = piVar15;" (assignment_expression "piVar19 = piVar15" identifier = identifier) ;) (if_statement "if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }" { (expression_statement "piVar19 = (int *)(iVar18 + 1);" (assignment_expression "piVar19 = (int *)(iVar18 + 1)" identifier = (cast_expression "(int *)(iVar18 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 1)" ( (binary_expression "iVar18 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);" (assignment_expression "uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15)" identifier = (call_expression "dupprintf(puVar4,iVar18 - (int)piVar15,piVar15)" identifier (argument_list "(puVar4,iVar18 - (int)piVar15,piVar15)" ( identifier , (binary_expression "iVar18 - (int)piVar15" identifier - (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier)) , identifier )))) ;) (expression_statement "iVar18 = host_strduptrim(uVar7);" (assignment_expression "iVar18 = host_strduptrim(uVar7)" identifier = (call_expression "host_strduptrim(uVar7)" identifier (argument_list "(uVar7)" ( identifier )))) ;) (expression_statement "safefree(uVar7);" (call_expression "safefree(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) })) (expression_statement "iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);" (assignment_expression "iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_000adb28)(piVar19,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" ( (pointer_expression "*(code *)PTR_strtol_000adb28" * (cast_expression "(code *)PTR_strtol_000adb28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar19,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }" { (expression_statement "iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);" (assignment_expression "iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19)" identifier = (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(piVar19)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" ( (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" * (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar19)" ( identifier )))) ;) (if_statement "if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }" { (expression_statement "(*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);" (call_expression "(*pcVar5)(param_1,puVar23 + -0x8cc,piVar19)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar23 + -0x8cc,piVar19)" ( identifier , (binary_expression "puVar23 + -0x8cc" identifier + number_literal) , identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n          bVar1 = true;\n        }" else (compound_statement "{\n          bVar1 = true;\n        }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) }) (else_clause "else {\n        bVar1 = false;\n      }" else (compound_statement "{\n        bVar1 = false;\n      }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) (if_statement "if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" if (parenthesized_expression "((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0))" ( (binary_expression "(unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)" (parenthesized_expression "(unaff_s2 == 0x4c)" ( (binary_expression "unaff_s2 == 0x4c" identifier == number_literal) )) && (parenthesized_expression "(iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)" ( (comma_expression "iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" identifier = (call_expression "(*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" (parenthesized_expression "(*(code *)PTR_strcmp_000add14)" ( (pointer_expression "*(code *)PTR_strcmp_000add14" * (cast_expression "(code *)PTR_strcmp_000add14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + 0x78e4" identifier + number_literal) )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }" { (if_statement "if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00041d44:\n          safefree(iVar18);" statement_identifier : (expression_statement "safefree(iVar18);" (call_expression "safefree(iVar18)" identifier (argument_list "(iVar18)" ( identifier ))) ;)) (expression_statement "safefree(iVar13);" (call_expression "safefree(iVar13)" identifier (argument_list "(iVar13)" ( identifier ))) ;) }) (else_clause "else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" else (compound_statement "{\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" { (expression_statement "piVar15 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar15 = (int *)safemalloc(1,0x2c)" identifier = (cast_expression "(int *)safemalloc(1,0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x2c)" identifier (argument_list "(1,0x2c)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar15[4] = iVar18;" (assignment_expression "piVar15[4] = iVar18" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[1] = 0x44;" (assignment_expression "piVar15[1] = 0x44" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;) (if_statement "if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "pcVar20 = (char *)0x0;" (assignment_expression "pcVar20 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (labeled_statement "LAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);" statement_identifier : (expression_statement "iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);" (assignment_expression "iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(piVar19)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar19)" ( identifier )))) ;)) (expression_statement "piVar15[6] = iVar18;" (assignment_expression "piVar15[6] = iVar18" (subscript_expression "piVar15[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[5] = iVar13;" (assignment_expression "piVar15[5] = iVar13" (subscript_expression "piVar15[5]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto joined_r0x00042688;" goto statement_identifier ;) })) (expression_statement "piVar15[6] = 0;" (assignment_expression "piVar15[6] = 0" (subscript_expression "piVar15[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[5] = 0;" (assignment_expression "piVar15[5] = 0" (subscript_expression "piVar15[5]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_00041b48:\n          piVar15[7] = iVar13;" statement_identifier : (expression_statement "piVar15[7] = iVar13;" (assignment_expression "piVar15[7] = iVar13" (subscript_expression "piVar15[7]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "piVar15[3] = iVar9;" (assignment_expression "piVar15[3] = iVar9" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[10] = 0;" (assignment_expression "piVar15[10] = 0" (subscript_expression "piVar15[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[8] = 0;" (assignment_expression "piVar15[8] = 0" (subscript_expression "piVar15[8]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar22 != 0x34) goto LAB_00041b60;" if (parenthesized_expression "(uVar22 != 0x34)" ( (binary_expression "uVar22 != 0x34" identifier != number_literal) )) (goto_statement "goto LAB_00041b60;" goto statement_identifier ;)) (labeled_statement "LAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;" statement_identifier : (expression_statement "puVar17 = PTR_add234_000ad45c;" (assignment_expression "puVar17 = PTR_add234_000ad45c" identifier = identifier) ;)) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x140);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x140)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "piVar15[9] = 1;" (assignment_expression "piVar15[9] = 1" (subscript_expression "piVar15[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);" (assignment_expression "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15)" identifier = (cast_expression "(int *)(*(code *)puVar17)(uVar7,piVar15)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar17)(uVar7,piVar15)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,piVar15)" ( identifier , identifier ))))) ;) (if_statement "if (piVar15 != piVar19) goto LAB_00041b8c;" if (parenthesized_expression "(piVar15 != piVar19)" ( (binary_expression "piVar15 != piVar19" identifier != identifier) )) (goto_statement "goto LAB_00041b8c;" goto statement_identifier ;)) (labeled_statement "LAB_00041e4c:\n          *piVar15 = 2;" statement_identifier : (expression_statement "*piVar15 = 2;" (assignment_expression "*piVar15 = 2" (pointer_expression "*piVar15" * identifier) = number_literal) ;)) }))) }) (else_clause "else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" else (compound_statement "{\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" { (expression_statement "iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);" (assignment_expression "iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6)" identifier = (call_expression "(*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6)" (parenthesized_expression "(*(code *)PTR_host_strcspn_000ad35c)" ( (pointer_expression "*(code *)PTR_host_strcspn_000ad35c" * (cast_expression "(code *)PTR_host_strcspn_000ad35c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13,puVar6)" ( identifier , identifier )))) ;) (expression_statement "pcVar20 = (char *)(iVar13 + iVar9);" (assignment_expression "pcVar20 = (char *)(iVar13 + iVar9)" identifier = (cast_expression "(char *)(iVar13 + iVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar9)" ( (binary_expression "iVar13 + iVar9" identifier + identifier) )))) ;) (expression_statement "iVar13 = dupprintf(puVar4,iVar9,iVar13);" (assignment_expression "iVar13 = dupprintf(puVar4,iVar9,iVar13)" identifier = (call_expression "dupprintf(puVar4,iVar9,iVar13)" identifier (argument_list "(puVar4,iVar9,iVar13)" ( identifier , identifier , identifier )))) ;) (if_statement "if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }" if (parenthesized_expression "(*pcVar20 != '\0')" ( (binary_expression "*pcVar20 != '\0'" (pointer_expression "*pcVar20" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar20 = pcVar20 + 1;\n        }" { (expression_statement "pcVar20 = pcVar20 + 1;" (assignment_expression "pcVar20 = pcVar20 + 1" identifier = (binary_expression "pcVar20 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);" (assignment_expression "iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_000adb28)(pcVar20,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" ( (pointer_expression "*(code *)PTR_strtol_000adb28" * (cast_expression "(code *)PTR_strtol_000adb28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar20,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }" { (expression_statement "iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);" (assignment_expression "iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20)" identifier = (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" ( (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" * (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar20)" ( identifier )))) ;) (if_statement "if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }" { (expression_statement "(*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);" (call_expression "(*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar23 + -0x8a0,pcVar20)" ( identifier , (binary_expression "puVar23 + -0x8a0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00041d44;" goto statement_identifier ;) })) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n          bVar2 = false;\n        }" else (compound_statement "{\n          bVar2 = false;\n        }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) (if_statement "if (iVar8 == 0) goto LAB_00041d44;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00041d44;" goto statement_identifier ;)) (expression_statement "piVar15 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar15 = (int *)safemalloc(1,0x2c)" identifier = (cast_expression "(int *)safemalloc(1,0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x2c)" identifier (argument_list "(1,0x2c)" ( number_literal , number_literal ))))) ;) (expression_statement "piVar15[1] = unaff_s2;" (assignment_expression "piVar15[1] = unaff_s2" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[4] = iVar18;" (assignment_expression "piVar15[4] = iVar18" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (bVar1) goto LAB_00042660;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00042660;" goto statement_identifier ;)) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[5] = iVar13;" (assignment_expression "piVar15[5] = iVar13" (subscript_expression "piVar15[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[6] = 0;" (assignment_expression "piVar15[6] = 0" (subscript_expression "piVar15[6]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "joined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" statement_identifier : (if_statement "if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" { (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar20)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar20)" ( identifier )))) ;) (goto_statement "goto LAB_00041b48;" goto statement_identifier ;) }))) (expression_statement "piVar15[3] = iVar9;" (assignment_expression "piVar15[3] = iVar9" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[10] = 0;" (assignment_expression "piVar15[10] = 0" (subscript_expression "piVar15[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[7] = 0;" (assignment_expression "piVar15[7] = 0" (subscript_expression "piVar15[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[8] = 0;" (assignment_expression "piVar15[8] = 0" (subscript_expression "piVar15[8]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar22 == 0x34) goto LAB_00041e2c;" if (parenthesized_expression "(uVar22 == 0x34)" ( (binary_expression "uVar22 == 0x34" identifier == number_literal) )) (goto_statement "goto LAB_00041e2c;" goto statement_identifier ;)) (labeled_statement "LAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;" statement_identifier : (expression_statement "puVar17 = PTR_add234_000ad45c;" (assignment_expression "puVar17 = PTR_add234_000ad45c" identifier = identifier) ;)) (expression_statement "iVar13 = 2;" (assignment_expression "iVar13 = 2" identifier = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x140);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x140)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (if_statement "if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }" if (parenthesized_expression "(uVar22 != 0x36)" ( (binary_expression "uVar22 != 0x36" identifier != number_literal) )) (compound_statement "{\n          iVar13 = 0;\n        }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) })) (expression_statement "piVar15[9] = iVar13;" (assignment_expression "piVar15[9] = iVar13" (subscript_expression "piVar15[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);" (assignment_expression "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15)" identifier = (cast_expression "(int *)(*(code *)puVar17)(uVar7,piVar15)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar17)(uVar7,piVar15)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,piVar15)" ( identifier , identifier ))))) ;) (if_statement "if (piVar15 == piVar19) goto LAB_00041e4c;" if (parenthesized_expression "(piVar15 == piVar19)" ( (binary_expression "piVar15 == piVar19" identifier == identifier) )) (goto_statement "goto LAB_00041e4c;" goto statement_identifier ;)) (labeled_statement "LAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }" statement_identifier : (if_statement "if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }" if (parenthesized_expression "(*piVar19 == 0)" ( (binary_expression "*piVar19 == 0" (pointer_expression "*piVar19" * identifier) == number_literal) )) (compound_statement "{\n          *piVar19 = 1;\n        }" { (expression_statement "*piVar19 = 1;" (assignment_expression "*piVar19 = 1" (pointer_expression "*piVar19" * identifier) = number_literal) ;) }))) (expression_statement "safefree(piVar15[4]);" (call_expression "safefree(piVar15[4])" identifier (argument_list "(piVar15[4])" ( (subscript_expression "piVar15[4]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15[5]);" (call_expression "safefree(piVar15[5])" identifier (argument_list "(piVar15[5])" ( (subscript_expression "piVar15[5]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15[6]);" (call_expression "safefree(piVar15[6])" identifier (argument_list "(piVar15[6])" ( (subscript_expression "piVar15[6]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15[7]);" (call_expression "safefree(piVar15[7])" identifier (argument_list "(piVar15[7])" ( (subscript_expression "piVar15[7]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) }))) (expression_statement "piVar15 = local_30;" (assignment_expression "piVar15 = local_30" identifier = identifier) ;) (expression_statement "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30)" identifier = (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" ( (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" * (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9b,local_30,&local_30)" ( identifier , number_literal , identifier , (pointer_expression "&local_30" & identifier) )))) ;) }) while (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) ;) })) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + 0x2ae8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + 0x2ae8)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x2ae8" identifier + number_literal) )))) ;) (expression_statement "pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc)" identifier = (cast_expression "(code *)(PTR_LAB_000ad5b0 + 0x34cc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000ad5b0 + 0x34cc)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x34cc" identifier + number_literal) )))) ;) (do_statement "do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );" do (compound_statement "{\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  }" { (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) , identifier ))))) ;) (expression_statement "piVar12 = (int *)PTR_LAB_000ad5b0;" (assignment_expression "piVar12 = (int *)PTR_LAB_000ad5b0" identifier = (cast_expression "(int *)PTR_LAB_000ad5b0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "PTR_LAB_000ad5b0 = (undefined *)piVar12;" (assignment_expression "PTR_LAB_000ad5b0 = (undefined *)piVar12" identifier = (cast_expression "(undefined *)piVar12" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }" if (parenthesized_expression "(piVar19 == (int *)0x0)" ( (binary_expression "piVar19 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }" { (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "pcVar5 = (code *)(piVar12 + -0x3a6);" (assignment_expression "pcVar5 = (code *)(piVar12 + -0x3a6)" identifier = (cast_expression "(code *)(piVar12 + -0x3a6)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + -0x3a6)" ( (binary_expression "piVar12 + -0x3a6" identifier + number_literal) )))) ;) (expression_statement "piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);" (assignment_expression "piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x768)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x768)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x768" identifier + number_literal) )))) ;) (expression_statement "piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);" (assignment_expression "piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x22a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x22a4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal) )))) ;) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)()" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto joined_r0x00041f0c;" goto statement_identifier ;) })) (if_statement "if (*piVar19 == 0) break;" if (parenthesized_expression "(*piVar19 == 0)" ( (binary_expression "*piVar19 == 0" (pointer_expression "*piVar19" * identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) , identifier ))))) ;) (expression_statement "piVar12 = (int *)PTR_LAB_000ad5b0;" (assignment_expression "piVar12 = (int *)PTR_LAB_000ad5b0" identifier = (cast_expression "(int *)PTR_LAB_000ad5b0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (if_statement "if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" if (parenthesized_expression "(piVar19[1] == 0x4c)" ( (binary_expression "piVar19[1] == 0x4c" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }" { (expression_statement "puVar6 = (undefined *)piVar19[4];" (assignment_expression "puVar6 = (undefined *)piVar19[4]" identifier = (cast_expression "(undefined *)piVar19[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ]))) ;) (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8f8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8f8" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8f8" identifier + number_literal)) ;) (if_statement "if (puVar6 == (undefined *)0x0) goto LAB_0004230c;" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004230c;" goto statement_identifier ;)) (labeled_statement "LAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;" statement_identifier : (expression_statement "puVar17 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar17 = PTR_DAT_000ad2c8 + 0x7b40" identifier = (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal)) ;)) }) (else_clause "else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" else (compound_statement "{\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" { (if_statement "if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" if (parenthesized_expression "(piVar19[1] == 0x52)" ( (binary_expression "piVar19[1] == 0x52" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8f0;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8f0" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8f0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" else (compound_statement "{\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" { (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8e8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8e8" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x8e8" identifier + number_literal)) ;) }))) (expression_statement "puVar6 = (undefined *)piVar19[4];" (assignment_expression "puVar6 = (undefined *)piVar19[4]" identifier = (cast_expression "(undefined *)piVar19[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ]))) ;) (if_statement "if (puVar6 != (undefined *)0x0) goto LAB_00042138;" if (parenthesized_expression "(puVar6 != (undefined *)0x0)" ( (binary_expression "puVar6 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042138;" goto statement_identifier ;)) (labeled_statement "LAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" statement_identifier : (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x22a4" identifier = (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal)) ;)) (expression_statement "puVar17 = puVar6;" (assignment_expression "puVar17 = puVar6" identifier = identifier) ;) }))) (expression_statement "local_80 = (int *)piVar19[2];" (assignment_expression "local_80 = (int *)piVar19[2]" identifier = (cast_expression "(int *)piVar19[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[2]" identifier [ number_literal ]))) ;) (expression_statement "piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);" (assignment_expression "piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" identifier = (cast_expression "(int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" identifier (argument_list "(puVar23 + -0x870,puVar4,puVar6,puVar17)" ( (binary_expression "puVar23 + -0x870" identifier + number_literal) , identifier , identifier , identifier ))))) ;) (expression_statement "piVar12 = piVar15;" (assignment_expression "piVar12 = piVar15" identifier = identifier) ;) (if_statement "if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }" if (parenthesized_expression "(piVar19[1] != 0x44)" ( (binary_expression "piVar19[1] != 0x44" (subscript_expression "piVar19[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }" { (expression_statement "piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);" (assignment_expression "piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" identifier = (cast_expression "(int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" identifier (argument_list "(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" ( (binary_expression "PTR_DAT_000ad2c8 + -0x850" identifier + number_literal) , identifier , (subscript_expression "piVar19[5]" identifier [ number_literal ]) , (subscript_expression "piVar19[3]" identifier [ number_literal ]) ))))) ;) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) })) (expression_statement "piVar15 = piVar12;" (assignment_expression "piVar15 = piVar12" identifier = identifier) ;) (expression_statement "FUN_0002f168(param_1,puVar23 + -0x844);" (call_expression "FUN_0002f168(param_1,puVar23 + -0x844)" identifier (argument_list "(param_1,puVar23 + -0x844)" ( identifier , (binary_expression "puVar23 + -0x844" identifier + number_literal) ))) ;) (expression_statement "safefree(piVar12);" (call_expression "safefree(piVar12)" identifier (argument_list "(piVar12)" ( identifier ))) ;) (expression_statement "iVar18 = piVar19[8];" (assignment_expression "iVar18 = piVar19[8]" identifier = (subscript_expression "piVar19[8]" identifier [ number_literal ])) ;) (if_statement "if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }" { (if_statement "if (piVar19[10] != 0) {\n        pfl_terminate();\n      }" if (parenthesized_expression "(piVar19[10] != 0)" ( (binary_expression "piVar19[10] != 0" (subscript_expression "piVar19[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        pfl_terminate();\n      }" { (expression_statement "pfl_terminate();" (call_expression "pfl_terminate()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" else (compound_statement "{\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" { (if_statement "if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x198) != 1)" ( (binary_expression "*(int *)(param_1 + 0x198) != 1" (pointer_expression "*(int *)(param_1 + 0x198)" * (cast_expression "(int *)(param_1 + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }" { (expression_statement "unaff_s2 = (*pcVar10)(0x50);" (assignment_expression "unaff_s2 = (*pcVar10)(0x50)" identifier = (call_expression "(*pcVar10)(0x50)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(0x50)" ( number_literal )))) ;) (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834)" identifier (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x834)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x834" identifier + number_literal) ))) ;) (expression_statement "piVar15 = (int *)0x1;" (assignment_expression "piVar15 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_31 = 0;" (assignment_expression "local_31 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033374(unaff_s2,&local_31);" (call_expression "FUN_00033374(unaff_s2,&local_31)" identifier (argument_list "(unaff_s2,&local_31)" ( identifier , (pointer_expression "&local_31" & identifier) ))) ;) (if_statement "if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }" if (parenthesized_expression "(piVar19[4] == 0)" ( (binary_expression "piVar19[4] == 0" (subscript_expression "piVar19[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }" { (expression_statement "iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);" (assignment_expression "iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" ( (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" * (cast_expression "(code *)PTR_conf_get_int_000ad34c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }" { (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c)" identifier (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x81c)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x81c" identifier + number_literal) ))) ;) }) (else_clause "else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" else (compound_statement "{\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" { (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4)" identifier (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" identifier + number_literal) ))) ;) }))) }) (else_clause "else {\n          FUN_000336bc(unaff_s2);\n        }" else (compound_statement "{\n          FUN_000336bc(unaff_s2);\n        }" { (expression_statement "FUN_000336bc(unaff_s2);" (call_expression "FUN_000336bc(unaff_s2)" identifier (argument_list "(unaff_s2)" ( identifier ))) ;) }))) (expression_statement "FUN_0003364c(unaff_s2,piVar19[2]);" (call_expression "FUN_0003364c(unaff_s2,piVar19[2])" identifier (argument_list "(unaff_s2,piVar19[2])" ( identifier , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0003e878(param_1,unaff_s2);" (call_expression "FUN_0003e878(param_1,unaff_s2)" identifier (argument_list "(param_1,unaff_s2)" ( identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);" (call_expression "(*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18)" (parenthesized_expression "(*(code *)PTR_del234_000ad460)" ( (pointer_expression "*(code *)PTR_del234_000ad460" * (cast_expression "(code *)PTR_del234_000ad460" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x13c),iVar18)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*pcVar5)(iVar18);" (call_expression "(*pcVar5)(iVar18)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(iVar18)" ( identifier ))) ;) }))) (expression_statement "(*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);" (call_expression "(*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_delpos234_000ad458)" ( (pointer_expression "*(code *)PTR_delpos234_000ad458" * (cast_expression "(code *)PTR_delpos234_000ad458" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x140)" * (cast_expression "(undefined4 *)(param_1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "safefree(piVar19[4]);" (call_expression "safefree(piVar19[4])" identifier (argument_list "(piVar19[4])" ( (subscript_expression "piVar19[4]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19[5]);" (call_expression "safefree(piVar19[5])" identifier (argument_list "(piVar19[5])" ( (subscript_expression "piVar19[5]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19[6]);" (call_expression "safefree(piVar19[6])" identifier (argument_list "(piVar19[6])" ( (subscript_expression "piVar19[6]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19[7]);" (call_expression "safefree(piVar19[7])" identifier (argument_list "(piVar19[7])" ( (subscript_expression "piVar19[7]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar19);" (call_expression "safefree(piVar19)" identifier (argument_list "(piVar19)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "joined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;" statement_identifier : (if_statement "if (piVar19 == (int *)0x0) goto LAB_00041f44;" if (parenthesized_expression "(piVar19 == (int *)0x0)" ( (binary_expression "piVar19 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00041f44;" goto statement_identifier ;))) (if_statement "if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }" if (parenthesized_expression "(*piVar19 == 2)" ( (binary_expression "*piVar19 == 2" (pointer_expression "*piVar19" * identifier) == number_literal) )) (compound_statement "{\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }" { (expression_statement "piVar15 = piVar21;" (assignment_expression "piVar15 = piVar21" identifier = identifier) ;) (expression_statement "piVar11 = piVar21;" (assignment_expression "piVar11 = piVar21" identifier = identifier) ;) (if_statement "if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }" if (parenthesized_expression "((int *)piVar19[4] != (int *)0x0)" ( (binary_expression "(int *)piVar19[4] != (int *)0x0" (cast_expression "(int *)piVar19[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }" { (expression_statement "piVar15 = (int *)piVar19[4];" (assignment_expression "piVar15 = (int *)piVar19[4]" identifier = (cast_expression "(int *)piVar19[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[4]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);" (assignment_expression "piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + 0x7b40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x7b40)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" identifier + number_literal) )))) ;) })) (expression_statement "local_7c = (int *)piVar19[2];" (assignment_expression "local_7c = (int *)piVar19[2]" identifier = (cast_expression "(int *)piVar19[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[2]" identifier [ number_literal ]))) ;) (expression_statement "local_80 = piVar21;" (assignment_expression "local_80 = piVar21" identifier = identifier) ;) (expression_statement "piVar16 = piVar21;" (assignment_expression "piVar16 = piVar21" identifier = identifier) ;) (expression_statement "local_78 = piVar21;" (assignment_expression "local_78 = piVar21" identifier = identifier) ;) (if_statement "if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }" if (parenthesized_expression "((int *)piVar19[6] != (int *)0x0)" ( (binary_expression "(int *)piVar19[6] != (int *)0x0" (cast_expression "(int *)piVar19[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[6]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }" { (expression_statement "local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);" (assignment_expression "local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8e0)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" identifier + number_literal) )))) ;) (expression_statement "piVar16 = (int *)piVar19[6];" (assignment_expression "piVar16 = (int *)piVar19[6]" identifier = (cast_expression "(int *)piVar19[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[6]" identifier [ number_literal ]))) ;) (expression_statement "local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);" (assignment_expression "local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0xa48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0xa48)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa48" identifier + number_literal) )))) ;) })) (expression_statement "unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);" (assignment_expression "unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16)" identifier = (call_expression "dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16)" identifier (argument_list "(puVar4 + -0x810,piVar15,piVar11,piVar16)" ( (binary_expression "puVar4 + -0x810" identifier + number_literal) , identifier , identifier , identifier )))) ;) (expression_statement "piVar15 = piVar21;" (assignment_expression "piVar15 = piVar21" identifier = identifier) ;) (if_statement "if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" if (parenthesized_expression "(piVar19[1] == 0x44)" ( (binary_expression "piVar19[1] == 0x44" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }" { (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0004233c:\n      local_74 = piVar19[9];" statement_identifier : (expression_statement "local_74 = piVar19[9];" (assignment_expression "local_74 = piVar19[9]" identifier = (subscript_expression "piVar19[9]" identifier [ number_literal ])) ;)) (expression_statement "local_78 = piVar19 + 10;" (assignment_expression "local_78 = piVar19 + 10" identifier = (binary_expression "piVar19 + 10" identifier + number_literal)) ;) (expression_statement "local_80 = (int *)param_1;" (assignment_expression "local_80 = (int *)param_1" identifier = (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_7c = (int *)param_2;" (assignment_expression "local_7c = (int *)param_2" identifier = (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);" (assignment_expression "local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" identifier = (cast_expression "(int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" identifier (argument_list "(0,0xffffffff,piVar19[4],piVar19[2])" ( number_literal , number_literal , (subscript_expression "piVar19[4]" identifier [ number_literal ]) , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))))) ;) (if_statement "if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" if (parenthesized_expression "(piVar19[9] == 1)" ( (binary_expression "piVar19[9] == 1" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8dc)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" identifier + number_literal) )))) ;) }) (else_clause "else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" else (if_statement "if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" if (parenthesized_expression "(piVar19[9] == 2)" ( (binary_expression "piVar19[9] == 2" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8d4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8d4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" identifier + number_literal) )))) ;) })))) (if_statement "if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" if (parenthesized_expression "(local_54 == (int *)0x0)" ( (binary_expression "local_54 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }" { (expression_statement "local_80 = piVar21;" (assignment_expression "local_80 = piVar21" identifier = identifier) ;) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" ( identifier , (binary_expression "puVar4 + -0x75c" identifier + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" else (compound_statement "{\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" { (expression_statement "local_80 = piVar25;" (assignment_expression "local_80 = piVar25" identifier = identifier) ;) (expression_statement "local_7c = local_54;" (assignment_expression "local_7c = local_54" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" ( identifier , (binary_expression "puVar4 + -0x75c" identifier + number_literal) , identifier , identifier ))) ;) (labeled_statement "LAB_000424c0:\n        safefree(local_54);" statement_identifier : (expression_statement "safefree(local_54);" (call_expression "safefree(local_54)" identifier (argument_list "(local_54)" ( identifier ))) ;)) }))) }) (else_clause "else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" else (compound_statement "{\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" { (expression_statement "local_80 = (int *)piVar19[3];" (assignment_expression "local_80 = (int *)piVar19[3]" identifier = (cast_expression "(int *)piVar19[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[3]" identifier [ number_literal ]))) ;) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" identifier = identifier) ;) (expression_statement "piVar11 = piVar21;" (assignment_expression "piVar11 = piVar21" identifier = identifier) ;) (expression_statement "piVar16 = piVar21;" (assignment_expression "piVar16 = piVar21" identifier = identifier) ;) (if_statement "if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }" if (parenthesized_expression "((int *)piVar19[7] != (int *)0x0)" ( (binary_expression "(int *)piVar19[7] != (int *)0x0" (cast_expression "(int *)piVar19[7]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[7]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }" { (expression_statement "local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);" (assignment_expression "local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0xa48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0xa48)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa48" identifier + number_literal) )))) ;) (expression_statement "piVar11 = (int *)piVar19[7];" (assignment_expression "piVar11 = (int *)piVar19[7]" identifier = (cast_expression "(int *)piVar19[7]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[7]" identifier [ number_literal ]))) ;) (expression_statement "piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);" (assignment_expression "piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8e0)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" identifier + number_literal) )))) ;) })) (expression_statement "piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);" (assignment_expression "piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" identifier = (cast_expression "(int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" identifier (argument_list "(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x800" identifier + number_literal) , (subscript_expression "piVar19[5]" identifier [ number_literal ]) , identifier , identifier ))))) ;) (if_statement "if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" if (parenthesized_expression "(piVar19[1] == 0x4c)" ( (binary_expression "piVar19[1] == 0x4c" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }" { (expression_statement "local_74 = piVar19[9];" (assignment_expression "local_74 = piVar19[9]" identifier = (subscript_expression "piVar19[9]" identifier [ number_literal ])) ;) (expression_statement "local_78 = piVar19 + 10;" (assignment_expression "local_78 = piVar19 + 10" identifier = (binary_expression "piVar19 + 10" identifier + number_literal)) ;) (expression_statement "local_80 = (int *)param_1;" (assignment_expression "local_80 = (int *)param_1" identifier = (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_7c = (int *)param_2;" (assignment_expression "local_7c = (int *)param_2" identifier = (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);" (assignment_expression "local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" identifier = (cast_expression "(int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" identifier (argument_list "(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" ( (subscript_expression "piVar19[5]" identifier [ number_literal ]) , (subscript_expression "piVar19[3]" identifier [ number_literal ]) , (subscript_expression "piVar19[4]" identifier [ number_literal ]) , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))))) ;) (if_statement "if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" if (parenthesized_expression "(piVar19[9] == 1)" ( (binary_expression "piVar19[9] == 1" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8dc)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" identifier + number_literal) )))) ;) }) (else_clause "else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" else (if_statement "if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" if (parenthesized_expression "(piVar19[9] == 2)" ( (binary_expression "piVar19[9] == 2" (subscript_expression "piVar19[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" { (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4)" identifier = (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8d4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8d4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" identifier + number_literal) )))) ;) })))) (expression_statement "local_80 = piVar11;" (assignment_expression "local_80 = piVar11" identifier = identifier) ;) (if_statement "if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }" if (parenthesized_expression "(local_54 != (int *)0x0)" ( (binary_expression "local_54 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }" { (expression_statement "local_7c = piVar25;" (assignment_expression "local_7c = piVar25" identifier = identifier) ;) (expression_statement "local_78 = local_54;" (assignment_expression "local_78 = local_54" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x790" identifier + number_literal) , identifier , identifier ))) ;) (goto_statement "goto LAB_000424c0;" goto statement_identifier ;) })) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" identifier = identifier) ;) (expression_statement "local_78 = piVar21;" (assignment_expression "local_78 = piVar21" identifier = identifier) ;) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x790" identifier + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" else (compound_statement "{\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" { (if_statement "if (piVar19[1] == 0x44) goto LAB_0004233c;" if (parenthesized_expression "(piVar19[1] == 0x44)" ( (binary_expression "piVar19[1] == 0x44" (subscript_expression "piVar19[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_0004233c;" goto statement_identifier ;)) (if_statement "if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }" if (parenthesized_expression "(*(int *)(param_1 + 0x13c) == 0)" ( (binary_expression "*(int *)(param_1 + 0x13c) == 0" (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }" { (if_statement "if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" if (parenthesized_expression "(*(int *)(param_1 + 0x198) == 1)" ( (binary_expression "*(int *)(param_1 + 0x198) == 1" (pointer_expression "*(int *)(param_1 + 0x198)" * (cast_expression "(int *)(param_1 + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" { (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" identifier = (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x61e4)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x61e4" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x13c) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x13c) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" else (compound_statement "{\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" { (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" identifier = (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" ( (pointer_expression "*(code *)PTR_newtree234_000ad464" * (cast_expression "(code *)PTR_newtree234_000ad464" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000ad5b0 + 0x6140)" ( (binary_expression "PTR_LAB_000ad5b0 + 0x6140" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x13c) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x13c) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "piVar12 = (int *)safemalloc(1,0x1c);" (assignment_expression "piVar12 = (int *)safemalloc(1,0x1c)" identifier = (cast_expression "(int *)safemalloc(1,0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x1c)" identifier (argument_list "(1,0x1c)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar13 = piVar19[5];" (assignment_expression "iVar13 = piVar19[5]" identifier = (subscript_expression "piVar19[5]" identifier [ number_literal ])) ;) (expression_statement "piVar12[5] = 0;" (assignment_expression "piVar12[5] = 0" (subscript_expression "piVar12[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar13 = dupstr(iVar13);" (assignment_expression "iVar13 = dupstr(iVar13)" identifier = (call_expression "dupstr(iVar13)" identifier (argument_list "(iVar13)" ( identifier )))) ;) (expression_statement "iVar8 = piVar19[3];" (assignment_expression "iVar8 = piVar19[3]" identifier = (subscript_expression "piVar19[3]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = piVar19[4];" (assignment_expression "iVar18 = piVar19[4]" identifier = (subscript_expression "piVar19[4]" identifier [ number_literal ])) ;) (expression_statement "piVar12[3] = iVar13;" (assignment_expression "piVar12[3] = iVar13" (subscript_expression "piVar12[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar12[1] = iVar8;" (assignment_expression "piVar12[1] = iVar8" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }" { (expression_statement "iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" identifier = (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" ( (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" * (cast_expression "(code *)PTR_conf_get_int_000ad34c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x9a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }" { (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x81c)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x81c" identifier + number_literal) )))) ;) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" else (compound_statement "{\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" { (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(piVar21)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar21)" ( identifier )))) ;) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" else (compound_statement "{\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" { (expression_statement "iVar13 = dupstr();" (assignment_expression "iVar13 = dupstr()" identifier = (call_expression "dupstr()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "puVar6 = PTR_add234_000ad45c;" (assignment_expression "puVar6 = PTR_add234_000ad45c" identifier = identifier) ;) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x13c);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x13c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" * (cast_expression "(undefined4 *)(param_1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (expression_statement "*piVar12 = piVar19[2];" (assignment_expression "*piVar12 = piVar19[2]" (pointer_expression "*piVar12" * identifier) = (subscript_expression "piVar19[2]" identifier [ number_literal ])) ;) (expression_statement "piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);" (assignment_expression "piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12)" identifier = (cast_expression "(int *)(*(code *)puVar6)(uVar7,piVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar6)(uVar7,piVar12)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,piVar12)" ( identifier , identifier ))))) ;) (if_statement "if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" if (parenthesized_expression "(piVar12 == piVar15)" ( (binary_expression "piVar12 == piVar15" identifier == identifier) )) (compound_statement "{\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }" { (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7c8" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "piVar15 = *(int **)(param_1 + 0x198);" (assignment_expression "piVar15 = *(int **)(param_1 + 0x198)" identifier = (pointer_expression "*(int **)(param_1 + 0x198)" * (cast_expression "(int **)(param_1 + 0x198)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) ))))) ;) (expression_statement "piVar12[4] = unaff_s2;" (assignment_expression "piVar12[4] = unaff_s2" (subscript_expression "piVar12[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar19[8] = (int)piVar12;" (assignment_expression "piVar19[8] = (int)piVar12" (subscript_expression "piVar19[8]" identifier [ number_literal ]) = (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar12[6] = (int)piVar19;" (assignment_expression "piVar12[6] = (int)piVar19" (subscript_expression "piVar12[6]" identifier [ number_literal ]) = (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" if (parenthesized_expression "(piVar15 == (int *)0x1)" ( (binary_expression "piVar15 == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }" { (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_74 = piVar19[3];" (assignment_expression "local_74 = piVar19[3]" identifier = (subscript_expression "piVar19[3]" identifier [ number_literal ])) ;) (expression_statement "unaff_s2 = 0;" (assignment_expression "unaff_s2 = 0" identifier = number_literal) ;) (expression_statement "local_7c = (int *)piVar19[5];" (assignment_expression "local_7c = (int *)piVar19[5]" identifier = (cast_expression "(int *)piVar19[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[5]" identifier [ number_literal ]))) ;) (expression_statement "local_80 = (int *)0x4;" (assignment_expression "local_80 = (int *)0x4" identifier = (cast_expression "(int *)0x4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_78 = piVar15;" (assignment_expression "local_78 = piVar15" identifier = identifier) ;) (expression_statement "FUN_00041954(param_1,0x1c,1,piVar19[2]);" (call_expression "FUN_00041954(param_1,0x1c,1,piVar19[2])" identifier (argument_list "(param_1,0x1c,1,piVar19[2])" ( identifier , number_literal , number_literal , (subscript_expression "piVar19[2]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar15 = (int *)0xf;" (assignment_expression "piVar15 = (int *)0xf" identifier = (cast_expression "(int *)0xf" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_80 = piVar12;" (assignment_expression "local_80 = piVar12" identifier = identifier) ;) (expression_statement "FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);" (call_expression "FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478)" identifier (argument_list "(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_000ad5b0 + 0x6478" identifier + number_literal) ))) ;) }) (else_clause "else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" else (compound_statement "{\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" { (expression_statement "uVar7 = FUN_000334cc(0x50);" (assignment_expression "uVar7 = FUN_000334cc(0x50)" identifier = (call_expression "FUN_000334cc(0x50)" identifier (argument_list "(0x50)" ( number_literal )))) ;) (expression_statement "FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);" (call_expression "FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0)" identifier (argument_list "(uVar7,PTR_DAT_000ad2c8 + -0x7a0)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7a0" identifier + number_literal) ))) ;) (expression_statement "local_31 = 1;" (assignment_expression "local_31 = 1" identifier = number_literal) ;) (expression_statement "FUN_00033374(uVar7,&local_31,1);" (call_expression "FUN_00033374(uVar7,&local_31,1)" identifier (argument_list "(uVar7,&local_31,1)" ( identifier , (pointer_expression "&local_31" & identifier) , number_literal ))) ;) (expression_statement "FUN_000336bc(uVar7,piVar12[2]);" (call_expression "FUN_000336bc(uVar7,piVar12[2])" identifier (argument_list "(uVar7,piVar12[2])" ( identifier , (subscript_expression "piVar12[2]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0003364c(uVar7,*piVar12);" (call_expression "FUN_0003364c(uVar7,*piVar12)" identifier (argument_list "(uVar7,*piVar12)" ( identifier , (pointer_expression "*piVar12" * identifier) ))) ;) (expression_statement "unaff_s2 = 0;" (assignment_expression "unaff_s2 = 0" identifier = number_literal) ;) (expression_statement "FUN_0003e878(param_1,uVar7);" (call_expression "FUN_0003e878(param_1,uVar7)" identifier (argument_list "(param_1,uVar7)" ( identifier , identifier ))) ;) (expression_statement "piVar15 = (int *)0x52;" (assignment_expression "piVar15 = (int *)0x52" identifier = (cast_expression "(int *)0x52" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_80 = piVar12;" (assignment_expression "local_80 = piVar12" identifier = identifier) ;) (expression_statement "FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);" (call_expression "FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478)" identifier (argument_list "(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_000ad5b0 + 0x6478" identifier + number_literal) ))) ;) }))) }) (else_clause "else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" else (compound_statement "{\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" { (expression_statement "piVar15 = (int *)piVar19[5];" (assignment_expression "piVar15 = (int *)piVar19[5]" identifier = (cast_expression "(int *)piVar19[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar19[5]" identifier [ number_literal ]))) ;) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3])" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3])" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0x7f4" identifier + number_literal) , identifier , (subscript_expression "piVar19[3]" identifier [ number_literal ]) ))) ;) (expression_statement "safefree(piVar12);" (call_expression "safefree(piVar12)" identifier (argument_list "(piVar12)" ( identifier ))) ;) }))) }))) }))) (expression_statement "safefree(unaff_s2);" (call_expression "safefree(unaff_s2)" identifier (argument_list "(unaff_s2)" ( identifier ))) ;) (expression_statement "safefree(piVar11);" (call_expression "safefree(piVar11)" identifier (argument_list "(piVar11)" ( identifier ))) ;) })) (expression_statement "uVar22 = uVar22 + 1;" (assignment_expression "uVar22 = uVar22 + 1" identifier = (binary_expression "uVar22 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" identifier = (pointer_expression "*(int *)(param_1 + 0x140)" * (cast_expression "(int *)(param_1 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = uVar22;" (assignment_expression "uVar14 = uVar22" identifier = identifier) ;) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)()" identifier = (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" ( (pointer_expression "*(code *)PTR_index234_000ad470" * (cast_expression "(code *)PTR_index234_000ad470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (goto_statement "goto joined_r0x00041f0c;" goto statement_identifier ;) (labeled_statement "LAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar24) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar24)" ( (binary_expression "local_2c == *(int *)puVar24" identifier == (pointer_expression "*(int *)puVar24" * (cast_expression "(int *)puVar24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "pcVar5 = FUN_00042824;" (assignment_expression "pcVar5 = FUN_00042824" identifier = identifier) ;) (expression_statement "puVar24 = PTR___stack_chk_fail_000adca4;" (assignment_expression "puVar24 = PTR___stack_chk_fail_000adca4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000adca4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000adca4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000adca4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000adca4" * (cast_expression "(code *)PTR___stack_chk_fail_000adca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_b8 = puVar24 + 0x72a6c;" (assignment_expression "puStack_b8 = puVar24 + 0x72a6c" identifier = (binary_expression "puVar24 + 0x72a6c" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar13 + 0x11c) = uVar14;" (assignment_expression "*(uint *)(iVar13 + 0x11c) = uVar14" (pointer_expression "*(uint *)(iVar13 + 0x11c)" * (cast_expression "(uint *)(iVar13 + 0x11c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11c)" ( (binary_expression "iVar13 + 0x11c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(iVar13 + 0x120) = piVar15;" (assignment_expression "*(int **)(iVar13 + 0x120) = piVar15" (pointer_expression "*(int **)(iVar13 + 0x120)" * (cast_expression "(int **)(iVar13 + 0x120)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x120)" ( (binary_expression "iVar13 + 0x120" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar15 = *(int **)(puVar24 + 0x6b4b0);" (assignment_expression "piVar15 = *(int **)(puVar24 + 0x6b4b0)" identifier = (pointer_expression "*(int **)(puVar24 + 0x6b4b0)" * (cast_expression "(int **)(puVar24 + 0x6b4b0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0x6b4b0)" ( (binary_expression "puVar24 + 0x6b4b0" identifier + number_literal) ))))) ;) (expression_statement "iVar18 = *piVar15;" (assignment_expression "iVar18 = *piVar15" identifier = (pointer_expression "*piVar15" * identifier)) ;) (expression_statement "iStack_ac = iVar18;" (assignment_expression "iStack_ac = iVar18" identifier = identifier) ;) (expression_statement "uStack_a8 = uVar22;" (assignment_expression "uStack_a8 = uVar22" identifier = identifier) ;) (expression_statement "piStack_a4 = piVar21;" (assignment_expression "piStack_a4 = piVar21" identifier = identifier) ;) (expression_statement "uStack_a0 = unaff_s2;" (assignment_expression "uStack_a0 = unaff_s2" identifier = identifier) ;) (expression_statement "iStack_9c = param_1;" (assignment_expression "iStack_9c = param_1" identifier = identifier) ;) (expression_statement "piStack_98 = piVar11;" (assignment_expression "piStack_98 = piVar11" identifier = identifier) ;) (expression_statement "pcStack_94 = pcVar5;" (assignment_expression "pcStack_94 = pcVar5" identifier = identifier) ;) (if_statement "if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar13 + 0x144) == 2)" ( (binary_expression "*(int *)(iVar13 + 0x144) == 2" (pointer_expression "*(int *)(iVar13 + 0x144)" * (cast_expression "(int *)(iVar13 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x144)" ( (binary_expression "iVar13 + 0x144" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }" { (expression_statement "*(undefined4 *)(iVar13 + 0x148) = 1;" (assignment_expression "*(undefined4 *)(iVar13 + 0x148) = 1" (pointer_expression "*(undefined4 *)(iVar13 + 0x148)" * (cast_expression "(undefined4 *)(iVar13 + 0x148)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x148)" ( (binary_expression "iVar13 + 0x148" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" else (if_statement "if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar13 + 0x144) == 3)" ( (binary_expression "*(int *)(iVar13 + 0x144) == 3" (pointer_expression "*(int *)(iVar13 + 0x144)" * (cast_expression "(int *)(iVar13 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x144)" ( (binary_expression "iVar13 + 0x144" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" { (expression_statement "uVar14 = 0x16;" (assignment_expression "uVar14 = 0x16" identifier = number_literal) ;) (expression_statement "iVar18 = *(int *)(iVar13 + 0x248);" (assignment_expression "iVar18 = *(int *)(iVar13 + 0x248)" identifier = (pointer_expression "*(int *)(iVar13 + 0x248)" * (cast_expression "(int *)(iVar13 + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x248)" ( (binary_expression "iVar13 + 0x248" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);" (assignment_expression "iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16)" identifier = (call_expression "(**(code **)(puVar24 + 0x6ab28))(iVar18,0x16)" (parenthesized_expression "(**(code **)(puVar24 + 0x6ab28))" ( (pointer_expression "**(code **)(puVar24 + 0x6ab28)" * (pointer_expression "*(code **)(puVar24 + 0x6ab28)" * (cast_expression "(code **)(puVar24 + 0x6ab28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0x6ab28)" ( (binary_expression "puVar24 + 0x6ab28" identifier + number_literal) ))))) )) (argument_list "(iVar18,0x16)" ( identifier , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }" { (expression_statement "iVar8 = *(int *)(iVar13 + 0x198);" (assignment_expression "iVar8 = *(int *)(iVar13 + 0x198)" identifier = (pointer_expression "*(int *)(iVar13 + 0x198)" * (cast_expression "(int *)(iVar13 + 0x198)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x198)" ( (binary_expression "iVar13 + 0x198" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }" { (expression_statement "uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);" (assignment_expression "uStack_d4 = *(undefined4 *)(iVar13 + 0x11c)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x11c)" * (cast_expression "(undefined4 *)(iVar13 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11c)" ( (binary_expression "iVar13 + 0x11c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = 0xb;" (assignment_expression "uVar14 = 0xb" identifier = number_literal) ;) (expression_statement "uStack_c0 = 0;" (assignment_expression "uStack_c0 = 0" identifier = number_literal) ;) (expression_statement "uStack_c4 = 0;" (assignment_expression "uStack_c4 = 0" identifier = number_literal) ;) (expression_statement "uStack_cc = 0;" (assignment_expression "uStack_cc = 0" identifier = number_literal) ;) (expression_statement "iVar18 = iVar13;" (assignment_expression "iVar18 = iVar13" identifier = identifier) ;) (expression_statement "iStack_d8 = iVar8;" (assignment_expression "iStack_d8 = iVar8" identifier = identifier) ;) (expression_statement "iStack_d0 = iVar8;" (assignment_expression "iStack_d0 = iVar8" identifier = identifier) ;) (expression_statement "iStack_c8 = iVar8;" (assignment_expression "iStack_c8 = iVar8" identifier = identifier) ;) (expression_statement "FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));" (call_expression "FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120))" identifier (argument_list "(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120))" ( identifier , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar13 + 0x120)" * (cast_expression "(undefined4 *)(iVar13 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x120)" ( (binary_expression "iVar13 + 0x120" identifier + number_literal) )))) ))) ;) }) (else_clause "else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" else (compound_statement "{\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" { (expression_statement "iVar18 = *(int *)(iVar13 + 0x128);" (assignment_expression "iVar18 = *(int *)(iVar13 + 0x128)" identifier = (pointer_expression "*(int *)(iVar13 + 0x128)" * (cast_expression "(int *)(iVar13 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x128)" ( (binary_expression "iVar13 + 0x128" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(uint *)(puStack_b8 + -0x7fc8);" (assignment_expression "uVar14 = *(uint *)(puStack_b8 + -0x7fc8)" identifier = (pointer_expression "*(uint *)(puStack_b8 + -0x7fc8)" * (cast_expression "(uint *)(puStack_b8 + -0x7fc8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_b8 + -0x7fc8)" ( (binary_expression "puStack_b8 + -0x7fc8" identifier + number_literal) ))))) ;) (if_statement "if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }" { (expression_statement "piVar11 = &iStack_b0;" (assignment_expression "piVar11 = &iStack_b0" identifier = (pointer_expression "&iStack_b0" & identifier)) ;) (expression_statement "unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);" (assignment_expression "unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0)" identifier = (call_expression "FUN_00034800(iVar18,uVar14 - 0x72c,0,0)" identifier (argument_list "(iVar18,uVar14 - 0x72c,0,0)" ( identifier , (binary_expression "uVar14 - 0x72c" identifier - number_literal) , number_literal , number_literal )))) ;) (expression_statement "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));" (call_expression "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c))" identifier (argument_list "(unaff_s2,*(undefined4 *)(iVar13 + 0x11c))" ( identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x11c)" * (cast_expression "(undefined4 *)(iVar13 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11c)" ( (binary_expression "iVar13 + 0x11c" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));" (call_expression "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120))" identifier (argument_list "(unaff_s2,*(undefined4 *)(iVar13 + 0x120))" ( identifier , (pointer_expression "*(undefined4 *)(iVar13 + 0x120)" * (cast_expression "(undefined4 *)(iVar13 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x120)" ( (binary_expression "iVar13 + 0x120" identifier + number_literal) )))) ))) ;) (expression_statement "param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;" (assignment_expression "param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374" identifier = (binary_expression "*(int *)(puStack_b8 + -0x7ce0) + 0x3374" (pointer_expression "*(int *)(puStack_b8 + -0x7ce0)" * (cast_expression "(int *)(puStack_b8 + -0x7ce0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_b8 + -0x7ce0)" ( (binary_expression "puStack_b8 + -0x7ce0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033374(unaff_s2,piVar11,4);" (call_expression "FUN_00033374(unaff_s2,piVar11,4)" identifier (argument_list "(unaff_s2,piVar11,4)" ( identifier , identifier , number_literal ))) ;) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033374(unaff_s2,piVar11,4);" (call_expression "FUN_00033374(unaff_s2,piVar11,4)" identifier (argument_list "(unaff_s2,piVar11,4)" ( identifier , identifier , number_literal ))) ;) (expression_statement "iVar18 = iVar13;" (assignment_expression "iVar18 = iVar13" identifier = identifier) ;) (expression_statement "uVar14 = unaff_s2;" (assignment_expression "uVar14 = unaff_s2" identifier = identifier) ;) (expression_statement "FUN_0003e878(iVar13,unaff_s2);" (call_expression "FUN_0003e878(iVar13,unaff_s2)" identifier (argument_list "(iVar13,unaff_s2)" ( identifier , identifier ))) ;) })) }))) })) })))) (if_statement "if (iStack_ac == *piVar15) {\n    return;\n  }" if (parenthesized_expression "(iStack_ac == *piVar15)" ( (binary_expression "iStack_ac == *piVar15" identifier == (pointer_expression "*piVar15" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = *(code **)(puStack_b8 + -0x75ec);" (assignment_expression "pcVar5 = *(code **)(puStack_b8 + -0x75ec)" identifier = (pointer_expression "*(code **)(puStack_b8 + -0x75ec)" * (cast_expression "(code **)(puStack_b8 + -0x75ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_b8 + -0x75ec)" ( (binary_expression "puStack_b8 + -0x75ec" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = 0x429d8;" (assignment_expression "uVar7 = 0x429d8" identifier = number_literal) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar19 = *(int **)(pcVar5 + 0x6b2fc);" (assignment_expression "piVar19 = *(int **)(pcVar5 + 0x6b2fc)" identifier = (pointer_expression "*(int **)(pcVar5 + 0x6b2fc)" * (cast_expression "(int **)(pcVar5 + 0x6b2fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6b2fc)" ( (binary_expression "pcVar5 + 0x6b2fc" identifier + number_literal) ))))) ;) (expression_statement "iStack_10c = *piVar19;" (assignment_expression "iStack_10c = *piVar19" identifier = (pointer_expression "*piVar19" * identifier)) ;) (expression_statement "iStack_108 = iVar13;" (assignment_expression "iStack_108 = iVar13" identifier = identifier) ;) (expression_statement "piStack_104 = piVar15;" (assignment_expression "piStack_104 = piVar15" identifier = identifier) ;) (expression_statement "uStack_100 = unaff_s2;" (assignment_expression "uStack_100 = unaff_s2" identifier = identifier) ;) (expression_statement "iStack_fc = param_1;" (assignment_expression "iStack_fc = param_1" identifier = identifier) ;) (expression_statement "piStack_f8 = piVar11;" (assignment_expression "piStack_f8 = piVar11" identifier = identifier) ;) (expression_statement "piStack_f4 = piVar12;" (assignment_expression "piStack_f4 = piVar12" identifier = identifier) ;) (expression_statement "puStack_f0 = puVar23;" (assignment_expression "puStack_f0 = puVar23" identifier = identifier) ;) (expression_statement "uStack_ec = uVar7;" (assignment_expression "uStack_ec = uVar7" identifier = identifier) ;) (expression_statement "iVar13 = FUN_0002f068(uVar14);" (assignment_expression "iVar13 = FUN_0002f068(uVar14)" identifier = (call_expression "FUN_0002f068(uVar14)" identifier (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "FUN_0002fb84();" (call_expression "FUN_0002fb84()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar7 = FUN_0002f068(uVar14);" (assignment_expression "uVar7 = FUN_0002f068(uVar14)" identifier = (call_expression "FUN_0002f068(uVar14)" identifier (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }" if (parenthesized_expression "(iStack_12c == 0)" ( (binary_expression "iStack_12c == 0" identifier == number_literal) )) (compound_statement "{\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }" { (expression_statement "iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;" (assignment_expression "iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4" identifier = (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x22a4" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);" (assignment_expression "iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a900))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a900)" * (pointer_expression "*(code **)(pcVar5 + 0x6a900)" * (cast_expression "(code **)(pcVar5 + 0x6a900)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a900)" ( (binary_expression "pcVar5 + 0x6a900" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" ( (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x1de0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) (expression_statement "uStack_124 = uVar7;" (assignment_expression "uStack_124 = uVar7" identifier = identifier) ;) (expression_statement "iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);" (assignment_expression "iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aaa0))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aaa0)" * (pointer_expression "*(code **)(pcVar5 + 0x6aaa0)" * (cast_expression "(code **)(pcVar5 + 0x6aaa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aaa0)" ( (binary_expression "pcVar5 + 0x6aaa0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" ( (pointer_expression "*(undefined4 *)(iVar18 + 0x13c)" * (cast_expression "(undefined4 *)(iVar18 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x13c)" ( (binary_expression "iVar18 + 0x13c" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }" { (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7)" identifier (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7)" ( identifier , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x71c" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" else (compound_statement "{\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" { (expression_statement "piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);" (assignment_expression "piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" identifier = (cast_expression "(int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa3c))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aa3c)" * (pointer_expression "*(code **)(pcVar5 + 0x6aa3c)" * (cast_expression "(code **)(pcVar5 + 0x6aa3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aa3c)" ( (binary_expression "pcVar5 + 0x6aa3c" identifier + number_literal) ))))) )) (argument_list "(1,0x5c)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar15 = iVar18;" (assignment_expression "*piVar15 = iVar18" (pointer_expression "*piVar15" * identifier) = identifier) ;) (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7)" identifier (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7)" ( identifier , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x6f0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));" (assignment_expression "iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" identifier = (call_expression "pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" identifier (argument_list "(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" ( (binary_expression "piVar15 + 0x13" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(iVar18 + 0x248)" * (cast_expression "(undefined4 *)(iVar18 + 0x248)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x248)" ( (binary_expression "iVar18 + 0x248" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24)" * (cast_expression "(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 0x18) + 0x24)" ( (binary_expression "*(int *)(iVar8 + 0x18) + 0x24" (pointer_expression "*(int *)(iVar8 + 0x18)" * (cast_expression "(int *)(iVar8 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x18)" ( (binary_expression "iVar8 + 0x18" identifier + number_literal) )))) + number_literal) )))) )))) ;) (if_statement "if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }" { (expression_statement "FUN_00036678(piVar15);" (call_expression "FUN_00036678(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) (expression_statement "piVar15[3] = 3;" (assignment_expression "piVar15[3] = 3" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[1] = iVar13;" (assignment_expression "piVar15[1] = iVar13" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[4] = 0;" (assignment_expression "piVar15[4] = 0" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);" (call_expression "FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0)" identifier (argument_list "(iVar18,0x15,1,iVar13,1,piVar15[2],0)" ( identifier , number_literal , number_literal , identifier , number_literal , (subscript_expression "piVar15[2]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;" (assignment_expression "iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10" identifier = (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe10" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);" (call_expression "(**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa30))" ( (pointer_expression "**(code **)(pcVar5 + 0x6aa30)" * (pointer_expression "*(code **)(pcVar5 + 0x6aa30)" * (cast_expression "(code **)(pcVar5 + 0x6aa30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6aa30)" ( (binary_expression "pcVar5 + 0x6aa30" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar18 + 0x110),iVar8)" ( (pointer_expression "*(undefined4 *)(iVar18 + 0x110)" * (cast_expression "(undefined4 *)(iVar18 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x110)" ( (binary_expression "iVar18 + 0x110" identifier + number_literal) )))) , identifier ))) ;) (goto_statement "goto LAB_00042b8c;" goto statement_identifier ;) })) (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8)" identifier (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8)" ( identifier , (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe28" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" * (cast_expression "(int *)(pcVar5 + 0x6a8f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a8f0)" ( (binary_expression "pcVar5 + 0x6a8f0" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "safefree(iVar8);" (call_expression "safefree(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))) ;) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) }))) (expression_statement "iVar8 = 0x16;" (assignment_expression "iVar8 = 0x16" identifier = number_literal) ;) (expression_statement "FUN_00041954(iVar18,0x16,1,iVar13,0);" (call_expression "FUN_00041954(iVar18,0x16,1,iVar13,0)" identifier (argument_list "(iVar18,0x16,1,iVar13,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) (labeled_statement "LAB_00042b8c:\n  iVar13 = iStack_11c;" statement_identifier : (expression_statement "iVar13 = iStack_11c;" (assignment_expression "iVar13 = iStack_11c" identifier = identifier) ;)) (expression_statement "safefree();" (call_expression "safefree()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iStack_10c == *piVar19) {\n    return;\n  }" if (parenthesized_expression "(iStack_10c == *piVar19)" ( (binary_expression "iStack_10c == *piVar19" identifier == (pointer_expression "*piVar19" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = *(code **)(pcVar5 + 0x6b2cc);" (assignment_expression "pcVar5 = *(code **)(pcVar5 + 0x6b2cc)" identifier = (pointer_expression "*(code **)(pcVar5 + 0x6b2cc)" * (cast_expression "(code **)(pcVar5 + 0x6b2cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6b2cc)" ( (binary_expression "pcVar5 + 0x6b2cc" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar18 = FUN_0002f068(iVar8);" (assignment_expression "iVar18 = FUN_0002f068(iVar8)" identifier = (call_expression "FUN_0002f068(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a784)" * (pointer_expression "*(code **)(pcVar5 + 0x6a784)" * (cast_expression "(code **)(pcVar5 + 0x6a784)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a784)" ( (binary_expression "pcVar5 + 0x6a784" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" * (cast_expression "(undefined4 *)(iVar13 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x110)" ( (binary_expression "iVar13 + 0x110" identifier + number_literal) )))) , (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0x6c4" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" * (cast_expression "(int *)(pcVar5 + 0x6a644)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a644)" ( (binary_expression "pcVar5 + 0x6a644" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar13 + 0x4c) == 0)" ( (binary_expression "*(int *)(iVar13 + 0x4c) == 0" (pointer_expression "*(int *)(iVar13 + 0x4c)" * (cast_expression "(int *)(iVar13 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x4c)" ( (binary_expression "iVar13 + 0x4c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }" { (expression_statement "FUN_00041954(iVar13,0x16,1,iVar18,0);" (call_expression "FUN_00041954(iVar13,0x16,1,iVar18,0)" identifier (argument_list "(iVar13,0x16,1,iVar18,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a784)" * (pointer_expression "*(code **)(pcVar5 + 0x6a784)" * (cast_expression "(code **)(pcVar5 + 0x6a784)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a784)" ( (binary_expression "pcVar5 + 0x6a784" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" * (cast_expression "(undefined4 *)(iVar13 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x110)" ( (binary_expression "iVar13 + 0x110" identifier + number_literal) )))) , (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0x6a4" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" * (cast_expression "(int *)(pcVar5 + 0x6a644)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a644)" ( (binary_expression "pcVar5 + 0x6a644" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);" (assignment_expression "piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" identifier = (cast_expression "(int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a790))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a790)" * (pointer_expression "*(code **)(pcVar5 + 0x6a790)" * (cast_expression "(code **)(pcVar5 + 0x6a790)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a790)" ( (binary_expression "pcVar5 + 0x6a790" identifier + number_literal) ))))) )) (argument_list "(1,0x5c)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar15 = iVar13;" (assignment_expression "*piVar15 = iVar13" (pointer_expression "*piVar15" * identifier) = identifier) ;) (expression_statement "FUN_00036678(piVar15);" (call_expression "FUN_00036678(piVar15)" identifier (argument_list "(piVar15)" ( identifier ))) ;) (expression_statement "iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);" (assignment_expression "iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" identifier = (call_expression "(**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6ab54))" ( (pointer_expression "**(code **)(pcVar5 + 0x6ab54)" * (pointer_expression "*(code **)(pcVar5 + 0x6ab54)" * (cast_expression "(code **)(pcVar5 + 0x6ab54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6ab54)" ( (binary_expression "pcVar5 + 0x6ab54" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x194)" * (cast_expression "(undefined4 *)(iVar13 + 0x194)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x194)" ( (binary_expression "iVar13 + 0x194" identifier + number_literal) )))) , identifier , number_literal , number_literal )))) ;) (expression_statement "piVar15[0x13] = iVar8;" (assignment_expression "piVar15[0x13] = iVar8" (subscript_expression "piVar15[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[1] = iVar18;" (assignment_expression "piVar15[1] = iVar18" (subscript_expression "piVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar15[4] = 0;" (assignment_expression "piVar15[4] = 0" (subscript_expression "piVar15[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar15[3] = 1;" (assignment_expression "piVar15[3] = 1" (subscript_expression "piVar15[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);" (call_expression "FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0)" identifier (argument_list "(iVar13,0x15,1,iVar18,1,piVar15[2],0)" ( identifier , number_literal , number_literal , identifier , number_literal , (subscript_expression "piVar15[2]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" ( (pointer_expression "**(code **)(pcVar5 + 0x6a784)" * (pointer_expression "*(code **)(pcVar5 + 0x6a784)" * (cast_expression "(code **)(pcVar5 + 0x6a784)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x6a784)" ( (binary_expression "pcVar5 + 0x6a784" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8)" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" * (cast_expression "(undefined4 *)(iVar13 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x110)" ( (binary_expression "iVar13 + 0x110" identifier + number_literal) )))) , (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0xdb8" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" * (cast_expression "(int *)(pcVar5 + 0x6a644)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x6a644)" ( (binary_expression "pcVar5 + 0x6a644" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })))
(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 (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 * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression & IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = LIT) ;) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_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 ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( BOOL )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (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 ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (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) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (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) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) 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 = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) }))) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (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 = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT - LIT) , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) }))) })) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , LIT , (subscript_expression IDENT [ LIT ]) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , LIT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , LIT , (subscript_expression IDENT [ LIT ]) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000419f8(int param_1,undefined4 param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    \n                    \n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000419f8(int param_1,undefined4 param_2)" (identifier "FUN_000419f8") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  code *pcVar10;\n  int *piVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int iVar18;\n  int *piVar19;\n  char *pcVar20;\n  int *piVar21;\n  uint unaff_s2;\n  uint uVar22;\n  undefined *puVar23;\n  undefined *puVar24;\n  int *piVar25;\n  undefined4 uStack_130;\n  int iStack_12c;\n  undefined1 auStack_128 [4];\n  undefined4 uStack_124;\n  int iStack_11c;\n  int iStack_10c;\n  int iStack_108;\n  int *piStack_104;\n  uint uStack_100;\n  int iStack_fc;\n  int *piStack_f8;\n  int *piStack_f4;\n  undefined *puStack_f0;\n  undefined4 uStack_ec;\n  int iStack_d8;\n  undefined4 uStack_d4;\n  int iStack_d0;\n  undefined4 uStack_cc;\n  int iStack_c8;\n  undefined4 uStack_c4;\n  undefined4 uStack_c0;\n  undefined *puStack_b8;\n  int iStack_b0;\n  int iStack_ac;\n  uint uStack_a8;\n  int *piStack_a4;\n  uint uStack_a0;\n  int iStack_9c;\n  int *piStack_98;\n  code *pcStack_94;\n  int *local_80;\n  int *local_7c;\n  int *local_78;\n  int local_74;\n  undefined4 local_70;\n  int *local_54;\n  undefined1 local_31;\n  int *local_30;\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_000adcd4;\n  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;\n  iVar13 = *(int *)(param_1 + 0x140);\n  iVar18 = 0;\n  if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }\n  piVar15 = (int *)0x0;\n  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);\n  puVar23 = PTR_DAT_000ad2c8;\n  if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }\n  puVar23 = PTR_DAT_000ad2c8;\n  iVar13 = 0;\n  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);\n  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);\n  do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );\njoined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;\n  if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }\n  uVar22 = uVar22 + 1;\n  iVar13 = *(int *)(param_1 + 0x140);\n  uVar14 = uVar22;\n  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n  goto joined_r0x00041f0c;\nLAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }\n  pcVar5 = FUN_00042824;\n  puVar24 = PTR___stack_chk_fail_000adca4;\n  (*(code *)PTR___stack_chk_fail_000adca4)();\n  puStack_b8 = puVar24 + 0x72a6c;\n  *(uint *)(iVar13 + 0x11c) = uVar14;\n  *(int **)(iVar13 + 0x120) = piVar15;\n  piVar15 = *(int **)(puVar24 + 0x6b4b0);\n  iVar18 = *piVar15;\n  iStack_ac = iVar18;\n  uStack_a8 = uVar22;\n  piStack_a4 = piVar21;\n  uStack_a0 = unaff_s2;\n  iStack_9c = param_1;\n  piStack_98 = piVar11;\n  pcStack_94 = pcVar5;\n  if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }\n  if (iStack_ac == *piVar15) {\n    return;\n  }\n  pcVar5 = *(code **)(puStack_b8 + -0x75ec);\n  uVar7 = 0x429d8;\n  (*pcVar5)();\n  piVar19 = *(int **)(pcVar5 + 0x6b2fc);\n  iStack_10c = *piVar19;\n  iStack_108 = iVar13;\n  piStack_104 = piVar15;\n  uStack_100 = unaff_s2;\n  iStack_fc = param_1;\n  piStack_f8 = piVar11;\n  piStack_f4 = piVar12;\n  puStack_f0 = puVar23;\n  uStack_ec = uVar7;\n  iVar13 = FUN_0002f068(uVar14);\n  FUN_0002fb84();\n  uVar7 = FUN_0002f068(uVar14);\n  if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }\n  iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);\n  uStack_124 = uVar7;\n  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);\n  if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }\n  iVar8 = 0x16;\n  FUN_00041954(iVar18,0x16,1,iVar13,0);\nLAB_00042b8c:\n  iVar13 = iStack_11c;\n  safefree();\n  if (iStack_10c == *piVar19) {\n    return;\n  }\n  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);\n  (*pcVar5)();\n  iVar18 = FUN_0002f068(iVar8);\n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);\n  if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }\n  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);\n  *piVar15 = iVar13;\n  FUN_00036678(piVar15);\n  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);\n  piVar15[0x13] = iVar8;\n  piVar15[1] = iVar18;\n  piVar15[4] = 0;\n  piVar15[3] = 1;\n  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);\n                    \n                    \n  (**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "code *pcVar10;" (type_identifier "code") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (declaration "int *piVar16;" (primitive_type "int") (pointer_declarator "*piVar16" (* "*") (identifier "piVar16")) (; ";")) (declaration "undefined *puVar17;" (type_identifier "undefined") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int *piVar19;" (primitive_type "int") (pointer_declarator "*piVar19" (* "*") (identifier "piVar19")) (; ";")) (declaration "char *pcVar20;" (primitive_type "char") (pointer_declarator "*pcVar20" (* "*") (identifier "pcVar20")) (; ";")) (declaration "int *piVar21;" (primitive_type "int") (pointer_declarator "*piVar21" (* "*") (identifier "piVar21")) (; ";")) (declaration "uint unaff_s2;" (type_identifier "uint") (identifier "unaff_s2") (; ";")) (declaration "uint uVar22;" (type_identifier "uint") (identifier "uVar22") (; ";")) (declaration "undefined *puVar23;" (type_identifier "undefined") (pointer_declarator "*puVar23" (* "*") (identifier "puVar23")) (; ";")) (declaration "undefined *puVar24;" (type_identifier "undefined") (pointer_declarator "*puVar24" (* "*") (identifier "puVar24")) (; ";")) (declaration "int *piVar25;" (primitive_type "int") (pointer_declarator "*piVar25" (* "*") (identifier "piVar25")) (; ";")) (declaration "undefined4 uStack_130;" (type_identifier "undefined4") (identifier "uStack_130") (; ";")) (declaration "int iStack_12c;" (primitive_type "int") (identifier "iStack_12c") (; ";")) (declaration "undefined1 auStack_128 [4];" (type_identifier "undefined1") (array_declarator "auStack_128 [4]" (identifier "auStack_128") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 uStack_124;" (type_identifier "undefined4") (identifier "uStack_124") (; ";")) (declaration "int iStack_11c;" (primitive_type "int") (identifier "iStack_11c") (; ";")) (declaration "int iStack_10c;" (primitive_type "int") (identifier "iStack_10c") (; ";")) (declaration "int iStack_108;" (primitive_type "int") (identifier "iStack_108") (; ";")) (declaration "int *piStack_104;" (primitive_type "int") (pointer_declarator "*piStack_104" (* "*") (identifier "piStack_104")) (; ";")) (declaration "uint uStack_100;" (type_identifier "uint") (identifier "uStack_100") (; ";")) (declaration "int iStack_fc;" (primitive_type "int") (identifier "iStack_fc") (; ";")) (declaration "int *piStack_f8;" (primitive_type "int") (pointer_declarator "*piStack_f8" (* "*") (identifier "piStack_f8")) (; ";")) (declaration "int *piStack_f4;" (primitive_type "int") (pointer_declarator "*piStack_f4" (* "*") (identifier "piStack_f4")) (; ";")) (declaration "undefined *puStack_f0;" (type_identifier "undefined") (pointer_declarator "*puStack_f0" (* "*") (identifier "puStack_f0")) (; ";")) (declaration "undefined4 uStack_ec;" (type_identifier "undefined4") (identifier "uStack_ec") (; ";")) (declaration "int iStack_d8;" (primitive_type "int") (identifier "iStack_d8") (; ";")) (declaration "undefined4 uStack_d4;" (type_identifier "undefined4") (identifier "uStack_d4") (; ";")) (declaration "int iStack_d0;" (primitive_type "int") (identifier "iStack_d0") (; ";")) (declaration "undefined4 uStack_cc;" (type_identifier "undefined4") (identifier "uStack_cc") (; ";")) (declaration "int iStack_c8;" (primitive_type "int") (identifier "iStack_c8") (; ";")) (declaration "undefined4 uStack_c4;" (type_identifier "undefined4") (identifier "uStack_c4") (; ";")) (declaration "undefined4 uStack_c0;" (type_identifier "undefined4") (identifier "uStack_c0") (; ";")) (declaration "undefined *puStack_b8;" (type_identifier "undefined") (pointer_declarator "*puStack_b8" (* "*") (identifier "puStack_b8")) (; ";")) (declaration "int iStack_b0;" (primitive_type "int") (identifier "iStack_b0") (; ";")) (declaration "int iStack_ac;" (primitive_type "int") (identifier "iStack_ac") (; ";")) (declaration "uint uStack_a8;" (type_identifier "uint") (identifier "uStack_a8") (; ";")) (declaration "int *piStack_a4;" (primitive_type "int") (pointer_declarator "*piStack_a4" (* "*") (identifier "piStack_a4")) (; ";")) (declaration "uint uStack_a0;" (type_identifier "uint") (identifier "uStack_a0") (; ";")) (declaration "int iStack_9c;" (primitive_type "int") (identifier "iStack_9c") (; ";")) (declaration "int *piStack_98;" (primitive_type "int") (pointer_declarator "*piStack_98" (* "*") (identifier "piStack_98")) (; ";")) (declaration "code *pcStack_94;" (type_identifier "code") (pointer_declarator "*pcStack_94" (* "*") (identifier "pcStack_94")) (; ";")) (declaration "int *local_80;" (primitive_type "int") (pointer_declarator "*local_80" (* "*") (identifier "local_80")) (; ";")) (declaration "int *local_7c;" (primitive_type "int") (pointer_declarator "*local_7c" (* "*") (identifier "local_7c")) (; ";")) (declaration "int *local_78;" (primitive_type "int") (pointer_declarator "*local_78" (* "*") (identifier "local_78")) (; ";")) (declaration "int local_74;" (primitive_type "int") (identifier "local_74") (; ";")) (declaration "undefined4 local_70;" (type_identifier "undefined4") (identifier "local_70") (; ";")) (declaration "int *local_54;" (primitive_type "int") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "undefined1 local_31;" (type_identifier "undefined1") (identifier "local_31") (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar24 = PTR___stack_chk_guard_000adcd4;" (assignment_expression "puVar24 = PTR___stack_chk_guard_000adcd4" (identifier "puVar24") (= "=") (identifier "PTR___stack_chk_guard_000adcd4")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000adcd4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000adcd4" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000adcd4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000adcd4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000adcd4")))) (; ";")) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(param_1 + 0x140)" (* "*") (cast_expression "(int *)(param_1 + 0x140)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" (identifier "iVar18") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar13 == 0) {\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }\n  else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);\n    *(undefined4 *)(param_1 + 0x140) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" (( "(") (pointer_expression "*(code *)PTR_newtree234_000ad464" (* "*") (cast_expression "(code *)PTR_newtree234_000ad464" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_newtree234_000ad464"))) () ")")) (argument_list "(PTR_LAB_000ad5b0 + 0x6288)" (( "(") (binary_expression "PTR_LAB_000ad5b0 + 0x6288" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x6288")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x140) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x140) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}")) (else_clause "else {\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" (else "else") (compound_statement "{\n    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }\n  }" ({ "{") (while_statement "while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0) {\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }" (while "while") (parenthesized_expression "(puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),\n          puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000ad470)(iVar13,iVar18)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" (( "(") (pointer_expression "*(code *)PTR_index234_000ad470" (* "*") (cast_expression "(code *)PTR_index234_000ad470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000ad470"))) () ")")) (argument_list "(iVar13,iVar18)" (( "(") (identifier "iVar13") (, ",") (identifier "iVar18") () ")"))))) (, ",") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      iVar18 = iVar18 + 1;\n      iVar13 = *(int *)(param_1 + 0x140);\n      *puVar3 = 0;\n    }" ({ "{") (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" (identifier "iVar18") (= "=") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(param_1 + 0x140)" (* "*") (cast_expression "(int *)(param_1 + 0x140)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (expression_statement "piVar15 = (int *)0x0;" (assignment_expression "piVar15 = (int *)0x0" (identifier "piVar15") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" (( "(") (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" (* "*") (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_str_strs_000ad5d8"))) () ")")) (argument_list "(param_2,0x9b,0,&local_30)" (( "(") (identifier "param_2") (, ",") (number_literal "0x9b") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" (identifier "puVar23") (= "=") (identifier "PTR_DAT_000ad2c8")) (; ";")) (if_statement "if (iVar13 != 0) {\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }" (if "if") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;\n    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);\n    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;\n    do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);\n  }" ({ "{") (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x1de0;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x1de0" (identifier "puVar4") (= "=") (binary_expression "PTR_DAT_000ad2c8 + -0x1de0" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x1de0"))) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_000ad5b0 + -0xe98)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000ad5b0 + -0xe98)" (( "(") (binary_expression "PTR_LAB_000ad5b0 + -0xe98" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "-0xe98")) () ")")))) (; ";")) (expression_statement "puVar6 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + 0x7b40" (identifier "puVar6") (= "=") (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x7b40"))) (; ";")) (do_statement "do {\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    } while (iVar13 != 0);" (do "do") (compound_statement "{\n      uVar22 = (uint)*(char *)local_30;\n      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }\n      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);\n      piVar19 = piVar15;\n      if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }\n      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);\n      if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }\n      if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }\n      piVar15 = local_30;\n      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);\n    }" ({ "{") (expression_statement "uVar22 = (uint)*(char *)local_30;" (assignment_expression "uVar22 = (uint)*(char *)local_30" (identifier "uVar22") (= "=") (binary_expression "(uint)*(char *)local_30" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(char *)local_30" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_30")))) (; ";")) (if_statement "if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }\n      else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" (if "if") (parenthesized_expression "((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34))" (( "(") (binary_expression "(uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)" (parenthesized_expression "(uVar22 == 0x41)" (( "(") (binary_expression "uVar22 == 0x41" (identifier "uVar22") (== "==") (number_literal "0x41")) () ")")) (|| "||") (parenthesized_expression "((uVar22 & 0xfffffffd) == 0x34)" (( "(") (binary_expression "(uVar22 & 0xfffffffd) == 0x34" (parenthesized_expression "(uVar22 & 0xfffffffd)" (( "(") (binary_expression "uVar22 & 0xfffffffd" (identifier "uVar22") (& "&") (number_literal "0xfffffffd")) () ")")) (== "==") (number_literal "0x34")) () ")"))) () ")")) (compound_statement "{\n        unaff_s2 = (uint)*(char *)((int)local_30 + 1);\n        piVar15 = (int *)((int)local_30 + 1);\n        if (unaff_s2 != 0x4c) goto LAB_00041c3c;\nLAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);\n      }" ({ "{") (expression_statement "unaff_s2 = (uint)*(char *)((int)local_30 + 1);" (assignment_expression "unaff_s2 = (uint)*(char *)((int)local_30 + 1)" (identifier "unaff_s2") (= "=") (binary_expression "(uint)*(char *)((int)local_30 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(char *)((int)local_30 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_30 + 1)" (( "(") (binary_expression "(int)local_30 + 1" (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "piVar15 = (int *)((int)local_30 + 1);" (assignment_expression "piVar15 = (int *)((int)local_30 + 1)" (identifier "piVar15") (= "=") (cast_expression "(int *)((int)local_30 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_30 + 1)" (( "(") (binary_expression "(int)local_30 + 1" (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (unaff_s2 != 0x4c) goto LAB_00041c3c;" (if "if") (parenthesized_expression "(unaff_s2 != 0x4c)" (( "(") (binary_expression "unaff_s2 != 0x4c" (identifier "unaff_s2") (!= "!=") (number_literal "0x4c")) () ")")) (goto_statement "goto LAB_00041c3c;" (goto "goto") (statement_identifier "LAB_00041c3c") (; ";"))) (labeled_statement "LAB_00041d7c:\n        piVar15 = (int *)((int)piVar15 + 1);" (statement_identifier "LAB_00041d7c") (: ":") (expression_statement "piVar15 = (int *)((int)piVar15 + 1);" (assignment_expression "piVar15 = (int *)((int)piVar15 + 1)" (identifier "piVar15") (= "=") (cast_expression "(int *)((int)piVar15 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar15 + 1)" (( "(") (binary_expression "(int)piVar15 + 1" (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15")) (+ "+") (number_literal "1")) () ")")))) (; ";"))) (} "}")) (else_clause "else {\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" (else "else") (compound_statement "{\n        bVar1 = uVar22 == 0x4c;\n        piVar15 = local_30;\n        unaff_s2 = uVar22;\n        uVar22 = 0x41;\n        if (bVar1) goto LAB_00041d7c;\nLAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;\n        unaff_s2 = 0x4c;\n      }" ({ "{") (expression_statement "bVar1 = uVar22 == 0x4c;" (assignment_expression "bVar1 = uVar22 == 0x4c" (identifier "bVar1") (= "=") (binary_expression "uVar22 == 0x4c" (identifier "uVar22") (== "==") (number_literal "0x4c"))) (; ";")) (expression_statement "piVar15 = local_30;" (assignment_expression "piVar15 = local_30" (identifier "piVar15") (= "=") (identifier "local_30")) (; ";")) (expression_statement "unaff_s2 = uVar22;" (assignment_expression "unaff_s2 = uVar22" (identifier "unaff_s2") (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar22 = 0x41;" (assignment_expression "uVar22 = 0x41" (identifier "uVar22") (= "=") (number_literal "0x41")) (; ";")) (if_statement "if (bVar1) goto LAB_00041d7c;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (goto_statement "goto LAB_00041d7c;" (goto "goto") (statement_identifier "LAB_00041d7c") (; ";"))) (labeled_statement "LAB_00041c3c:\n        if (unaff_s2 == 0x52) goto LAB_00041d7c;" (statement_identifier "LAB_00041c3c") (: ":") (if_statement "if (unaff_s2 == 0x52) goto LAB_00041d7c;" (if "if") (parenthesized_expression "(unaff_s2 == 0x52)" (( "(") (binary_expression "unaff_s2 == 0x52" (identifier "unaff_s2") (== "==") (number_literal "0x52")) () ")")) (goto_statement "goto LAB_00041d7c;" (goto "goto") (statement_identifier "LAB_00041d7c") (; ";")))) (expression_statement "unaff_s2 = 0x4c;" (assignment_expression "unaff_s2 = 0x4c" (identifier "unaff_s2") (= "=") (number_literal "0x4c")) (; ";")) (} "}")))) (expression_statement "iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);" (assignment_expression "iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a)" (identifier "iVar18") (= "=") (call_expression "(*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a)" (parenthesized_expression "(*(code *)PTR_host_strchr_000ad37c)" (( "(") (pointer_expression "*(code *)PTR_host_strchr_000ad37c" (* "*") (cast_expression "(code *)PTR_host_strchr_000ad37c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_host_strchr_000ad37c"))) () ")")) (argument_list "(piVar15,0x3a)" (( "(") (identifier "piVar15") (, ",") (number_literal "0x3a") () ")")))) (; ";")) (expression_statement "piVar19 = piVar15;" (assignment_expression "piVar19 = piVar15" (identifier "piVar19") (= "=") (identifier "piVar15")) (; ";")) (if_statement "if (iVar18 != 0) {\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }" (if "if") (parenthesized_expression "(iVar18 != 0)" (( "(") (binary_expression "iVar18 != 0" (identifier "iVar18") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar19 = (int *)(iVar18 + 1);\n        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);\n        iVar18 = host_strduptrim(uVar7);\n        safefree(uVar7);\n      }" ({ "{") (expression_statement "piVar19 = (int *)(iVar18 + 1);" (assignment_expression "piVar19 = (int *)(iVar18 + 1)" (identifier "piVar19") (= "=") (cast_expression "(int *)(iVar18 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 1)" (( "(") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);" (assignment_expression "uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15)" (identifier "uVar7") (= "=") (call_expression "dupprintf(puVar4,iVar18 - (int)piVar15,piVar15)" (identifier "dupprintf") (argument_list "(puVar4,iVar18 - (int)piVar15,piVar15)" (( "(") (identifier "puVar4") (, ",") (binary_expression "iVar18 - (int)piVar15" (identifier "iVar18") (- "-") (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15"))) (, ",") (identifier "piVar15") () ")")))) (; ";")) (expression_statement "iVar18 = host_strduptrim(uVar7);" (assignment_expression "iVar18 = host_strduptrim(uVar7)" (identifier "iVar18") (= "=") (call_expression "host_strduptrim(uVar7)" (identifier "host_strduptrim") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "safefree(uVar7);" (call_expression "safefree(uVar7)" (identifier "safefree") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);" (assignment_expression "iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_strtol_000adb28)(piVar19,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" (( "(") (pointer_expression "*(code *)PTR_strtol_000adb28" (* "*") (cast_expression "(code *)PTR_strtol_000adb28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_000adb28"))) () ")")) (argument_list "(piVar19,0,10)" (( "(") (identifier "piVar19") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }\n      else {\n        bVar1 = false;\n      }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);\n        if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }\n      }" ({ "{") (expression_statement "iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);" (assignment_expression "iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(piVar19)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" (( "(") (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" (* "*") (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_net_service_lookup_000ad7ec"))) () ")")) (argument_list "(piVar19)" (( "(") (identifier "piVar19") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }\n        else {\n          bVar1 = true;\n        }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);\n          bVar1 = true;\n        }" ({ "{") (expression_statement "(*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);" (call_expression "(*pcVar5)(param_1,puVar23 + -0x8cc,piVar19)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,puVar23 + -0x8cc,piVar19)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar23 + -0x8cc" (identifier "puVar23") (+ "+") (number_literal "-0x8cc")) (, ",") (identifier "piVar19") () ")"))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n          bVar1 = true;\n        }" (else "else") (compound_statement "{\n          bVar1 = true;\n        }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        bVar1 = false;\n      }" (else "else") (compound_statement "{\n        bVar1 = false;\n      }" ({ "{") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")))) (if_statement "if ((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }\n      else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" (if "if") (parenthesized_expression "((unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0))" (( "(") (binary_expression "(unaff_s2 == 0x4c) &&\n         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)" (parenthesized_expression "(unaff_s2 == 0x4c)" (( "(") (binary_expression "unaff_s2 == 0x4c" (identifier "unaff_s2") (== "==") (number_literal "0x4c")) () ")")) (&& "&&") (parenthesized_expression "(iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)" (( "(") (comma_expression "iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" (parenthesized_expression "(*(code *)PTR_strcmp_000add14)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000add14" (* "*") (cast_expression "(code *)PTR_strcmp_000add14" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000add14"))) () ")")) (argument_list "(iVar13,PTR_DAT_000ad2c8 + 0x78e4)" (( "(") (identifier "iVar13") (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0x78e4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x78e4")) () ")")))) (, ",") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }\n      }" ({ "{") (if_statement "if (iVar8 == 0) {\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }\n        else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar13 = 0;\nLAB_00041d44:\n          safefree(iVar18);\n          safefree(iVar13);\n        }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00041d44:\n          safefree(iVar18);" (statement_identifier "LAB_00041d44") (: ":") (expression_statement "safefree(iVar18);" (call_expression "safefree(iVar18)" (identifier "safefree") (argument_list "(iVar18)" (( "(") (identifier "iVar18") () ")"))) (; ";"))) (expression_statement "safefree(iVar13);" (call_expression "safefree(iVar13)" (identifier "safefree") (argument_list "(iVar13)" (( "(") (identifier "iVar13") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" (else "else") (compound_statement "{\n          piVar15 = (int *)safemalloc(1,0x2c);\n          piVar15[4] = iVar18;\n          piVar15[1] = 0x44;\n          iVar9 = -1;\n          if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }\n          piVar15[6] = 0;\n          iVar13 = 0;\n          piVar15[2] = iVar8;\n          piVar15[5] = 0;\nLAB_00041b48:\n          piVar15[7] = iVar13;\n          piVar15[3] = iVar9;\n          piVar15[10] = 0;\n          piVar15[8] = 0;\n          if (uVar22 != 0x34) goto LAB_00041b60;\nLAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;\n          uVar7 = *(undefined4 *)(param_1 + 0x140);\n          piVar15[9] = 1;\n          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n          if (piVar15 != piVar19) goto LAB_00041b8c;\nLAB_00041e4c:\n          *piVar15 = 2;\n        }" ({ "{") (expression_statement "piVar15 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar15 = (int *)safemalloc(1,0x2c)" (identifier "piVar15") (= "=") (cast_expression "(int *)safemalloc(1,0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "safemalloc(1,0x2c)" (identifier "safemalloc") (argument_list "(1,0x2c)" (( "(") (number_literal "1") (, ",") (number_literal "0x2c") () ")"))))) (; ";")) (expression_statement "piVar15[4] = iVar18;" (assignment_expression "piVar15[4] = iVar18" (subscript_expression "piVar15[4]" (identifier "piVar15") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "piVar15[1] = 0x44;" (assignment_expression "piVar15[1] = 0x44" (subscript_expression "piVar15[1]" (identifier "piVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x44")) (; ";")) (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" (identifier "iVar9") (= "=") (number_literal "-1")) (; ";")) (if_statement "if (bVar1) {\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n            iVar13 = 0;\n            pcVar20 = (char *)0x0;\n            bVar2 = false;\nLAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);\n            piVar15[6] = iVar18;\n            piVar15[2] = iVar8;\n            piVar15[5] = iVar13;\n            goto joined_r0x00042688;\n          }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar20 = (char *)0x0;" (assignment_expression "pcVar20 = (char *)0x0" (identifier "pcVar20") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (labeled_statement "LAB_00042660:\n            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);" (statement_identifier "LAB_00042660") (: ":") (expression_statement "iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);" (assignment_expression "iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19)" (identifier "iVar18") (= "=") (call_expression "(*(code *)PTR_dupstr_000ad2dc)(piVar19)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" (( "(") (pointer_expression "*(code *)PTR_dupstr_000ad2dc" (* "*") (cast_expression "(code *)PTR_dupstr_000ad2dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_000ad2dc"))) () ")")) (argument_list "(piVar19)" (( "(") (identifier "piVar19") () ")")))) (; ";"))) (expression_statement "piVar15[6] = iVar18;" (assignment_expression "piVar15[6] = iVar18" (subscript_expression "piVar15[6]" (identifier "piVar15") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" (identifier "piVar15") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "piVar15[5] = iVar13;" (assignment_expression "piVar15[5] = iVar13" (subscript_expression "piVar15[5]" (identifier "piVar15") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (goto_statement "goto joined_r0x00042688;" (goto "goto") (statement_identifier "joined_r0x00042688") (; ";")) (} "}"))) (expression_statement "piVar15[6] = 0;" (assignment_expression "piVar15[6] = 0" (subscript_expression "piVar15[6]" (identifier "piVar15") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" (identifier "piVar15") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "piVar15[5] = 0;" (assignment_expression "piVar15[5] = 0" (subscript_expression "piVar15[5]" (identifier "piVar15") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00041b48:\n          piVar15[7] = iVar13;" (statement_identifier "LAB_00041b48") (: ":") (expression_statement "piVar15[7] = iVar13;" (assignment_expression "piVar15[7] = iVar13" (subscript_expression "piVar15[7]" (identifier "piVar15") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar13")) (; ";"))) (expression_statement "piVar15[3] = iVar9;" (assignment_expression "piVar15[3] = iVar9" (subscript_expression "piVar15[3]" (identifier "piVar15") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar15[10] = 0;" (assignment_expression "piVar15[10] = 0" (subscript_expression "piVar15[10]" (identifier "piVar15") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar15[8] = 0;" (assignment_expression "piVar15[8] = 0" (subscript_expression "piVar15[8]" (identifier "piVar15") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar22 != 0x34) goto LAB_00041b60;" (if "if") (parenthesized_expression "(uVar22 != 0x34)" (( "(") (binary_expression "uVar22 != 0x34" (identifier "uVar22") (!= "!=") (number_literal "0x34")) () ")")) (goto_statement "goto LAB_00041b60;" (goto "goto") (statement_identifier "LAB_00041b60") (; ";"))) (labeled_statement "LAB_00041e2c:\n          puVar17 = PTR_add234_000ad45c;" (statement_identifier "LAB_00041e2c") (: ":") (expression_statement "puVar17 = PTR_add234_000ad45c;" (assignment_expression "puVar17 = PTR_add234_000ad45c" (identifier "puVar17") (= "=") (identifier "PTR_add234_000ad45c")) (; ";"))) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x140);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x140)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "piVar15[9] = 1;" (assignment_expression "piVar15[9] = 1" (subscript_expression "piVar15[9]" (identifier "piVar15") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);" (assignment_expression "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15)" (identifier "piVar19") (= "=") (cast_expression "(int *)(*(code *)puVar17)(uVar7,piVar15)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar17)(uVar7,piVar15)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(uVar7,piVar15)" (( "(") (identifier "uVar7") (, ",") (identifier "piVar15") () ")"))))) (; ";")) (if_statement "if (piVar15 != piVar19) goto LAB_00041b8c;" (if "if") (parenthesized_expression "(piVar15 != piVar19)" (( "(") (binary_expression "piVar15 != piVar19" (identifier "piVar15") (!= "!=") (identifier "piVar19")) () ")")) (goto_statement "goto LAB_00041b8c;" (goto "goto") (statement_identifier "LAB_00041b8c") (; ";"))) (labeled_statement "LAB_00041e4c:\n          *piVar15 = 2;" (statement_identifier "LAB_00041e4c") (: ":") (expression_statement "*piVar15 = 2;" (assignment_expression "*piVar15 = 2" (pointer_expression "*piVar15" (* "*") (identifier "piVar15")) (= "=") (number_literal "2")) (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" (else "else") (compound_statement "{\n        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);\n        pcVar20 = (char *)(iVar13 + iVar9);\n        iVar13 = dupprintf(puVar4,iVar9,iVar13);\n        if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }\n        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);\n        if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }\n        if (iVar8 == 0) goto LAB_00041d44;\n        piVar15 = (int *)safemalloc(1,0x2c);\n        piVar15[1] = unaff_s2;\n        piVar15[4] = iVar18;\n        if (bVar1) goto LAB_00042660;\n        piVar15[2] = iVar8;\n        piVar15[5] = iVar13;\n        piVar15[6] = 0;\njoined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }\n        piVar15[3] = iVar9;\n        piVar15[10] = 0;\n        piVar15[7] = 0;\n        piVar15[8] = 0;\n        if (uVar22 == 0x34) goto LAB_00041e2c;\nLAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;\n        iVar13 = 2;\n        uVar7 = *(undefined4 *)(param_1 + 0x140);\n        if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }\n        piVar15[9] = iVar13;\n        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);\n        if (piVar15 == piVar19) goto LAB_00041e4c;\nLAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }\n        safefree(piVar15[4]);\n        safefree(piVar15[5]);\n        safefree(piVar15[6]);\n        safefree(piVar15[7]);\n        safefree(piVar15);\n      }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);" (assignment_expression "iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6)" (parenthesized_expression "(*(code *)PTR_host_strcspn_000ad35c)" (( "(") (pointer_expression "*(code *)PTR_host_strcspn_000ad35c" (* "*") (cast_expression "(code *)PTR_host_strcspn_000ad35c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_host_strcspn_000ad35c"))) () ")")) (argument_list "(iVar13,puVar6)" (( "(") (identifier "iVar13") (, ",") (identifier "puVar6") () ")")))) (; ";")) (expression_statement "pcVar20 = (char *)(iVar13 + iVar9);" (assignment_expression "pcVar20 = (char *)(iVar13 + iVar9)" (identifier "pcVar20") (= "=") (cast_expression "(char *)(iVar13 + iVar9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + iVar9)" (( "(") (binary_expression "iVar13 + iVar9" (identifier "iVar13") (+ "+") (identifier "iVar9")) () ")")))) (; ";")) (expression_statement "iVar13 = dupprintf(puVar4,iVar9,iVar13);" (assignment_expression "iVar13 = dupprintf(puVar4,iVar9,iVar13)" (identifier "iVar13") (= "=") (call_expression "dupprintf(puVar4,iVar9,iVar13)" (identifier "dupprintf") (argument_list "(puVar4,iVar9,iVar13)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar9") (, ",") (identifier "iVar13") () ")")))) (; ";")) (if_statement "if (*pcVar20 != '\0') {\n          pcVar20 = pcVar20 + 1;\n        }" (if "if") (parenthesized_expression "(*pcVar20 != '\0')" (( "(") (binary_expression "*pcVar20 != '\0'" (pointer_expression "*pcVar20" (* "*") (identifier "pcVar20")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          pcVar20 = pcVar20 + 1;\n        }" ({ "{") (expression_statement "pcVar20 = pcVar20 + 1;" (assignment_expression "pcVar20 = pcVar20 + 1" (identifier "pcVar20") (= "=") (binary_expression "pcVar20 + 1" (identifier "pcVar20") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);" (assignment_expression "iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strtol_000adb28)(pcVar20,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_000adb28)" (( "(") (pointer_expression "*(code *)PTR_strtol_000adb28" (* "*") (cast_expression "(code *)PTR_strtol_000adb28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_000adb28"))) () ")")) (argument_list "(pcVar20,0,10)" (( "(") (identifier "pcVar20") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }\n        else {\n          bVar2 = false;\n        }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);\n          if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }\n          bVar2 = true;\n        }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);" (assignment_expression "iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20)" (parenthesized_expression "(*(code *)PTR_net_service_lookup_000ad7ec)" (( "(") (pointer_expression "*(code *)PTR_net_service_lookup_000ad7ec" (* "*") (cast_expression "(code *)PTR_net_service_lookup_000ad7ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_net_service_lookup_000ad7ec"))) () ")")) (argument_list "(pcVar20)" (( "(") (identifier "pcVar20") () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);\n            goto LAB_00041d44;\n          }" ({ "{") (expression_statement "(*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);" (call_expression "(*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,puVar23 + -0x8a0,pcVar20)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar23 + -0x8a0" (identifier "puVar23") (+ "+") (number_literal "-0x8a0")) (, ",") (identifier "pcVar20") () ")"))) (; ";")) (goto_statement "goto LAB_00041d44;" (goto "goto") (statement_identifier "LAB_00041d44") (; ";")) (} "}"))) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n          bVar2 = false;\n        }" (else "else") (compound_statement "{\n          bVar2 = false;\n        }" ({ "{") (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")))) (if_statement "if (iVar8 == 0) goto LAB_00041d44;" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00041d44;" (goto "goto") (statement_identifier "LAB_00041d44") (; ";"))) (expression_statement "piVar15 = (int *)safemalloc(1,0x2c);" (assignment_expression "piVar15 = (int *)safemalloc(1,0x2c)" (identifier "piVar15") (= "=") (cast_expression "(int *)safemalloc(1,0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "safemalloc(1,0x2c)" (identifier "safemalloc") (argument_list "(1,0x2c)" (( "(") (number_literal "1") (, ",") (number_literal "0x2c") () ")"))))) (; ";")) (expression_statement "piVar15[1] = unaff_s2;" (assignment_expression "piVar15[1] = unaff_s2" (subscript_expression "piVar15[1]" (identifier "piVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "piVar15[4] = iVar18;" (assignment_expression "piVar15[4] = iVar18" (subscript_expression "piVar15[4]" (identifier "piVar15") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar18")) (; ";")) (if_statement "if (bVar1) goto LAB_00042660;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (goto_statement "goto LAB_00042660;" (goto "goto") (statement_identifier "LAB_00042660") (; ";"))) (expression_statement "piVar15[2] = iVar8;" (assignment_expression "piVar15[2] = iVar8" (subscript_expression "piVar15[2]" (identifier "piVar15") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "piVar15[5] = iVar13;" (assignment_expression "piVar15[5] = iVar13" (subscript_expression "piVar15[5]" (identifier "piVar15") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "piVar15[6] = 0;" (assignment_expression "piVar15[6] = 0" (subscript_expression "piVar15[6]" (identifier "piVar15") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (labeled_statement "joined_r0x00042688:\n        if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" (statement_identifier "joined_r0x00042688") (: ":") (if_statement "if (bVar2) {\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);\n          goto LAB_00041b48;\n        }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar20)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" (( "(") (pointer_expression "*(code *)PTR_dupstr_000ad2dc" (* "*") (cast_expression "(code *)PTR_dupstr_000ad2dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_000ad2dc"))) () ")")) (argument_list "(pcVar20)" (( "(") (identifier "pcVar20") () ")")))) (; ";")) (goto_statement "goto LAB_00041b48;" (goto "goto") (statement_identifier "LAB_00041b48") (; ";")) (} "}")))) (expression_statement "piVar15[3] = iVar9;" (assignment_expression "piVar15[3] = iVar9" (subscript_expression "piVar15[3]" (identifier "piVar15") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar15[10] = 0;" (assignment_expression "piVar15[10] = 0" (subscript_expression "piVar15[10]" (identifier "piVar15") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar15[7] = 0;" (assignment_expression "piVar15[7] = 0" (subscript_expression "piVar15[7]" (identifier "piVar15") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar15[8] = 0;" (assignment_expression "piVar15[8] = 0" (subscript_expression "piVar15[8]" (identifier "piVar15") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar22 == 0x34) goto LAB_00041e2c;" (if "if") (parenthesized_expression "(uVar22 == 0x34)" (( "(") (binary_expression "uVar22 == 0x34" (identifier "uVar22") (== "==") (number_literal "0x34")) () ")")) (goto_statement "goto LAB_00041e2c;" (goto "goto") (statement_identifier "LAB_00041e2c") (; ";"))) (labeled_statement "LAB_00041b60:\n        puVar17 = PTR_add234_000ad45c;" (statement_identifier "LAB_00041b60") (: ":") (expression_statement "puVar17 = PTR_add234_000ad45c;" (assignment_expression "puVar17 = PTR_add234_000ad45c" (identifier "puVar17") (= "=") (identifier "PTR_add234_000ad45c")) (; ";"))) (expression_statement "iVar13 = 2;" (assignment_expression "iVar13 = 2" (identifier "iVar13") (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x140);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x140)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (if_statement "if (uVar22 != 0x36) {\n          iVar13 = 0;\n        }" (if "if") (parenthesized_expression "(uVar22 != 0x36)" (( "(") (binary_expression "uVar22 != 0x36" (identifier "uVar22") (!= "!=") (number_literal "0x36")) () ")")) (compound_statement "{\n          iVar13 = 0;\n        }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "piVar15[9] = iVar13;" (assignment_expression "piVar15[9] = iVar13" (subscript_expression "piVar15[9]" (identifier "piVar15") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);" (assignment_expression "piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15)" (identifier "piVar19") (= "=") (cast_expression "(int *)(*(code *)puVar17)(uVar7,piVar15)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar17)(uVar7,piVar15)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(uVar7,piVar15)" (( "(") (identifier "uVar7") (, ",") (identifier "piVar15") () ")"))))) (; ";")) (if_statement "if (piVar15 == piVar19) goto LAB_00041e4c;" (if "if") (parenthesized_expression "(piVar15 == piVar19)" (( "(") (binary_expression "piVar15 == piVar19" (identifier "piVar15") (== "==") (identifier "piVar19")) () ")")) (goto_statement "goto LAB_00041e4c;" (goto "goto") (statement_identifier "LAB_00041e4c") (; ";"))) (labeled_statement "LAB_00041b8c:\n        if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }" (statement_identifier "LAB_00041b8c") (: ":") (if_statement "if (*piVar19 == 0) {\n          *piVar19 = 1;\n        }" (if "if") (parenthesized_expression "(*piVar19 == 0)" (( "(") (binary_expression "*piVar19 == 0" (pointer_expression "*piVar19" (* "*") (identifier "piVar19")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *piVar19 = 1;\n        }" ({ "{") (expression_statement "*piVar19 = 1;" (assignment_expression "*piVar19 = 1" (pointer_expression "*piVar19" (* "*") (identifier "piVar19")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "safefree(piVar15[4]);" (call_expression "safefree(piVar15[4])" (identifier "safefree") (argument_list "(piVar15[4])" (( "(") (subscript_expression "piVar15[4]" (identifier "piVar15") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar15[5]);" (call_expression "safefree(piVar15[5])" (identifier "safefree") (argument_list "(piVar15[5])" (( "(") (subscript_expression "piVar15[5]" (identifier "piVar15") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar15[6]);" (call_expression "safefree(piVar15[6])" (identifier "safefree") (argument_list "(piVar15[6])" (( "(") (subscript_expression "piVar15[6]" (identifier "piVar15") ([ "[") (number_literal "6") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar15[7]);" (call_expression "safefree(piVar15[7])" (identifier "safefree") (argument_list "(piVar15[7])" (( "(") (subscript_expression "piVar15[7]" (identifier "piVar15") ([ "[") (number_literal "7") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" (identifier "safefree") (argument_list "(piVar15)" (( "(") (identifier "piVar15") () ")"))) (; ";")) (} "}")))) (expression_statement "piVar15 = local_30;" (assignment_expression "piVar15 = local_30" (identifier "piVar15") (= "=") (identifier "local_30")) (; ";")) (expression_statement "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30)" (parenthesized_expression "(*(code *)PTR_conf_get_str_strs_000ad5d8)" (( "(") (pointer_expression "*(code *)PTR_conf_get_str_strs_000ad5d8" (* "*") (cast_expression "(code *)PTR_conf_get_str_strs_000ad5d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_str_strs_000ad5d8"))) () ")")) (argument_list "(param_2,0x9b,local_30,&local_30)" (( "(") (identifier "param_2") (, ",") (number_literal "0x9b") (, ",") (identifier "local_30") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" (identifier "puVar23") (= "=") (identifier "PTR_DAT_000ad2c8")) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_000ad5b0 + 0x2ae8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000ad5b0 + 0x2ae8)" (( "(") (binary_expression "PTR_LAB_000ad5b0 + 0x2ae8" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x2ae8")) () ")")))) (; ";")) (expression_statement "pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc)" (identifier "pcVar10") (= "=") (cast_expression "(code *)(PTR_LAB_000ad5b0 + 0x34cc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000ad5b0 + 0x34cc)" (( "(") (binary_expression "PTR_LAB_000ad5b0 + 0x34cc" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x34cc")) () ")")))) (; ";")) (do_statement "do {\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  } while( true );" (do "do") (compound_statement "{\n    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    piVar12 = (int *)PTR_LAB_000ad5b0;\n    while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }\n    if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }\n    local_80 = (int *)piVar19[2];\n    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);\n    piVar12 = piVar15;\n    if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }\n    piVar15 = piVar12;\n    FUN_0002f168(param_1,puVar23 + -0x844);\n    safefree(piVar12);\n    iVar18 = piVar19[8];\n    if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }\n    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);\n    safefree(piVar19[4]);\n    safefree(piVar19[5]);\n    safefree(piVar19[6]);\n    safefree(piVar19[7]);\n    safefree(piVar19);\n  }" ({ "{") (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (identifier "piVar19") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" (( "(") (pointer_expression "*(code *)PTR_index234_000ad470" (* "*") (cast_expression "(code *)PTR_index234_000ad470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000ad470"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (, ",") (identifier "iVar13") () ")"))))) (; ";")) (expression_statement "piVar12 = (int *)PTR_LAB_000ad5b0;" (assignment_expression "piVar12 = (int *)PTR_LAB_000ad5b0" (identifier "piVar12") (= "=") (cast_expression "(int *)PTR_LAB_000ad5b0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LAB_000ad5b0"))) (; ";")) (while_statement "while( true ) {\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      puVar4 = PTR_DAT_000ad2c8;\n      PTR_LAB_000ad5b0 = (undefined *)piVar12;\n      if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }\n      if (*piVar19 == 0) break;\n      iVar13 = iVar13 + 1;\n      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);\n      piVar12 = (int *)PTR_LAB_000ad5b0;\n    }" ({ "{") (expression_statement "puVar4 = PTR_DAT_000ad2c8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8" (identifier "puVar4") (= "=") (identifier "PTR_DAT_000ad2c8")) (; ";")) (expression_statement "PTR_LAB_000ad5b0 = (undefined *)piVar12;" (assignment_expression "PTR_LAB_000ad5b0 = (undefined *)piVar12" (identifier "PTR_LAB_000ad5b0") (= "=") (cast_expression "(undefined *)piVar12" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar12"))) (; ";")) (if_statement "if (piVar19 == (int *)0x0) {\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }" (if "if") (parenthesized_expression "(piVar19 == (int *)0x0)" (( "(") (binary_expression "piVar19 == (int *)0x0" (identifier "piVar19") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar22 = 0;\n        uVar14 = 0;\n        iVar13 = *(int *)(param_1 + 0x140);\n        puVar23 = PTR_DAT_000ad2c8;\n        pcVar5 = (code *)(piVar12 + -0x3a6);\n        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);\n        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);\n        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();\n        piVar11 = (int *)0x0;\n        goto joined_r0x00041f0c;\n      }" ({ "{") (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(param_1 + 0x140)" (* "*") (cast_expression "(int *)(param_1 + 0x140)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "puVar23 = PTR_DAT_000ad2c8;" (assignment_expression "puVar23 = PTR_DAT_000ad2c8" (identifier "puVar23") (= "=") (identifier "PTR_DAT_000ad2c8")) (; ";")) (expression_statement "pcVar5 = (code *)(piVar12 + -0x3a6);" (assignment_expression "pcVar5 = (code *)(piVar12 + -0x3a6)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(piVar12 + -0x3a6)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar12 + -0x3a6)" (( "(") (binary_expression "piVar12 + -0x3a6" (identifier "piVar12") (+ "+") (number_literal "-0x3a6")) () ")")))) (; ";")) (expression_statement "piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);" (assignment_expression "piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768)" (identifier "piVar25") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x768)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x768)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x768" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x768")) () ")")))) (; ";")) (expression_statement "piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);" (assignment_expression "piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4)" (identifier "piVar21") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x22a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x22a4)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x22a4")) () ")")))) (; ";")) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)()" (identifier "piVar19") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" (( "(") (pointer_expression "*(code *)PTR_index234_000ad470" (* "*") (cast_expression "(code *)PTR_index234_000ad470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000ad470"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" (identifier "piVar11") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto joined_r0x00041f0c;" (goto "goto") (statement_identifier "joined_r0x00041f0c") (; ";")) (} "}"))) (if_statement "if (*piVar19 == 0) break;" (if "if") (parenthesized_expression "(*piVar19 == 0)" (( "(") (binary_expression "*piVar19 == 0" (pointer_expression "*piVar19" (* "*") (identifier "piVar19")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (identifier "piVar19") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" (( "(") (pointer_expression "*(code *)PTR_index234_000ad470" (* "*") (cast_expression "(code *)PTR_index234_000ad470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000ad470"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (, ",") (identifier "iVar13") () ")"))))) (; ";")) (expression_statement "piVar12 = (int *)PTR_LAB_000ad5b0;" (assignment_expression "piVar12 = (int *)PTR_LAB_000ad5b0" (identifier "piVar12") (= "=") (cast_expression "(int *)PTR_LAB_000ad5b0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LAB_000ad5b0"))) (; ";")) (} "}"))) (if_statement "if (piVar19[1] == 0x4c) {\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }\n    else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" (if "if") (parenthesized_expression "(piVar19[1] == 0x4c)" (( "(") (binary_expression "piVar19[1] == 0x4c" (subscript_expression "piVar19[1]" (identifier "piVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x4c")) () ")")) (compound_statement "{\n      puVar6 = (undefined *)piVar19[4];\n      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;\n      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;\nLAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;\n    }" ({ "{") (expression_statement "puVar6 = (undefined *)piVar19[4];" (assignment_expression "puVar6 = (undefined *)piVar19[4]" (identifier "puVar6") (= "=") (cast_expression "(undefined *)piVar19[4]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8f8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8f8" (identifier "puVar4") (= "=") (binary_expression "PTR_DAT_000ad2c8 + -0x8f8" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8f8"))) (; ";")) (if_statement "if (puVar6 == (undefined *)0x0) goto LAB_0004230c;" (if "if") (parenthesized_expression "(puVar6 == (undefined *)0x0)" (( "(") (binary_expression "puVar6 == (undefined *)0x0" (identifier "puVar6") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0004230c;" (goto "goto") (statement_identifier "LAB_0004230c") (; ";"))) (labeled_statement "LAB_00042138:\n      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;" (statement_identifier "LAB_00042138") (: ":") (expression_statement "puVar17 = PTR_DAT_000ad2c8 + 0x7b40;" (assignment_expression "puVar17 = PTR_DAT_000ad2c8 + 0x7b40" (identifier "puVar17") (= "=") (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x7b40"))) (; ";"))) (} "}")) (else_clause "else {\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" (else "else") (compound_statement "{\n      if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }\n      puVar6 = (undefined *)piVar19[4];\n      if (puVar6 != (undefined *)0x0) goto LAB_00042138;\nLAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;\n      puVar17 = puVar6;\n    }" ({ "{") (if_statement "if (piVar19[1] == 0x52) {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }\n      else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" (if "if") (parenthesized_expression "(piVar19[1] == 0x52)" (( "(") (binary_expression "piVar19[1] == 0x52" (subscript_expression "piVar19[1]" (identifier "piVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x52")) () ")")) (compound_statement "{\n        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;\n      }" ({ "{") (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8f0;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8f0" (identifier "puVar4") (= "=") (binary_expression "PTR_DAT_000ad2c8 + -0x8f0" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8f0"))) (; ";")) (} "}")) (else_clause "else {\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" (else "else") (compound_statement "{\n        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;\n      }" ({ "{") (expression_statement "puVar4 = PTR_DAT_000ad2c8 + -0x8e8;" (assignment_expression "puVar4 = PTR_DAT_000ad2c8 + -0x8e8" (identifier "puVar4") (= "=") (binary_expression "PTR_DAT_000ad2c8 + -0x8e8" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8e8"))) (; ";")) (} "}")))) (expression_statement "puVar6 = (undefined *)piVar19[4];" (assignment_expression "puVar6 = (undefined *)piVar19[4]" (identifier "puVar6") (= "=") (cast_expression "(undefined *)piVar19[4]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")))) (; ";")) (if_statement "if (puVar6 != (undefined *)0x0) goto LAB_00042138;" (if "if") (parenthesized_expression "(puVar6 != (undefined *)0x0)" (( "(") (binary_expression "puVar6 != (undefined *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00042138;" (goto "goto") (statement_identifier "LAB_00042138") (; ";"))) (labeled_statement "LAB_0004230c:\n      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" (statement_identifier "LAB_0004230c") (: ":") (expression_statement "puVar6 = PTR_DAT_000ad2c8 + -0x22a4;" (assignment_expression "puVar6 = PTR_DAT_000ad2c8 + -0x22a4" (identifier "puVar6") (= "=") (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x22a4"))) (; ";"))) (expression_statement "puVar17 = puVar6;" (assignment_expression "puVar17 = puVar6" (identifier "puVar17") (= "=") (identifier "puVar6")) (; ";")) (} "}")))) (expression_statement "local_80 = (int *)piVar19[2];" (assignment_expression "local_80 = (int *)piVar19[2]" (identifier "local_80") (= "=") (cast_expression "(int *)piVar19[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);" (assignment_expression "piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" (identifier "piVar15") (= "=") (cast_expression "(int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17)" (identifier "dupprintf") (argument_list "(puVar23 + -0x870,puVar4,puVar6,puVar17)" (( "(") (binary_expression "puVar23 + -0x870" (identifier "puVar23") (+ "+") (number_literal "-0x870")) (, ",") (identifier "puVar4") (, ",") (identifier "puVar6") (, ",") (identifier "puVar17") () ")"))))) (; ";")) (expression_statement "piVar12 = piVar15;" (assignment_expression "piVar12 = piVar15" (identifier "piVar12") (= "=") (identifier "piVar15")) (; ";")) (if_statement "if (piVar19[1] != 0x44) {\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }" (if "if") (parenthesized_expression "(piVar19[1] != 0x44)" (( "(") (binary_expression "piVar19[1] != 0x44" (subscript_expression "piVar19[1]" (identifier "piVar19") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0x44")) () ")")) (compound_statement "{\n      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);\n      safefree(piVar15);\n    }" ({ "{") (expression_statement "piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);" (assignment_expression "piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" (identifier "piVar12") (= "=") (cast_expression "(int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" (identifier "dupprintf") (argument_list "(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3])" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x850" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x850")) (, ",") (identifier "piVar15") (, ",") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]")) (, ",") (subscript_expression "piVar19[3]" (identifier "piVar19") ([ "[") (number_literal "3") (] "]")) () ")"))))) (; ";")) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" (identifier "safefree") (argument_list "(piVar15)" (( "(") (identifier "piVar15") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar15 = piVar12;" (assignment_expression "piVar15 = piVar12" (identifier "piVar15") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "FUN_0002f168(param_1,puVar23 + -0x844);" (call_expression "FUN_0002f168(param_1,puVar23 + -0x844)" (identifier "FUN_0002f168") (argument_list "(param_1,puVar23 + -0x844)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar23 + -0x844" (identifier "puVar23") (+ "+") (number_literal "-0x844")) () ")"))) (; ";")) (expression_statement "safefree(piVar12);" (call_expression "safefree(piVar12)" (identifier "safefree") (argument_list "(piVar12)" (( "(") (identifier "piVar12") () ")"))) (; ";")) (expression_statement "iVar18 = piVar19[8];" (assignment_expression "iVar18 = piVar19[8]" (identifier "iVar18") (= "=") (subscript_expression "piVar19[8]" (identifier "piVar19") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if (iVar18 == 0) {\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }\n    else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" (if "if") (parenthesized_expression "(iVar18 == 0)" (( "(") (binary_expression "iVar18 == 0" (identifier "iVar18") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (piVar19[10] != 0) {\n        pfl_terminate();\n      }\n    }" ({ "{") (if_statement "if (piVar19[10] != 0) {\n        pfl_terminate();\n      }" (if "if") (parenthesized_expression "(piVar19[10] != 0)" (( "(") (binary_expression "piVar19[10] != 0" (subscript_expression "piVar19[10]" (identifier "piVar19") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pfl_terminate();\n      }" ({ "{") (expression_statement "pfl_terminate();" (call_expression "pfl_terminate()" (identifier "pfl_terminate") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" (else "else") (compound_statement "{\n      if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }\n      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);\n      (*pcVar5)(iVar18);\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x198) != 1) {\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x198) != 1)" (( "(") (binary_expression "*(int *)(param_1 + 0x198) != 1" (pointer_expression "*(int *)(param_1 + 0x198)" (* "*") (cast_expression "(int *)(param_1 + 0x198)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x198)" (( "(") (binary_expression "param_1 + 0x198" (identifier "param_1") (+ "+") (number_literal "0x198")) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        unaff_s2 = (*pcVar10)(0x50);\n        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);\n        piVar15 = (int *)0x1;\n        local_31 = 0;\n        FUN_00033374(unaff_s2,&local_31);\n        if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }\n        FUN_0003364c(unaff_s2,piVar19[2]);\n        FUN_0003e878(param_1,unaff_s2);\n      }" ({ "{") (expression_statement "unaff_s2 = (*pcVar10)(0x50);" (assignment_expression "unaff_s2 = (*pcVar10)(0x50)" (identifier "unaff_s2") (= "=") (call_expression "(*pcVar10)(0x50)" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "(0x50)" (( "(") (number_literal "0x50") () ")")))) (; ";")) (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834)" (identifier "FUN_000336bc") (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x834)" (( "(") (identifier "unaff_s2") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x834" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x834")) () ")"))) (; ";")) (expression_statement "piVar15 = (int *)0x1;" (assignment_expression "piVar15 = (int *)0x1" (identifier "piVar15") (= "=") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "local_31 = 0;" (assignment_expression "local_31 = 0" (identifier "local_31") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00033374(unaff_s2,&local_31);" (call_expression "FUN_00033374(unaff_s2,&local_31)" (identifier "FUN_00033374") (argument_list "(unaff_s2,&local_31)" (( "(") (identifier "unaff_s2") (, ",") (pointer_expression "&local_31" (& "&") (identifier "local_31")) () ")"))) (; ";")) (if_statement "if (piVar19[4] == 0) {\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }\n        else {\n          FUN_000336bc(unaff_s2);\n        }" (if "if") (parenthesized_expression "(piVar19[4] == 0)" (( "(") (binary_expression "piVar19[4] == 0" (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }\n        }" ({ "{") (expression_statement "iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);" (assignment_expression "iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" (( "(") (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" (* "*") (cast_expression "(code *)PTR_conf_get_int_000ad34c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_int_000ad34c"))) () ")")) (argument_list "(param_2,0x9a)" (( "(") (identifier "param_2") (, ",") (number_literal "0x9a") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }\n          else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);\n          }" ({ "{") (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c)" (identifier "FUN_000336bc") (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x81c)" (( "(") (identifier "unaff_s2") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x81c" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x81c")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" (else "else") (compound_statement "{\n            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);\n          }" ({ "{") (expression_statement "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);" (call_expression "FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4)" (identifier "FUN_000336bc") (argument_list "(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4)" (( "(") (identifier "unaff_s2") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x22a4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x22a4")) () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          FUN_000336bc(unaff_s2);\n        }" (else "else") (compound_statement "{\n          FUN_000336bc(unaff_s2);\n        }" ({ "{") (expression_statement "FUN_000336bc(unaff_s2);" (call_expression "FUN_000336bc(unaff_s2)" (identifier "FUN_000336bc") (argument_list "(unaff_s2)" (( "(") (identifier "unaff_s2") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_0003364c(unaff_s2,piVar19[2]);" (call_expression "FUN_0003364c(unaff_s2,piVar19[2])" (identifier "FUN_0003364c") (argument_list "(unaff_s2,piVar19[2])" (( "(") (identifier "unaff_s2") (, ",") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_0003e878(param_1,unaff_s2);" (call_expression "FUN_0003e878(param_1,unaff_s2)" (identifier "FUN_0003e878") (argument_list "(param_1,unaff_s2)" (( "(") (identifier "param_1") (, ",") (identifier "unaff_s2") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);" (call_expression "(*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18)" (parenthesized_expression "(*(code *)PTR_del234_000ad460)" (( "(") (pointer_expression "*(code *)PTR_del234_000ad460" (* "*") (cast_expression "(code *)PTR_del234_000ad460" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_del234_000ad460"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x13c),iVar18)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (, ",") (identifier "iVar18") () ")"))) (; ";")) (expression_statement "(*pcVar5)(iVar18);" (call_expression "(*pcVar5)(iVar18)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(iVar18)" (( "(") (identifier "iVar18") () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);" (call_expression "(*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13)" (parenthesized_expression "(*(code *)PTR_delpos234_000ad458)" (( "(") (pointer_expression "*(code *)PTR_delpos234_000ad458" (* "*") (cast_expression "(code *)PTR_delpos234_000ad458" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_delpos234_000ad458"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x140),iVar13)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (, ",") (identifier "iVar13") () ")"))) (; ";")) (expression_statement "safefree(piVar19[4]);" (call_expression "safefree(piVar19[4])" (identifier "safefree") (argument_list "(piVar19[4])" (( "(") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar19[5]);" (call_expression "safefree(piVar19[5])" (identifier "safefree") (argument_list "(piVar19[5])" (( "(") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar19[6]);" (call_expression "safefree(piVar19[6])" (identifier "safefree") (argument_list "(piVar19[6])" (( "(") (subscript_expression "piVar19[6]" (identifier "piVar19") ([ "[") (number_literal "6") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar19[7]);" (call_expression "safefree(piVar19[7])" (identifier "safefree") (argument_list "(piVar19[7])" (( "(") (subscript_expression "piVar19[7]" (identifier "piVar19") ([ "[") (number_literal "7") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar19);" (call_expression "safefree(piVar19)" (identifier "safefree") (argument_list "(piVar19)" (( "(") (identifier "piVar19") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (labeled_statement "joined_r0x00041f0c:\n  if (piVar19 == (int *)0x0) goto LAB_00041f44;" (statement_identifier "joined_r0x00041f0c") (: ":") (if_statement "if (piVar19 == (int *)0x0) goto LAB_00041f44;" (if "if") (parenthesized_expression "(piVar19 == (int *)0x0)" (( "(") (binary_expression "piVar19 == (int *)0x0" (identifier "piVar19") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00041f44;" (goto "goto") (statement_identifier "LAB_00041f44") (; ";")))) (if_statement "if (*piVar19 == 2) {\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }" (if "if") (parenthesized_expression "(*piVar19 == 2)" (( "(") (binary_expression "*piVar19 == 2" (pointer_expression "*piVar19" (* "*") (identifier "piVar19")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    piVar15 = piVar21;\n    piVar11 = piVar21;\n    if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }\n    local_7c = (int *)piVar19[2];\n    local_80 = piVar21;\n    piVar16 = piVar21;\n    local_78 = piVar21;\n    if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }\n    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);\n    piVar15 = piVar21;\n    if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }\n    safefree(unaff_s2);\n    safefree(piVar11);\n  }" ({ "{") (expression_statement "piVar15 = piVar21;" (assignment_expression "piVar15 = piVar21" (identifier "piVar15") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "piVar11 = piVar21;" (assignment_expression "piVar11 = piVar21" (identifier "piVar11") (= "=") (identifier "piVar21")) (; ";")) (if_statement "if ((int *)piVar19[4] != (int *)0x0) {\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }" (if "if") (parenthesized_expression "((int *)piVar19[4] != (int *)0x0)" (( "(") (binary_expression "(int *)piVar19[4] != (int *)0x0" (cast_expression "(int *)piVar19[4]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      piVar15 = (int *)piVar19[4];\n      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);\n    }" ({ "{") (expression_statement "piVar15 = (int *)piVar19[4];" (assignment_expression "piVar15 = (int *)piVar19[4]" (identifier "piVar15") (= "=") (cast_expression "(int *)piVar19[4]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);" (assignment_expression "piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40)" (identifier "piVar11") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + 0x7b40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x7b40)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x7b40" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x7b40")) () ")")))) (; ";")) (} "}"))) (expression_statement "local_7c = (int *)piVar19[2];" (assignment_expression "local_7c = (int *)piVar19[2]" (identifier "local_7c") (= "=") (cast_expression "(int *)piVar19[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "local_80 = piVar21;" (assignment_expression "local_80 = piVar21" (identifier "local_80") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "piVar16 = piVar21;" (assignment_expression "piVar16 = piVar21" (identifier "piVar16") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "local_78 = piVar21;" (assignment_expression "local_78 = piVar21" (identifier "local_78") (= "=") (identifier "piVar21")) (; ";")) (if_statement "if ((int *)piVar19[6] != (int *)0x0) {\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }" (if "if") (parenthesized_expression "((int *)piVar19[6] != (int *)0x0)" (( "(") (binary_expression "(int *)piVar19[6] != (int *)0x0" (cast_expression "(int *)piVar19[6]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[6]" (identifier "piVar19") ([ "[") (number_literal "6") (] "]"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      piVar16 = (int *)piVar19[6];\n      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n    }" ({ "{") (expression_statement "local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);" (assignment_expression "local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0)" (identifier "local_80") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8e0)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8e0")) () ")")))) (; ";")) (expression_statement "piVar16 = (int *)piVar19[6];" (assignment_expression "piVar16 = (int *)piVar19[6]" (identifier "piVar16") (= "=") (cast_expression "(int *)piVar19[6]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[6]" (identifier "piVar19") ([ "[") (number_literal "6") (] "]")))) (; ";")) (expression_statement "local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);" (assignment_expression "local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48)" (identifier "local_78") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0xa48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0xa48)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0xa48" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0xa48")) () ")")))) (; ";")) (} "}"))) (expression_statement "unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);" (assignment_expression "unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16)" (identifier "unaff_s2") (= "=") (call_expression "dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16)" (identifier "dupprintf") (argument_list "(puVar4 + -0x810,piVar15,piVar11,piVar16)" (( "(") (binary_expression "puVar4 + -0x810" (identifier "puVar4") (+ "+") (number_literal "-0x810")) (, ",") (identifier "piVar15") (, ",") (identifier "piVar11") (, ",") (identifier "piVar16") () ")")))) (; ";")) (expression_statement "piVar15 = piVar21;" (assignment_expression "piVar15 = piVar21" (identifier "piVar15") (= "=") (identifier "piVar21")) (; ";")) (if_statement "if (piVar19[1] == 0x44) {\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }\n    else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(piVar19[1] == 0x44)" (( "(") (binary_expression "piVar19[1] == 0x44" (subscript_expression "piVar19[1]" (identifier "piVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x44")) () ")")) (compound_statement "{\n      piVar11 = (int *)0x0;\nLAB_0004233c:\n      local_74 = piVar19[9];\n      local_78 = piVar19 + 10;\n      local_80 = (int *)param_1;\n      local_7c = (int *)param_2;\n      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);\n      if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }\n      if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }\n    }" ({ "{") (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" (identifier "piVar11") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_0004233c:\n      local_74 = piVar19[9];" (statement_identifier "LAB_0004233c") (: ":") (expression_statement "local_74 = piVar19[9];" (assignment_expression "local_74 = piVar19[9]" (identifier "local_74") (= "=") (subscript_expression "piVar19[9]" (identifier "piVar19") ([ "[") (number_literal "9") (] "]"))) (; ";"))) (expression_statement "local_78 = piVar19 + 10;" (assignment_expression "local_78 = piVar19 + 10" (identifier "local_78") (= "=") (binary_expression "piVar19 + 10" (identifier "piVar19") (+ "+") (number_literal "10"))) (; ";")) (expression_statement "local_80 = (int *)param_1;" (assignment_expression "local_80 = (int *)param_1" (identifier "local_80") (= "=") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "local_7c = (int *)param_2;" (assignment_expression "local_7c = (int *)param_2" (identifier "local_7c") (= "=") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) (; ";")) (expression_statement "local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);" (assignment_expression "local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" (identifier "local_54") (= "=") (cast_expression "(int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "pfl_listen(0,0xffffffff,piVar19[4],piVar19[2])" (identifier "pfl_listen") (argument_list "(0,0xffffffff,piVar19[4],piVar19[2])" (( "(") (number_literal "0") (, ",") (number_literal "0xffffffff") (, ",") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]")) () ")"))))) (; ";")) (if_statement "if (piVar19[9] == 1) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }\n      else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" (if "if") (parenthesized_expression "(piVar19[9] == 1)" (( "(") (binary_expression "piVar19[9] == 1" (subscript_expression "piVar19[9]" (identifier "piVar19") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n      }" ({ "{") (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc)" (identifier "piVar15") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8dc)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8dc")) () ")")))) (; ";")) (} "}")) (else_clause "else if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" (else "else") (if_statement "if (piVar19[9] == 2) {\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" (if "if") (parenthesized_expression "(piVar19[9] == 2)" (( "(") (binary_expression "piVar19[9] == 2" (subscript_expression "piVar19[9]" (identifier "piVar19") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n      }" ({ "{") (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4)" (identifier "piVar15") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8d4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8d4)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8d4")) () ")")))) (; ";")) (} "}"))))) (if_statement "if (local_54 == (int *)0x0) {\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }\n      else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" (if "if") (parenthesized_expression "(local_54 == (int *)0x0)" (( "(") (binary_expression "local_54 == (int *)0x0" (identifier "local_54") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        local_80 = piVar21;\n        local_7c = piVar21;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\n      }" ({ "{") (expression_statement "local_80 = piVar21;" (assignment_expression "local_80 = piVar21" (identifier "local_80") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" (identifier "local_7c") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar4 + -0x75c" (identifier "puVar4") (+ "+") (number_literal "-0x75c")) (, ",") (identifier "piVar15") (, ",") (identifier "unaff_s2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" (else "else") (compound_statement "{\n        local_80 = piVar25;\n        local_7c = local_54;\n        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);\nLAB_000424c0:\n        safefree(local_54);\n      }" ({ "{") (expression_statement "local_80 = piVar25;" (assignment_expression "local_80 = piVar25" (identifier "local_80") (= "=") (identifier "piVar25")) (; ";")) (expression_statement "local_7c = local_54;" (assignment_expression "local_7c = local_54" (identifier "local_7c") (= "=") (identifier "local_54")) (; ";")) (expression_statement "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,puVar4 + -0x75c,piVar15,unaff_s2)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar4 + -0x75c" (identifier "puVar4") (+ "+") (number_literal "-0x75c")) (, ",") (identifier "piVar15") (, ",") (identifier "unaff_s2") () ")"))) (; ";")) (labeled_statement "LAB_000424c0:\n        safefree(local_54);" (statement_identifier "LAB_000424c0") (: ":") (expression_statement "safefree(local_54);" (call_expression "safefree(local_54)" (identifier "safefree") (argument_list "(local_54)" (( "(") (identifier "local_54") () ")"))) (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" (else "else") (compound_statement "{\n      local_80 = (int *)piVar19[3];\n      local_7c = piVar21;\n      piVar11 = piVar21;\n      piVar16 = piVar21;\n      if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }\n      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);\n      if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }\n    }" ({ "{") (expression_statement "local_80 = (int *)piVar19[3];" (assignment_expression "local_80 = (int *)piVar19[3]" (identifier "local_80") (= "=") (cast_expression "(int *)piVar19[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[3]" (identifier "piVar19") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" (identifier "local_7c") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "piVar11 = piVar21;" (assignment_expression "piVar11 = piVar21" (identifier "piVar11") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "piVar16 = piVar21;" (assignment_expression "piVar16 = piVar21" (identifier "piVar16") (= "=") (identifier "piVar21")) (; ";")) (if_statement "if ((int *)piVar19[7] != (int *)0x0) {\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }" (if "if") (parenthesized_expression "((int *)piVar19[7] != (int *)0x0)" (( "(") (binary_expression "(int *)piVar19[7] != (int *)0x0" (cast_expression "(int *)piVar19[7]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[7]" (identifier "piVar19") ([ "[") (number_literal "7") (] "]"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);\n        piVar11 = (int *)piVar19[7];\n        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);\n      }" ({ "{") (expression_statement "local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);" (assignment_expression "local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48)" (identifier "local_7c") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0xa48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0xa48)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0xa48" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0xa48")) () ")")))) (; ";")) (expression_statement "piVar11 = (int *)piVar19[7];" (assignment_expression "piVar11 = (int *)piVar19[7]" (identifier "piVar11") (= "=") (cast_expression "(int *)piVar19[7]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[7]" (identifier "piVar19") ([ "[") (number_literal "7") (] "]")))) (; ";")) (expression_statement "piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);" (assignment_expression "piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0)" (identifier "piVar16") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8e0)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x8e0" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8e0")) () ")")))) (; ";")) (} "}"))) (expression_statement "piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);" (assignment_expression "piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" (identifier "piVar11") (= "=") (cast_expression "(int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" (identifier "dupprintf") (argument_list "(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x800" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x800")) (, ",") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]")) (, ",") (identifier "piVar11") (, ",") (identifier "piVar16") () ")"))))) (; ";")) (if_statement "if (piVar19[1] == 0x4c) {\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }\n      else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" (if "if") (parenthesized_expression "(piVar19[1] == 0x4c)" (( "(") (binary_expression "piVar19[1] == 0x4c" (subscript_expression "piVar19[1]" (identifier "piVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x4c")) () ")")) (compound_statement "{\n        local_74 = piVar19[9];\n        local_78 = piVar19 + 10;\n        local_80 = (int *)param_1;\n        local_7c = (int *)param_2;\n        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);\n        if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }\n        local_80 = piVar11;\n        if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }\n        local_7c = piVar21;\n        local_78 = piVar21;\n        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n      }" ({ "{") (expression_statement "local_74 = piVar19[9];" (assignment_expression "local_74 = piVar19[9]" (identifier "local_74") (= "=") (subscript_expression "piVar19[9]" (identifier "piVar19") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "local_78 = piVar19 + 10;" (assignment_expression "local_78 = piVar19 + 10" (identifier "local_78") (= "=") (binary_expression "piVar19 + 10" (identifier "piVar19") (+ "+") (number_literal "10"))) (; ";")) (expression_statement "local_80 = (int *)param_1;" (assignment_expression "local_80 = (int *)param_1" (identifier "local_80") (= "=") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "local_7c = (int *)param_2;" (assignment_expression "local_7c = (int *)param_2" (identifier "local_7c") (= "=") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) (; ";")) (expression_statement "local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);" (assignment_expression "local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" (identifier "local_54") (= "=") (cast_expression "(int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" (identifier "pfl_listen") (argument_list "(piVar19[5],piVar19[3],piVar19[4],piVar19[2])" (( "(") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]")) (, ",") (subscript_expression "piVar19[3]" (identifier "piVar19") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]")) () ")"))))) (; ";")) (if_statement "if (piVar19[9] == 1) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }\n        else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" (if "if") (parenthesized_expression "(piVar19[9] == 1)" (( "(") (binary_expression "piVar19[9] == 1" (subscript_expression "piVar19[9]" (identifier "piVar19") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);\n        }" ({ "{") (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc)" (identifier "piVar15") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8dc)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x8dc" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8dc")) () ")")))) (; ";")) (} "}")) (else_clause "else if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" (else "else") (if_statement "if (piVar19[9] == 2) {\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" (if "if") (parenthesized_expression "(piVar19[9] == 2)" (( "(") (binary_expression "piVar19[9] == 2" (subscript_expression "piVar19[9]" (identifier "piVar19") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);\n        }" ({ "{") (expression_statement "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);" (assignment_expression "piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4)" (identifier "piVar15") (= "=") (cast_expression "(int *)(PTR_DAT_000ad2c8 + -0x8d4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + -0x8d4)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x8d4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x8d4")) () ")")))) (; ";")) (} "}"))))) (expression_statement "local_80 = piVar11;" (assignment_expression "local_80 = piVar11" (identifier "local_80") (= "=") (identifier "piVar11")) (; ";")) (if_statement "if (local_54 != (int *)0x0) {\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }" (if "if") (parenthesized_expression "(local_54 != (int *)0x0)" (( "(") (binary_expression "local_54 != (int *)0x0" (identifier "local_54") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          local_7c = piVar25;\n          local_78 = local_54;\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);\n          goto LAB_000424c0;\n        }" ({ "{") (expression_statement "local_7c = piVar25;" (assignment_expression "local_7c = piVar25" (identifier "local_7c") (= "=") (identifier "piVar25")) (; ";")) (expression_statement "local_78 = local_54;" (assignment_expression "local_78 = local_54" (identifier "local_78") (= "=") (identifier "local_54")) (; ";")) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x790" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x790")) (, ",") (identifier "piVar15") (, ",") (identifier "unaff_s2") () ")"))) (; ";")) (goto_statement "goto LAB_000424c0;" (goto "goto") (statement_identifier "LAB_000424c0") (; ";")) (} "}"))) (expression_statement "local_7c = piVar21;" (assignment_expression "local_7c = piVar21" (identifier "local_7c") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "local_78 = piVar21;" (assignment_expression "local_78 = piVar21" (identifier "local_78") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x790" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x790")) (, ",") (identifier "piVar15") (, ",") (identifier "unaff_s2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" (else "else") (compound_statement "{\n        if (piVar19[1] == 0x44) goto LAB_0004233c;\n        if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }\n        piVar12 = (int *)safemalloc(1,0x1c);\n        iVar13 = piVar19[5];\n        piVar12[5] = 0;\n        iVar13 = dupstr(iVar13);\n        iVar8 = piVar19[3];\n        iVar18 = piVar19[4];\n        piVar12[3] = iVar13;\n        piVar12[1] = iVar8;\n        if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }\n        puVar6 = PTR_add234_000ad45c;\n        uVar7 = *(undefined4 *)(param_1 + 0x13c);\n        *piVar12 = piVar19[2];\n        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);\n        if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }\n      }" ({ "{") (if_statement "if (piVar19[1] == 0x44) goto LAB_0004233c;" (if "if") (parenthesized_expression "(piVar19[1] == 0x44)" (( "(") (binary_expression "piVar19[1] == 0x44" (subscript_expression "piVar19[1]" (identifier "piVar19") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x44")) () ")")) (goto_statement "goto LAB_0004233c;" (goto "goto") (statement_identifier "LAB_0004233c") (; ";"))) (if_statement "if (*(int *)(param_1 + 0x13c) == 0) {\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x13c) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x13c) == 0" (pointer_expression "*(int *)(param_1 + 0x13c)" (* "*") (cast_expression "(int *)(param_1 + 0x13c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n        }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x198) == 1) {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }\n          else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x198) == 1)" (( "(") (binary_expression "*(int *)(param_1 + 0x198) == 1" (pointer_expression "*(int *)(param_1 + 0x198)" (* "*") (cast_expression "(int *)(param_1 + 0x198)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x198)" (( "(") (binary_expression "param_1 + 0x198" (identifier "param_1") (+ "+") (number_literal "0x198")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" ({ "{") (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" (( "(") (pointer_expression "*(code *)PTR_newtree234_000ad464" (* "*") (cast_expression "(code *)PTR_newtree234_000ad464" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_newtree234_000ad464"))) () ")")) (argument_list "(PTR_LAB_000ad5b0 + 0x61e4)" (( "(") (binary_expression "PTR_LAB_000ad5b0 + 0x61e4" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x61e4")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x13c) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x13c) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}")) (else_clause "else {\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" (else "else") (compound_statement "{\n            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);\n            *(undefined4 *)(param_1 + 0x13c) = uVar7;\n          }" ({ "{") (expression_statement "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);" (assignment_expression "uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140)" (parenthesized_expression "(*(code *)PTR_newtree234_000ad464)" (( "(") (pointer_expression "*(code *)PTR_newtree234_000ad464" (* "*") (cast_expression "(code *)PTR_newtree234_000ad464" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_newtree234_000ad464"))) () ")")) (argument_list "(PTR_LAB_000ad5b0 + 0x6140)" (( "(") (binary_expression "PTR_LAB_000ad5b0 + 0x6140" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x6140")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x13c) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x13c) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}")))) (} "}"))) (expression_statement "piVar12 = (int *)safemalloc(1,0x1c);" (assignment_expression "piVar12 = (int *)safemalloc(1,0x1c)" (identifier "piVar12") (= "=") (cast_expression "(int *)safemalloc(1,0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "safemalloc(1,0x1c)" (identifier "safemalloc") (argument_list "(1,0x1c)" (( "(") (number_literal "1") (, ",") (number_literal "0x1c") () ")"))))) (; ";")) (expression_statement "iVar13 = piVar19[5];" (assignment_expression "iVar13 = piVar19[5]" (identifier "iVar13") (= "=") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar12[5] = 0;" (assignment_expression "piVar12[5] = 0" (subscript_expression "piVar12[5]" (identifier "piVar12") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar13 = dupstr(iVar13);" (assignment_expression "iVar13 = dupstr(iVar13)" (identifier "iVar13") (= "=") (call_expression "dupstr(iVar13)" (identifier "dupstr") (argument_list "(iVar13)" (( "(") (identifier "iVar13") () ")")))) (; ";")) (expression_statement "iVar8 = piVar19[3];" (assignment_expression "iVar8 = piVar19[3]" (identifier "iVar8") (= "=") (subscript_expression "piVar19[3]" (identifier "piVar19") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar18 = piVar19[4];" (assignment_expression "iVar18 = piVar19[4]" (identifier "iVar18") (= "=") (subscript_expression "piVar19[4]" (identifier "piVar19") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "piVar12[3] = iVar13;" (assignment_expression "piVar12[3] = iVar13" (subscript_expression "piVar12[3]" (identifier "piVar12") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "piVar12[1] = iVar8;" (assignment_expression "piVar12[1] = iVar8" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (iVar18 == 0) {\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }\n        else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" (if "if") (parenthesized_expression "(iVar18 == 0)" (( "(") (binary_expression "iVar18 == 0" (identifier "iVar18") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);\n          if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }\n        }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);" (assignment_expression "iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a)" (parenthesized_expression "(*(code *)PTR_conf_get_int_000ad34c)" (( "(") (pointer_expression "*(code *)PTR_conf_get_int_000ad34c" (* "*") (cast_expression "(code *)PTR_conf_get_int_000ad34c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_int_000ad34c"))) () ")")) (argument_list "(param_2,0x9a)" (( "(") (identifier "param_2") (, ",") (number_literal "0x9a") () ")")))) (; ";")) (if_statement "if (iVar13 == 0) {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }\n          else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);\n            piVar12[2] = iVar13;\n          }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" (( "(") (pointer_expression "*(code *)PTR_dupstr_000ad2dc" (* "*") (cast_expression "(code *)PTR_dupstr_000ad2dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_000ad2dc"))) () ")")) (argument_list "(PTR_DAT_000ad2c8 + -0x81c)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x81c" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x81c")) () ")")))) (; ";")) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (} "}")) (else_clause "else {\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" (else "else") (compound_statement "{\n            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);\n            piVar12[2] = iVar13;\n          }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);" (assignment_expression "iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_dupstr_000ad2dc)(piVar21)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" (( "(") (pointer_expression "*(code *)PTR_dupstr_000ad2dc" (* "*") (cast_expression "(code *)PTR_dupstr_000ad2dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_000ad2dc"))) () ")")) (argument_list "(piVar21)" (( "(") (identifier "piVar21") () ")")))) (; ";")) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" (else "else") (compound_statement "{\n          iVar13 = dupstr();\n          piVar12[2] = iVar13;\n        }" ({ "{") (expression_statement "iVar13 = dupstr();" (assignment_expression "iVar13 = dupstr()" (identifier "iVar13") (= "=") (call_expression "dupstr()" (identifier "dupstr") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar12[2] = iVar13;" (assignment_expression "piVar12[2] = iVar13" (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (} "}")))) (expression_statement "puVar6 = PTR_add234_000ad45c;" (assignment_expression "puVar6 = PTR_add234_000ad45c" (identifier "puVar6") (= "=") (identifier "PTR_add234_000ad45c")) (; ";")) (expression_statement "uVar7 = *(undefined4 *)(param_1 + 0x13c);" (assignment_expression "uVar7 = *(undefined4 *)(param_1 + 0x13c)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")"))))) (; ";")) (expression_statement "*piVar12 = piVar19[2];" (assignment_expression "*piVar12 = piVar19[2]" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);" (assignment_expression "piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12)" (identifier "piVar15") (= "=") (cast_expression "(int *)(*(code *)puVar6)(uVar7,piVar12)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar6)(uVar7,piVar12)" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(uVar7,piVar12)" (( "(") (identifier "uVar7") (, ",") (identifier "piVar12") () ")"))))) (; ";")) (if_statement "if (piVar12 == piVar15) {\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }\n        else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" (if "if") (parenthesized_expression "(piVar12 == piVar15)" (( "(") (binary_expression "piVar12 == piVar15" (identifier "piVar12") (== "==") (identifier "piVar15")) () ")")) (compound_statement "{\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);\n          piVar15 = *(int **)(param_1 + 0x198);\n          piVar12[4] = unaff_s2;\n          piVar19[8] = (int)piVar12;\n          piVar12[6] = (int)piVar19;\n          if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }\n        }" ({ "{") (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x7c8" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x7c8")) (, ",") (identifier "unaff_s2") (, ",") (identifier "piVar11") () ")"))) (; ";")) (expression_statement "piVar15 = *(int **)(param_1 + 0x198);" (assignment_expression "piVar15 = *(int **)(param_1 + 0x198)" (identifier "piVar15") (= "=") (pointer_expression "*(int **)(param_1 + 0x198)" (* "*") (cast_expression "(int **)(param_1 + 0x198)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x198)" (( "(") (binary_expression "param_1 + 0x198" (identifier "param_1") (+ "+") (number_literal "0x198")) () ")"))))) (; ";")) (expression_statement "piVar12[4] = unaff_s2;" (assignment_expression "piVar12[4] = unaff_s2" (subscript_expression "piVar12[4]" (identifier "piVar12") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "piVar19[8] = (int)piVar12;" (assignment_expression "piVar19[8] = (int)piVar12" (subscript_expression "piVar19[8]" (identifier "piVar19") ([ "[") (number_literal "8") (] "]")) (= "=") (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12"))) (; ";")) (expression_statement "piVar12[6] = (int)piVar19;" (assignment_expression "piVar12[6] = (int)piVar19" (subscript_expression "piVar12[6]" (identifier "piVar12") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19"))) (; ";")) (if_statement "if (piVar15 == (int *)0x1) {\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }\n          else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" (if "if") (parenthesized_expression "(piVar15 == (int *)0x1)" (( "(") (binary_expression "piVar15 == (int *)0x1" (identifier "piVar15") (== "==") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) () ")")) (compound_statement "{\n            local_70 = 0;\n            local_74 = piVar19[3];\n            unaff_s2 = 0;\n            local_7c = (int *)piVar19[5];\n            local_80 = (int *)0x4;\n            local_78 = piVar15;\n            FUN_00041954(param_1,0x1c,1,piVar19[2]);\n            piVar15 = (int *)0xf;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);\n          }" ({ "{") (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" (identifier "local_70") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_74 = piVar19[3];" (assignment_expression "local_74 = piVar19[3]" (identifier "local_74") (= "=") (subscript_expression "piVar19[3]" (identifier "piVar19") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "unaff_s2 = 0;" (assignment_expression "unaff_s2 = 0" (identifier "unaff_s2") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_7c = (int *)piVar19[5];" (assignment_expression "local_7c = (int *)piVar19[5]" (identifier "local_7c") (= "=") (cast_expression "(int *)piVar19[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "local_80 = (int *)0x4;" (assignment_expression "local_80 = (int *)0x4" (identifier "local_80") (= "=") (cast_expression "(int *)0x4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x4"))) (; ";")) (expression_statement "local_78 = piVar15;" (assignment_expression "local_78 = piVar15" (identifier "local_78") (= "=") (identifier "piVar15")) (; ";")) (expression_statement "FUN_00041954(param_1,0x1c,1,piVar19[2]);" (call_expression "FUN_00041954(param_1,0x1c,1,piVar19[2])" (identifier "FUN_00041954") (argument_list "(param_1,0x1c,1,piVar19[2])" (( "(") (identifier "param_1") (, ",") (number_literal "0x1c") (, ",") (number_literal "1") (, ",") (subscript_expression "piVar19[2]" (identifier "piVar19") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "piVar15 = (int *)0xf;" (assignment_expression "piVar15 = (int *)0xf" (identifier "piVar15") (= "=") (cast_expression "(int *)0xf" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xf"))) (; ";")) (expression_statement "local_80 = piVar12;" (assignment_expression "local_80 = piVar12" (identifier "local_80") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);" (call_expression "FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478)" (identifier "FUN_0002f4a8") (argument_list "(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478)" (( "(") (identifier "param_1") (, ",") (number_literal "0xe") (, ",") (number_literal "0xf") (, ",") (binary_expression "PTR_LAB_000ad5b0 + 0x6478" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x6478")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" (else "else") (compound_statement "{\n            uVar7 = FUN_000334cc(0x50);\n            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);\n            local_31 = 1;\n            FUN_00033374(uVar7,&local_31,1);\n            FUN_000336bc(uVar7,piVar12[2]);\n            FUN_0003364c(uVar7,*piVar12);\n            unaff_s2 = 0;\n            FUN_0003e878(param_1,uVar7);\n            piVar15 = (int *)0x52;\n            local_80 = piVar12;\n            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);\n          }" ({ "{") (expression_statement "uVar7 = FUN_000334cc(0x50);" (assignment_expression "uVar7 = FUN_000334cc(0x50)" (identifier "uVar7") (= "=") (call_expression "FUN_000334cc(0x50)" (identifier "FUN_000334cc") (argument_list "(0x50)" (( "(") (number_literal "0x50") () ")")))) (; ";")) (expression_statement "FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);" (call_expression "FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0)" (identifier "FUN_000336bc") (argument_list "(uVar7,PTR_DAT_000ad2c8 + -0x7a0)" (( "(") (identifier "uVar7") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x7a0" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x7a0")) () ")"))) (; ";")) (expression_statement "local_31 = 1;" (assignment_expression "local_31 = 1" (identifier "local_31") (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_00033374(uVar7,&local_31,1);" (call_expression "FUN_00033374(uVar7,&local_31,1)" (identifier "FUN_00033374") (argument_list "(uVar7,&local_31,1)" (( "(") (identifier "uVar7") (, ",") (pointer_expression "&local_31" (& "&") (identifier "local_31")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "FUN_000336bc(uVar7,piVar12[2]);" (call_expression "FUN_000336bc(uVar7,piVar12[2])" (identifier "FUN_000336bc") (argument_list "(uVar7,piVar12[2])" (( "(") (identifier "uVar7") (, ",") (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_0003364c(uVar7,*piVar12);" (call_expression "FUN_0003364c(uVar7,*piVar12)" (identifier "FUN_0003364c") (argument_list "(uVar7,*piVar12)" (( "(") (identifier "uVar7") (, ",") (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) () ")"))) (; ";")) (expression_statement "unaff_s2 = 0;" (assignment_expression "unaff_s2 = 0" (identifier "unaff_s2") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0003e878(param_1,uVar7);" (call_expression "FUN_0003e878(param_1,uVar7)" (identifier "FUN_0003e878") (argument_list "(param_1,uVar7)" (( "(") (identifier "param_1") (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "piVar15 = (int *)0x52;" (assignment_expression "piVar15 = (int *)0x52" (identifier "piVar15") (= "=") (cast_expression "(int *)0x52" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x52"))) (; ";")) (expression_statement "local_80 = piVar12;" (assignment_expression "local_80 = piVar12" (identifier "local_80") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);" (call_expression "FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478)" (identifier "FUN_0002f4a8") (argument_list "(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478)" (( "(") (identifier "param_1") (, ",") (number_literal "0x51") (, ",") (number_literal "0x52") (, ",") (binary_expression "PTR_LAB_000ad5b0 + 0x6478" (identifier "PTR_LAB_000ad5b0") (+ "+") (number_literal "0x6478")) () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" (else "else") (compound_statement "{\n          piVar15 = (int *)piVar19[5];\n          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);\n          safefree(piVar12);\n        }" ({ "{") (expression_statement "piVar15 = (int *)piVar19[5];" (assignment_expression "piVar15 = (int *)piVar19[5]" (identifier "piVar15") (= "=") (cast_expression "(int *)piVar19[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar19[5]" (identifier "piVar19") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);" (call_expression "(*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3])" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3])" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x7f4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x7f4")) (, ",") (identifier "piVar15") (, ",") (subscript_expression "piVar19[3]" (identifier "piVar19") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (expression_statement "safefree(piVar12);" (call_expression "safefree(piVar12)" (identifier "safefree") (argument_list "(piVar12)" (( "(") (identifier "piVar12") () ")"))) (; ";")) (} "}")))) (} "}")))) (} "}")))) (expression_statement "safefree(unaff_s2);" (call_expression "safefree(unaff_s2)" (identifier "safefree") (argument_list "(unaff_s2)" (( "(") (identifier "unaff_s2") () ")"))) (; ";")) (expression_statement "safefree(piVar11);" (call_expression "safefree(piVar11)" (identifier "safefree") (argument_list "(piVar11)" (( "(") (identifier "piVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar22 = uVar22 + 1;" (assignment_expression "uVar22 = uVar22 + 1" (identifier "uVar22") (= "=") (binary_expression "uVar22 + 1" (identifier "uVar22") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar13 = *(int *)(param_1 + 0x140);" (assignment_expression "iVar13 = *(int *)(param_1 + 0x140)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(param_1 + 0x140)" (* "*") (cast_expression "(int *)(param_1 + 0x140)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "uVar14 = uVar22;" (assignment_expression "uVar14 = uVar22" (identifier "uVar14") (= "=") (identifier "uVar22")) (; ";")) (expression_statement "piVar19 = (int *)(*(code *)PTR_index234_000ad470)();" (assignment_expression "piVar19 = (int *)(*(code *)PTR_index234_000ad470)()" (identifier "piVar19") (= "=") (cast_expression "(int *)(*(code *)PTR_index234_000ad470)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_index234_000ad470)()" (parenthesized_expression "(*(code *)PTR_index234_000ad470)" (( "(") (pointer_expression "*(code *)PTR_index234_000ad470" (* "*") (cast_expression "(code *)PTR_index234_000ad470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_index234_000ad470"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (goto_statement "goto joined_r0x00041f0c;" (goto "goto") (statement_identifier "joined_r0x00041f0c") (; ";")) (labeled_statement "LAB_00041f44:\n  if (local_2c == *(int *)puVar24) {\n    return;\n  }" (statement_identifier "LAB_00041f44") (: ":") (if_statement "if (local_2c == *(int *)puVar24) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar24)" (( "(") (binary_expression "local_2c == *(int *)puVar24" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar24" (* "*") (cast_expression "(int *)puVar24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar24")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "pcVar5 = FUN_00042824;" (assignment_expression "pcVar5 = FUN_00042824" (identifier "pcVar5") (= "=") (identifier "FUN_00042824")) (; ";")) (expression_statement "puVar24 = PTR___stack_chk_fail_000adca4;" (assignment_expression "puVar24 = PTR___stack_chk_fail_000adca4" (identifier "puVar24") (= "=") (identifier "PTR___stack_chk_fail_000adca4")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000adca4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000adca4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000adca4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000adca4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000adca4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000adca4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puStack_b8 = puVar24 + 0x72a6c;" (assignment_expression "puStack_b8 = puVar24 + 0x72a6c" (identifier "puStack_b8") (= "=") (binary_expression "puVar24 + 0x72a6c" (identifier "puVar24") (+ "+") (number_literal "0x72a6c"))) (; ";")) (expression_statement "*(uint *)(iVar13 + 0x11c) = uVar14;" (assignment_expression "*(uint *)(iVar13 + 0x11c) = uVar14" (pointer_expression "*(uint *)(iVar13 + 0x11c)" (* "*") (cast_expression "(uint *)(iVar13 + 0x11c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x11c)" (( "(") (binary_expression "iVar13 + 0x11c" (identifier "iVar13") (+ "+") (number_literal "0x11c")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "*(int **)(iVar13 + 0x120) = piVar15;" (assignment_expression "*(int **)(iVar13 + 0x120) = piVar15" (pointer_expression "*(int **)(iVar13 + 0x120)" (* "*") (cast_expression "(int **)(iVar13 + 0x120)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + 0x120)" (( "(") (binary_expression "iVar13 + 0x120" (identifier "iVar13") (+ "+") (number_literal "0x120")) () ")")))) (= "=") (identifier "piVar15")) (; ";")) (expression_statement "piVar15 = *(int **)(puVar24 + 0x6b4b0);" (assignment_expression "piVar15 = *(int **)(puVar24 + 0x6b4b0)" (identifier "piVar15") (= "=") (pointer_expression "*(int **)(puVar24 + 0x6b4b0)" (* "*") (cast_expression "(int **)(puVar24 + 0x6b4b0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0x6b4b0)" (( "(") (binary_expression "puVar24 + 0x6b4b0" (identifier "puVar24") (+ "+") (number_literal "0x6b4b0")) () ")"))))) (; ";")) (expression_statement "iVar18 = *piVar15;" (assignment_expression "iVar18 = *piVar15" (identifier "iVar18") (= "=") (pointer_expression "*piVar15" (* "*") (identifier "piVar15"))) (; ";")) (expression_statement "iStack_ac = iVar18;" (assignment_expression "iStack_ac = iVar18" (identifier "iStack_ac") (= "=") (identifier "iVar18")) (; ";")) (expression_statement "uStack_a8 = uVar22;" (assignment_expression "uStack_a8 = uVar22" (identifier "uStack_a8") (= "=") (identifier "uVar22")) (; ";")) (expression_statement "piStack_a4 = piVar21;" (assignment_expression "piStack_a4 = piVar21" (identifier "piStack_a4") (= "=") (identifier "piVar21")) (; ";")) (expression_statement "uStack_a0 = unaff_s2;" (assignment_expression "uStack_a0 = unaff_s2" (identifier "uStack_a0") (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "iStack_9c = param_1;" (assignment_expression "iStack_9c = param_1" (identifier "iStack_9c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "piStack_98 = piVar11;" (assignment_expression "piStack_98 = piVar11" (identifier "piStack_98") (= "=") (identifier "piVar11")) (; ";")) (expression_statement "pcStack_94 = pcVar5;" (assignment_expression "pcStack_94 = pcVar5" (identifier "pcStack_94") (= "=") (identifier "pcVar5")) (; ";")) (if_statement "if (*(int *)(iVar13 + 0x144) == 2) {\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }\n  else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar13 + 0x144) == 2)" (( "(") (binary_expression "*(int *)(iVar13 + 0x144) == 2" (pointer_expression "*(int *)(iVar13 + 0x144)" (* "*") (cast_expression "(int *)(iVar13 + 0x144)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x144)" (( "(") (binary_expression "iVar13 + 0x144" (identifier "iVar13") (+ "+") (number_literal "0x144")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar13 + 0x148) = 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar13 + 0x148) = 1;" (assignment_expression "*(undefined4 *)(iVar13 + 0x148) = 1" (pointer_expression "*(undefined4 *)(iVar13 + 0x148)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x148)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x148)" (( "(") (binary_expression "iVar13 + 0x148" (identifier "iVar13") (+ "+") (number_literal "0x148")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" (else "else") (if_statement "if (*(int *)(iVar13 + 0x144) == 3) {\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar13 + 0x144) == 3)" (( "(") (binary_expression "*(int *)(iVar13 + 0x144) == 3" (pointer_expression "*(int *)(iVar13 + 0x144)" (* "*") (cast_expression "(int *)(iVar13 + 0x144)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x144)" (( "(") (binary_expression "iVar13 + 0x144" (identifier "iVar13") (+ "+") (number_literal "0x144")) () ")")))) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    uVar14 = 0x16;\n    iVar18 = *(int *)(iVar13 + 0x248);\n    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);\n    if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "uVar14 = 0x16;" (assignment_expression "uVar14 = 0x16" (identifier "uVar14") (= "=") (number_literal "0x16")) (; ";")) (expression_statement "iVar18 = *(int *)(iVar13 + 0x248);" (assignment_expression "iVar18 = *(int *)(iVar13 + 0x248)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar13 + 0x248)" (* "*") (cast_expression "(int *)(iVar13 + 0x248)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x248)" (( "(") (binary_expression "iVar13 + 0x248" (identifier "iVar13") (+ "+") (number_literal "0x248")) () ")"))))) (; ";")) (expression_statement "iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);" (assignment_expression "iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16)" (identifier "iVar8") (= "=") (call_expression "(**(code **)(puVar24 + 0x6ab28))(iVar18,0x16)" (parenthesized_expression "(**(code **)(puVar24 + 0x6ab28))" (( "(") (pointer_expression "**(code **)(puVar24 + 0x6ab28)" (* "*") (pointer_expression "*(code **)(puVar24 + 0x6ab28)" (* "*") (cast_expression "(code **)(puVar24 + 0x6ab28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0x6ab28)" (( "(") (binary_expression "puVar24 + 0x6ab28" (identifier "puVar24") (+ "+") (number_literal "0x6ab28")) () ")"))))) () ")")) (argument_list "(iVar18,0x16)" (( "(") (identifier "iVar18") (, ",") (number_literal "0x16") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar8 = *(int *)(iVar13 + 0x198);\n      if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }\n    }" ({ "{") (expression_statement "iVar8 = *(int *)(iVar13 + 0x198);" (assignment_expression "iVar8 = *(int *)(iVar13 + 0x198)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar13 + 0x198)" (* "*") (cast_expression "(int *)(iVar13 + 0x198)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x198)" (( "(") (binary_expression "iVar13 + 0x198" (identifier "iVar13") (+ "+") (number_literal "0x198")) () ")"))))) (; ";")) (if_statement "if (iVar8 == 1) {\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }\n      else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" (if "if") (parenthesized_expression "(iVar8 == 1)" (( "(") (binary_expression "iVar8 == 1" (identifier "iVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);\n        uVar14 = 0xb;\n        uStack_c0 = 0;\n        uStack_c4 = 0;\n        uStack_cc = 0;\n        iVar18 = iVar13;\n        iStack_d8 = iVar8;\n        iStack_d0 = iVar8;\n        iStack_c8 = iVar8;\n        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));\n      }" ({ "{") (expression_statement "uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);" (assignment_expression "uStack_d4 = *(undefined4 *)(iVar13 + 0x11c)" (identifier "uStack_d4") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 0x11c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x11c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x11c)" (( "(") (binary_expression "iVar13 + 0x11c" (identifier "iVar13") (+ "+") (number_literal "0x11c")) () ")"))))) (; ";")) (expression_statement "uVar14 = 0xb;" (assignment_expression "uVar14 = 0xb" (identifier "uVar14") (= "=") (number_literal "0xb")) (; ";")) (expression_statement "uStack_c0 = 0;" (assignment_expression "uStack_c0 = 0" (identifier "uStack_c0") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_c4 = 0;" (assignment_expression "uStack_c4 = 0" (identifier "uStack_c4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_cc = 0;" (assignment_expression "uStack_cc = 0" (identifier "uStack_cc") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar18 = iVar13;" (assignment_expression "iVar18 = iVar13" (identifier "iVar18") (= "=") (identifier "iVar13")) (; ";")) (expression_statement "iStack_d8 = iVar8;" (assignment_expression "iStack_d8 = iVar8" (identifier "iStack_d8") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iStack_d0 = iVar8;" (assignment_expression "iStack_d0 = iVar8" (identifier "iStack_d0") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iStack_c8 = iVar8;" (assignment_expression "iStack_c8 = iVar8" (identifier "iStack_c8") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));" (call_expression "FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120))" (identifier "FUN_00041954") (argument_list "(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120))" (( "(") (identifier "iVar13") (, ",") (number_literal "0xb") (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x120)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x120)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x120)" (( "(") (binary_expression "iVar13 + 0x120" (identifier "iVar13") (+ "+") (number_literal "0x120")) () ")")))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" (else "else") (compound_statement "{\n        iVar18 = *(int *)(iVar13 + 0x128);\n        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);\n        if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }\n      }" ({ "{") (expression_statement "iVar18 = *(int *)(iVar13 + 0x128);" (assignment_expression "iVar18 = *(int *)(iVar13 + 0x128)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar13 + 0x128)" (* "*") (cast_expression "(int *)(iVar13 + 0x128)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x128)" (( "(") (binary_expression "iVar13 + 0x128" (identifier "iVar13") (+ "+") (number_literal "0x128")) () ")"))))) (; ";")) (expression_statement "uVar14 = *(uint *)(puStack_b8 + -0x7fc8);" (assignment_expression "uVar14 = *(uint *)(puStack_b8 + -0x7fc8)" (identifier "uVar14") (= "=") (pointer_expression "*(uint *)(puStack_b8 + -0x7fc8)" (* "*") (cast_expression "(uint *)(puStack_b8 + -0x7fc8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_b8 + -0x7fc8)" (( "(") (binary_expression "puStack_b8 + -0x7fc8" (identifier "puStack_b8") (+ "+") (number_literal "-0x7fc8")) () ")"))))) (; ";")) (if_statement "if (iVar18 != 0) {\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }" (if "if") (parenthesized_expression "(iVar18 != 0)" (( "(") (binary_expression "iVar18 != 0" (identifier "iVar18") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          piVar11 = &iStack_b0;\n          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));\n          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));\n          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iStack_b0 = 0;\n          FUN_00033374(unaff_s2,piVar11,4);\n          iVar18 = iVar13;\n          uVar14 = unaff_s2;\n          FUN_0003e878(iVar13,unaff_s2);\n        }" ({ "{") (expression_statement "piVar11 = &iStack_b0;" (assignment_expression "piVar11 = &iStack_b0" (identifier "piVar11") (= "=") (pointer_expression "&iStack_b0" (& "&") (identifier "iStack_b0"))) (; ";")) (expression_statement "unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);" (assignment_expression "unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0)" (identifier "unaff_s2") (= "=") (call_expression "FUN_00034800(iVar18,uVar14 - 0x72c,0,0)" (identifier "FUN_00034800") (argument_list "(iVar18,uVar14 - 0x72c,0,0)" (( "(") (identifier "iVar18") (, ",") (binary_expression "uVar14 - 0x72c" (identifier "uVar14") (- "-") (number_literal "0x72c")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));" (call_expression "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c))" (identifier "FUN_0003364c") (argument_list "(unaff_s2,*(undefined4 *)(iVar13 + 0x11c))" (( "(") (identifier "unaff_s2") (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x11c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x11c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x11c)" (( "(") (binary_expression "iVar13 + 0x11c" (identifier "iVar13") (+ "+") (number_literal "0x11c")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));" (call_expression "FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120))" (identifier "FUN_0003364c") (argument_list "(unaff_s2,*(undefined4 *)(iVar13 + 0x120))" (( "(") (identifier "unaff_s2") (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x120)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x120)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x120)" (( "(") (binary_expression "iVar13 + 0x120" (identifier "iVar13") (+ "+") (number_literal "0x120")) () ")")))) () ")"))) (; ";")) (expression_statement "param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;" (assignment_expression "param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374" (identifier "param_1") (= "=") (binary_expression "*(int *)(puStack_b8 + -0x7ce0) + 0x3374" (pointer_expression "*(int *)(puStack_b8 + -0x7ce0)" (* "*") (cast_expression "(int *)(puStack_b8 + -0x7ce0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_b8 + -0x7ce0)" (( "(") (binary_expression "puStack_b8 + -0x7ce0" (identifier "puStack_b8") (+ "+") (number_literal "-0x7ce0")) () ")")))) (+ "+") (number_literal "0x3374"))) (; ";")) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" (identifier "iStack_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00033374(unaff_s2,piVar11,4);" (call_expression "FUN_00033374(unaff_s2,piVar11,4)" (identifier "FUN_00033374") (argument_list "(unaff_s2,piVar11,4)" (( "(") (identifier "unaff_s2") (, ",") (identifier "piVar11") (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "iStack_b0 = 0;" (assignment_expression "iStack_b0 = 0" (identifier "iStack_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00033374(unaff_s2,piVar11,4);" (call_expression "FUN_00033374(unaff_s2,piVar11,4)" (identifier "FUN_00033374") (argument_list "(unaff_s2,piVar11,4)" (( "(") (identifier "unaff_s2") (, ",") (identifier "piVar11") (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "iVar18 = iVar13;" (assignment_expression "iVar18 = iVar13" (identifier "iVar18") (= "=") (identifier "iVar13")) (; ";")) (expression_statement "uVar14 = unaff_s2;" (assignment_expression "uVar14 = unaff_s2" (identifier "uVar14") (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "FUN_0003e878(iVar13,unaff_s2);" (call_expression "FUN_0003e878(iVar13,unaff_s2)" (identifier "FUN_0003e878") (argument_list "(iVar13,unaff_s2)" (( "(") (identifier "iVar13") (, ",") (identifier "unaff_s2") () ")"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (} "}"))))) (if_statement "if (iStack_ac == *piVar15) {\n    return;\n  }" (if "if") (parenthesized_expression "(iStack_ac == *piVar15)" (( "(") (binary_expression "iStack_ac == *piVar15" (identifier "iStack_ac") (== "==") (pointer_expression "*piVar15" (* "*") (identifier "piVar15"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar5 = *(code **)(puStack_b8 + -0x75ec);" (assignment_expression "pcVar5 = *(code **)(puStack_b8 + -0x75ec)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puStack_b8 + -0x75ec)" (* "*") (cast_expression "(code **)(puStack_b8 + -0x75ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_b8 + -0x75ec)" (( "(") (binary_expression "puStack_b8 + -0x75ec" (identifier "puStack_b8") (+ "+") (number_literal "-0x75ec")) () ")"))))) (; ";")) (expression_statement "uVar7 = 0x429d8;" (assignment_expression "uVar7 = 0x429d8" (identifier "uVar7") (= "=") (number_literal "0x429d8")) (; ";")) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar19 = *(int **)(pcVar5 + 0x6b2fc);" (assignment_expression "piVar19 = *(int **)(pcVar5 + 0x6b2fc)" (identifier "piVar19") (= "=") (pointer_expression "*(int **)(pcVar5 + 0x6b2fc)" (* "*") (cast_expression "(int **)(pcVar5 + 0x6b2fc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6b2fc)" (( "(") (binary_expression "pcVar5 + 0x6b2fc" (identifier "pcVar5") (+ "+") (number_literal "0x6b2fc")) () ")"))))) (; ";")) (expression_statement "iStack_10c = *piVar19;" (assignment_expression "iStack_10c = *piVar19" (identifier "iStack_10c") (= "=") (pointer_expression "*piVar19" (* "*") (identifier "piVar19"))) (; ";")) (expression_statement "iStack_108 = iVar13;" (assignment_expression "iStack_108 = iVar13" (identifier "iStack_108") (= "=") (identifier "iVar13")) (; ";")) (expression_statement "piStack_104 = piVar15;" (assignment_expression "piStack_104 = piVar15" (identifier "piStack_104") (= "=") (identifier "piVar15")) (; ";")) (expression_statement "uStack_100 = unaff_s2;" (assignment_expression "uStack_100 = unaff_s2" (identifier "uStack_100") (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "iStack_fc = param_1;" (assignment_expression "iStack_fc = param_1" (identifier "iStack_fc") (= "=") (identifier "param_1")) (; ";")) (expression_statement "piStack_f8 = piVar11;" (assignment_expression "piStack_f8 = piVar11" (identifier "piStack_f8") (= "=") (identifier "piVar11")) (; ";")) (expression_statement "piStack_f4 = piVar12;" (assignment_expression "piStack_f4 = piVar12" (identifier "piStack_f4") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "puStack_f0 = puVar23;" (assignment_expression "puStack_f0 = puVar23" (identifier "puStack_f0") (= "=") (identifier "puVar23")) (; ";")) (expression_statement "uStack_ec = uVar7;" (assignment_expression "uStack_ec = uVar7" (identifier "uStack_ec") (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar13 = FUN_0002f068(uVar14);" (assignment_expression "iVar13 = FUN_0002f068(uVar14)" (identifier "iVar13") (= "=") (call_expression "FUN_0002f068(uVar14)" (identifier "FUN_0002f068") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "FUN_0002fb84();" (call_expression "FUN_0002fb84()" (identifier "FUN_0002fb84") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar7 = FUN_0002f068(uVar14);" (assignment_expression "uVar7 = FUN_0002f068(uVar14)" (identifier "uVar7") (= "=") (call_expression "FUN_0002f068(uVar14)" (identifier "FUN_0002f068") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (if_statement "if (iStack_12c == 0) {\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }" (if "if") (parenthesized_expression "(iStack_12c == 0)" (( "(") (binary_expression "iStack_12c == 0" (identifier "iStack_12c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;\n  }" ({ "{") (expression_statement "iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;" (assignment_expression "iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4" (identifier "iStack_12c") (= "=") (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x22a4" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a8f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a8f0)" (( "(") (binary_expression "pcVar5 + 0x6a8f0" (identifier "pcVar5") (+ "+") (number_literal "0x6a8f0")) () ")")))) (+ "+") (number_literal "-0x22a4"))) (; ";")) (} "}"))) (expression_statement "iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);" (assignment_expression "iStack_11c = (**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" (identifier "iStack_11c") (= "=") (call_expression "(**(code **)(pcVar5 + 0x6a900))\n                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a900))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6a900)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6a900)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6a900)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6a900)" (( "(") (binary_expression "pcVar5 + 0x6a900" (identifier "pcVar5") (+ "+") (number_literal "0x6a900")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x1de0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a8f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a8f0)" (( "(") (binary_expression "pcVar5 + 0x6a8f0" (identifier "pcVar5") (+ "+") (number_literal "0x6a8f0")) () ")")))) (+ "+") (number_literal "-0x1de0")) (, ",") (identifier "uStack_130") (, ",") (identifier "iStack_12c") () ")")))) (; ";")) (expression_statement "uStack_124 = uVar7;" (assignment_expression "uStack_124 = uVar7" (identifier "uStack_124") (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);" (assignment_expression "iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" (identifier "iVar8") (= "=") (call_expression "(**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aaa0))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6aaa0)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6aaa0)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6aaa0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6aaa0)" (( "(") (binary_expression "pcVar5 + 0x6aaa0" (identifier "pcVar5") (+ "+") (number_literal "0x6aaa0")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0)" (( "(") (pointer_expression "*(undefined4 *)(iVar18 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(iVar18 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x13c)" (( "(") (binary_expression "iVar18 + 0x13c" (identifier "iVar18") (+ "+") (number_literal "0x13c")) () ")")))) (, ",") (identifier "auStack_128") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }\n  else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);\n  }" ({ "{") (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7)" (identifier "FUN_0002f168") (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7)" (( "(") (identifier "iVar18") (, ",") (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x71c" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a8f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a8f0)" (( "(") (binary_expression "pcVar5 + 0x6a8f0" (identifier "pcVar5") (+ "+") (number_literal "0x6a8f0")) () ")")))) (+ "+") (number_literal "-0x71c")) (, ",") (identifier "iStack_11c") (, ",") (identifier "uVar7") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" (else "else") (compound_statement "{\n    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);\n    *piVar15 = iVar18;\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);\n    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));\n    if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }\n    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);\n    safefree(iVar8);\n    safefree(piVar15);\n  }" ({ "{") (expression_statement "piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);" (assignment_expression "piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" (identifier "piVar15") (= "=") (cast_expression "(int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa3c))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6aa3c)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6aa3c)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6aa3c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6aa3c)" (( "(") (binary_expression "pcVar5 + 0x6aa3c" (identifier "pcVar5") (+ "+") (number_literal "0x6aa3c")) () ")"))))) () ")")) (argument_list "(1,0x5c)" (( "(") (number_literal "1") (, ",") (number_literal "0x5c") () ")"))))) (; ";")) (expression_statement "*piVar15 = iVar18;" (assignment_expression "*piVar15 = iVar18" (pointer_expression "*piVar15" (* "*") (identifier "piVar15")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7)" (identifier "FUN_0002f168") (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7)" (( "(") (identifier "iVar18") (, ",") (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0x6f0" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a8f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a8f0)" (( "(") (binary_expression "pcVar5 + 0x6a8f0" (identifier "pcVar5") (+ "+") (number_literal "0x6a8f0")) () ")")))) (+ "+") (number_literal "-0x6f0")) (, ",") (identifier "iStack_11c") (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));" (assignment_expression "iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" (identifier "iVar8") (= "=") (call_expression "pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" (identifier "pfd_connect") (argument_list "(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),\n                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24))" (( "(") (binary_expression "piVar15 + 0x13" (identifier "piVar15") (+ "+") (number_literal "0x13")) (, ",") (identifier "iStack_11c") (, ",") (identifier "uVar7") (, ",") (identifier "piVar15") (, ",") (pointer_expression "*(undefined4 *)(iVar18 + 0x248)" (* "*") (cast_expression "(undefined4 *)(iVar18 + 0x248)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x248)" (( "(") (binary_expression "iVar18 + 0x248" (identifier "iVar18") (+ "+") (number_literal "0x248")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar8 + 0x18) + 0x24)" (( "(") (binary_expression "*(int *)(iVar8 + 0x18) + 0x24" (pointer_expression "*(int *)(iVar8 + 0x18)" (* "*") (cast_expression "(int *)(iVar8 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x18)" (( "(") (binary_expression "iVar8 + 0x18" (identifier "iVar8") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x24")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00036678(piVar15);\n      piVar15[3] = 3;\n      piVar15[1] = iVar13;\n      piVar15[4] = 0;\n      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);\n      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;\n      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);\n      goto LAB_00042b8c;\n    }" ({ "{") (expression_statement "FUN_00036678(piVar15);" (call_expression "FUN_00036678(piVar15)" (identifier "FUN_00036678") (argument_list "(piVar15)" (( "(") (identifier "piVar15") () ")"))) (; ";")) (expression_statement "piVar15[3] = 3;" (assignment_expression "piVar15[3] = 3" (subscript_expression "piVar15[3]" (identifier "piVar15") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "3")) (; ";")) (expression_statement "piVar15[1] = iVar13;" (assignment_expression "piVar15[1] = iVar13" (subscript_expression "piVar15[1]" (identifier "piVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "piVar15[4] = 0;" (assignment_expression "piVar15[4] = 0" (subscript_expression "piVar15[4]" (identifier "piVar15") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);" (call_expression "FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0)" (identifier "FUN_00041954") (argument_list "(iVar18,0x15,1,iVar13,1,piVar15[2],0)" (( "(") (identifier "iVar18") (, ",") (number_literal "0x15") (, ",") (number_literal "1") (, ",") (identifier "iVar13") (, ",") (number_literal "1") (, ",") (subscript_expression "piVar15[2]" (identifier "piVar15") ([ "[") (number_literal "2") (] "]")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;" (assignment_expression "iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10" (identifier "iVar8") (= "=") (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe10" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a8f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a8f0)" (( "(") (binary_expression "pcVar5 + 0x6a8f0" (identifier "pcVar5") (+ "+") (number_literal "0x6a8f0")) () ")")))) (+ "+") (number_literal "-0xe10"))) (; ";")) (expression_statement "(**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);" (call_expression "(**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6aa30))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6aa30)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6aa30)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6aa30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6aa30)" (( "(") (binary_expression "pcVar5 + 0x6aa30" (identifier "pcVar5") (+ "+") (number_literal "0x6aa30")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar18 + 0x110),iVar8)" (( "(") (pointer_expression "*(undefined4 *)(iVar18 + 0x110)" (* "*") (cast_expression "(undefined4 *)(iVar18 + 0x110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x110)" (( "(") (binary_expression "iVar18 + 0x110" (identifier "iVar18") (+ "+") (number_literal "0x110")) () ")")))) (, ",") (identifier "iVar8") () ")"))) (; ";")) (goto_statement "goto LAB_00042b8c;" (goto "goto") (statement_identifier "LAB_00042b8c") (; ";")) (} "}"))) (expression_statement "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);" (call_expression "FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8)" (identifier "FUN_0002f168") (argument_list "(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8)" (( "(") (identifier "iVar18") (, ",") (binary_expression "*(int *)(pcVar5 + 0x6a8f0) + -0xe28" (pointer_expression "*(int *)(pcVar5 + 0x6a8f0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a8f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a8f0)" (( "(") (binary_expression "pcVar5 + 0x6a8f0" (identifier "pcVar5") (+ "+") (number_literal "0x6a8f0")) () ")")))) (+ "+") (number_literal "-0xe28")) (, ",") (identifier "iVar8") () ")"))) (; ";")) (expression_statement "safefree(iVar8);" (call_expression "safefree(iVar8)" (identifier "safefree") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")"))) (; ";")) (expression_statement "safefree(piVar15);" (call_expression "safefree(piVar15)" (identifier "safefree") (argument_list "(piVar15)" (( "(") (identifier "piVar15") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar8 = 0x16;" (assignment_expression "iVar8 = 0x16" (identifier "iVar8") (= "=") (number_literal "0x16")) (; ";")) (expression_statement "FUN_00041954(iVar18,0x16,1,iVar13,0);" (call_expression "FUN_00041954(iVar18,0x16,1,iVar13,0)" (identifier "FUN_00041954") (argument_list "(iVar18,0x16,1,iVar13,0)" (( "(") (identifier "iVar18") (, ",") (number_literal "0x16") (, ",") (number_literal "1") (, ",") (identifier "iVar13") (, ",") (number_literal "0") () ")"))) (; ";")) (labeled_statement "LAB_00042b8c:\n  iVar13 = iStack_11c;" (statement_identifier "LAB_00042b8c") (: ":") (expression_statement "iVar13 = iStack_11c;" (assignment_expression "iVar13 = iStack_11c" (identifier "iVar13") (= "=") (identifier "iStack_11c")) (; ";"))) (expression_statement "safefree();" (call_expression "safefree()" (identifier "safefree") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iStack_10c == *piVar19) {\n    return;\n  }" (if "if") (parenthesized_expression "(iStack_10c == *piVar19)" (( "(") (binary_expression "iStack_10c == *piVar19" (identifier "iStack_10c") (== "==") (pointer_expression "*piVar19" (* "*") (identifier "piVar19"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar5 = *(code **)(pcVar5 + 0x6b2cc);" (assignment_expression "pcVar5 = *(code **)(pcVar5 + 0x6b2cc)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(pcVar5 + 0x6b2cc)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6b2cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6b2cc)" (( "(") (binary_expression "pcVar5 + 0x6b2cc" (identifier "pcVar5") (+ "+") (number_literal "0x6b2cc")) () ")"))))) (; ";")) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar18 = FUN_0002f068(iVar8);" (assignment_expression "iVar18 = FUN_0002f068(iVar8)" (identifier "iVar18") (= "=") (call_expression "FUN_0002f068(iVar8)" (identifier "FUN_0002f068") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6a784)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6a784)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6a784)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6a784)" (( "(") (binary_expression "pcVar5 + 0x6a784" (identifier "pcVar5") (+ "+") (number_literal "0x6a784")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4)" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x110)" (( "(") (binary_expression "iVar13 + 0x110" (identifier "iVar13") (+ "+") (number_literal "0x110")) () ")")))) (, ",") (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0x6c4" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a644)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a644)" (( "(") (binary_expression "pcVar5 + 0x6a644" (identifier "pcVar5") (+ "+") (number_literal "0x6a644")) () ")")))) (+ "+") (number_literal "-0x6c4")) () ")"))) (; ";")) (if_statement "if (*(int *)(iVar13 + 0x4c) == 0) {\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar13 + 0x4c) == 0)" (( "(") (binary_expression "*(int *)(iVar13 + 0x4c) == 0" (pointer_expression "*(int *)(iVar13 + 0x4c)" (* "*") (cast_expression "(int *)(iVar13 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x4c)" (( "(") (binary_expression "iVar13 + 0x4c" (identifier "iVar13") (+ "+") (number_literal "0x4c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00041954(iVar13,0x16,1,iVar18,0);\n                    \n                    \n    (**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);\n    return;\n  }" ({ "{") (expression_statement "FUN_00041954(iVar13,0x16,1,iVar18,0);" (call_expression "FUN_00041954(iVar13,0x16,1,iVar18,0)" (identifier "FUN_00041954") (argument_list "(iVar13,0x16,1,iVar18,0)" (( "(") (identifier "iVar13") (, ",") (number_literal "0x16") (, ",") (number_literal "1") (, ",") (identifier "iVar18") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6a784)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6a784)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6a784)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6a784)" (( "(") (binary_expression "pcVar5 + 0x6a784" (identifier "pcVar5") (+ "+") (number_literal "0x6a784")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4)" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x110)" (( "(") (binary_expression "iVar13 + 0x110" (identifier "iVar13") (+ "+") (number_literal "0x110")) () ")")))) (, ",") (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0x6a4" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a644)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a644)" (( "(") (binary_expression "pcVar5 + 0x6a644" (identifier "pcVar5") (+ "+") (number_literal "0x6a644")) () ")")))) (+ "+") (number_literal "-0x6a4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);" (assignment_expression "piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" (identifier "piVar15") (= "=") (cast_expression "(int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar5 + 0x6a790))(1,0x5c)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a790))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6a790)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6a790)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6a790)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6a790)" (( "(") (binary_expression "pcVar5 + 0x6a790" (identifier "pcVar5") (+ "+") (number_literal "0x6a790")) () ")"))))) () ")")) (argument_list "(1,0x5c)" (( "(") (number_literal "1") (, ",") (number_literal "0x5c") () ")"))))) (; ";")) (expression_statement "*piVar15 = iVar13;" (assignment_expression "*piVar15 = iVar13" (pointer_expression "*piVar15" (* "*") (identifier "piVar15")) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "FUN_00036678(piVar15);" (call_expression "FUN_00036678(piVar15)" (identifier "FUN_00036678") (argument_list "(piVar15)" (( "(") (identifier "piVar15") () ")"))) (; ";")) (expression_statement "iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);" (assignment_expression "iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" (identifier "iVar8") (= "=") (call_expression "(**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6ab54))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6ab54)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6ab54)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6ab54)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6ab54)" (( "(") (binary_expression "pcVar5 + 0x6ab54" (identifier "pcVar5") (+ "+") (number_literal "0x6ab54")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff)" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 0x194)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x194)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x194)" (( "(") (binary_expression "iVar13 + 0x194" (identifier "iVar13") (+ "+") (number_literal "0x194")) () ")")))) (, ",") (identifier "piVar15") (, ",") (number_literal "0") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (expression_statement "piVar15[0x13] = iVar8;" (assignment_expression "piVar15[0x13] = iVar8" (subscript_expression "piVar15[0x13]" (identifier "piVar15") ([ "[") (number_literal "0x13") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "piVar15[1] = iVar18;" (assignment_expression "piVar15[1] = iVar18" (subscript_expression "piVar15[1]" (identifier "piVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "piVar15[4] = 0;" (assignment_expression "piVar15[4] = 0" (subscript_expression "piVar15[4]" (identifier "piVar15") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar15[3] = 1;" (assignment_expression "piVar15[3] = 1" (subscript_expression "piVar15[3]" (identifier "piVar15") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);" (call_expression "FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0)" (identifier "FUN_00041954") (argument_list "(iVar13,0x15,1,iVar18,1,piVar15[2],0)" (( "(") (identifier "iVar13") (, ",") (number_literal "0x15") (, ",") (number_literal "1") (, ",") (identifier "iVar18") (, ",") (number_literal "1") (, ",") (subscript_expression "piVar15[2]" (identifier "piVar15") ([ "[") (number_literal "2") (] "]")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);" (call_expression "(**(code **)(pcVar5 + 0x6a784))\n            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8)" (parenthesized_expression "(**(code **)(pcVar5 + 0x6a784))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x6a784)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x6a784)" (* "*") (cast_expression "(code **)(pcVar5 + 0x6a784)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x6a784)" (( "(") (binary_expression "pcVar5 + 0x6a784" (identifier "pcVar5") (+ "+") (number_literal "0x6a784")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8)" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 0x110)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x110)" (( "(") (binary_expression "iVar13 + 0x110" (identifier "iVar13") (+ "+") (number_literal "0x110")) () ")")))) (, ",") (binary_expression "*(int *)(pcVar5 + 0x6a644) + -0xdb8" (pointer_expression "*(int *)(pcVar5 + 0x6a644)" (* "*") (cast_expression "(int *)(pcVar5 + 0x6a644)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x6a644)" (( "(") (binary_expression "pcVar5 + 0x6a644" (identifier "pcVar5") (+ "+") (number_literal "0x6a644")) () ")")))) (+ "+") (number_literal "-0xdb8")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(type_1 ssh,type_2 *conf)

{
  bool bVar1;
  bool bVar2;
  type_3 *var_3;
  char *pcVar4;
  type_4 *var_32;
  type_5 *var_21;
  int var_10;
  int var_15;
  char *var_43;
  int *var_17;
  int *var_18;
  int *var_44;
  type_6 uVar13;
  type_6 port;
  type_7 *c;
  type_8 *var_1;
  type_1 ssh_00;
  type_1 var_28;
  type_9 *pkt;
  type_5 *var_14;
  char *var_9;
  type_5 *var_20;
  type_5 *puVar19;
  int var_4;
  type_9 *pPVar21;
  char *var_19;
  type_10 var_8;
  type_10 var_7;
  type_5 *var_38;
  type_4 *pcVar25;
  int iStack_130;
  char *var_35;
  type_11 auStack_128 [4];
  type_6 uStack_124;
  char *pcStack_11c;
  type_3 uStack_10c;
  type_1 psStack_108;
  int *piStack_104;
  type_10 uStack_100;
  type_1 psStack_fc;
  int *piStack_f8;
  type_5 *puStack_f4;
  type_5 *puStack_f0;
  type_4 *pcStack_ec;
  int iStack_d8;
  int iStack_d4;
  int iStack_d0;
  type_3 uStack_cc;
  int iStack_c8;
  type_3 uStack_c4;
  type_3 uStack_c0;
  type_5 *var_27;
  type_1 var_31;
  type_9 *pPStack_a8;
  type_5 *puStack_a4;
  type_10 uStack_a0;
  type_1 psStack_9c;
  int *piStack_98;
  type_4 *pcStack_94;
  char *var_40;
  type_11 uStack_31;
  char *var_6;
  int var_23;
  
  var_20 = PTR___stack_chk_guard_000adcd4;
  var_23 = *(int *)PTR___stack_chk_guard_000adcd4;
  var_1 = ssh->portfwds;
  var_4 = 0;
  if (var_1 == (type_8 *)0x0) {
    var_1 = (type_8 *)(*(type_4 *)PTR_newtree234_000ad464)(var_2 + 0x6288);
    ssh->portfwds = var_1;
  }
  else {
    while (var_3 = (type_3 *)(*(type_4 *)PTR_index234_000ad470)(var_1,var_4),
          var_3 != (type_3 *)0x0) {
      var_4 = var_4 + 1;
      var_1 = ssh->portfwds;
      *var_3 = 0;
    }
  }
  var_9 = (char *)0x0;
  var_4 = (*(type_4 *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,0,&var_6);
  var_14 = var_5;
  if (var_4 != 0) {
    pcVar4 = var_5 + -0x1de0;
    var_32 = (type_4 *)(var_2 + -0xe98);
    var_21 = var_5 + 0x7b40;
    do {
      var_7 = (type_10)*var_6;
      if ((var_7 == 0x41) || ((var_7 & 0xfffffffd) == 0x34)) {
        var_8 = (type_10)var_6[1];
        var_9 = var_6 + 1;
        if (var_8 != 0x4c) goto LAB_00041c3c;
LAB_00041d7c:
        var_9 = var_9 + 1;
      }
      else {
        bVar1 = var_7 == 0x4c;
        var_9 = var_6;
        var_8 = var_7;
        var_7 = 0x41;
        if (bVar1) goto LAB_00041d7c;
LAB_00041c3c:
        if (var_8 == 0x52) goto LAB_00041d7c;
        var_8 = 0x4c;
      }
      var_10 = (*(type_4 *)PTR_host_strchr_000ad37c)(var_9,0x3a);
      if (var_10 != 0) {
        var_9 = var_11(pcVar4,var_10 - (int)var_9,var_9);
        var_12(var_9);
                    /* WARNING: Subroutine does not return */
        var_13(var_9);
      }
      var_10 = (*(type_4 *)PTR_strtol_000adb28)(var_9,0,10);
      if (var_10 == 0) {
        var_10 = (*(type_4 *)PTR_net_service_lookup_000ad7ec)(var_9);
        if (var_10 == 0) {
          (*var_32)(ssh,var_14 + -0x8cc,var_9);
          bVar1 = true;
        }
        else {
          bVar1 = true;
        }
      }
      else {
        bVar1 = false;
      }
      if ((var_8 == 0x4c) &&
         (var_15 = (*(type_4 *)PTR_strcmp_000add14)(var_4,var_5 + 0x78e4), var_15 == 0)) {
        if (var_10 == 0) {
LAB_00041d44:
                    /* WARNING: Subroutine does not return */
          var_13((void *)0x0);
        }
        var_17 = (int *)var_16(1,0x2c);
        var_17[4] = 0;
        var_17[1] = 0x44;
        var_4 = -1;
        if (bVar1) {
          var_43 = (char *)0x0;
          var_19 = (char *)0x0;
          bVar2 = false;
LAB_00042660:
          var_15 = (*(type_4 *)PTR_dupstr_000ad2dc)(var_9);
          var_17[6] = var_15;
          var_17[2] = var_10;
          var_17[5] = (int)var_43;
          goto joined_r0x00042688;
        }
        var_17[6] = 0;
        var_15 = 0;
        var_17[2] = var_10;
        var_17[5] = 0;
LAB_00041b48:
        var_17[7] = var_15;
        var_17[3] = var_4;
        var_17[10] = 0;
        var_17[8] = 0;
        if (var_7 == 0x34) goto LAB_00041e2c;
LAB_00041b60:
        var_38 = PTR_add234_000ad45c;
        var_4 = 2;
        var_1 = ssh->portfwds;
        if (var_7 != 0x36) {
          var_4 = 0;
        }
        var_17[9] = var_4;
        var_18 = (int *)(*(type_4 *)var_38)(var_1,var_17);
        if (var_17 != var_18) goto LAB_00041b8c;
      }
      else {
        var_15 = (*(type_4 *)PTR_host_strcspn_000ad35c)(var_4,var_21);
        var_19 = (char *)(var_4 + var_15);
        var_43 = var_11(pcVar4,var_15,var_4);
        if (*var_19 != '\0') {
          var_19 = var_19 + 1;
        }
        var_4 = (*(type_4 *)PTR_strtol_000adb28)(var_19,0,10);
        if (var_4 == 0) {
          var_4 = (*(type_4 *)PTR_net_service_lookup_000ad7ec)(var_19);
          if (var_4 == 0) {
            (*var_32)(ssh,var_14 + -0x8a0,var_19);
            goto LAB_00041d44;
          }
          bVar2 = true;
        }
        else {
          bVar2 = false;
        }
        if (var_10 == 0) goto LAB_00041d44;
        var_17 = (int *)var_16(1,0x2c);
        var_17[1] = var_8;
        var_17[4] = 0;
        if (bVar1) goto LAB_00042660;
        var_17[2] = var_10;
        var_17[5] = (int)var_43;
        var_17[6] = 0;
joined_r0x00042688:
        if (bVar2) {
          var_15 = (*(type_4 *)PTR_dupstr_000ad2dc)(var_19);
          goto LAB_00041b48;
        }
        var_17[3] = var_4;
        var_17[10] = 0;
        var_17[7] = 0;
        var_17[8] = 0;
        if (var_7 != 0x34) goto LAB_00041b60;
LAB_00041e2c:
        var_38 = PTR_add234_000ad45c;
        var_1 = ssh->portfwds;
        var_17[9] = 1;
        var_18 = (int *)(*(type_4 *)var_38)(var_1,var_17);
        if (var_17 != var_18) {
LAB_00041b8c:
          if (*var_18 == 0) {
            *var_18 = 1;
          }
                    /* WARNING: Subroutine does not return */
          var_13((void *)var_17[4]);
        }
      }
      *var_17 = 2;
      var_9 = var_6;
      var_4 = (*(type_4 *)PTR_conf_get_str_strs_000ad5d8)(conf,0x9b,var_6,&var_6);
    } while (var_4 != 0);
  }
  var_21 = var_5;
  var_4 = 0;
  var_17 = (int *)(*(type_4 *)PTR_index234_000ad470)(ssh->portfwds,0);
  var_14 = var_2;
  while (var_38 = var_5, var_2 = var_14, var_17 != (int *)0x0) {
    if (*var_17 == 0) {
      if (var_17[1] == 0x4c) {
        var_20 = (type_5 *)var_17[4];
        var_14 = var_5 + -0x8f8;
      }
      else {
        if (var_17[1] == 0x52) {
          var_14 = var_5 + -0x8f0;
        }
        else {
          var_14 = var_5 + -0x8e8;
        }
        var_20 = (type_5 *)var_17[4];
      }
      if (var_20 == (type_5 *)0x0) {
        var_20 = var_5 + -0x22a4;
        var_38 = var_20;
      }
      else {
        var_38 = var_5 + 0x7b40;
      }
      var_9 = var_11(var_21 + -0x870,var_14,var_20,var_38);
      if (var_17[1] != 0x44) {
        var_11(var_5 + -0x850,var_9,var_17[5],var_17[3]);
                    /* WARNING: Subroutine does not return */
        var_13(var_9);
      }
      var_22(ssh,var_21 + -0x844,var_9);
                    /* WARNING: Subroutine does not return */
      var_13(var_9);
    }
    var_4 = var_4 + 1;
    var_17 = (int *)(*(type_4 *)PTR_index234_000ad470)(ssh->portfwds,var_4);
    var_14 = var_2;
  }
  pPVar21 = (type_9 *)0x0;
  pkt = (type_9 *)0x0;
  ssh_00 = (type_1)ssh->portfwds;
  var_32 = (type_4 *)(var_14 + -0xe98);
  var_21 = var_5 + -0x22a4;
  var_18 = (int *)(*(type_4 *)PTR_index234_000ad470)();
  while( true ) {
    if (var_18 == (int *)0x0) {
      if (var_23 == *(int *)var_20) {
        return;
      }
      var_32 = ssh_size;
      var_20 = PTR___stack_chk_fail_000adca4;
      (*(type_4 *)PTR___stack_chk_fail_000adca4)();
      var_27 = var_20 + 0x72a6c;
      ssh_00->term_width = (int)pkt;
      ssh_00->term_height = (int)var_9;
      var_18 = *(int **)(var_20 + 0x6b4b0);
      var_28 = (type_1)*var_18;
      var_31 = var_28;
      pPStack_a8 = pPVar21;
      puStack_a4 = var_21;
      uStack_a0 = var_8;
      psStack_9c = ssh;
      piStack_98 = var_17;
      pcStack_94 = var_32;
      if (ssh_00->state == var_24) {
        ssh_00->size_needed = 1;
      }
      else if (ssh_00->state == var_25) {
        pkt = (type_9 *)&DAT_00000016;
        var_28 = (type_1)ssh_00->conf;
        var_4 = (**(type_4 **)(var_20 + 0x6ab28))();
        if (var_4 == 0) {
          var_4 = ssh_00->version;
          if (var_4 == 1) {
            iStack_d4 = ssh_00->term_width;
            pkt = (type_9 *)0xb;
            uStack_c0 = 0;
            uStack_c4 = 0;
            uStack_cc = 0;
            var_28 = ssh_00;
            iStack_d8 = var_4;
            iStack_d0 = var_4;
            iStack_c8 = var_4;
            var_26(ssh_00,0xb,1,ssh_00->term_height);
          }
          else {
            var_28 = (type_1)ssh_00->mainchan;
            pkt = *(type_9 **)(var_27 + -0x7fc8);
            if (var_28 != (type_1)0x0) {
              pPVar21 = var_29((type_7 *)var_28,(char *)&pkt[-0x2a].sequence,
                                          (type_12)0x0,(void *)0x0);
                    /* WARNING: Subroutine does not return */
              var_30(pPVar21,ssh_00->term_width);
            }
          }
        }
      }
      if (var_31 == (type_1)*var_18) {
        return;
      }
      var_32 = *(type_4 **)(var_27 + -0x75ec);
      pcVar25 = ssh1_msg_port_open;
      (*var_32)();
      uStack_10c = **(type_3 **)(var_32 + 0x6b2fc);
      pPVar21 = pkt;
      psStack_108 = ssh_00;
      piStack_104 = var_18;
      uStack_100 = var_8;
      psStack_fc = ssh;
      piStack_f8 = var_17;
      puStack_f4 = var_14;
      puStack_f0 = var_38;
      pcStack_ec = pcVar25;
      uVar13 = var_33(pkt);
      var_34(pPVar21,&var_35,&iStack_130);
      port = var_33(pkt);
      if (var_35 == (char *)0x0) {
        var_35 = (char *)(*(int *)(var_32 + 0x6a8f0) + -0x22a4);
      }
      pcStack_11c = (char *)(**(type_4 **)(var_32 + 0x6a900))
                                      (*(int *)(var_32 + 0x6a8f0) + -0x1de0,iStack_130,var_35);
      uStack_124 = port;
      var_4 = (**(type_4 **)(var_32 + 0x6aaa0))(var_28->rportfwds,auStack_128,0);
      if (var_4 == 0) {
        var_22(var_28,(char *)(*(int *)(var_32 + 0x6a8f0) + -0x71c),pcStack_11c,port);
        var_26(var_28,0x16,1,uVar13,0);
      }
      else {
        c = (type_7 *)(**(type_4 **)(var_32 + 0x6aa3c))(1,0x5c);
        c->ssh = var_28;
        var_22(var_28,(char *)(*(int *)(var_32 + 0x6a8f0) + -0x6f0),pcStack_11c,port);
        var_9 = var_36(&(c->u).pfd.pf,pcStack_11c,port,c,var_28->conf,
                              *(int *)(*(int *)(var_4 + 0x18) + 0x24));
        if (var_9 != (char *)0x0) {
          var_22(var_28,(char *)(*(int *)(var_32 + 0x6a8f0) + -0xe28),var_9);
                    /* WARNING: Subroutine does not return */
          var_13(var_9);
        }
        var_37(c);
        c->type = 3;
        c->remoteid = uVar13;
        c->halfopen = 0;
        var_26(var_28,0x15,1,uVar13,1,c->localid,0);
        (**(type_4 **)(var_32 + 0x6aa30))(var_28->frontend,*(int *)(var_32 + 0x6a8f0) + -0xe10);
      }
                    /* WARNING: Subroutine does not return */
      var_13(pcStack_11c);
    }
    if (*var_18 == 2) break;
    pPVar21 = (type_9 *)((int)&pPVar21->length + 1);
    ssh_00 = (type_1)ssh->portfwds;
    pkt = pPVar21;
    var_18 = (int *)(*(type_4 *)PTR_index234_000ad470)();
  }
  var_20 = var_21;
  var_14 = var_21;
  if ((type_5 *)var_18[4] != (type_5 *)0x0) {
    var_20 = (type_5 *)var_18[4];
    var_14 = var_5 + 0x7b40;
  }
  puVar19 = var_21;
  if ((type_5 *)var_18[6] != (type_5 *)0x0) {
    puVar19 = (type_5 *)var_18[6];
  }
  var_9 = var_11(var_38 + -0x810,var_20,var_14,puVar19);
  if (var_18[1] != 0x44) {
    var_20 = var_21;
    var_14 = var_21;
    if ((type_5 *)var_18[7] != (type_5 *)0x0) {
      var_20 = (type_5 *)var_18[7];
      var_14 = var_5 + -0x8e0;
    }
    pcVar4 = var_11(var_5 + -0x800,var_18[5],var_20,var_14);
    if (var_18[1] == 0x4c) {
      var_40 = var_39((char *)var_18[5],var_18[3],(char *)var_18[4],var_18[2],ssh,conf,
                            (type_13 **)(var_18 + 10),var_18[9]);
      if (var_18[9] == 1) {
        var_21 = var_5 + -0x8dc;
      }
      else if (var_18[9] == 2) {
        var_21 = var_5 + -0x8d4;
      }
      if (var_40 == (char *)0x0) {
        (*var_32)(ssh,var_5 + -0x790,var_21,var_9);
        var_41();
        return;
      }
      (*var_32)(ssh,var_5 + -0x790,var_21,var_9);
      goto LAB_000424c0;
    }
    if (var_18[1] != 0x44) {
      if (ssh->rportfwds == (type_8 *)0x0) {
        if (ssh->version == 1) {
          var_1 = (type_8 *)(*(type_4 *)PTR_newtree234_000ad464)(var_2 + 0x61e4);
          ssh->rportfwds = var_1;
        }
        else {
          var_1 = (type_8 *)(*(type_4 *)PTR_newtree234_000ad464)(var_2 + 0x6140);
          ssh->rportfwds = var_1;
        }
      }
      var_17 = (int *)var_16(1,0x1c);
      var_19 = (char *)var_18[5];
      var_17[5] = 0;
      var_19 = var_42(var_19);
      var_4 = var_18[3];
      var_43 = (char *)var_18[4];
      var_17[3] = (int)var_19;
      var_17[1] = var_4;
      if (var_43 == (char *)0x0) {
        var_4 = (*(type_4 *)PTR_conf_get_int_000ad34c)(conf,0x9a);
        if (var_4 == 0) {
          var_4 = (*(type_4 *)PTR_dupstr_000ad2dc)(var_5 + -0x81c);
          var_17[2] = var_4;
        }
        else {
          var_4 = (*(type_4 *)PTR_dupstr_000ad2dc)(var_21);
          var_17[2] = var_4;
        }
      }
      else {
        var_19 = var_42(var_43);
        var_17[2] = (int)var_19;
      }
      var_20 = PTR_add234_000ad45c;
      var_1 = ssh->rportfwds;
      *var_17 = var_18[2];
      var_44 = (int *)(*(type_4 *)var_20)(var_1,var_17);
      if (var_17 != var_44) {
        (*var_32)(ssh,var_5 + -0x7f4,var_18[5],var_18[3]);
                    /* WARNING: Subroutine does not return */
        var_13(var_17);
      }
      (*var_32)(ssh,var_5 + -0x7c8,var_9,pcVar4);
      var_4 = ssh->version;
      var_17[4] = (int)var_9;
      var_18[8] = (int)var_17;
      var_17[6] = (int)var_18;
      if (var_4 != 1) {
        pPVar21 = var_45(0x50);
        var_46(pPVar21,var_5 + -0x7a0);
        uStack_31 = 1;
                    /* WARNING: Subroutine does not return */
        var_47(pPVar21,&uStack_31,1);
      }
      var_26(ssh,0x1c,1,var_18[2]);
      var_48(ssh,0xe,0xf,(chandler_fn_t)(var_2 + 0x6478),var_17);
      var_41();
      return;
    }
  }
  var_40 = var_39((char *)0x0,-1,(char *)var_18[4],var_18[2],ssh,conf,
                        (type_13 **)(var_18 + 10),var_18[9]);
  if (var_18[9] == 1) {
    var_21 = var_5 + -0x8dc;
  }
  else if (var_18[9] == 2) {
    var_21 = var_5 + -0x8d4;
  }
  if (var_40 == (char *)0x0) {
    (*var_32)(ssh,var_38 + -0x75c,var_21,var_9);
    var_41();
    return;
  }
  (*var_32)(ssh,var_38 + -0x75c,var_21,var_9);
LAB_000424c0:
                    /* WARNING: Subroutine does not return */
  var_13(var_40);
}


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

void MASKED(int param_1,undefined4 param_2)

{
  bool bVar1;
  bool bVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined *puVar6;
  undefined4 uVar7;
  int iVar8;
  int iVar9;
  code *pcVar10;
  int *piVar11;
  int *piVar12;
  int iVar13;
  uint uVar14;
  int *piVar15;
  int *piVar16;
  undefined *puVar17;
  int iVar18;
  int *piVar19;
  char *pcVar20;
  int *piVar21;
  uint unaff_s2;
  uint uVar22;
  undefined *puVar23;
  undefined *puVar24;
  int *piVar25;
  undefined4 uStack_130;
  int iStack_12c;
  undefined1 auStack_128 [4];
  undefined4 uStack_124;
  int iStack_11c;
  int iStack_10c;
  int iStack_108;
  int *piStack_104;
  uint uStack_100;
  int iStack_fc;
  int *piStack_f8;
  int *piStack_f4;
  undefined *puStack_f0;
  undefined4 uStack_ec;
  int iStack_d8;
  undefined4 uStack_d4;
  int iStack_d0;
  undefined4 uStack_cc;
  int iStack_c8;
  undefined4 uStack_c4;
  undefined4 uStack_c0;
  undefined *puStack_b8;
  int iStack_b0;
  int iStack_ac;
  uint uStack_a8;
  int *piStack_a4;
  uint uStack_a0;
  int iStack_9c;
  int *piStack_98;
  code *pcStack_94;
  int *local_80;
  int *local_7c;
  int *local_78;
  int local_74;
  undefined4 local_70;
  int *local_54;
  undefined1 local_31;
  int *local_30;
  int local_2c;
  
  puVar24 = PTR___stack_chk_guard_000adcd4;
  local_2c = *(int *)PTR___stack_chk_guard_000adcd4;
  iVar13 = *(int *)(param_1 + 0x140);
  iVar18 = 0;
  if (iVar13 == 0) {
    uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6288);
    *(undefined4 *)(param_1 + 0x140) = uVar7;
  }
  else {
    while (puVar3 = (undefined4 *)(*(code *)PTR_index234_000ad470)(iVar13,iVar18),
          puVar3 != (undefined4 *)0x0) {
      iVar18 = iVar18 + 1;
      iVar13 = *(int *)(param_1 + 0x140);
      *puVar3 = 0;
    }
  }
  piVar15 = (int *)0x0;
  iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,0,&local_30);
  puVar23 = PTR_DAT_000ad2c8;
  if (iVar13 != 0) {
    puVar4 = PTR_DAT_000ad2c8 + -0x1de0;
    pcVar5 = (code *)(PTR_LAB_000ad5b0 + -0xe98);
    puVar6 = PTR_DAT_000ad2c8 + 0x7b40;
    do {
      uVar22 = (uint)*(char *)local_30;
      if ((uVar22 == 0x41) || ((uVar22 & 0xfffffffd) == 0x34)) {
        unaff_s2 = (uint)*(char *)((int)local_30 + 1);
        piVar15 = (int *)((int)local_30 + 1);
        if (unaff_s2 != 0x4c) goto LAB_00041c3c;
LAB_00041d7c:
        piVar15 = (int *)((int)piVar15 + 1);
      }
      else {
        bVar1 = uVar22 == 0x4c;
        piVar15 = local_30;
        unaff_s2 = uVar22;
        uVar22 = 0x41;
        if (bVar1) goto LAB_00041d7c;
LAB_00041c3c:
        if (unaff_s2 == 0x52) goto LAB_00041d7c;
        unaff_s2 = 0x4c;
      }
      iVar18 = (*(code *)PTR_host_strchr_000ad37c)(piVar15,0x3a);
      piVar19 = piVar15;
      if (iVar18 != 0) {
        piVar19 = (int *)(iVar18 + 1);
        uVar7 = dupprintf(puVar4,iVar18 - (int)piVar15,piVar15);
        iVar18 = host_strduptrim(uVar7);
        safefree(uVar7);
      }
      iVar8 = (*(code *)PTR_strtol_000adb28)(piVar19,0,10);
      if (iVar8 == 0) {
        iVar8 = (*(code *)PTR_net_service_lookup_000ad7ec)(piVar19);
        if (iVar8 == 0) {
          (*pcVar5)(param_1,puVar23 + -0x8cc,piVar19);
          bVar1 = true;
        }
        else {
          bVar1 = true;
        }
      }
      else {
        bVar1 = false;
      }
      if ((unaff_s2 == 0x4c) &&
         (iVar9 = (*(code *)PTR_strcmp_000add14)(iVar13,PTR_DAT_000ad2c8 + 0x78e4), iVar9 == 0)) {
        if (iVar8 == 0) {
          iVar13 = 0;
LAB_00041d44:
          safefree(iVar18);
          safefree(iVar13);
        }
        else {
          piVar15 = (int *)safemalloc(1,0x2c);
          piVar15[4] = iVar18;
          piVar15[1] = 0x44;
          iVar9 = -1;
          if (bVar1) {
            iVar13 = 0;
            pcVar20 = (char *)0x0;
            bVar2 = false;
LAB_00042660:
            iVar18 = (*(code *)PTR_dupstr_000ad2dc)(piVar19);
            piVar15[6] = iVar18;
            piVar15[2] = iVar8;
            piVar15[5] = iVar13;
            goto joined_r0x00042688;
          }
          piVar15[6] = 0;
          iVar13 = 0;
          piVar15[2] = iVar8;
          piVar15[5] = 0;
LAB_00041b48:
          piVar15[7] = iVar13;
          piVar15[3] = iVar9;
          piVar15[10] = 0;
          piVar15[8] = 0;
          if (uVar22 != 0x34) goto LAB_00041b60;
LAB_00041e2c:
          puVar17 = PTR_add234_000ad45c;
          uVar7 = *(undefined4 *)(param_1 + 0x140);
          piVar15[9] = 1;
          piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);
          if (piVar15 != piVar19) goto LAB_00041b8c;
LAB_00041e4c:
          *piVar15 = 2;
        }
      }
      else {
        iVar9 = (*(code *)PTR_host_strcspn_000ad35c)(iVar13,puVar6);
        pcVar20 = (char *)(iVar13 + iVar9);
        iVar13 = dupprintf(puVar4,iVar9,iVar13);
        if (*pcVar20 != '\0') {
          pcVar20 = pcVar20 + 1;
        }
        iVar9 = (*(code *)PTR_strtol_000adb28)(pcVar20,0,10);
        if (iVar9 == 0) {
          iVar9 = (*(code *)PTR_net_service_lookup_000ad7ec)(pcVar20);
          if (iVar9 == 0) {
            (*pcVar5)(param_1,puVar23 + -0x8a0,pcVar20);
            goto LAB_00041d44;
          }
          bVar2 = true;
        }
        else {
          bVar2 = false;
        }
        if (iVar8 == 0) goto LAB_00041d44;
        piVar15 = (int *)safemalloc(1,0x2c);
        piVar15[1] = unaff_s2;
        piVar15[4] = iVar18;
        if (bVar1) goto LAB_00042660;
        piVar15[2] = iVar8;
        piVar15[5] = iVar13;
        piVar15[6] = 0;
joined_r0x00042688:
        if (bVar2) {
          iVar13 = (*(code *)PTR_dupstr_000ad2dc)(pcVar20);
          goto LAB_00041b48;
        }
        piVar15[3] = iVar9;
        piVar15[10] = 0;
        piVar15[7] = 0;
        piVar15[8] = 0;
        if (uVar22 == 0x34) goto LAB_00041e2c;
LAB_00041b60:
        puVar17 = PTR_add234_000ad45c;
        iVar13 = 2;
        uVar7 = *(undefined4 *)(param_1 + 0x140);
        if (uVar22 != 0x36) {
          iVar13 = 0;
        }
        piVar15[9] = iVar13;
        piVar19 = (int *)(*(code *)puVar17)(uVar7,piVar15);
        if (piVar15 == piVar19) goto LAB_00041e4c;
LAB_00041b8c:
        if (*piVar19 == 0) {
          *piVar19 = 1;
        }
        safefree(piVar15[4]);
        safefree(piVar15[5]);
        safefree(piVar15[6]);
        safefree(piVar15[7]);
        safefree(piVar15);
      }
      piVar15 = local_30;
      iVar13 = (*(code *)PTR_conf_get_str_strs_000ad5d8)(param_2,0x9b,local_30,&local_30);
    } while (iVar13 != 0);
  }
  puVar23 = PTR_DAT_000ad2c8;
  iVar13 = 0;
  pcVar5 = (code *)(PTR_LAB_000ad5b0 + 0x2ae8);
  pcVar10 = (code *)(PTR_LAB_000ad5b0 + 0x34cc);
  do {
    piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);
    piVar12 = (int *)PTR_LAB_000ad5b0;
    while( true ) {
      puVar4 = PTR_DAT_000ad2c8;
      PTR_LAB_000ad5b0 = (undefined *)piVar12;
      if (piVar19 == (int *)0x0) {
        uVar22 = 0;
        uVar14 = 0;
        iVar13 = *(int *)(param_1 + 0x140);
        puVar23 = PTR_DAT_000ad2c8;
        pcVar5 = (code *)(piVar12 + -0x3a6);
        piVar25 = (int *)(PTR_DAT_000ad2c8 + -0x768);
        piVar21 = (int *)(PTR_DAT_000ad2c8 + -0x22a4);
        piVar19 = (int *)(*(code *)PTR_index234_000ad470)();
        piVar11 = (int *)0x0;
        goto joined_r0x00041f0c;
      }
      if (*piVar19 == 0) break;
      iVar13 = iVar13 + 1;
      piVar19 = (int *)(*(code *)PTR_index234_000ad470)(*(undefined4 *)(param_1 + 0x140),iVar13);
      piVar12 = (int *)PTR_LAB_000ad5b0;
    }
    if (piVar19[1] == 0x4c) {
      puVar6 = (undefined *)piVar19[4];
      puVar4 = PTR_DAT_000ad2c8 + -0x8f8;
      if (puVar6 == (undefined *)0x0) goto LAB_0004230c;
LAB_00042138:
      puVar17 = PTR_DAT_000ad2c8 + 0x7b40;
    }
    else {
      if (piVar19[1] == 0x52) {
        puVar4 = PTR_DAT_000ad2c8 + -0x8f0;
      }
      else {
        puVar4 = PTR_DAT_000ad2c8 + -0x8e8;
      }
      puVar6 = (undefined *)piVar19[4];
      if (puVar6 != (undefined *)0x0) goto LAB_00042138;
LAB_0004230c:
      puVar6 = PTR_DAT_000ad2c8 + -0x22a4;
      puVar17 = puVar6;
    }
    local_80 = (int *)piVar19[2];
    piVar15 = (int *)dupprintf(puVar23 + -0x870,puVar4,puVar6,puVar17);
    piVar12 = piVar15;
    if (piVar19[1] != 0x44) {
      piVar12 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x850,piVar15,piVar19[5],piVar19[3]);
      safefree(piVar15);
    }
    piVar15 = piVar12;
    FUN_0002f168(param_1,puVar23 + -0x844);
    safefree(piVar12);
    iVar18 = piVar19[8];
    if (iVar18 == 0) {
      if (piVar19[10] != 0) {
        pfl_terminate();
      }
    }
    else {
      if (*(int *)(param_1 + 0x198) != 1) {
        unaff_s2 = (*pcVar10)(0x50);
        FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x834);
        piVar15 = (int *)0x1;
        local_31 = 0;
        FUN_00033374(unaff_s2,&local_31);
        if (piVar19[4] == 0) {
          iVar8 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);
          if (iVar8 == 0) {
            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x81c);
          }
          else {
            FUN_000336bc(unaff_s2,PTR_DAT_000ad2c8 + -0x22a4);
          }
        }
        else {
          FUN_000336bc(unaff_s2);
        }
        FUN_0003364c(unaff_s2,piVar19[2]);
        FUN_0003e878(param_1,unaff_s2);
      }
      (*(code *)PTR_del234_000ad460)(*(undefined4 *)(param_1 + 0x13c),iVar18);
      (*pcVar5)(iVar18);
    }
    (*(code *)PTR_delpos234_000ad458)(*(undefined4 *)(param_1 + 0x140),iVar13);
    safefree(piVar19[4]);
    safefree(piVar19[5]);
    safefree(piVar19[6]);
    safefree(piVar19[7]);
    safefree(piVar19);
  } while( true );
joined_r0x00041f0c:
  if (piVar19 == (int *)0x0) goto LAB_00041f44;
  if (*piVar19 == 2) {
    piVar15 = piVar21;
    piVar11 = piVar21;
    if ((int *)piVar19[4] != (int *)0x0) {
      piVar15 = (int *)piVar19[4];
      piVar11 = (int *)(PTR_DAT_000ad2c8 + 0x7b40);
    }
    local_7c = (int *)piVar19[2];
    local_80 = piVar21;
    piVar16 = piVar21;
    local_78 = piVar21;
    if ((int *)piVar19[6] != (int *)0x0) {
      local_80 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);
      piVar16 = (int *)piVar19[6];
      local_78 = (int *)(PTR_DAT_000ad2c8 + -0xa48);
    }
    unaff_s2 = dupprintf(puVar4 + -0x810,piVar15,piVar11,piVar16);
    piVar15 = piVar21;
    if (piVar19[1] == 0x44) {
      piVar11 = (int *)0x0;
LAB_0004233c:
      local_74 = piVar19[9];
      local_78 = piVar19 + 10;
      local_80 = (int *)param_1;
      local_7c = (int *)param_2;
      local_54 = (int *)pfl_listen(0,0xffffffff,piVar19[4],piVar19[2]);
      if (piVar19[9] == 1) {
        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);
      }
      else if (piVar19[9] == 2) {
        piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);
      }
      if (local_54 == (int *)0x0) {
        local_80 = piVar21;
        local_7c = piVar21;
        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);
      }
      else {
        local_80 = piVar25;
        local_7c = local_54;
        (*pcVar5)(param_1,puVar4 + -0x75c,piVar15,unaff_s2);
LAB_000424c0:
        safefree(local_54);
      }
    }
    else {
      local_80 = (int *)piVar19[3];
      local_7c = piVar21;
      piVar11 = piVar21;
      piVar16 = piVar21;
      if ((int *)piVar19[7] != (int *)0x0) {
        local_7c = (int *)(PTR_DAT_000ad2c8 + -0xa48);
        piVar11 = (int *)piVar19[7];
        piVar16 = (int *)(PTR_DAT_000ad2c8 + -0x8e0);
      }
      piVar11 = (int *)dupprintf(PTR_DAT_000ad2c8 + -0x800,piVar19[5],piVar11,piVar16);
      if (piVar19[1] == 0x4c) {
        local_74 = piVar19[9];
        local_78 = piVar19 + 10;
        local_80 = (int *)param_1;
        local_7c = (int *)param_2;
        local_54 = (int *)pfl_listen(piVar19[5],piVar19[3],piVar19[4],piVar19[2]);
        if (piVar19[9] == 1) {
          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8dc);
        }
        else if (piVar19[9] == 2) {
          piVar15 = (int *)(PTR_DAT_000ad2c8 + -0x8d4);
        }
        local_80 = piVar11;
        if (local_54 != (int *)0x0) {
          local_7c = piVar25;
          local_78 = local_54;
          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);
          goto LAB_000424c0;
        }
        local_7c = piVar21;
        local_78 = piVar21;
        (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x790,piVar15,unaff_s2);
      }
      else {
        if (piVar19[1] == 0x44) goto LAB_0004233c;
        if (*(int *)(param_1 + 0x13c) == 0) {
          if (*(int *)(param_1 + 0x198) == 1) {
            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x61e4);
            *(undefined4 *)(param_1 + 0x13c) = uVar7;
          }
          else {
            uVar7 = (*(code *)PTR_newtree234_000ad464)(PTR_LAB_000ad5b0 + 0x6140);
            *(undefined4 *)(param_1 + 0x13c) = uVar7;
          }
        }
        piVar12 = (int *)safemalloc(1,0x1c);
        iVar13 = piVar19[5];
        piVar12[5] = 0;
        iVar13 = dupstr(iVar13);
        iVar8 = piVar19[3];
        iVar18 = piVar19[4];
        piVar12[3] = iVar13;
        piVar12[1] = iVar8;
        if (iVar18 == 0) {
          iVar13 = (*(code *)PTR_conf_get_int_000ad34c)(param_2,0x9a);
          if (iVar13 == 0) {
            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(PTR_DAT_000ad2c8 + -0x81c);
            piVar12[2] = iVar13;
          }
          else {
            iVar13 = (*(code *)PTR_dupstr_000ad2dc)(piVar21);
            piVar12[2] = iVar13;
          }
        }
        else {
          iVar13 = dupstr();
          piVar12[2] = iVar13;
        }
        puVar6 = PTR_add234_000ad45c;
        uVar7 = *(undefined4 *)(param_1 + 0x13c);
        *piVar12 = piVar19[2];
        piVar15 = (int *)(*(code *)puVar6)(uVar7,piVar12);
        if (piVar12 == piVar15) {
          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7c8,unaff_s2,piVar11);
          piVar15 = *(int **)(param_1 + 0x198);
          piVar12[4] = unaff_s2;
          piVar19[8] = (int)piVar12;
          piVar12[6] = (int)piVar19;
          if (piVar15 == (int *)0x1) {
            local_70 = 0;
            local_74 = piVar19[3];
            unaff_s2 = 0;
            local_7c = (int *)piVar19[5];
            local_80 = (int *)0x4;
            local_78 = piVar15;
            FUN_00041954(param_1,0x1c,1,piVar19[2]);
            piVar15 = (int *)0xf;
            local_80 = piVar12;
            FUN_0002f4a8(param_1,0xe,0xf,PTR_LAB_000ad5b0 + 0x6478);
          }
          else {
            uVar7 = FUN_000334cc(0x50);
            FUN_000336bc(uVar7,PTR_DAT_000ad2c8 + -0x7a0);
            local_31 = 1;
            FUN_00033374(uVar7,&local_31,1);
            FUN_000336bc(uVar7,piVar12[2]);
            FUN_0003364c(uVar7,*piVar12);
            unaff_s2 = 0;
            FUN_0003e878(param_1,uVar7);
            piVar15 = (int *)0x52;
            local_80 = piVar12;
            FUN_0002f4a8(param_1,0x51,0x52,PTR_LAB_000ad5b0 + 0x6478);
          }
        }
        else {
          piVar15 = (int *)piVar19[5];
          (*pcVar5)(param_1,PTR_DAT_000ad2c8 + -0x7f4,piVar15,piVar19[3]);
          safefree(piVar12);
        }
      }
    }
    safefree(unaff_s2);
    safefree(piVar11);
  }
  uVar22 = uVar22 + 1;
  iVar13 = *(int *)(param_1 + 0x140);
  uVar14 = uVar22;
  piVar19 = (int *)(*(code *)PTR_index234_000ad470)();
  goto joined_r0x00041f0c;
LAB_00041f44:
  if (local_2c == *(int *)puVar24) {
    return;
  }
  pcVar5 = FUN_00042824;
  puVar24 = PTR___stack_chk_fail_000adca4;
  (*(code *)PTR___stack_chk_fail_000adca4)();
  puStack_b8 = puVar24 + 0x72a6c;
  *(uint *)(iVar13 + 0x11c) = uVar14;
  *(int **)(iVar13 + 0x120) = piVar15;
  piVar15 = *(int **)(puVar24 + 0x6b4b0);
  iVar18 = *piVar15;
  iStack_ac = iVar18;
  uStack_a8 = uVar22;
  piStack_a4 = piVar21;
  uStack_a0 = unaff_s2;
  iStack_9c = param_1;
  piStack_98 = piVar11;
  pcStack_94 = pcVar5;
  if (*(int *)(iVar13 + 0x144) == 2) {
    *(undefined4 *)(iVar13 + 0x148) = 1;
  }
  else if (*(int *)(iVar13 + 0x144) == 3) {
    uVar14 = 0x16;
    iVar18 = *(int *)(iVar13 + 0x248);
    iVar8 = (**(code **)(puVar24 + 0x6ab28))(iVar18,0x16);
    if (iVar8 == 0) {
      iVar8 = *(int *)(iVar13 + 0x198);
      if (iVar8 == 1) {
        uStack_d4 = *(undefined4 *)(iVar13 + 0x11c);
        uVar14 = 0xb;
        uStack_c0 = 0;
        uStack_c4 = 0;
        uStack_cc = 0;
        iVar18 = iVar13;
        iStack_d8 = iVar8;
        iStack_d0 = iVar8;
        iStack_c8 = iVar8;
        FUN_00041954(iVar13,0xb,1,*(undefined4 *)(iVar13 + 0x120));
      }
      else {
        iVar18 = *(int *)(iVar13 + 0x128);
        uVar14 = *(uint *)(puStack_b8 + -0x7fc8);
        if (iVar18 != 0) {
          piVar11 = &iStack_b0;
          unaff_s2 = FUN_00034800(iVar18,uVar14 - 0x72c,0,0);
          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x11c));
          FUN_0003364c(unaff_s2,*(undefined4 *)(iVar13 + 0x120));
          param_1 = *(int *)(puStack_b8 + -0x7ce0) + 0x3374;
          iStack_b0 = 0;
          FUN_00033374(unaff_s2,piVar11,4);
          iStack_b0 = 0;
          FUN_00033374(unaff_s2,piVar11,4);
          iVar18 = iVar13;
          uVar14 = unaff_s2;
          FUN_0003e878(iVar13,unaff_s2);
        }
      }
    }
  }
  if (iStack_ac == *piVar15) {
    return;
  }
  pcVar5 = *(code **)(puStack_b8 + -0x75ec);
  uVar7 = 0x429d8;
  (*pcVar5)();
  piVar19 = *(int **)(pcVar5 + 0x6b2fc);
  iStack_10c = *piVar19;
  iStack_108 = iVar13;
  piStack_104 = piVar15;
  uStack_100 = unaff_s2;
  iStack_fc = param_1;
  piStack_f8 = piVar11;
  piStack_f4 = piVar12;
  puStack_f0 = puVar23;
  uStack_ec = uVar7;
  iVar13 = FUN_0002f068(uVar14);
  FUN_0002fb84();
  uVar7 = FUN_0002f068(uVar14);
  if (iStack_12c == 0) {
    iStack_12c = *(int *)(pcVar5 + 0x6a8f0) + -0x22a4;
  }
  iStack_11c = (**(code **)(pcVar5 + 0x6a900))
                         (*(int *)(pcVar5 + 0x6a8f0) + -0x1de0,uStack_130,iStack_12c);
  uStack_124 = uVar7;
  iVar8 = (**(code **)(pcVar5 + 0x6aaa0))(*(undefined4 *)(iVar18 + 0x13c),auStack_128,0);
  if (iVar8 == 0) {
    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x71c,iStack_11c,uVar7);
  }
  else {
    piVar15 = (int *)(**(code **)(pcVar5 + 0x6aa3c))(1,0x5c);
    *piVar15 = iVar18;
    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0x6f0,iStack_11c,uVar7);
    iVar8 = pfd_connect(piVar15 + 0x13,iStack_11c,uVar7,piVar15,*(undefined4 *)(iVar18 + 0x248),
                        *(undefined4 *)(*(int *)(iVar8 + 0x18) + 0x24));
    if (iVar8 == 0) {
      FUN_00036678(piVar15);
      piVar15[3] = 3;
      piVar15[1] = iVar13;
      piVar15[4] = 0;
      FUN_00041954(iVar18,0x15,1,iVar13,1,piVar15[2],0);
      iVar8 = *(int *)(pcVar5 + 0x6a8f0) + -0xe10;
      (**(code **)(pcVar5 + 0x6aa30))(*(undefined4 *)(iVar18 + 0x110),iVar8);
      goto LAB_00042b8c;
    }
    FUN_0002f168(iVar18,*(int *)(pcVar5 + 0x6a8f0) + -0xe28,iVar8);
    safefree(iVar8);
    safefree(piVar15);
  }
  iVar8 = 0x16;
  FUN_00041954(iVar18,0x16,1,iVar13,0);
LAB_00042b8c:
  iVar13 = iStack_11c;
  safefree();
  if (iStack_10c == *piVar19) {
    return;
  }
  pcVar5 = *(code **)(pcVar5 + 0x6b2cc);
  (*pcVar5)();
  iVar18 = FUN_0002f068(iVar8);
  (**(code **)(pcVar5 + 0x6a784))
            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6c4);
  if (*(int *)(iVar13 + 0x4c) == 0) {
    FUN_00041954(iVar13,0x16,1,iVar18,0);
                    /* WARNING: Could not recover jumptable at 0x00042d28. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(pcVar5 + 0x6a784))
              (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0x6a4);
    return;
  }
  piVar15 = (int *)(**(code **)(pcVar5 + 0x6a790))(1,0x5c);
  *piVar15 = iVar13;
  FUN_00036678(piVar15);
  iVar8 = (**(code **)(pcVar5 + 0x6ab54))(*(undefined4 *)(iVar13 + 0x194),piVar15,0,0xffffffff);
  piVar15[0x13] = iVar8;
  piVar15[1] = iVar18;
  piVar15[4] = 0;
  piVar15[3] = 1;
  FUN_00041954(iVar13,0x15,1,iVar18,1,piVar15[2],0);
                    /* WARNING: Could not recover jumptable at 0x00042de0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(pcVar5 + 0x6a784))
            (*(undefined4 *)(iVar13 + 0x110),*(int *)(pcVar5 + 0x6a644) + -0xdb8);
  return;
}

