
ssh2_userkey * ssh2_load_userkey(Filename *filename,char *passphrase,char **errorstr)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  FILE *fp;
  int iVar4;
  code *pcVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  uchar *puVar9;
  char *pcVar10;
  code *pcVar11;
  undefined *puVar12;
  uchar *unaff_s5;
  uchar *puVar13;
  code *unaff_s6;
  uchar *puVar14;
  uchar *unaff_s8;
  code *pcStack_13c;
  uchar *puStack_138;
  code *pcStack_134;
  ssh_signkey *psStack_130;
  code *pcStack_12c;
  int iStack_128;
  code *pcStack_124;
  code *pcStack_120;
  int public_blob_len;
  int private_blob_len;
  SHA_State s;
  uchar binary [20];
  uchar mackey [20];
  char header [40];
  uchar key [40];
  
  puVar2 = PTR___stack_chk_guard_00079930;
  iVar3 = *(int *)PTR___stack_chk_guard_00079930;
  if (passphrase == (char *)0x0) {
    pcStack_13c = (code *)0x0;
  }
  else {
    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);
  }
  fp = f_open(filename,PTR_s_j_000790a8 + 0x4078,0);
  if (fp == (FILE *)0x0) {
    passphrase = PTR_s_j_000790a8 + 0x407c;
    goto LAB_00042534;
  }
  iVar4 = read_header(fp,header);
  if (iVar4 == 0) {
    passphrase = (char *)0x0;
    (*(code *)PTR_fclose_0007988c)(fp);
    fp = (FILE *)0x0;
    goto LAB_00042534;
  }
  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214);
  if (unaff_s6 != (code *)0x0) {
    iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);
    if (iVar4 != 0) {
      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);
      if (iVar4 == 0) {
        (*(code *)PTR_fclose_0007988c)(fp);
        passphrase = PTR_s_j_000790a8 + 0x41e4;
        fp = (FILE *)0x0;
      }
      else {
        (*(code *)PTR_fclose_0007988c)(fp);
        passphrase = PTR_s_j_000790a8 + 0x41c4;
        fp = (FILE *)0x0;
      }
      goto LAB_00042534;
    }
    unaff_s6 = (code *)0x1;
    old_keyfile_warning();
  }
  pcStack_134 = (code *)(PTR_LAB_000794e4 + 0xe74);
  unaff_s5 = (uchar *)read_body(fp);
  if (unaff_s5 == (uchar *)0x0) {
LAB_00042628:
    (*(code *)PTR_fclose_0007988c)(fp);
    passphrase = PTR_s_j_000790a8 + 0x3ff8;
    fp = (FILE *)0x0;
    goto LAB_00042534;
  }
  iVar4 = (*(code *)PTR_strlen_000798d0)(unaff_s5);
  psStack_130 = find_pubkey_alg_len(iVar4,(char *)unaff_s5);
  if (psStack_130 == (ssh_signkey *)0x0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s5);
    (*(code *)PTR_fclose_0007988c)(fp);
    passphrase = PTR_s_j_000790a8 + 0x3ff8;
    fp = (FILE *)0x0;
    goto LAB_00042534;
  }
  (*(code *)PTR_safefree_000790f0)();
  iVar4 = read_header(fp,header);
  if (((iVar4 == 0) ||
      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||
     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0))
  goto LAB_00042628;
  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);
  if (iVar4 == 0) {
    iStack_128 = 0x10;
    pcStack_12c = (code *)0x1;
LAB_000426c8:
    iVar4 = read_header(fp,header);
    if (((iVar4 != 0) &&
        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&
       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {
      iVar4 = read_header(fp,header);
      if (((iVar4 != 0) &&
          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&
         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {
        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);
        iVar4 = userkey_parse_line_counter(pcVar10);
        (*(code *)PTR_safefree_000790f0)(pcVar10);
        pcStack_120 = pcVar5;
        if (-1 < iVar4) {
          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);
          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);
          if (unaff_s8 != (uchar *)0x0) {
            iVar4 = read_header(fp,header);
            if ((iVar4 != 0) &&
               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)
                                                (header,PTR_s_j_000790a8 + 0x4270),
               pcStack_120 == (code *)0x0)) {
              puVar9 = (uchar *)(*pcStack_134)(fp);
              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;
              iVar4 = (*pcStack_124)(puVar9);
              (*(code *)PTR_safefree_000790f0)(puVar9);
              if (-1 < iVar4) {
                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);
                pcStack_124 = pcVar5;
                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;
                iVar4 = read_header(fp,header);
                if (iVar4 == 0) goto LAB_00042b88;
                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);
                if (iVar4 == 0) goto LAB_00042c20;
                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)
                                                (header,PTR_s_j_000790a8 + 0x428c);
                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;
                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;
                iVar4 = (*pcStack_134)(fp);
                if (iVar4 == 0) goto LAB_00042b88;
                (*(code *)PTR_fclose_0007988c)(fp);
                pcStack_134 = pcVar5;
                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;
                pcStack_124 = pcStack_12c;
                goto LAB_00042944;
              }
            }
            puVar9 = (uchar *)0x0;
            goto LAB_00042b88;
          }
        }
      }
      puVar9 = (uchar *)0x0;
      unaff_s8 = (uchar *)0x0;
      goto LAB_00042b88;
    }
  }
  else {
    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);
    if (pcStack_12c == (code *)0x0) {
      iStack_128 = 1;
      goto LAB_000426c8;
    }
  }
  (*(code *)PTR_fclose_0007988c)(fp);
  (*(code *)PTR_safefree_000790f0)(unaff_s5);
  passphrase = PTR_s_j_000790a8 + 0x3ff8;
  fp = (FILE *)0x0;
LAB_00042534:
  puVar9 = unaff_s5;
  if (errorstr != (char **)0x0) {
    *errorstr = passphrase;
  }
LAB_00042540:
  if (iVar3 == *(int *)puVar2) {
    return (ssh2_userkey *)fp;
  }
  (*(code *)PTR___stack_chk_fail_000797f0)();
LAB_00042c20:
  pcVar5 = pcStack_124;
  iVar4 = (*pcStack_134)(fp);
  if (iVar4 == 0) goto LAB_00042b88;
  pcStack_134 = pcStack_124;
  (*(code *)PTR_fclose_0007988c)(fp);
  if (pcStack_12c != (code *)0x0) {
    pcStack_124 = pcStack_12c;
LAB_00042c60:
    pcVar5 = pcStack_134;
    if ((uchar *)passphrase != (uchar *)0x0) {
      if (iStack_128 == 0) {
        trap(7);
      }
      if (private_blob_len % iStack_128 == 0) {
        SHA_Init((SHA_CTX *)&s);
        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);
        SHA_Bytes(&s,passphrase,(int)pcStack_13c);
        SHA_Final(&s,key);
        SHA_Init((SHA_CTX *)&s);
        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);
        SHA_Bytes(&s,passphrase,(int)pcStack_13c);
        SHA_Final(&s,key + 0x14);
        aes256_decrypt_pubkey(key,puVar9,private_blob_len);
        puVar13 = puVar9;
        goto LAB_00042d58;
      }
    }
    fp = (FILE *)0x0;
    passphrase = PTR_s_j_000790a8 + 0x3ff8;
LAB_00042f7c:
    (*(code *)PTR_safefree_000790f0)(pcVar5);
    (*(code *)PTR_safefree_000790f0)(puStack_138);
    (*(code *)PTR_safefree_000790f0)(iVar4);
    unaff_s5 = puVar9;
    goto FUN_00042bc8;
  }
  pcStack_124 = (code *)0x1;
  puVar13 = puVar9;
LAB_00042d58:
  puVar9 = puVar13;
  if (unaff_s6 == (code *)0x0) {
    iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);
    iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);
    iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);
    iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;
    puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);
    puVar9[3] = (uchar)iVar6;
    puVar9[1] = (uchar)((uint)iVar6 >> 0x10);
    *puVar9 = (uchar)((uint)iVar6 >> 0x18);
    puVar9[2] = (uchar)((uint)iVar6 >> 8);
    puVar14 = puVar9 + iVar6 + 4;
    (*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);
    puVar14[3] = (uchar)iVar7;
    puVar14[1] = (uchar)((uint)iVar7 >> 0x10);
    *puVar14 = (uchar)((uint)iVar7 >> 0x18);
    puVar14[2] = (uchar)((uint)iVar7 >> 8);
    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar7 + 4;
    *puVar14 = (uchar)((uint)iVar8 >> 0x18);
    puVar14[1] = (uchar)((uint)iVar8 >> 0x10);
    puVar14[3] = (uchar)iVar8;
    puVar14[2] = (uchar)((uint)iVar8 >> 8);
    (*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);
    iVar6 = public_blob_len;
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar8 + 4;
    *puVar14 = public_blob_len._0_1_;
    puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);
    puVar14[2] = (uchar)((uint)public_blob_len >> 8);
    puVar14[3] = (uchar)public_blob_len;
    (*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar6 + 4;
    *puVar14 = private_blob_len._0_1_;
    puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);
    puVar14[2] = (uchar)((uint)private_blob_len >> 8);
    puVar14[3] = (uchar)private_blob_len;
    (*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);
    bVar1 = true;
  }
  else {
LAB_00042944:
    bVar1 = false;
    iStack_128 = private_blob_len;
    puVar13 = puVar9;
  }
  pcStack_134 = (code *)key;
  if (pcStack_124 == (code *)0x0) {
    SHA_Simple(puVar9,iStack_128,binary);
  }
  else {
    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);
    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);
    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);
    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);
    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);
    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);
    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);
    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);
    key[0x1e] = PTR_s_j_000790a8[0x42c2];
    SHA_Init((SHA_CTX *)&s);
    SHA_Bytes(&s,pcStack_134,0x1e);
    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {
      SHA_Bytes(&s,passphrase,(int)pcStack_13c);
    }
    SHA_Final(&s,mackey);
    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);
    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);
    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);
    pcStack_124 = pcVar5;
  }
  passphrase = (char *)binary;
  if (bVar1) {
    (*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);
    (*(code *)PTR_safefree_000790f0)(puVar9);
  }
  puVar12 = PTR_s_j_000790a8 + 0x429c;
  pcVar11 = pcStack_134;
  do {
    puVar9 = (uchar *)passphrase + (int)pcStack_120;
    pcStack_120 = pcStack_120 + 1;
    unaff_s6 = pcVar11 + 2;
    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);
    pcVar11 = unaff_s6;
  } while (pcStack_120 != (code *)0x14);
  iVar6 = (*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134);
  puVar9 = puVar13;
  pcStack_13c = pcVar5;
  if (iVar6 != 0) {
    if (pcStack_12c == (code *)0x0) {
      passphrase = PTR_s_j_000790a8 + 0x41b8;
      fp = (FILE *)0x0;
    }
    else {
      passphrase = PTR_s_j_000790a8 + 0x400c;
      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;
    }
    goto LAB_00042f7c;
  }
  (*(code *)PTR_safefree_000790f0)(iVar4);
  fp = (FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);
  fp->_flags = (int)psStack_130;
  fp->_IO_read_end = (char *)pcVar5;
  pcVar10 = (char *)(*psStack_130->createkey)
                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len);
  fp->_IO_read_ptr = pcVar10;
  if (pcVar10 != (char *)0x0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s8);
    (*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);
    (*(code *)PTR_safefree_000790f0)(puVar13);
    (*(code *)PTR_safefree_000790f0)(puStack_138);
    if (errorstr != (char **)0x0) {
      *errorstr = (char *)0x0;
    }
    goto LAB_00042540;
  }
  (*(code *)PTR_safefree_000790f0)(fp);
  passphrase = PTR_s_j_000790a8 + 0x4200;
  goto LAB_00042ba4;
LAB_00042b88:
  (*(code *)PTR_fclose_0007988c)(fp);
  passphrase = PTR_s_j_000790a8 + 0x3ff8;
  pcStack_13c = pcVar5;
LAB_00042ba4:
  fp = (FILE *)0x0;
  (*(code *)PTR_safefree_000790f0)(pcStack_13c);
  (*(code *)PTR_safefree_000790f0)(puStack_138);
  unaff_s5 = puVar9;
FUN_00042bc8:
  if (unaff_s8 != (uchar *)0x0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s8);
  }
  if (unaff_s5 != (uchar *)0x0) {
    (*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);
    (*(code *)PTR_safefree_000790f0)(unaff_s5);
  }
  goto LAB_00042534;
}



int * ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)

{
  bool bVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  code *pcVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  undefined1 *puVar10;
  code *pcVar11;
  undefined *puVar12;
  undefined1 *unaff_s5;
  undefined1 *puVar13;
  code *unaff_s6;
  undefined1 *puVar14;
  int unaff_s8;
  code *local_13c;
  undefined1 *local_138;
  code *local_134;
  int local_130;
  code *local_12c;
  int local_128;
  code *local_124;
  code *local_120;
  int local_110;
  int local_10c;
  SHA_CTX SStack_108;
  undefined1 auStack_a8 [20];
  undefined1 auStack_94 [60];
  uint local_58;
  uint local_54;
  uint local_50;
  uint local_4c;
  uint local_48;
  uint local_44;
  uint local_40;
  undefined2 local_3c;
  undefined1 local_3a;
  uint local_2c;
  
  puVar2 = PTR___stack_chk_guard_00079930;
  local_2c = *(uint *)PTR___stack_chk_guard_00079930;
  if (param_2 == (undefined *)0x0) {
    local_13c = (code *)0x0;
  }
  else {
    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);
  }
  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);
  if (piVar3 == (int *)0x0) {
    param_2 = PTR_s_j_000790a8 + 0x407c;
    goto LAB_00042534;
  }
  puVar13 = auStack_94 + 0x14;
  iVar4 = FUN_00040db0(piVar3,puVar13);
  if (iVar4 == 0) {
    param_2 = (undefined *)0x0;
    (*(code *)PTR_fclose_0007988c)(piVar3);
    piVar3 = (int *)0x0;
    goto LAB_00042534;
  }
  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);
  if (unaff_s6 != (code *)0x0) {
    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);
    if (iVar4 != 0) {
      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);
      if (iVar4 == 0) {
        (*(code *)PTR_fclose_0007988c)(piVar3);
        param_2 = PTR_s_j_000790a8 + 0x41e4;
        piVar3 = (int *)0x0;
      }
      else {
        (*(code *)PTR_fclose_0007988c)(piVar3);
        param_2 = PTR_s_j_000790a8 + 0x41c4;
        piVar3 = (int *)0x0;
      }
      goto LAB_00042534;
    }
    unaff_s6 = (code *)0x1;
    old_keyfile_warning();
  }
  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);
  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);
  if (unaff_s5 == (undefined1 *)0x0) {
LAB_00042628:
    (*(code *)PTR_fclose_0007988c)(piVar3);
    param_2 = PTR_s_j_000790a8 + 0x3ff8;
    piVar3 = (int *)0x0;
    goto LAB_00042534;
  }
  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);
  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);
  if (local_130 == 0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s5);
    (*(code *)PTR_fclose_0007988c)(piVar3);
    param_2 = PTR_s_j_000790a8 + 0x3ff8;
    piVar3 = (int *)0x0;
    goto LAB_00042534;
  }
  (*(code *)PTR_safefree_000790f0)();
  iVar4 = FUN_00040db0(piVar3,puVar13);
  if (((iVar4 == 0) ||
      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||
     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,
     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;
  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);
  if (iVar4 == 0) {
    local_128 = 0x10;
    local_12c = (code *)0x1;
LAB_000426c8:
    iVar4 = FUN_00040db0(piVar3,puVar13);
    if (((iVar4 != 0) &&
        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&
       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {
      iVar4 = FUN_00040db0(piVar3,puVar13);
      if (((iVar4 != 0) &&
          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))
         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {
        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);
        iVar7 = FUN_00040d14(iVar4);
        (*(code *)PTR_safefree_000790f0)(iVar4);
        local_120 = pcVar6;
        if (-1 < iVar7) {
          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);
          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);
          if (unaff_s8 != 0) {
            iVar4 = FUN_00040db0(piVar3,puVar13);
            if ((iVar4 != 0) &&
               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)
                                              (puVar13,PTR_s_j_000790a8 + 0x4270),
               local_120 == (code *)0x0)) {
              puVar10 = (undefined1 *)(*local_134)(piVar3);
              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;
              iVar4 = (*local_124)(puVar10);
              (*(code *)PTR_safefree_000790f0)(puVar10);
              if (-1 < iVar4) {
                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);
                local_124 = pcVar6;
                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;
                iVar4 = FUN_00040db0(piVar3,puVar13);
                if (iVar4 == 0) goto LAB_00042b88;
                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);
                if (iVar4 == 0) goto LAB_00042c20;
                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)
                                              (puVar13,PTR_s_j_000790a8 + 0x428c);
                if (local_124 != (code *)0x0) goto LAB_00042b88;
                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;
                iVar4 = (*local_134)(piVar3);
                if (iVar4 == 0) goto LAB_00042b88;
                (*(code *)PTR_fclose_0007988c)(piVar3);
                local_134 = pcVar6;
                if (local_12c != (code *)0x0) goto LAB_00042c60;
                local_124 = local_12c;
                goto LAB_00042944;
              }
            }
            puVar10 = (undefined1 *)0x0;
            goto LAB_00042b88;
          }
        }
      }
      puVar10 = (undefined1 *)0x0;
      unaff_s8 = 0;
      goto LAB_00042b88;
    }
  }
  else {
    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);
    if (local_12c == (code *)0x0) {
      local_128 = 1;
      goto LAB_000426c8;
    }
  }
  (*(code *)PTR_fclose_0007988c)(piVar3);
  (*(code *)PTR_safefree_000790f0)(unaff_s5);
  param_2 = PTR_s_j_000790a8 + 0x3ff8;
  piVar3 = (int *)0x0;
LAB_00042534:
  puVar10 = unaff_s5;
  if (param_3 != (undefined4 *)0x0) {
    *param_3 = param_2;
  }
LAB_00042540:
  if (local_2c == *(uint *)puVar2) {
    return piVar3;
  }
  (*(code *)PTR___stack_chk_fail_000797f0)();
LAB_00042c20:
  pcVar6 = local_124;
  iVar4 = (*local_134)(piVar3);
  if (iVar4 == 0) goto LAB_00042b88;
  local_134 = local_124;
  (*(code *)PTR_fclose_0007988c)(piVar3);
  if (local_12c != (code *)0x0) {
    local_124 = local_12c;
LAB_00042c60:
    pcVar6 = local_134;
    if (param_2 != (undefined *)0x0) {
      if (local_128 == 0) {
        trap(7);
      }
      if (local_10c % local_128 == 0) {
        SHA_Init(&SStack_108);
        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);
        SHA_Bytes(&SStack_108,param_2,local_13c);
        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);
        SHA_Init(&SStack_108);
        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);
        SHA_Bytes(&SStack_108,param_2,local_13c);
        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);
        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);
        puVar13 = puVar10;
        goto LAB_00042d58;
      }
    }
    piVar3 = (int *)0x0;
    param_2 = PTR_s_j_000790a8 + 0x3ff8;
LAB_00042f7c:
    (*(code *)PTR_safefree_000790f0)(pcVar6);
    (*(code *)PTR_safefree_000790f0)(local_138);
    (*(code *)PTR_safefree_000790f0)(iVar4);
    unaff_s5 = puVar10;
    goto LAB_00042bc8;
  }
  local_124 = (code *)0x1;
  puVar13 = puVar10;
LAB_00042d58:
  puVar10 = puVar13;
  if (unaff_s6 == (code *)0x0) {
    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));
    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);
    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);
    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;
    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);
    puVar10[3] = (char)iVar7;
    puVar10[1] = (char)((uint)iVar7 >> 0x10);
    *puVar10 = (char)((uint)iVar7 >> 0x18);
    puVar10[2] = (char)((uint)iVar7 >> 8);
    puVar14 = puVar10 + iVar7 + 4;
    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);
    puVar14[3] = (char)iVar8;
    puVar14[1] = (char)((uint)iVar8 >> 0x10);
    *puVar14 = (char)((uint)iVar8 >> 0x18);
    puVar14[2] = (char)((uint)iVar8 >> 8);
    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar8 + 4;
    *puVar14 = (char)((uint)iVar9 >> 0x18);
    puVar14[1] = (char)((uint)iVar9 >> 0x10);
    puVar14[3] = (char)iVar9;
    puVar14[2] = (char)((uint)iVar9 >> 8);
    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);
    iVar7 = local_110;
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar9 + 4;
    *puVar14 = local_110._0_1_;
    puVar14[1] = (char)((uint)local_110 >> 0x10);
    puVar14[2] = (char)((uint)local_110 >> 8);
    puVar14[3] = (char)local_110;
    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar7 + 4;
    *puVar14 = local_10c._0_1_;
    puVar14[1] = (char)((uint)local_10c >> 0x10);
    puVar14[2] = (char)((uint)local_10c >> 8);
    puVar14[3] = (char)local_10c;
    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);
    bVar1 = true;
  }
  else {
LAB_00042944:
    bVar1 = false;
    local_128 = local_10c;
    puVar13 = puVar10;
  }
  local_134 = (code *)&local_58;
  if (local_124 == (code *)0x0) {
    SHA_Simple(puVar10,local_128,auStack_a8);
  }
  else {
    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);
    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);
    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);
    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);
    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);
    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);
    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);
    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);
    local_3a = PTR_s_j_000790a8[0x42c2];
    SHA_Init(&SStack_108);
    SHA_Bytes(&SStack_108,local_134,0x1e);
    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {
      SHA_Bytes(&SStack_108,param_2,local_13c);
    }
    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);
    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);
    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);
    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);
    local_124 = pcVar6;
  }
  param_2 = auStack_a8;
  if (bVar1) {
    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);
    (*(code *)PTR_safefree_000790f0)(puVar10);
  }
  puVar12 = PTR_s_j_000790a8 + 0x429c;
  pcVar11 = local_134;
  do {
    puVar10 = param_2 + (int)local_120;
    local_120 = local_120 + 1;
    unaff_s6 = pcVar11 + 2;
    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);
    pcVar11 = unaff_s6;
  } while (local_120 != (code *)0x14);
  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);
  puVar10 = puVar13;
  local_13c = pcVar6;
  if (iVar7 != 0) {
    if (local_12c == (code *)0x0) {
      param_2 = PTR_s_j_000790a8 + 0x41b8;
      piVar3 = (int *)0x0;
    }
    else {
      param_2 = PTR_s_j_000790a8 + 0x400c;
      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;
    }
    goto LAB_00042f7c;
  }
  (*(code *)PTR_safefree_000790f0)(iVar4);
  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);
  *piVar3 = local_130;
  piVar3[2] = (int)pcVar6;
  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);
  piVar3[1] = iVar4;
  if (iVar4 != 0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s8);
    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);
    (*(code *)PTR_safefree_000790f0)(puVar13);
    (*(code *)PTR_safefree_000790f0)(local_138);
    if (param_3 != (undefined4 *)0x0) {
      *param_3 = 0;
    }
    goto LAB_00042540;
  }
  (*(code *)PTR_safefree_000790f0)(piVar3);
  param_2 = PTR_s_j_000790a8 + 0x4200;
  goto LAB_00042ba4;
LAB_00042b88:
  (*(code *)PTR_fclose_0007988c)(piVar3);
  param_2 = PTR_s_j_000790a8 + 0x3ff8;
  local_13c = pcVar6;
LAB_00042ba4:
  piVar3 = (int *)0x0;
  (*(code *)PTR_safefree_000790f0)(local_13c);
  (*(code *)PTR_safefree_000790f0)(local_138);
  unaff_s5 = puVar10;
LAB_00042bc8:
  if (unaff_s8 != 0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s8);
  }
  if (unaff_s5 != (undefined1 *)0x0) {
    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);
    (*(code *)PTR_safefree_000790f0)(unaff_s5);
  }
  goto LAB_00042534;
}


lui gp,0x4
addiu gp,gp,-0x1370
addu gp,gp,t9
addiu sp,sp,-0x160
sw s1,0x13c(sp)
lw s1,-0x7740(gp)
sw gp,0x18(sp)
sw s3,0x144(sp)
or s3,a2,zero
sw s2,0x140(sp)
or s2,a1,zero
sw s0,0x138(sp)
or s0,a0,zero
sw ra,0x15c(sp)
sw s8,0x158(sp)
sw s7,0x154(sp)
sw s6,0x150(sp)
sw s5,0x14c(sp)
sw s4,0x148(sp)
lw v0,0x0(s1)
sw v0,0x134(sp)
beq a1,zero,0x00042580
_lw t9,-0x77a0(gp)
jalr t9
_or a0,a1,zero
lw gp,0x18(sp)
sw v0,0x24(sp)
lw a1,-0x7fc8(gp)
or a2,zero,zero
lw t9,-0x7b3c(gp)
or a0,s0,zero
bal 0x00051848
_addiu a1,a1,0x4078
lw gp,0x18(sp)
beq v0,zero,0x0004252c
_or s0,v0,zero
or a0,v0,zero
lw v0,-0x7b8c(gp)
addiu s4,sp,0xe0
addiu s7,v0,0xdb0
or t9,s7,zero
bal 0x00040db0
_or a1,s4,zero
beq v0,zero,0x00042510
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x4214
lw gp,0x18(sp)
beq v0,zero,0x00042598
_or s6,v0,zero
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x422c
beq v0,zero,0x00042588
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
li a2,0x14
lw t9,-0x78ac(gp)
or a0,s4,zero
jalr t9
_addiu a1,a1,0x4134
bne v0,zero,0x00042648
_lw gp,0x18(sp)
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
lw s2,-0x7fc8(gp)
b 0x00042534
_addiu s2,s2,0x41e4
lw t9,-0x77e4(gp)
or a0,s0,zero
or s2,zero,zero
jalr t9
_or s0,zero,zero
b 0x00042534
_lw gp,0x18(sp)
lw s2,-0x7fc8(gp)
addiu s2,s2,0x407c
beq s3,zero,0x00042540
_nop
sw s2,0x0(s3)
lw a0,0x134(sp)
or v0,s0,zero
lw v1,0x0(s1)
bne a0,v1,0x00042c14
_lw ra,0x15c(sp)
lw s8,0x158(sp)
lw s7,0x154(sp)
lw s6,0x150(sp)
lw s5,0x14c(sp)
lw s4,0x148(sp)
lw s3,0x144(sp)
lw s2,0x140(sp)
lw s1,0x13c(sp)
lw s0,0x138(sp)
jr ra
_addiu sp,sp,0x160
b 0x0004244c
_sw zero,0x24(sp)
lw t9,-0x7b20(gp)
bal 0x0005094c
_li s6,0x1
lw gp,0x18(sp)
lw v0,-0x7b8c(gp)
or a0,s0,zero
addiu t9,v0,0xe74
bal 0x00040e74
_sw t9,0x2c(sp)
lw gp,0x18(sp)
beq v0,zero,0x00042628
_or s5,v0,zero
lw t9,-0x77a0(gp)
jalr t9
_or a0,v0,zero
or a1,s5,zero
lw gp,0x18(sp)
lw t9,-0x7d38(gp)
bal 0x00041e1c
_or a0,v0,zero
or a0,s5,zero
lw gp,0x18(sp)
sw v0,0x30(sp)
beq v0,zero,0x00042b10
_lw t9,-0x7f80(gp)
jalr t9
_nop
or a1,s4,zero
or t9,s7,zero
bal 0x00040db0
_or a0,s0,zero
beq v0,zero,0x00042628
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x4244
beq v0,zero,0x00042668
_lw gp,0x18(sp)
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
lw s2,-0x7fc8(gp)
b 0x00042534
_addiu s2,s2,0x3ff8
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
lw s2,-0x7fc8(gp)
b 0x00042534
_addiu s2,s2,0x41c4
lw t9,0x2c(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
or s5,v0,zero
beq v0,zero,0x00042628
_sw v0,0x28(sp)
lw a1,-0x7fc8(gp)
or a0,v0,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x7c4
beq v0,zero,0x00042b6c
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
or a0,s5,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x4250
lw gp,0x18(sp)
bne v0,zero,0x00042b3c
_sw v0,0x34(sp)
li v0,0x1
sw v0,0x38(sp)
or a1,s4,zero
or t9,s7,zero
bal 0x00040db0
_or a0,s0,zero
beq v0,zero,0x00042b3c
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x4258
bne v0,zero,0x00042b3c
_lw gp,0x18(sp)
lw t9,0x2c(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
beq v0,zero,0x00042b3c
_sw v0,0x3c(sp)
or a1,s4,zero
or t9,s7,zero
bal 0x00040db0
_or a0,s0,zero
lw gp,0x18(sp)
beq v0,zero,0x00042c08
_lw t0,0x3c(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x4260
lw gp,0x18(sp)
bne v0,zero,0x00042c08
_lw t0,0x3c(sp)
lw t9,0x2c(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
or s5,v0,zero
beq v0,zero,0x00042c08
_lw t0,0x3c(sp)
or a0,v0,zero
lw v0,-0x7b8c(gp)
sw t0,0x40(sp)
addiu v0,v0,0xd14
or t9,v0,zero
bal 0x00040d14
_sw v0,0x3c(sp)
or a0,s5,zero
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_or s5,v0,zero
lw gp,0x18(sp)
bltz s5,0x00042c08
_lw t0,0x40(sp)
lw v0,-0x7b8c(gp)
addiu a2,sp,0x50
or a1,s5,zero
or a0,s0,zero
addiu v1,v0,0xfc0
or t9,v1,zero
bal 0x00040fc0
_sw v1,0x44(sp)
lw gp,0x18(sp)
or s8,v0,zero
beq v0,zero,0x00042c08
_lw t0,0x40(sp)
or a1,s4,zero
or t9,s7,zero
bal 0x00040db0
_or a0,s0,zero
lw gp,0x18(sp)
beq v0,zero,0x00042b80
_lw t0,0x40(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
sw t0,0x48(sp)
jalr t9
_addiu a1,a1,0x4270
lw gp,0x18(sp)
lw t0,0x48(sp)
bne v0,zero,0x00042b80
_sw v0,0x40(sp)
lw t9,0x2c(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
or s5,v0,zero
beq v0,zero,0x00042b84
_lw t0,0x48(sp)
lw t9,0x3c(sp)
jalr t9
_or a0,v0,zero
or a0,s5,zero
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_or s5,v0,zero
lw gp,0x18(sp)
bltz s5,0x00042b80
_lw t0,0x48(sp)
lw t9,0x44(sp)
addiu a2,sp,0x54
sw t0,0x3c(sp)
or a1,s5,zero
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
or s5,v0,zero
beq v0,zero,0x00042b84
_lw t0,0x3c(sp)
or a1,s4,zero
or t9,s7,zero
bal 0x00040db0
_or a0,s0,zero
lw gp,0x18(sp)
beq v0,zero,0x00042b84
_lw t0,0x3c(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
jalr t9
_addiu a1,a1,0x4280
lw gp,0x18(sp)
beq v0,zero,0x00042c20
_lw t0,0x3c(sp)
lw a1,-0x7fc8(gp)
or a0,s4,zero
lw t9,-0x77cc(gp)
sw t0,0x44(sp)
jalr t9
_addiu a1,a1,0x428c
lw gp,0x18(sp)
lw t0,0x44(sp)
bne v0,zero,0x00042b84
_sw v0,0x3c(sp)
beq s6,zero,0x00042b88
_lw t9,-0x77e4(gp)
lw t9,0x2c(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
or s4,v0,zero
beq v0,zero,0x00042b84
_lw t0,0x44(sp)
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_sw t0,0x2c(sp)
lw v0,0x34(sp)
lw gp,0x18(sp)
bne v0,zero,0x00042c60
_lw t0,0x2c(sp)
sw v0,0x3c(sp)
addiu v0,sp,0x108
sw v0,0x2c(sp)
lw v0,0x54(sp)
or s0,s5,zero
sw zero,0x44(sp)
sw v0,0x38(sp)
lw v0,0x3c(sp)
beq v0,zero,0x00042fb0
_lw t9,-0x7bb8(gp)
lw a1,-0x7fc8(gp)
addiu s6,sp,0x58
lw t9,-0x7bb0(gp)
sw t0,0x3c(sp)
or a0,s6,zero
addiu v0,a1,0x42a4
lw t5,0x42a4(a1)
lw t4,0x4(v0)
lw t3,0x8(v0)
lw t2,0xc(v0)
lw t1,0x10(v0)
lw a3,0x14(v0)
lw a2,0x18(v0)
lhu a1,0x1c(v0)
lbu v0,0x1e(v0)
sw t5,0x108(sp)
sw t4,0x10c(sp)
sb v0,0x126(sp)
sw t3,0x110(sp)
sw t2,0x114(sp)
sw t1,0x118(sp)
sw a3,0x11c(sp)
sw a2,0x120(sp)
bal 0x0004b6f4
_sh a1,0x124(sp)
li a2,0x1e
lw gp,0x18(sp)
or a0,s6,zero
lw t9,-0x7bbc(gp)
bal 0x0004b740
_lw a1,0x2c(sp)
lw v0,0x34(sp)
lw gp,0x18(sp)
beq v0,zero,0x00042a08
_lw t0,0x3c(sp)
beq s2,zero,0x00042a08
_lw t9,-0x7bbc(gp)
or a1,s2,zero
lw a2,0x24(sp)
bal 0x0004b740
_or a0,s6,zero
lw gp,0x18(sp)
lw t0,0x3c(sp)
lw t9,-0x7bac(gp)
addiu s7,sp,0xcc
sw t0,0x24(sp)
or a0,s6,zero
bal 0x0004bbec
_or a1,s7,zero
addiu s2,sp,0xb8
lw gp,0x18(sp)
li a1,0x14
lw a3,0x38(sp)
or a2,s0,zero
or a0,s7,zero
lw t9,-0x7b1c(gp)
bal 0x0004c4f8
_sw s2,0x10(sp)
li a1,0x14
lw gp,0x18(sp)
lw t9,-0x7f7c(gp)
jalr t9
_or a0,s7,zero
li a1,0x60
lw gp,0x18(sp)
lw t9,-0x7f7c(gp)
jalr t9
_or a0,s6,zero
lw gp,0x18(sp)
lw t0,0x24(sp)
lw v0,0x44(sp)
bne v0,zero,0x00042fd4
_lw t9,-0x7f7c(gp)
lw s0,-0x7fc8(gp)
li s7,0x14
lw s6,0x2c(sp)
addiu s0,s0,0x429c
lw v1,0x40(sp)
li a2,-0x1
lw t9,-0x77ac(gp)
li a1,0x1
sw t0,0x24(sp)
or a0,s6,zero
addu v0,s2,v1
addiu v1,v1,0x1
or a3,s0,zero
sw v1,0x40(sp)
addiu s6,s6,0x2
lbu v0,0x0(v0)
jalr t9
_sw v0,0x10(sp)
lw v0,0x40(sp)
lw gp,0x18(sp)
bne v0,s7,0x00042a90
_lw t0,0x24(sp)
lw t9,-0x77cc(gp)
or a0,s4,zero
jalr t9
_lw a1,0x2c(sp)
lw gp,0x18(sp)
beq v0,zero,0x00043010
_lw t0,0x24(sp)
lw v0,0x34(sp)
bne v0,zero,0x00043000
_nop
lw s2,-0x7fc8(gp)
or s0,zero,zero
b 0x00042f7c
_addiu s2,s2,0x41b8
jalr t9
_nop
or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x77e4(gp)
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
lw s2,-0x7fc8(gp)
b 0x00042534
_addiu s2,s2,0x3ff8
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_lw a0,0x28(sp)
lw gp,0x18(sp)
lw s2,-0x7fc8(gp)
b 0x00042534
_addiu s2,s2,0x3ff8
li v0,0x10
sw v0,0x38(sp)
li v0,0x1
b 0x000426c8
_sw v0,0x34(sp)
or s5,zero,zero
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_sw t0,0x24(sp)
lw gp,0x18(sp)
lw t0,0x24(sp)
lw s2,-0x7fc8(gp)
addiu s2,s2,0x3ff8
lw t9,-0x7f80(gp)
or a0,t0,zero
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_lw a0,0x28(sp)
lw gp,0x18(sp)
beq s8,zero,0x00042bdc
_lw t9,-0x7f80(gp)
jalr t9
_or a0,s8,zero
lw gp,0x18(sp)
beq s5,zero,0x00042534
_lw t9,-0x7f7c(gp)
or a0,s5,zero
jalr t9
_lw a1,0x54(sp)
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_or a0,s5,zero
b 0x00042534
_lw gp,0x18(sp)
or s5,zero,zero
b 0x00042b84
_or s8,zero,zero
lw t9,-0x7880(gp)
jalr t9
_nop
lw t9,0x2c(sp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
or s4,v0,zero
beq v0,zero,0x00042b84
_lw t0,0x3c(sp)
lw t9,-0x77e4(gp)
or a0,s0,zero
jalr t9
_sw t0,0x2c(sp)
lw v0,0x34(sp)
lw gp,0x18(sp)
beq v0,zero,0x00042f5c
_lw t0,0x2c(sp)
sw v0,0x3c(sp)
beq s2,zero,0x00042f70
_lw v0,0x54(sp)
lw v1,0x38(sp)
teq v1,zero
div v0,v1
mfhi v0
bne v0,zero,0x00042f70
_lw t9,-0x7bb0(gp)
addiu s0,sp,0x58
addiu s7,sp,0x108
sw t0,0x38(sp)
or a0,s0,zero
bal 0x0004b6f4
_sw s7,0x2c(sp)
li a2,0x4
lw gp,0x18(sp)
or a0,s0,zero
lw a1,-0x7fc8(gp)
lw t9,-0x7bbc(gp)
bal 0x0004b740
_addiu a1,a1,0x4790
or a1,s2,zero
lw gp,0x18(sp)
or a0,s0,zero
lw t9,-0x7bbc(gp)
bal 0x0004b740
_lw a2,0x24(sp)
or a1,s7,zero
lw gp,0x18(sp)
lw t9,-0x7bac(gp)
bal 0x0004bbec
_or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x7bb0(gp)
bal 0x0004b6f4
_or a0,s0,zero
li a2,0x4
lw gp,0x18(sp)
or a0,s0,zero
lw a1,-0x7fc8(gp)
lw t9,-0x7bbc(gp)
bal 0x0004b740
_addiu a1,a1,0x4798
or a1,s2,zero
lw gp,0x18(sp)
or a0,s0,zero
lw t9,-0x7bbc(gp)
bal 0x0004b740
_lw a2,0x24(sp)
addiu a1,sp,0x11c
lw gp,0x18(sp)
lw t9,-0x7bac(gp)
bal 0x0004bbec
_or a0,s0,zero
or a1,s5,zero
lw gp,0x18(sp)
or a0,s7,zero
lw t9,-0x7b18(gp)
bal 0x0002e968
_lw a2,0x54(sp)
lw gp,0x18(sp)
lw t0,0x38(sp)
bne s6,zero,0x00042944
_lw v0,0x54(sp)
lw s7,0x30(sp)
lw t9,-0x77a0(gp)
sw t0,0x38(sp)
jalr t9
_lw a0,0x30(s7)
lw gp,0x18(sp)
or s6,v0,zero
lw t9,-0x77a0(gp)
jalr t9
_lw a0,0x28(sp)
lw gp,0x18(sp)
lw t0,0x38(sp)
sw v0,0x38(sp)
sw t0,0x4c(sp)
lw t9,-0x77a0(gp)
jalr t9
_or a0,t0,zero
li a1,0x1
lw t1,0x38(sp)
or a3,v0,zero
lw gp,0x18(sp)
sw a3,0x48(sp)
addu a0,s6,t1
sw t1,0x44(sp)
addu v0,v0,a0
lw a0,0x50(sp)
lw t9,-0x7fa0(gp)
addu v0,v0,a0
lw a0,0x54(sp)
addiu v0,v0,0x14
addu v0,v0,a0
or a0,v0,zero
jalr t9
_sw v0,0x38(sp)
sra a1,s6,0x18
lw gp,0x18(sp)
or s0,v0,zero
sra a0,s6,0x10
sra v0,s6,0x8
sb s6,0x3(s0)
sb a0,0x1(s0)
addiu a0,s0,0x4
sb a1,0x0(s0)
or a2,s6,zero
sb v0,0x2(s0)
addiu s6,s6,0x4
lw t9,-0x7790(gp)
lw a1,0x30(s7)
jalr t9
_addu s6,s0,s6
addiu a0,s6,0x4
lw t1,0x44(sp)
lw gp,0x18(sp)
sra a1,t1,0x10
sb t1,0x3(s6)
sra a2,t1,0x18
sb a1,0x1(s6)
sra v0,t1,0x8
sb a2,0x0(s6)
or a2,t1,zero
sb v0,0x2(s6)
lw t9,-0x7790(gp)
jalr t9
_lw a1,0x28(sp)
lw t1,0x44(sp)
lw gp,0x18(sp)
lw a3,0x48(sp)
addiu v0,t1,0x4
lw t0,0x4c(sp)
addu s6,s6,v0
lw t9,-0x7790(gp)
sra a2,a3,0x18
sw t0,0x48(sp)
sra a1,a3,0x10
sw a3,0x44(sp)
sra v0,a3,0x8
sb a2,0x0(s6)
addiu a0,s6,0x4
sb a1,0x1(s6)
or a2,a3,zero
sb a3,0x3(s6)
or a1,t0,zero
jalr t9
_sb v0,0x2(s6)
or a1,s8,zero
lw a3,0x44(sp)
lb a2,0x50(sp)
lw gp,0x18(sp)
addiu v0,a3,0x4
addu s6,s6,v0
lw t9,-0x7790(gp)
addiu a0,s6,0x4
sb a2,0x0(s6)
lh v0,0x50(sp)
sb v0,0x1(s6)
lw v0,0x50(sp)
sra v0,v0,0x8
sb v0,0x2(s6)
lw v0,0x50(sp)
sb v0,0x3(s6)
lw a3,0x50(sp)
or a2,a3,zero
jalr t9
_sw a3,0x44(sp)
or a1,s5,zero
lw a3,0x44(sp)
lb a2,0x54(sp)
lw gp,0x18(sp)
addiu v0,a3,0x4
addu v0,s6,v0
lw t9,-0x7790(gp)
addiu a0,v0,0x4
sb a2,0x0(v0)
lh a2,0x54(sp)
sb a2,0x1(v0)
lw a2,0x54(sp)
sra a2,a2,0x8
sb a2,0x2(v0)
lw a2,0x54(sp)
sb a2,0x3(v0)
jalr t9
_lw a2,0x54(sp)
li v0,0x1
lw gp,0x18(sp)
lw t0,0x48(sp)
b 0x00042950
_sw v0,0x44(sp)
li v0,0x1
sw v0,0x3c(sp)
addiu v0,sp,0x108
b 0x00042d58
_sw v0,0x2c(sp)
lw s2,-0x7fc8(gp)
or s0,zero,zero
addiu s2,s2,0x3ff8
lw t9,-0x7f80(gp)
jalr t9
_or a0,t0,zero
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_lw a0,0x28(sp)
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_or a0,s4,zero
b 0x00042bc8
_lw gp,0x18(sp)
addiu s2,sp,0xb8
lw a1,0x38(sp)
or a0,s0,zero
sw t0,0x24(sp)
bal 0x0004c408
_or a2,s2,zero
lw gp,0x18(sp)
b 0x00042a74
_lw t0,0x24(sp)
or a0,s0,zero
lw a1,0x38(sp)
jalr t9
_sw t0,0x24(sp)
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
b 0x00042a80
_lw t0,0x24(sp)
lw s2,-0x7fc8(gp)
lw s0,-0x7d14(gp)
b 0x00042f7c
_addiu s2,s2,0x400c
lw t9,-0x7f80(gp)
or a0,s4,zero
jalr t9
_sw t0,0x24(sp)
li a1,0xc
lw gp,0x18(sp)
lw t9,-0x7fa0(gp)
jalr t9
_li a0,0x1
or a3,s5,zero
or s0,v0,zero
lw t1,0x54(sp)
lw v0,0x30(sp)
or a1,s8,zero
lw t0,0x24(sp)
lw a2,0x50(sp)
sw v0,0x0(s0)
sw t0,0x8(s0)
sw t1,0x10(sp)
lw t9,0x14(v0)
jalr t9
_or a0,v0,zero
lw gp,0x18(sp)
sw v0,0x4(s0)
beq v0,zero,0x000430c4
_lw t9,-0x7f80(gp)
jalr t9
_or a0,s8,zero
or a0,s5,zero
lw gp,0x18(sp)
lw t9,-0x7f7c(gp)
jalr t9
_lw a1,0x54(sp)
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_or a0,s5,zero
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_lw a0,0x28(sp)
beq s3,zero,0x00042540
_lw gp,0x18(sp)
b 0x00042540
_sw zero,0x0(s3)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
lw t0,0x24(sp)
lw s2,-0x7fc8(gp)
b 0x00042ba4
_addiu s2,s2,0x4200
(translation_unit "int * ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}\n\n" (function_definition "int * ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" primitive_type (pointer_declarator "* ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)" * (function_declarator "ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined1 *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "undefined1 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "undefined1 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int unaff_s8;" primitive_type identifier ;) (declaration "code *local_13c;" type_identifier (pointer_declarator "*local_13c" * identifier) ;) (declaration "undefined1 *local_138;" type_identifier (pointer_declarator "*local_138" * identifier) ;) (declaration "code *local_134;" type_identifier (pointer_declarator "*local_134" * identifier) ;) (declaration "int local_130;" primitive_type identifier ;) (declaration "code *local_12c;" type_identifier (pointer_declarator "*local_12c" * identifier) ;) (declaration "int local_128;" primitive_type identifier ;) (declaration "code *local_124;" type_identifier (pointer_declarator "*local_124" * identifier) ;) (declaration "code *local_120;" type_identifier (pointer_declarator "*local_120" * identifier) ;) (declaration "int local_110;" primitive_type identifier ;) (declaration "int local_10c;" primitive_type identifier ;) (declaration "SHA_CTX SStack_108;" type_identifier identifier ;) (declaration "undefined1 auStack_a8 [20];" type_identifier (array_declarator "auStack_a8 [20]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_94 [60];" type_identifier (array_declarator "auStack_94 [60]" identifier [ number_literal ]) ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "undefined2 local_3c;" type_identifier identifier ;) (declaration "undefined1 local_3a;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "local_2c = *(uint *)PTR___stack_chk_guard_00079930;" (assignment_expression "local_2c = *(uint *)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_00079930" * (cast_expression "(uint *)PTR___stack_chk_guard_00079930" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_13c = (code *)0x0;\n  }" { (expression_statement "local_13c = (code *)0x0;" (assignment_expression "local_13c = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" else (compound_statement "{\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" { (expression_statement "local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);" (assignment_expression "local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2)" identifier = (cast_expression "(code *)(*(code *)PTR_strlen_000798d0)(param_2)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlen_000798d0)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))))) ;) }))) (expression_statement "piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);" (assignment_expression "piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" identifier = (cast_expression "(int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" identifier (argument_list "(param_1,PTR_s_j_000790a8 + 0x4078,0)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4078" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" { (expression_statement "param_2 = PTR_s_j_000790a8 + 0x407c;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x407c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x407c" identifier + number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "puVar13 = auStack_94 + 0x14;" (assignment_expression "puVar13 = auStack_94 + 0x14" identifier = (binary_expression "auStack_94 + 0x14" identifier + number_literal)) ;) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" { (expression_statement "param_2 = (undefined *)0x0;" (assignment_expression "param_2 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);" (assignment_expression "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4214)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4214" identifier + number_literal) ))))) ;) (if_statement "if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" if (parenthesized_expression "(unaff_s6 != (code *)0x0)" ( (binary_expression "unaff_s6 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x422c)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x422c" identifier + number_literal) )))) ;) (if_statement "if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" identifier = (call_expression "(*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" (parenthesized_expression "(*(code *)PTR_strncmp_000797c4)" ( (pointer_expression "*(code *)PTR_strncmp_000797c4" * (cast_expression "(code *)PTR_strncmp_000797c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4134" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }" { (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41e4;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41e4" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41e4" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" else (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" { (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41c4;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41c4" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41c4" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "unaff_s6 = (code *)0x1;" (assignment_expression "unaff_s6 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "old_keyfile_warning();" (call_expression "old_keyfile_warning()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);" (assignment_expression "local_134 = (code *)(PTR_LAB_000794e4 + 0xe74)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xe74)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xe74)" ( (binary_expression "PTR_LAB_000794e4 + 0xe74" identifier + number_literal) )))) ;) (expression_statement "unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);" (assignment_expression "unaff_s5 = (undefined1 *)FUN_00040e74(piVar3)" identifier = (cast_expression "(undefined1 *)FUN_00040e74(piVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00040e74(piVar3)" identifier (argument_list "(piVar3)" ( identifier ))))) ;) (if_statement "if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(unaff_s5 == (undefined1 *)0x0)" ( (binary_expression "unaff_s5 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" { (labeled_statement "LAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);" statement_identifier : (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;)) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);" (assignment_expression "uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier )))) ;) (expression_statement "local_130 = find_pubkey_alg_len(uVar5,unaff_s5);" (assignment_expression "local_130 = find_pubkey_alg_len(uVar5,unaff_s5)" identifier = (call_expression "find_pubkey_alg_len(uVar5,unaff_s5)" identifier (argument_list "(uVar5,unaff_s5)" ( identifier , identifier )))) ;) (if_statement "if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(local_130 == 0)" ( (binary_expression "local_130 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)();" (call_expression "(*(code *)PTR_safefree_000790f0)()" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;" if (parenthesized_expression "(((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0))" ( (binary_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)" (parenthesized_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0))" ( (binary_expression "(iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4244)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4244" identifier + number_literal) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)" ( (comma_expression "unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0" (assignment_expression "unaff_s5 = (undefined1 *)(*local_134)(piVar3)" identifier = (cast_expression "(undefined1 *)(*local_134)(piVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier ))))) , (comma_expression "local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0" (assignment_expression "local_138 = unaff_s5" identifier = identifier) , (binary_expression "unaff_s5 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (goto_statement "goto LAB_00042628;" goto statement_identifier ;)) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x7c4" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }" { (expression_statement "local_128 = 0x10;" (assignment_expression "local_128 = 0x10" identifier = number_literal) ;) (expression_statement "local_12c = (code *)0x1;" (assignment_expression "local_12c = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);" statement_identifier : (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;)) (if_statement "if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }" if (parenthesized_expression "(((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0))" ( (binary_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)" (parenthesized_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0))" ( (binary_expression "(iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4258)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4258" identifier + number_literal) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)" ( (comma_expression "pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0" (assignment_expression "pcVar6 = (code *)(*local_134)(piVar3)" identifier = (cast_expression "(code *)(*local_134)(piVar3)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier ))))) , (comma_expression "local_124 = pcVar6, pcVar6 != (code *)0x0" (assignment_expression "local_124 = pcVar6" identifier = identifier) , (binary_expression "pcVar6 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }" { (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" if (parenthesized_expression "(((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0))" ( (binary_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)" (parenthesized_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))" ( (binary_expression "(iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4260)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4260" identifier + number_literal) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar4 = (*local_134)(piVar3), iVar4 != 0)" ( (comma_expression "iVar4 = (*local_134)(piVar3), iVar4 != 0" (assignment_expression "iVar4 = (*local_134)(piVar3)" identifier = (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" { (expression_statement "local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);" (assignment_expression "local_124 = (code *)(PTR_LAB_000794e4 + 0xd14)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xd14)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xd14)" ( (binary_expression "PTR_LAB_000794e4 + 0xd14" identifier + number_literal) )))) ;) (expression_statement "iVar7 = FUN_00040d14(iVar4);" (assignment_expression "iVar7 = FUN_00040d14(iVar4)" identifier = (call_expression "FUN_00040d14(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "local_120 = pcVar6;" (assignment_expression "local_120 = pcVar6" identifier = identifier) ;) (if_statement "if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }" { (expression_statement "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xfc0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xfc0)" ( (binary_expression "PTR_LAB_000794e4 + 0xfc0" identifier + number_literal) )))) ;) (expression_statement "unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);" (assignment_expression "unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110)" identifier = (call_expression "FUN_00040fc0(piVar3,iVar7,&local_110)" identifier (argument_list "(piVar3,iVar7,&local_110)" ( identifier , identifier , (pointer_expression "&local_110" & identifier) )))) ;) (if_statement "if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }" if (parenthesized_expression "(unaff_s8 != 0)" ( (binary_expression "unaff_s8 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }" { (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }" if (parenthesized_expression "((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0))" ( (binary_expression "(iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)" ( (comma_expression "local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0" (assignment_expression "local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4270)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4270" identifier + number_literal) ))))) , (binary_expression "local_120 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }" { (expression_statement "puVar10 = (undefined1 *)(*local_134)(piVar3);" (assignment_expression "puVar10 = (undefined1 *)(*local_134)(piVar3)" identifier = (cast_expression "(undefined1 *)(*local_134)(piVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier ))))) ;) (if_statement "if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(puVar10 == (undefined1 *)0x0)" ( (binary_expression "puVar10 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*local_124)(puVar10);" (assignment_expression "iVar4 = (*local_124)(puVar10)" identifier = (call_expression "(*local_124)(puVar10)" (parenthesized_expression "(*local_124)" ( (pointer_expression "*local_124" * identifier) )) (argument_list "(puVar10)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10)" ( identifier ))) ;) (if_statement "if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }" { (expression_statement "puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);" (assignment_expression "puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c)" identifier = (cast_expression "(undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar11)(piVar3,iVar4,&local_10c)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(piVar3,iVar4,&local_10c)" ( identifier , identifier , (pointer_expression "&local_10c" & identifier) ))))) ;) (expression_statement "local_124 = pcVar6;" (assignment_expression "local_124 = pcVar6" identifier = identifier) ;) (if_statement "if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(puVar10 == (undefined1 *)0x0)" ( (binary_expression "puVar10 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4280)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4280" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042c20;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042c20;" goto statement_identifier ;)) (expression_statement "local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);" (assignment_expression "local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x428c)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x428c" identifier + number_literal) ))))) ;) (if_statement "if (local_124 != (code *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(local_124 != (code *)0x0)" ( (binary_expression "local_124 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (if_statement "if (unaff_s6 == (code *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(unaff_s6 == (code *)0x0)" ( (binary_expression "unaff_s6 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*local_134)(piVar3);" (assignment_expression "iVar4 = (*local_134)(piVar3)" identifier = (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "local_134 = pcVar6;" (assignment_expression "local_134 = pcVar6" identifier = identifier) ;) (if_statement "if (local_12c != (code *)0x0) goto LAB_00042c60;" if (parenthesized_expression "(local_12c != (code *)0x0)" ( (binary_expression "local_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042c60;" goto statement_identifier ;)) (expression_statement "local_124 = local_12c;" (assignment_expression "local_124 = local_12c" identifier = identifier) ;) (goto_statement "goto LAB_00042944;" goto statement_identifier ;) })) })) (expression_statement "puVar10 = (undefined1 *)0x0;" (assignment_expression "puVar10 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;) })) })) })) (expression_statement "puVar10 = (undefined1 *)0x0;" (assignment_expression "puVar10 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s8 = 0;" (assignment_expression "unaff_s8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" else (compound_statement "{\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" { (expression_statement "local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);" (assignment_expression "local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x4250)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4250" identifier + number_literal) ))))) ;) (if_statement "if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }" if (parenthesized_expression "(local_12c == (code *)0x0)" ( (binary_expression "local_12c == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_128 = 1;\n      goto LAB_000426c8;\n    }" { (expression_statement "local_128 = 1;" (assignment_expression "local_128 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_000426c8;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00042534:\n  puVar10 = unaff_s5;" statement_identifier : (expression_statement "puVar10 = unaff_s5;" (assignment_expression "puVar10 = unaff_s5" identifier = identifier) ;)) (if_statement "if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }" if (parenthesized_expression "(param_3 != (undefined4 *)0x0)" ( (binary_expression "param_3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_3 = param_2;\n  }" { (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (labeled_statement "LAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }" if (parenthesized_expression "(local_2c == *(uint *)puVar2)" ( (binary_expression "local_2c == *(uint *)puVar2" identifier == (pointer_expression "*(uint *)puVar2" * (cast_expression "(uint *)puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar3;\n  }" { (return_statement "return piVar3;" return identifier ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_00042c20:\n  pcVar6 = local_124;" statement_identifier : (expression_statement "pcVar6 = local_124;" (assignment_expression "pcVar6 = local_124" identifier = identifier) ;)) (expression_statement "iVar4 = (*local_134)(piVar3);" (assignment_expression "iVar4 = (*local_134)(piVar3)" identifier = (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "local_134 = local_124;" (assignment_expression "local_134 = local_124" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (if_statement "if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }" if (parenthesized_expression "(local_12c != (code *)0x0)" ( (binary_expression "local_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }" { (expression_statement "local_124 = local_12c;" (assignment_expression "local_124 = local_12c" identifier = identifier) ;) (labeled_statement "LAB_00042c60:\n    pcVar6 = local_134;" statement_identifier : (expression_statement "pcVar6 = local_134;" (assignment_expression "pcVar6 = local_134" identifier = identifier) ;)) (if_statement "if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }" if (parenthesized_expression "(param_2 != (undefined *)0x0)" ( (binary_expression "param_2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }" { (if_statement "if (local_128 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_128 == 0)" ( (binary_expression "local_128 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }" if (parenthesized_expression "(local_10c % local_128 == 0)" ( (binary_expression "local_10c % local_128 == 0" (binary_expression "local_10c % local_128" identifier % identifier) == number_literal) )) (compound_statement "{\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }" { (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" identifier (argument_list "(&SStack_108)" ( (pointer_expression "&SStack_108" & identifier) ))) ;) (expression_statement "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);" (call_expression "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4)" identifier (argument_list "(&SStack_108,PTR_s_j_000790a8 + 0x4790,4)" ( (pointer_expression "&SStack_108" & identifier) , (binary_expression "PTR_s_j_000790a8 + 0x4790" identifier + number_literal) , number_literal ))) ;) (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" identifier (argument_list "(&SStack_108,param_2,local_13c)" ( (pointer_expression "&SStack_108" & identifier) , identifier , identifier ))) ;) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58)" identifier (argument_list "((uchar *)&SStack_108,(SHA_CTX *)&local_58)" ( (cast_expression "(uchar *)&SStack_108" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&SStack_108" & identifier)) , (cast_expression "(SHA_CTX *)&local_58" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_58" & identifier)) ))) ;) (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" identifier (argument_list "(&SStack_108)" ( (pointer_expression "&SStack_108" & identifier) ))) ;) (expression_statement "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);" (call_expression "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4)" identifier (argument_list "(&SStack_108,PTR_s_j_000790a8 + 0x4798,4)" ( (pointer_expression "&SStack_108" & identifier) , (binary_expression "PTR_s_j_000790a8 + 0x4798" identifier + number_literal) , number_literal ))) ;) (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" identifier (argument_list "(&SStack_108,param_2,local_13c)" ( (pointer_expression "&SStack_108" & identifier) , identifier , identifier ))) ;) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44)" identifier (argument_list "((uchar *)&SStack_108,(SHA_CTX *)&local_44)" ( (cast_expression "(uchar *)&SStack_108" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&SStack_108" & identifier)) , (cast_expression "(SHA_CTX *)&local_44" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_44" & identifier)) ))) ;) (expression_statement "aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);" (call_expression "aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c)" identifier (argument_list "((SHA_CTX *)&local_58,puVar10,local_10c)" ( (cast_expression "(SHA_CTX *)&local_58" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_58" & identifier)) , identifier , identifier ))) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) (goto_statement "goto LAB_00042d58;" goto statement_identifier ;) })) })) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (labeled_statement "LAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);" statement_identifier : (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar6);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar6)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "unaff_s5 = puVar10;" (assignment_expression "unaff_s5 = puVar10" identifier = identifier) ;) (goto_statement "goto LAB_00042bc8;" goto statement_identifier ;) })) (expression_statement "local_124 = (code *)0x1;" (assignment_expression "local_124 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) (labeled_statement "LAB_00042d58:\n  puVar10 = puVar13;" statement_identifier : (expression_statement "puVar10 = puVar13;" (assignment_expression "puVar10 = puVar13" identifier = identifier) ;)) (if_statement "if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" if (parenthesized_expression "(unaff_s6 == (code *)0x0)" ( (binary_expression "unaff_s6 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));" (assignment_expression "iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30))" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30))" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(local_130 + 0x30))" ( (pointer_expression "*(undefined4 *)(local_130 + 0x30)" * (cast_expression "(undefined4 *)(local_130 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_130 + 0x30)" ( (binary_expression "local_130 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_000798d0)(local_138)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(local_138)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier )))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(pcVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier )))) ;) (expression_statement "local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;" (assignment_expression "local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c" identifier = (binary_expression "iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c" (binary_expression "iVar9 + iVar7 + iVar8 + local_110 + 0x14" (binary_expression "iVar9 + iVar7 + iVar8 + local_110" (binary_expression "iVar9 + iVar7 + iVar8" (binary_expression "iVar9 + iVar7" identifier + identifier) + identifier) + identifier) + number_literal) + identifier)) ;) (expression_statement "puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);" (assignment_expression "puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000790d0)(local_128,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000790d0" * (cast_expression "(code *)PTR_safemalloc_000790d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_128,1)" ( identifier , number_literal ))))) ;) (expression_statement "puVar10[3] = (char)iVar7;" (assignment_expression "puVar10[3] = (char)iVar7" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = (cast_expression "(char)iVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar10[1] = (char)((uint)iVar7 >> 0x10);" (assignment_expression "puVar10[1] = (char)((uint)iVar7 >> 0x10)" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar7 >> 0x10)" ( (binary_expression "(uint)iVar7 >> 0x10" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*puVar10 = (char)((uint)iVar7 >> 0x18);" (assignment_expression "*puVar10 = (char)((uint)iVar7 >> 0x18)" (pointer_expression "*puVar10" * identifier) = (cast_expression "(char)((uint)iVar7 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar7 >> 0x18)" ( (binary_expression "(uint)iVar7 >> 0x18" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar10[2] = (char)((uint)iVar7 >> 8);" (assignment_expression "puVar10[2] = (char)((uint)iVar7 >> 8)" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar7 >> 8)" ( (binary_expression "(uint)iVar7 >> 8" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14 = puVar10 + iVar7 + 4;" (assignment_expression "puVar14 = puVar10 + iVar7 + 4" identifier = (binary_expression "puVar10 + iVar7 + 4" (binary_expression "puVar10 + iVar7" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" ( (pointer_expression "*(code *)PTR_memcpy_000798e0" * (cast_expression "(code *)PTR_memcpy_000798e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7)" ( (binary_expression "puVar10 + 4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(local_130 + 0x30)" * (cast_expression "(undefined4 *)(local_130 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_130 + 0x30)" ( (binary_expression "local_130 + 0x30" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "puVar14[3] = (char)iVar8;" (assignment_expression "puVar14[3] = (char)iVar8" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)iVar8" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar14[1] = (char)((uint)iVar8 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)iVar8 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar8 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar8 >> 0x10)" ( (binary_expression "(uint)iVar8 >> 0x10" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*puVar14 = (char)((uint)iVar8 >> 0x18);" (assignment_expression "*puVar14 = (char)((uint)iVar8 >> 0x18)" (pointer_expression "*puVar14" * identifier) = (cast_expression "(char)((uint)iVar8 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar8 >> 0x18)" ( (binary_expression "(uint)iVar8 >> 0x18" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (char)((uint)iVar8 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)iVar8 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar8 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar8 >> 8)" ( (binary_expression "(uint)iVar8 >> 8" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" ( (pointer_expression "*(code *)PTR_memcpy_000798e0" * (cast_expression "(code *)PTR_memcpy_000798e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,local_138,iVar8)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar8 + 4;" (assignment_expression "puVar14 = puVar14 + iVar8 + 4" identifier = (binary_expression "puVar14 + iVar8 + 4" (binary_expression "puVar14 + iVar8" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = (char)((uint)iVar9 >> 0x18);" (assignment_expression "*puVar14 = (char)((uint)iVar9 >> 0x18)" (pointer_expression "*puVar14" * identifier) = (cast_expression "(char)((uint)iVar9 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar9 >> 0x18)" ( (binary_expression "(uint)iVar9 >> 0x18" (cast_expression "(uint)iVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[1] = (char)((uint)iVar9 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)iVar9 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar9 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar9 >> 0x10)" ( (binary_expression "(uint)iVar9 >> 0x10" (cast_expression "(uint)iVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (char)iVar9;" (assignment_expression "puVar14[3] = (char)iVar9" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)iVar9" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar14[2] = (char)((uint)iVar9 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)iVar9 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar9 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar9 >> 8)" ( (binary_expression "(uint)iVar9 >> 8" (cast_expression "(uint)iVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);" (call_expression "(*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,pcVar6,iVar9)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "iVar7 = local_110;" (assignment_expression "iVar7 = local_110" identifier = identifier) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar9 + 4;" (assignment_expression "puVar14 = puVar14 + iVar9 + 4" identifier = (binary_expression "puVar14 + iVar9 + 4" (binary_expression "puVar14 + iVar9" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = local_110._0_1_;" (assignment_expression "*puVar14 = local_110._0_1_" (pointer_expression "*puVar14" * identifier) = (field_expression "local_110._0_1_" identifier . field_identifier)) ;) (expression_statement "puVar14[1] = (char)((uint)local_110 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)local_110 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_110 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_110 >> 0x10)" ( (binary_expression "(uint)local_110 >> 0x10" (cast_expression "(uint)local_110" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (char)((uint)local_110 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)local_110 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_110 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_110 >> 8)" ( (binary_expression "(uint)local_110 >> 8" (cast_expression "(uint)local_110" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (char)local_110;" (assignment_expression "puVar14[3] = (char)local_110" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)local_110" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);" (call_expression "(*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,unaff_s8,local_110)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar7 + 4;" (assignment_expression "puVar14 = puVar14 + iVar7 + 4" identifier = (binary_expression "puVar14 + iVar7 + 4" (binary_expression "puVar14 + iVar7" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = local_10c._0_1_;" (assignment_expression "*puVar14 = local_10c._0_1_" (pointer_expression "*puVar14" * identifier) = (field_expression "local_10c._0_1_" identifier . field_identifier)) ;) (expression_statement "puVar14[1] = (char)((uint)local_10c >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)local_10c >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_10c >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_10c >> 0x10)" ( (binary_expression "(uint)local_10c >> 0x10" (cast_expression "(uint)local_10c" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (char)((uint)local_10c >> 8);" (assignment_expression "puVar14[2] = (char)((uint)local_10c >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_10c >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_10c >> 8)" ( (binary_expression "(uint)local_10c >> 8" (cast_expression "(uint)local_10c" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (char)local_10c;" (assignment_expression "puVar14[3] = (char)local_10c" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)local_10c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);" (call_expression "(*(code *)puVar12)(puVar14 + 4,puVar13,local_10c)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,puVar13,local_10c)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" else (compound_statement "{\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" { (labeled_statement "LAB_00042944:\n    bVar1 = false;" statement_identifier : (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;)) (expression_statement "local_128 = local_10c;" (assignment_expression "local_128 = local_10c" identifier = identifier) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) }))) (expression_statement "local_134 = (code *)&local_58;" (assignment_expression "local_134 = (code *)&local_58" identifier = (cast_expression "(code *)&local_58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_58" & identifier))) ;) (if_statement "if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" if (parenthesized_expression "(local_124 == (code *)0x0)" ( (binary_expression "local_124 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }" { (expression_statement "SHA_Simple(puVar10,local_128,auStack_a8);" (call_expression "SHA_Simple(puVar10,local_128,auStack_a8)" identifier (argument_list "(puVar10,local_128,auStack_a8)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" else (compound_statement "{\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" { (expression_statement "local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);" (assignment_expression "local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42a4)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42a4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a4)" ( (binary_expression "PTR_s_j_000790a8 + 0x42a4" identifier + number_literal) ))))) ;) (expression_statement "local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);" (assignment_expression "local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42a8)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42a8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a8)" ( (binary_expression "PTR_s_j_000790a8 + 0x42a8" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);" (assignment_expression "local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42ac)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42ac)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42ac)" ( (binary_expression "PTR_s_j_000790a8 + 0x42ac" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);" (assignment_expression "local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b0)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b0)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b0" identifier + number_literal) ))))) ;) (expression_statement "local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);" (assignment_expression "local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b4)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b4)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b4" identifier + number_literal) ))))) ;) (expression_statement "local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);" (assignment_expression "local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b8)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b8)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b8" identifier + number_literal) ))))) ;) (expression_statement "local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);" (assignment_expression "local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42bc)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42bc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42bc)" ( (binary_expression "PTR_s_j_000790a8 + 0x42bc" identifier + number_literal) ))))) ;) (expression_statement "local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);" (assignment_expression "local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" * (cast_expression "(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42c0)" ( (binary_expression "PTR_s_j_000790a8 + 0x42c0" identifier + number_literal) ))))) ;) (expression_statement "local_3a = PTR_s_j_000790a8[0x42c2];" (assignment_expression "local_3a = PTR_s_j_000790a8[0x42c2]" identifier = (subscript_expression "PTR_s_j_000790a8[0x42c2]" identifier [ number_literal ])) ;) (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" identifier (argument_list "(&SStack_108)" ( (pointer_expression "&SStack_108" & identifier) ))) ;) (expression_statement "SHA_Bytes(&SStack_108,local_134,0x1e);" (call_expression "SHA_Bytes(&SStack_108,local_134,0x1e)" identifier (argument_list "(&SStack_108,local_134,0x1e)" ( (pointer_expression "&SStack_108" & identifier) , identifier , number_literal ))) ;) (if_statement "if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }" if (parenthesized_expression "((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0))" ( (binary_expression "(local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)" (parenthesized_expression "(local_12c != (code *)0x0)" ( (binary_expression "local_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_2 != (undefined *)0x0)" ( (binary_expression "param_2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }" { (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" identifier (argument_list "(&SStack_108,param_2,local_13c)" ( (pointer_expression "&SStack_108" & identifier) , identifier , identifier ))) ;) })) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94)" identifier (argument_list "((uchar *)&SStack_108,(SHA_CTX *)auStack_94)" ( (cast_expression "(uchar *)&SStack_108" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&SStack_108" & identifier)) , (cast_expression "(SHA_CTX *)auStack_94" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);" (call_expression "hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8)" identifier (argument_list "((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8)" ( (cast_expression "(SHA_CTX *)auStack_94" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);" (call_expression "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((SHA_CTX *)auStack_94,0x14)" ( (cast_expression "(SHA_CTX *)auStack_94" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);" (call_expression "(*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&SStack_108,0x60)" ( (pointer_expression "&SStack_108" & identifier) , number_literal ))) ;) (expression_statement "local_124 = pcVar6;" (assignment_expression "local_124 = pcVar6" identifier = identifier) ;) }))) (expression_statement "param_2 = auStack_a8;" (assignment_expression "param_2 = auStack_a8" identifier = identifier) ;) (if_statement "if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }" { (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar10,local_128);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar10,local_128)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10,local_128)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10)" ( identifier ))) ;) })) (expression_statement "puVar12 = PTR_s_j_000790a8 + 0x429c;" (assignment_expression "puVar12 = PTR_s_j_000790a8 + 0x429c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x429c" identifier + number_literal)) ;) (expression_statement "pcVar11 = local_134;" (assignment_expression "pcVar11 = local_134" identifier = identifier) ;) (do_statement "do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);" do (compound_statement "{\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  }" { (expression_statement "puVar10 = param_2 + (int)local_120;" (assignment_expression "puVar10 = param_2 + (int)local_120" identifier = (binary_expression "param_2 + (int)local_120" identifier + (cast_expression "(int)local_120" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_120 = local_120 + 1;" (assignment_expression "local_120 = local_120 + 1" identifier = (binary_expression "local_120 + 1" identifier + number_literal)) ;) (expression_statement "unaff_s6 = pcVar11 + 2;" (assignment_expression "unaff_s6 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);" (call_expression "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000798c4)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000798c4" * (cast_expression "(code *)PTR___sprintf_chk_000798c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11,1,0xffffffff,puVar12,*puVar10)" ( identifier , number_literal , number_literal , identifier , (pointer_expression "*puVar10" * identifier) ))) ;) (expression_statement "pcVar11 = unaff_s6;" (assignment_expression "pcVar11 = unaff_s6" identifier = identifier) ;) }) while (parenthesized_expression "(local_120 != (code *)0x14)" ( (binary_expression "local_120 != (code *)0x14" identifier != (cast_expression "(code *)0x14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(iVar4,local_134)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,local_134)" ( identifier , identifier )))) ;) (expression_statement "puVar10 = puVar13;" (assignment_expression "puVar10 = puVar13" identifier = identifier) ;) (expression_statement "local_13c = pcVar6;" (assignment_expression "local_13c = pcVar6" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" { (if_statement "if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" if (parenthesized_expression "(local_12c == (code *)0x0)" ( (binary_expression "local_12c == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }" { (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41b8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41b8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41b8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" else (compound_statement "{\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" { (expression_statement "param_2 = PTR_s_j_000790a8 + 0x400c;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x400c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x400c" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;" (assignment_expression "piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c" identifier = (cast_expression "(int *)PTR_ssh2_wrong_passphrase_0007935c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (goto_statement "goto LAB_00042f7c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" identifier = (cast_expression "(int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000790d0)(1,0xc)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000790d0" * (cast_expression "(code *)PTR_safemalloc_000790d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar3 = local_130;" (assignment_expression "*piVar3 = local_130" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "piVar3[2] = (int)pcVar6;" (assignment_expression "piVar3[2] = (int)pcVar6" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);" (assignment_expression "iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c)" identifier = (call_expression "(**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c)" (parenthesized_expression "(**(code **)(local_130 + 0x14))" ( (pointer_expression "**(code **)(local_130 + 0x14)" * (pointer_expression "*(code **)(local_130 + 0x14)" * (cast_expression "(code **)(local_130 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_130 + 0x14)" ( (binary_expression "local_130 + 0x14" identifier + number_literal) ))))) )) (argument_list "(local_130,unaff_s8,local_110,puVar13,local_10c)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "piVar3[1] = iVar4;" (assignment_expression "piVar3[1] = iVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar13,local_10c)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,local_10c)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar13);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar13)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier ))) ;) (if_statement "if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }" if (parenthesized_expression "(param_3 != (undefined4 *)0x0)" ( (binary_expression "param_3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = 0;\n    }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) })) (goto_statement "goto LAB_00042540;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)(piVar3);" (call_expression "(*(code *)PTR_safefree_000790f0)(piVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x4200;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x4200" identifier = (binary_expression "PTR_s_j_000790a8 + 0x4200" identifier + number_literal)) ;) (goto_statement "goto LAB_00042ba4;" goto statement_identifier ;) (labeled_statement "LAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);" statement_identifier : (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;)) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "local_13c = pcVar6;" (assignment_expression "local_13c = pcVar6" identifier = identifier) ;) (labeled_statement "LAB_00042ba4:\n  piVar3 = (int *)0x0;" statement_identifier : (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_13c);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_13c)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_13c)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier ))) ;) (expression_statement "unaff_s5 = puVar10;" (assignment_expression "unaff_s5 = puVar10" identifier = identifier) ;) (labeled_statement "LAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" statement_identifier : (if_statement "if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" if (parenthesized_expression "(unaff_s8 != 0)" ( (binary_expression "unaff_s8 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) }))) (if_statement "if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" if (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" ( (binary_expression "unaff_s5 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" { (expression_statement "(*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);" (call_expression "(*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,local_10c)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) })) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })))
(translation_unit "ssh2_userkey * ssh2_load_userkey(Filename *filename,char *passphrase,char **errorstr)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  FILE *fp;\n  int iVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  uchar *puVar9;\n  char *pcVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  uchar *unaff_s5;\n  uchar *puVar13;\n  code *unaff_s6;\n  uchar *puVar14;\n  uchar *unaff_s8;\n  code *pcStack_13c;\n  uchar *puStack_138;\n  code *pcStack_134;\n  ssh_signkey *psStack_130;\n  code *pcStack_12c;\n  int iStack_128;\n  code *pcStack_124;\n  code *pcStack_120;\n  int public_blob_len;\n  int private_blob_len;\n  SHA_State s;\n  uchar binary [20];\n  uchar mackey [20];\n  char header [40];\n  uchar key [40];\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  iVar3 = *(int *)PTR___stack_chk_guard_00079930;\n  if (passphrase == (char *)0x0) {\n    pcStack_13c = (code *)0x0;\n  }\n  else {\n    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);\n  }\n  fp = f_open(filename,PTR_s_j_000790a8 + 0x4078,0);\n  if (fp == (FILE *)0x0) {\n    passphrase = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  iVar4 = read_header(fp,header);\n  if (iVar4 == 0) {\n    passphrase = (char *)0x0;\n    (*(code *)PTR_fclose_0007988c)(fp);\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  pcStack_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (uchar *)read_body(fp);\n  if (unaff_s5 == (uchar *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  iVar4 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  psStack_130 = find_pubkey_alg_len(iVar4,(char *)unaff_s5);\n  if (psStack_130 == (ssh_signkey *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = read_header(fp,header);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0))\n  goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    iStack_128 = 0x10;\n    pcStack_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = read_header(fp,header);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(fp);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  passphrase = PTR_s_j_000790a8 + 0x3ff8;\n  fp = (FILE *)0x0;\nLAB_00042534:\n  puVar9 = unaff_s5;\n  if (errorstr != (char **)0x0) {\n    *errorstr = passphrase;\n  }\nLAB_00042540:\n  if (iVar3 == *(int *)puVar2) {\n    return (ssh2_userkey *)fp;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar5 = pcStack_124;\n  iVar4 = (*pcStack_134)(fp);\n  if (iVar4 == 0) goto LAB_00042b88;\n  pcStack_134 = pcStack_124;\n  (*(code *)PTR_fclose_0007988c)(fp);\n  if (pcStack_12c != (code *)0x0) {\n    pcStack_124 = pcStack_12c;\nLAB_00042c60:\n    pcVar5 = pcStack_134;\n    if ((uchar *)passphrase != (uchar *)0x0) {\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }\n    fp = (FILE *)0x0;\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar5);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar9;\n    goto FUN_00042bc8;\n  }\n  pcStack_124 = (code *)0x1;\n  puVar13 = puVar9;\nLAB_00042d58:\n  puVar9 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);\n    iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);\n    iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);\n    iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;\n    puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);\n    puVar9[3] = (uchar)iVar6;\n    puVar9[1] = (uchar)((uint)iVar6 >> 0x10);\n    *puVar9 = (uchar)((uint)iVar6 >> 0x18);\n    puVar9[2] = (uchar)((uint)iVar6 >> 8);\n    puVar14 = puVar9 + iVar6 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);\n    puVar14[3] = (uchar)iVar7;\n    puVar14[1] = (uchar)((uint)iVar7 >> 0x10);\n    *puVar14 = (uchar)((uint)iVar7 >> 0x18);\n    puVar14[2] = (uchar)((uint)iVar7 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = (uchar)((uint)iVar8 >> 0x18);\n    puVar14[1] = (uchar)((uint)iVar8 >> 0x10);\n    puVar14[3] = (uchar)iVar8;\n    puVar14[2] = (uchar)((uint)iVar8 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);\n    iVar6 = public_blob_len;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = public_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)public_blob_len >> 8);\n    puVar14[3] = (uchar)public_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar6 + 4;\n    *puVar14 = private_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)private_blob_len >> 8);\n    puVar14[3] = (uchar)private_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    iStack_128 = private_blob_len;\n    puVar13 = puVar9;\n  }\n  pcStack_134 = (code *)key;\n  if (pcStack_124 == (code *)0x0) {\n    SHA_Simple(puVar9,iStack_128,binary);\n  }\n  else {\n    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);\n    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);\n    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);\n    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);\n    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);\n    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);\n    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);\n    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    key[0x1e] = PTR_s_j_000790a8[0x42c2];\n    SHA_Init((SHA_CTX *)&s);\n    SHA_Bytes(&s,pcStack_134,0x1e);\n    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }\n    SHA_Final(&s,mackey);\n    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);\n    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);\n    pcStack_124 = pcVar5;\n  }\n  passphrase = (char *)binary;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);\n    (*(code *)PTR_safefree_000790f0)(puVar9);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = pcStack_134;\n  do {\n    puVar9 = (uchar *)passphrase + (int)pcStack_120;\n    pcStack_120 = pcStack_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);\n    pcVar11 = unaff_s6;\n  } while (pcStack_120 != (code *)0x14);\n  iVar6 = (*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134);\n  puVar9 = puVar13;\n  pcStack_13c = pcVar5;\n  if (iVar6 != 0) {\n    if (pcStack_12c == (code *)0x0) {\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }\n    else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  fp = (FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  fp->_flags = (int)psStack_130;\n  fp->_IO_read_end = (char *)pcVar5;\n  pcVar10 = (char *)(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len);\n  fp->_IO_read_ptr = pcVar10;\n  if (pcVar10 != (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    if (errorstr != (char **)0x0) {\n      *errorstr = (char *)0x0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(fp);\n  passphrase = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(fp);\n  passphrase = PTR_s_j_000790a8 + 0x3ff8;\n  pcStack_13c = pcVar5;\nLAB_00042ba4:\n  fp = (FILE *)0x0;\n  (*(code *)PTR_safefree_000790f0)(pcStack_13c);\n  (*(code *)PTR_safefree_000790f0)(puStack_138);\n  unaff_s5 = puVar9;\nFUN_00042bc8:\n  if (unaff_s8 != (uchar *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (uchar *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}\n\n" (function_definition "ssh2_userkey * ssh2_load_userkey(Filename *filename,char *passphrase,char **errorstr)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  FILE *fp;\n  int iVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  uchar *puVar9;\n  char *pcVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  uchar *unaff_s5;\n  uchar *puVar13;\n  code *unaff_s6;\n  uchar *puVar14;\n  uchar *unaff_s8;\n  code *pcStack_13c;\n  uchar *puStack_138;\n  code *pcStack_134;\n  ssh_signkey *psStack_130;\n  code *pcStack_12c;\n  int iStack_128;\n  code *pcStack_124;\n  code *pcStack_120;\n  int public_blob_len;\n  int private_blob_len;\n  SHA_State s;\n  uchar binary [20];\n  uchar mackey [20];\n  char header [40];\n  uchar key [40];\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  iVar3 = *(int *)PTR___stack_chk_guard_00079930;\n  if (passphrase == (char *)0x0) {\n    pcStack_13c = (code *)0x0;\n  }\n  else {\n    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);\n  }\n  fp = f_open(filename,PTR_s_j_000790a8 + 0x4078,0);\n  if (fp == (FILE *)0x0) {\n    passphrase = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  iVar4 = read_header(fp,header);\n  if (iVar4 == 0) {\n    passphrase = (char *)0x0;\n    (*(code *)PTR_fclose_0007988c)(fp);\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  pcStack_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (uchar *)read_body(fp);\n  if (unaff_s5 == (uchar *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  iVar4 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  psStack_130 = find_pubkey_alg_len(iVar4,(char *)unaff_s5);\n  if (psStack_130 == (ssh_signkey *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = read_header(fp,header);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0))\n  goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    iStack_128 = 0x10;\n    pcStack_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = read_header(fp,header);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(fp);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  passphrase = PTR_s_j_000790a8 + 0x3ff8;\n  fp = (FILE *)0x0;\nLAB_00042534:\n  puVar9 = unaff_s5;\n  if (errorstr != (char **)0x0) {\n    *errorstr = passphrase;\n  }\nLAB_00042540:\n  if (iVar3 == *(int *)puVar2) {\n    return (ssh2_userkey *)fp;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar5 = pcStack_124;\n  iVar4 = (*pcStack_134)(fp);\n  if (iVar4 == 0) goto LAB_00042b88;\n  pcStack_134 = pcStack_124;\n  (*(code *)PTR_fclose_0007988c)(fp);\n  if (pcStack_12c != (code *)0x0) {\n    pcStack_124 = pcStack_12c;\nLAB_00042c60:\n    pcVar5 = pcStack_134;\n    if ((uchar *)passphrase != (uchar *)0x0) {\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }\n    fp = (FILE *)0x0;\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar5);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar9;\n    goto FUN_00042bc8;\n  }\n  pcStack_124 = (code *)0x1;\n  puVar13 = puVar9;\nLAB_00042d58:\n  puVar9 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);\n    iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);\n    iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);\n    iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;\n    puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);\n    puVar9[3] = (uchar)iVar6;\n    puVar9[1] = (uchar)((uint)iVar6 >> 0x10);\n    *puVar9 = (uchar)((uint)iVar6 >> 0x18);\n    puVar9[2] = (uchar)((uint)iVar6 >> 8);\n    puVar14 = puVar9 + iVar6 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);\n    puVar14[3] = (uchar)iVar7;\n    puVar14[1] = (uchar)((uint)iVar7 >> 0x10);\n    *puVar14 = (uchar)((uint)iVar7 >> 0x18);\n    puVar14[2] = (uchar)((uint)iVar7 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = (uchar)((uint)iVar8 >> 0x18);\n    puVar14[1] = (uchar)((uint)iVar8 >> 0x10);\n    puVar14[3] = (uchar)iVar8;\n    puVar14[2] = (uchar)((uint)iVar8 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);\n    iVar6 = public_blob_len;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = public_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)public_blob_len >> 8);\n    puVar14[3] = (uchar)public_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar6 + 4;\n    *puVar14 = private_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)private_blob_len >> 8);\n    puVar14[3] = (uchar)private_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    iStack_128 = private_blob_len;\n    puVar13 = puVar9;\n  }\n  pcStack_134 = (code *)key;\n  if (pcStack_124 == (code *)0x0) {\n    SHA_Simple(puVar9,iStack_128,binary);\n  }\n  else {\n    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);\n    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);\n    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);\n    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);\n    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);\n    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);\n    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);\n    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    key[0x1e] = PTR_s_j_000790a8[0x42c2];\n    SHA_Init((SHA_CTX *)&s);\n    SHA_Bytes(&s,pcStack_134,0x1e);\n    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }\n    SHA_Final(&s,mackey);\n    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);\n    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);\n    pcStack_124 = pcVar5;\n  }\n  passphrase = (char *)binary;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);\n    (*(code *)PTR_safefree_000790f0)(puVar9);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = pcStack_134;\n  do {\n    puVar9 = (uchar *)passphrase + (int)pcStack_120;\n    pcStack_120 = pcStack_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);\n    pcVar11 = unaff_s6;\n  } while (pcStack_120 != (code *)0x14);\n  iVar6 = (*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134);\n  puVar9 = puVar13;\n  pcStack_13c = pcVar5;\n  if (iVar6 != 0) {\n    if (pcStack_12c == (code *)0x0) {\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }\n    else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  fp = (FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  fp->_flags = (int)psStack_130;\n  fp->_IO_read_end = (char *)pcVar5;\n  pcVar10 = (char *)(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len);\n  fp->_IO_read_ptr = pcVar10;\n  if (pcVar10 != (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    if (errorstr != (char **)0x0) {\n      *errorstr = (char *)0x0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(fp);\n  passphrase = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(fp);\n  passphrase = PTR_s_j_000790a8 + 0x3ff8;\n  pcStack_13c = pcVar5;\nLAB_00042ba4:\n  fp = (FILE *)0x0;\n  (*(code *)PTR_safefree_000790f0)(pcStack_13c);\n  (*(code *)PTR_safefree_000790f0)(puStack_138);\n  unaff_s5 = puVar9;\nFUN_00042bc8:\n  if (unaff_s8 != (uchar *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (uchar *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" type_identifier (pointer_declarator "* ssh2_load_userkey(Filename *filename,char *passphrase,char **errorstr)" * (function_declarator "ssh2_load_userkey(Filename *filename,char *passphrase,char **errorstr)" identifier (parameter_list "(Filename *filename,char *passphrase,char **errorstr)" ( (parameter_declaration "Filename *filename" type_identifier (pointer_declarator "*filename" * identifier)) , (parameter_declaration "char *passphrase" primitive_type (pointer_declarator "*passphrase" * identifier)) , (parameter_declaration "char **errorstr" primitive_type (pointer_declarator "**errorstr" * (pointer_declarator "*errorstr" * identifier))) )))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  FILE *fp;\n  int iVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  uchar *puVar9;\n  char *pcVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  uchar *unaff_s5;\n  uchar *puVar13;\n  code *unaff_s6;\n  uchar *puVar14;\n  uchar *unaff_s8;\n  code *pcStack_13c;\n  uchar *puStack_138;\n  code *pcStack_134;\n  ssh_signkey *psStack_130;\n  code *pcStack_12c;\n  int iStack_128;\n  code *pcStack_124;\n  code *pcStack_120;\n  int public_blob_len;\n  int private_blob_len;\n  SHA_State s;\n  uchar binary [20];\n  uchar mackey [20];\n  char header [40];\n  uchar key [40];\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  iVar3 = *(int *)PTR___stack_chk_guard_00079930;\n  if (passphrase == (char *)0x0) {\n    pcStack_13c = (code *)0x0;\n  }\n  else {\n    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);\n  }\n  fp = f_open(filename,PTR_s_j_000790a8 + 0x4078,0);\n  if (fp == (FILE *)0x0) {\n    passphrase = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  iVar4 = read_header(fp,header);\n  if (iVar4 == 0) {\n    passphrase = (char *)0x0;\n    (*(code *)PTR_fclose_0007988c)(fp);\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  pcStack_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (uchar *)read_body(fp);\n  if (unaff_s5 == (uchar *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  iVar4 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  psStack_130 = find_pubkey_alg_len(iVar4,(char *)unaff_s5);\n  if (psStack_130 == (ssh_signkey *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = read_header(fp,header);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0))\n  goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    iStack_128 = 0x10;\n    pcStack_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = read_header(fp,header);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(fp);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  passphrase = PTR_s_j_000790a8 + 0x3ff8;\n  fp = (FILE *)0x0;\nLAB_00042534:\n  puVar9 = unaff_s5;\n  if (errorstr != (char **)0x0) {\n    *errorstr = passphrase;\n  }\nLAB_00042540:\n  if (iVar3 == *(int *)puVar2) {\n    return (ssh2_userkey *)fp;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar5 = pcStack_124;\n  iVar4 = (*pcStack_134)(fp);\n  if (iVar4 == 0) goto LAB_00042b88;\n  pcStack_134 = pcStack_124;\n  (*(code *)PTR_fclose_0007988c)(fp);\n  if (pcStack_12c != (code *)0x0) {\n    pcStack_124 = pcStack_12c;\nLAB_00042c60:\n    pcVar5 = pcStack_134;\n    if ((uchar *)passphrase != (uchar *)0x0) {\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }\n    fp = (FILE *)0x0;\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar5);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar9;\n    goto FUN_00042bc8;\n  }\n  pcStack_124 = (code *)0x1;\n  puVar13 = puVar9;\nLAB_00042d58:\n  puVar9 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);\n    iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);\n    iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);\n    iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;\n    puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);\n    puVar9[3] = (uchar)iVar6;\n    puVar9[1] = (uchar)((uint)iVar6 >> 0x10);\n    *puVar9 = (uchar)((uint)iVar6 >> 0x18);\n    puVar9[2] = (uchar)((uint)iVar6 >> 8);\n    puVar14 = puVar9 + iVar6 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);\n    puVar14[3] = (uchar)iVar7;\n    puVar14[1] = (uchar)((uint)iVar7 >> 0x10);\n    *puVar14 = (uchar)((uint)iVar7 >> 0x18);\n    puVar14[2] = (uchar)((uint)iVar7 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = (uchar)((uint)iVar8 >> 0x18);\n    puVar14[1] = (uchar)((uint)iVar8 >> 0x10);\n    puVar14[3] = (uchar)iVar8;\n    puVar14[2] = (uchar)((uint)iVar8 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);\n    iVar6 = public_blob_len;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = public_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)public_blob_len >> 8);\n    puVar14[3] = (uchar)public_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar6 + 4;\n    *puVar14 = private_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)private_blob_len >> 8);\n    puVar14[3] = (uchar)private_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    iStack_128 = private_blob_len;\n    puVar13 = puVar9;\n  }\n  pcStack_134 = (code *)key;\n  if (pcStack_124 == (code *)0x0) {\n    SHA_Simple(puVar9,iStack_128,binary);\n  }\n  else {\n    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);\n    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);\n    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);\n    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);\n    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);\n    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);\n    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);\n    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    key[0x1e] = PTR_s_j_000790a8[0x42c2];\n    SHA_Init((SHA_CTX *)&s);\n    SHA_Bytes(&s,pcStack_134,0x1e);\n    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }\n    SHA_Final(&s,mackey);\n    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);\n    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);\n    pcStack_124 = pcVar5;\n  }\n  passphrase = (char *)binary;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);\n    (*(code *)PTR_safefree_000790f0)(puVar9);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = pcStack_134;\n  do {\n    puVar9 = (uchar *)passphrase + (int)pcStack_120;\n    pcStack_120 = pcStack_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);\n    pcVar11 = unaff_s6;\n  } while (pcStack_120 != (code *)0x14);\n  iVar6 = (*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134);\n  puVar9 = puVar13;\n  pcStack_13c = pcVar5;\n  if (iVar6 != 0) {\n    if (pcStack_12c == (code *)0x0) {\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }\n    else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  fp = (FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  fp->_flags = (int)psStack_130;\n  fp->_IO_read_end = (char *)pcVar5;\n  pcVar10 = (char *)(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len);\n  fp->_IO_read_ptr = pcVar10;\n  if (pcVar10 != (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    if (errorstr != (char **)0x0) {\n      *errorstr = (char *)0x0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(fp);\n  passphrase = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(fp);\n  passphrase = PTR_s_j_000790a8 + 0x3ff8;\n  pcStack_13c = pcVar5;\nLAB_00042ba4:\n  fp = (FILE *)0x0;\n  (*(code *)PTR_safefree_000790f0)(pcStack_13c);\n  (*(code *)PTR_safefree_000790f0)(puStack_138);\n  unaff_s5 = puVar9;\nFUN_00042bc8:\n  if (unaff_s8 != (uchar *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (uchar *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "FILE *fp;" type_identifier (pointer_declarator "*fp" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uchar *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uchar *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "uchar *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "uchar *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uchar *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "code *pcStack_13c;" type_identifier (pointer_declarator "*pcStack_13c" * identifier) ;) (declaration "uchar *puStack_138;" type_identifier (pointer_declarator "*puStack_138" * identifier) ;) (declaration "code *pcStack_134;" type_identifier (pointer_declarator "*pcStack_134" * identifier) ;) (declaration "ssh_signkey *psStack_130;" type_identifier (pointer_declarator "*psStack_130" * identifier) ;) (declaration "code *pcStack_12c;" type_identifier (pointer_declarator "*pcStack_12c" * identifier) ;) (declaration "int iStack_128;" primitive_type identifier ;) (declaration "code *pcStack_124;" type_identifier (pointer_declarator "*pcStack_124" * identifier) ;) (declaration "code *pcStack_120;" type_identifier (pointer_declarator "*pcStack_120" * identifier) ;) (declaration "int public_blob_len;" primitive_type identifier ;) (declaration "int private_blob_len;" primitive_type identifier ;) (declaration "SHA_State s;" type_identifier identifier ;) (declaration "uchar binary [20];" type_identifier (array_declarator "binary [20]" identifier [ number_literal ]) ;) (declaration "uchar mackey [20];" type_identifier (array_declarator "mackey [20]" identifier [ number_literal ]) ;) (declaration "char header [40];" primitive_type (array_declarator "header [40]" identifier [ number_literal ]) ;) (declaration "uchar key [40];" type_identifier (array_declarator "key [40]" identifier [ number_literal ]) ;) (expression_statement "puVar2 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00079930;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00079930" * (cast_expression "(int *)PTR___stack_chk_guard_00079930" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (passphrase == (char *)0x0) {\n    pcStack_13c = (code *)0x0;\n  }\n  else {\n    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);\n  }" if (parenthesized_expression "(passphrase == (char *)0x0)" ( (binary_expression "passphrase == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcStack_13c = (code *)0x0;\n  }" { (expression_statement "pcStack_13c = (code *)0x0;" (assignment_expression "pcStack_13c = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);\n  }" else (compound_statement "{\n    pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);\n  }" { (expression_statement "pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase);" (assignment_expression "pcStack_13c = (code *)(*(code *)PTR_strlen_000798d0)(passphrase)" identifier = (cast_expression "(code *)(*(code *)PTR_strlen_000798d0)(passphrase)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlen_000798d0)(passphrase)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(passphrase)" ( identifier ))))) ;) }))) (expression_statement "fp = f_open(filename,PTR_s_j_000790a8 + 0x4078,0);" (assignment_expression "fp = f_open(filename,PTR_s_j_000790a8 + 0x4078,0)" identifier = (call_expression "f_open(filename,PTR_s_j_000790a8 + 0x4078,0)" identifier (argument_list "(filename,PTR_s_j_000790a8 + 0x4078,0)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4078" identifier + number_literal) , number_literal )))) ;) (if_statement "if (fp == (FILE *)0x0) {\n    passphrase = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(fp == (FILE *)0x0)" ( (binary_expression "fp == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    passphrase = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" { (expression_statement "passphrase = PTR_s_j_000790a8 + 0x407c;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x407c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x407c" identifier + number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "iVar4 = read_header(fp,header);" (assignment_expression "iVar4 = read_header(fp,header)" identifier = (call_expression "read_header(fp,header)" identifier (argument_list "(fp,header)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n    passphrase = (char *)0x0;\n    (*(code *)PTR_fclose_0007988c)(fp);\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    passphrase = (char *)0x0;\n    (*(code *)PTR_fclose_0007988c)(fp);\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }" { (expression_statement "passphrase = (char *)0x0;" (assignment_expression "passphrase = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214);" (assignment_expression "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4214)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4214)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4214" identifier + number_literal) ))))) ;) (if_statement "if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" if (parenthesized_expression "(unaff_s6 != (code *)0x0)" ( (binary_expression "unaff_s6 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x422c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x422c)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x422c" identifier + number_literal) )))) ;) (if_statement "if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }\n      goto LAB_00042534;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14)" identifier = (call_expression "(*(code *)PTR_strncmp_000797c4)(header,PTR_s_j_000790a8 + 0x4134,0x14)" (parenthesized_expression "(*(code *)PTR_strncmp_000797c4)" ( (pointer_expression "*(code *)PTR_strncmp_000797c4" * (cast_expression "(code *)PTR_strncmp_000797c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4134,0x14)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4134" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41e4;\n        fp = (FILE *)0x0;\n      }" { (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x41e4;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x41e4" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41e4" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }" else (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(fp);\n        passphrase = PTR_s_j_000790a8 + 0x41c4;\n        fp = (FILE *)0x0;\n      }" { (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x41c4;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x41c4" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41c4" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "unaff_s6 = (code *)0x1;" (assignment_expression "unaff_s6 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "old_keyfile_warning();" (call_expression "old_keyfile_warning()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcStack_134 = (code *)(PTR_LAB_000794e4 + 0xe74);" (assignment_expression "pcStack_134 = (code *)(PTR_LAB_000794e4 + 0xe74)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xe74)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xe74)" ( (binary_expression "PTR_LAB_000794e4 + 0xe74" identifier + number_literal) )))) ;) (expression_statement "unaff_s5 = (uchar *)read_body(fp);" (assignment_expression "unaff_s5 = (uchar *)read_body(fp)" identifier = (cast_expression "(uchar *)read_body(fp)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "read_body(fp)" identifier (argument_list "(fp)" ( identifier ))))) ;) (if_statement "if (unaff_s5 == (uchar *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(unaff_s5 == (uchar *)0x0)" ( (binary_expression "unaff_s5 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }" { (labeled_statement "LAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(fp);" statement_identifier : (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;)) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "iVar4 = (*(code *)PTR_strlen_000798d0)(unaff_s5);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_000798d0)(unaff_s5)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier )))) ;) (expression_statement "psStack_130 = find_pubkey_alg_len(iVar4,(char *)unaff_s5);" (assignment_expression "psStack_130 = find_pubkey_alg_len(iVar4,(char *)unaff_s5)" identifier = (call_expression "find_pubkey_alg_len(iVar4,(char *)unaff_s5)" identifier (argument_list "(iVar4,(char *)unaff_s5)" ( identifier , (cast_expression "(char *)unaff_s5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (psStack_130 == (ssh_signkey *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(psStack_130 == (ssh_signkey *)0x0)" ( (binary_expression "psStack_130 == (ssh_signkey *)0x0" identifier == (cast_expression "(ssh_signkey *)0x0" ( (type_descriptor "ssh_signkey *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(fp);\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\n    fp = (FILE *)0x0;\n    goto LAB_00042534;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)();" (call_expression "(*(code *)PTR_safefree_000790f0)()" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = read_header(fp,header);" (assignment_expression "iVar4 = read_header(fp,header)" identifier = (call_expression "read_header(fp,header)" identifier (argument_list "(fp,header)" ( identifier , identifier )))) ;) (if_statement "if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0))\n  goto LAB_00042628;" if (parenthesized_expression "(((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0))" ( (binary_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0)" (parenthesized_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0))" ( (binary_expression "(iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4244)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4244)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4244" identifier + number_literal) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0)" ( (comma_expression "unaff_s5 = (uchar *)(*pcStack_134)(fp), puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0" (assignment_expression "unaff_s5 = (uchar *)(*pcStack_134)(fp)" identifier = (cast_expression "(uchar *)(*pcStack_134)(fp)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcStack_134)(fp)" (parenthesized_expression "(*pcStack_134)" ( (pointer_expression "*pcStack_134" * identifier) )) (argument_list "(fp)" ( identifier ))))) , (comma_expression "puStack_138 = unaff_s5, unaff_s5 == (uchar *)0x0" (assignment_expression "puStack_138 = unaff_s5" identifier = identifier) , (binary_expression "unaff_s5 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (goto_statement "goto LAB_00042628;" goto statement_identifier ;)) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x7c4" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n    iStack_128 = 0x10;\n    pcStack_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = read_header(fp,header);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iStack_128 = 0x10;\n    pcStack_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = read_header(fp,header);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }\n  }" { (expression_statement "iStack_128 = 0x10;" (assignment_expression "iStack_128 = 0x10" identifier = number_literal) ;) (expression_statement "pcStack_12c = (code *)0x1;" (assignment_expression "pcStack_12c = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000426c8:\n    iVar4 = read_header(fp,header);" statement_identifier : (expression_statement "iVar4 = read_header(fp,header);" (assignment_expression "iVar4 = read_header(fp,header)" identifier = (call_expression "read_header(fp,header)" identifier (argument_list "(fp,header)" ( identifier , identifier )))) ;)) (if_statement "if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)) {\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }" if (parenthesized_expression "(((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0))" ( (binary_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)" (parenthesized_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0))" ( (binary_expression "(iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4258)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4258)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4258" identifier + number_literal) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0)" ( (comma_expression "pcVar5 = (code *)(*pcStack_134)(fp), pcStack_124 = pcVar5, pcVar5 != (code *)0x0" (assignment_expression "pcVar5 = (code *)(*pcStack_134)(fp)" identifier = (cast_expression "(code *)(*pcStack_134)(fp)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcStack_134)(fp)" (parenthesized_expression "(*pcStack_134)" ( (pointer_expression "*pcStack_134" * identifier) )) (argument_list "(fp)" ( identifier ))))) , (comma_expression "pcStack_124 = pcVar5, pcVar5 != (code *)0x0" (assignment_expression "pcStack_124 = pcVar5" identifier = identifier) , (binary_expression "pcVar5 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n      iVar4 = read_header(fp,header);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar9 = (uchar *)0x0;\n      unaff_s8 = (uchar *)0x0;\n      goto LAB_00042b88;\n    }" { (expression_statement "iVar4 = read_header(fp,header);" (assignment_expression "iVar4 = read_header(fp,header)" identifier = (call_expression "read_header(fp,header)" identifier (argument_list "(fp,header)" ( identifier , identifier )))) ;) (if_statement "if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)) {\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" if (parenthesized_expression "(((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0))" ( (binary_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)) &&\n         (pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)" (parenthesized_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))" ( (binary_expression "(iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4260)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4260)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4260" identifier + number_literal) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0)" ( (comma_expression "pcVar10 = (char *)(*pcStack_134)(fp), pcVar10 != (char *)0x0" (assignment_expression "pcVar10 = (char *)(*pcStack_134)(fp)" identifier = (cast_expression "(char *)(*pcStack_134)(fp)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcStack_134)(fp)" (parenthesized_expression "(*pcStack_134)" ( (pointer_expression "*pcStack_134" * identifier) )) (argument_list "(fp)" ( identifier ))))) , (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar4 = userkey_parse_line_counter(pcVar10);\n        (*(code *)PTR_safefree_000790f0)(pcVar10);\n        pcStack_120 = pcVar5;\n        if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" { (expression_statement "pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14);" (assignment_expression "pcStack_124 = (code *)(PTR_LAB_000794e4 + 0xd14)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xd14)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xd14)" ( (binary_expression "PTR_LAB_000794e4 + 0xd14" identifier + number_literal) )))) ;) (expression_statement "iVar4 = userkey_parse_line_counter(pcVar10);" (assignment_expression "iVar4 = userkey_parse_line_counter(pcVar10)" identifier = (call_expression "userkey_parse_line_counter(pcVar10)" identifier (argument_list "(pcVar10)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10)" ( identifier ))) ;) (expression_statement "pcStack_120 = pcVar5;" (assignment_expression "pcStack_120 = pcVar5" identifier = identifier) ;) (if_statement "if (-1 < iVar4) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = read_blob(fp,iVar4,&public_blob_len);\n          if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }\n        }" { (expression_statement "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xfc0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xfc0)" ( (binary_expression "PTR_LAB_000794e4 + 0xfc0" identifier + number_literal) )))) ;) (expression_statement "unaff_s8 = read_blob(fp,iVar4,&public_blob_len);" (assignment_expression "unaff_s8 = read_blob(fp,iVar4,&public_blob_len)" identifier = (call_expression "read_blob(fp,iVar4,&public_blob_len)" identifier (argument_list "(fp,iVar4,&public_blob_len)" ( identifier , identifier , (pointer_expression "&public_blob_len" & identifier) )))) ;) (if_statement "if (unaff_s8 != (uchar *)0x0) {\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }" if (parenthesized_expression "(unaff_s8 != (uchar *)0x0)" ( (binary_expression "unaff_s8 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar4 = read_header(fp,header);\n            if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar9 = (uchar *)0x0;\n            goto LAB_00042b88;\n          }" { (expression_statement "iVar4 = read_header(fp,header);" (assignment_expression "iVar4 = read_header(fp,header)" identifier = (call_expression "read_header(fp,header)" identifier (argument_list "(fp,header)" ( identifier , identifier )))) ;) (if_statement "if ((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)) {\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }" if (parenthesized_expression "((iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0))" ( (binary_expression "(iVar4 != 0) &&\n               (pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0)" ( (comma_expression "pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270),\n               pcStack_120 == (code *)0x0" (assignment_expression "pcStack_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x4270)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4270)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4270" identifier + number_literal) ))))) , (binary_expression "pcStack_120 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n              puVar9 = (uchar *)(*pcStack_134)(fp);\n              if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n              iVar4 = (*pcStack_124)(puVar9);\n              (*(code *)PTR_safefree_000790f0)(puVar9);\n              if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }\n            }" { (expression_statement "puVar9 = (uchar *)(*pcStack_134)(fp);" (assignment_expression "puVar9 = (uchar *)(*pcStack_134)(fp)" identifier = (cast_expression "(uchar *)(*pcStack_134)(fp)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcStack_134)(fp)" (parenthesized_expression "(*pcStack_134)" ( (pointer_expression "*pcStack_134" * identifier) )) (argument_list "(fp)" ( identifier ))))) ;) (if_statement "if (puVar9 == (uchar *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(puVar9 == (uchar *)0x0)" ( (binary_expression "puVar9 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*pcStack_124)(puVar9);" (assignment_expression "iVar4 = (*pcStack_124)(puVar9)" identifier = (call_expression "(*pcStack_124)(puVar9)" (parenthesized_expression "(*pcStack_124)" ( (pointer_expression "*pcStack_124" * identifier) )) (argument_list "(puVar9)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar9);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar9)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9)" ( identifier ))) ;) (if_statement "if (-1 < iVar4) {\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n                puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);\n                pcStack_124 = pcVar5;\n                if (puVar9 == (uchar *)0x0) goto LAB_00042b88;\n                iVar4 = read_header(fp,header);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);\n                if (pcStack_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*pcStack_134)(fp);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(fp);\n                pcStack_134 = pcVar5;\n                if (pcStack_12c != (code *)0x0) goto LAB_00042c60;\n                pcStack_124 = pcStack_12c;\n                goto LAB_00042944;\n              }" { (expression_statement "puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len);" (assignment_expression "puVar9 = (uchar *)(*pcVar11)(fp,iVar4,&private_blob_len)" identifier = (cast_expression "(uchar *)(*pcVar11)(fp,iVar4,&private_blob_len)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar11)(fp,iVar4,&private_blob_len)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(fp,iVar4,&private_blob_len)" ( identifier , identifier , (pointer_expression "&private_blob_len" & identifier) ))))) ;) (expression_statement "pcStack_124 = pcVar5;" (assignment_expression "pcStack_124 = pcVar5" identifier = identifier) ;) (if_statement "if (puVar9 == (uchar *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(puVar9 == (uchar *)0x0)" ( (binary_expression "puVar9 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = read_header(fp,header);" (assignment_expression "iVar4 = read_header(fp,header)" identifier = (call_expression "read_header(fp,header)" identifier (argument_list "(fp,header)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(header,PTR_s_j_000790a8 + 0x4280)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x4280)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4280" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042c20;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042c20;" goto statement_identifier ;)) (expression_statement "pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c);" (assignment_expression "pcStack_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                                (header,PTR_s_j_000790a8 + 0x428c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(header,PTR_s_j_000790a8 + 0x428c)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x428c" identifier + number_literal) ))))) ;) (if_statement "if (pcStack_124 != (code *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(pcStack_124 != (code *)0x0)" ( (binary_expression "pcStack_124 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (if_statement "if (unaff_s6 == (code *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(unaff_s6 == (code *)0x0)" ( (binary_expression "unaff_s6 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*pcStack_134)(fp);" (assignment_expression "iVar4 = (*pcStack_134)(fp)" identifier = (call_expression "(*pcStack_134)(fp)" (parenthesized_expression "(*pcStack_134)" ( (pointer_expression "*pcStack_134" * identifier) )) (argument_list "(fp)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "pcStack_134 = pcVar5;" (assignment_expression "pcStack_134 = pcVar5" identifier = identifier) ;) (if_statement "if (pcStack_12c != (code *)0x0) goto LAB_00042c60;" if (parenthesized_expression "(pcStack_12c != (code *)0x0)" ( (binary_expression "pcStack_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042c60;" goto statement_identifier ;)) (expression_statement "pcStack_124 = pcStack_12c;" (assignment_expression "pcStack_124 = pcStack_12c" identifier = identifier) ;) (goto_statement "goto LAB_00042944;" goto statement_identifier ;) })) })) (expression_statement "puVar9 = (uchar *)0x0;" (assignment_expression "puVar9 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;) })) })) })) (expression_statement "puVar9 = (uchar *)0x0;" (assignment_expression "puVar9 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s8 = (uchar *)0x0;" (assignment_expression "unaff_s8 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;) })) }) (else_clause "else {\n    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" else (compound_statement "{\n    pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" { (expression_statement "pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);" (assignment_expression "pcStack_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x4250)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4250" identifier + number_literal) ))))) ;) (if_statement "if (pcStack_12c == (code *)0x0) {\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }" if (parenthesized_expression "(pcStack_12c == (code *)0x0)" ( (binary_expression "pcStack_12c == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iStack_128 = 1;\n      goto LAB_000426c8;\n    }" { (expression_statement "iStack_128 = 1;" (assignment_expression "iStack_128 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_000426c8;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00042534:\n  puVar9 = unaff_s5;" statement_identifier : (expression_statement "puVar9 = unaff_s5;" (assignment_expression "puVar9 = unaff_s5" identifier = identifier) ;)) (if_statement "if (errorstr != (char **)0x0) {\n    *errorstr = passphrase;\n  }" if (parenthesized_expression "(errorstr != (char **)0x0)" ( (binary_expression "errorstr != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *errorstr = passphrase;\n  }" { (expression_statement "*errorstr = passphrase;" (assignment_expression "*errorstr = passphrase" (pointer_expression "*errorstr" * identifier) = identifier) ;) })) (labeled_statement "LAB_00042540:\n  if (iVar3 == *(int *)puVar2) {\n    return (ssh2_userkey *)fp;\n  }" statement_identifier : (if_statement "if (iVar3 == *(int *)puVar2) {\n    return (ssh2_userkey *)fp;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar2)" ( (binary_expression "iVar3 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (ssh2_userkey *)fp;\n  }" { (return_statement "return (ssh2_userkey *)fp;" return (cast_expression "(ssh2_userkey *)fp" ( (type_descriptor "ssh2_userkey *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_00042c20:\n  pcVar5 = pcStack_124;" statement_identifier : (expression_statement "pcVar5 = pcStack_124;" (assignment_expression "pcVar5 = pcStack_124" identifier = identifier) ;)) (expression_statement "iVar4 = (*pcStack_134)(fp);" (assignment_expression "iVar4 = (*pcStack_134)(fp)" identifier = (call_expression "(*pcStack_134)(fp)" (parenthesized_expression "(*pcStack_134)" ( (pointer_expression "*pcStack_134" * identifier) )) (argument_list "(fp)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "pcStack_134 = pcStack_124;" (assignment_expression "pcStack_134 = pcStack_124" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (if_statement "if (pcStack_12c != (code *)0x0) {\n    pcStack_124 = pcStack_12c;\nLAB_00042c60:\n    pcVar5 = pcStack_134;\n    if ((uchar *)passphrase != (uchar *)0x0) {\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }\n    fp = (FILE *)0x0;\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar5);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar9;\n    goto FUN_00042bc8;\n  }" if (parenthesized_expression "(pcStack_12c != (code *)0x0)" ( (binary_expression "pcStack_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcStack_124 = pcStack_12c;\nLAB_00042c60:\n    pcVar5 = pcStack_134;\n    if ((uchar *)passphrase != (uchar *)0x0) {\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }\n    fp = (FILE *)0x0;\n    passphrase = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar5);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar9;\n    goto FUN_00042bc8;\n  }" { (expression_statement "pcStack_124 = pcStack_12c;" (assignment_expression "pcStack_124 = pcStack_12c" identifier = identifier) ;) (labeled_statement "LAB_00042c60:\n    pcVar5 = pcStack_134;" statement_identifier : (expression_statement "pcVar5 = pcStack_134;" (assignment_expression "pcVar5 = pcStack_134" identifier = identifier) ;)) (if_statement "if ((uchar *)passphrase != (uchar *)0x0) {\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }" if (parenthesized_expression "((uchar *)passphrase != (uchar *)0x0)" ( (binary_expression "(uchar *)passphrase != (uchar *)0x0" (cast_expression "(uchar *)passphrase" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (iStack_128 == 0) {\n        trap(7);\n      }\n      if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }\n    }" { (if_statement "if (iStack_128 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iStack_128 == 0)" ( (binary_expression "iStack_128 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (private_blob_len % iStack_128 == 0) {\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }" if (parenthesized_expression "(private_blob_len % iStack_128 == 0)" ( (binary_expression "private_blob_len % iStack_128 == 0" (binary_expression "private_blob_len % iStack_128" identifier % identifier) == number_literal) )) (compound_statement "{\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key);\n        SHA_Init((SHA_CTX *)&s);\n        SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n        SHA_Final(&s,key + 0x14);\n        aes256_decrypt_pubkey(key,puVar9,private_blob_len);\n        puVar13 = puVar9;\n        goto LAB_00042d58;\n      }" { (expression_statement "SHA_Init((SHA_CTX *)&s);" (call_expression "SHA_Init((SHA_CTX *)&s)" identifier (argument_list "((SHA_CTX *)&s)" ( (cast_expression "(SHA_CTX *)&s" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s" & identifier)) ))) ;) (expression_statement "SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4);" (call_expression "SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4790,4)" identifier (argument_list "(&s,PTR_s_j_000790a8 + 0x4790,4)" ( (pointer_expression "&s" & identifier) , (binary_expression "PTR_s_j_000790a8 + 0x4790" identifier + number_literal) , number_literal ))) ;) (expression_statement "SHA_Bytes(&s,passphrase,(int)pcStack_13c);" (call_expression "SHA_Bytes(&s,passphrase,(int)pcStack_13c)" identifier (argument_list "(&s,passphrase,(int)pcStack_13c)" ( (pointer_expression "&s" & identifier) , identifier , (cast_expression "(int)pcStack_13c" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "SHA_Final(&s,key);" (call_expression "SHA_Final(&s,key)" identifier (argument_list "(&s,key)" ( (pointer_expression "&s" & identifier) , identifier ))) ;) (expression_statement "SHA_Init((SHA_CTX *)&s);" (call_expression "SHA_Init((SHA_CTX *)&s)" identifier (argument_list "((SHA_CTX *)&s)" ( (cast_expression "(SHA_CTX *)&s" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s" & identifier)) ))) ;) (expression_statement "SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4);" (call_expression "SHA_Bytes(&s,PTR_s_j_000790a8 + 0x4798,4)" identifier (argument_list "(&s,PTR_s_j_000790a8 + 0x4798,4)" ( (pointer_expression "&s" & identifier) , (binary_expression "PTR_s_j_000790a8 + 0x4798" identifier + number_literal) , number_literal ))) ;) (expression_statement "SHA_Bytes(&s,passphrase,(int)pcStack_13c);" (call_expression "SHA_Bytes(&s,passphrase,(int)pcStack_13c)" identifier (argument_list "(&s,passphrase,(int)pcStack_13c)" ( (pointer_expression "&s" & identifier) , identifier , (cast_expression "(int)pcStack_13c" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "SHA_Final(&s,key + 0x14);" (call_expression "SHA_Final(&s,key + 0x14)" identifier (argument_list "(&s,key + 0x14)" ( (pointer_expression "&s" & identifier) , (binary_expression "key + 0x14" identifier + number_literal) ))) ;) (expression_statement "aes256_decrypt_pubkey(key,puVar9,private_blob_len);" (call_expression "aes256_decrypt_pubkey(key,puVar9,private_blob_len)" identifier (argument_list "(key,puVar9,private_blob_len)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar13 = puVar9;" (assignment_expression "puVar13 = puVar9" identifier = identifier) ;) (goto_statement "goto LAB_00042d58;" goto statement_identifier ;) })) })) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (labeled_statement "LAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar5);" statement_identifier : (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar5);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_safefree_000790f0)(puStack_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(puStack_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puStack_138)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "unaff_s5 = puVar9;" (assignment_expression "unaff_s5 = puVar9" identifier = identifier) ;) (goto_statement "goto FUN_00042bc8;" goto statement_identifier ;) })) (expression_statement "pcStack_124 = (code *)0x1;" (assignment_expression "pcStack_124 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar13 = puVar9;" (assignment_expression "puVar13 = puVar9" identifier = identifier) ;) (labeled_statement "LAB_00042d58:\n  puVar9 = puVar13;" statement_identifier : (expression_statement "puVar9 = puVar13;" (assignment_expression "puVar9 = puVar13" identifier = identifier) ;)) (if_statement "if (unaff_s6 == (code *)0x0) {\n    iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);\n    iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);\n    iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);\n    iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;\n    puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);\n    puVar9[3] = (uchar)iVar6;\n    puVar9[1] = (uchar)((uint)iVar6 >> 0x10);\n    *puVar9 = (uchar)((uint)iVar6 >> 0x18);\n    puVar9[2] = (uchar)((uint)iVar6 >> 8);\n    puVar14 = puVar9 + iVar6 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);\n    puVar14[3] = (uchar)iVar7;\n    puVar14[1] = (uchar)((uint)iVar7 >> 0x10);\n    *puVar14 = (uchar)((uint)iVar7 >> 0x18);\n    puVar14[2] = (uchar)((uint)iVar7 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = (uchar)((uint)iVar8 >> 0x18);\n    puVar14[1] = (uchar)((uint)iVar8 >> 0x10);\n    puVar14[3] = (uchar)iVar8;\n    puVar14[2] = (uchar)((uint)iVar8 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);\n    iVar6 = public_blob_len;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = public_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)public_blob_len >> 8);\n    puVar14[3] = (uchar)public_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar6 + 4;\n    *puVar14 = private_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)private_blob_len >> 8);\n    puVar14[3] = (uchar)private_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    iStack_128 = private_blob_len;\n    puVar13 = puVar9;\n  }" if (parenthesized_expression "(unaff_s6 == (code *)0x0)" ( (binary_expression "unaff_s6 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);\n    iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);\n    iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);\n    iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;\n    puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);\n    puVar9[3] = (uchar)iVar6;\n    puVar9[1] = (uchar)((uint)iVar6 >> 0x10);\n    *puVar9 = (uchar)((uint)iVar6 >> 0x18);\n    puVar9[2] = (uchar)((uint)iVar6 >> 8);\n    puVar14 = puVar9 + iVar6 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);\n    puVar14[3] = (uchar)iVar7;\n    puVar14[1] = (uchar)((uint)iVar7 >> 0x10);\n    *puVar14 = (uchar)((uint)iVar7 >> 0x18);\n    puVar14[2] = (uchar)((uint)iVar7 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = (uchar)((uint)iVar8 >> 0x18);\n    puVar14[1] = (uchar)((uint)iVar8 >> 0x10);\n    puVar14[3] = (uchar)iVar8;\n    puVar14[2] = (uchar)((uint)iVar8 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);\n    iVar6 = public_blob_len;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = public_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)public_blob_len >> 8);\n    puVar14[3] = (uchar)public_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar6 + 4;\n    *puVar14 = private_blob_len._0_1_;\n    puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);\n    puVar14[2] = (uchar)((uint)private_blob_len >> 8);\n    puVar14[3] = (uchar)private_blob_len;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);\n    bVar1 = true;\n  }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_000798d0)(psStack_130->name)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(psStack_130->name)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(psStack_130->name)" ( (field_expression "psStack_130->name" identifier -> field_identifier) )))) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_000798d0)(puStack_138)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(puStack_138)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puStack_138)" ( identifier )))) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_000798d0)(pcVar5)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(pcVar5)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len;" (assignment_expression "iStack_128 = iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len" identifier = (binary_expression "iVar8 + iVar6 + iVar7 + public_blob_len + 0x14 + private_blob_len" (binary_expression "iVar8 + iVar6 + iVar7 + public_blob_len + 0x14" (binary_expression "iVar8 + iVar6 + iVar7 + public_blob_len" (binary_expression "iVar8 + iVar6 + iVar7" (binary_expression "iVar8 + iVar6" identifier + identifier) + identifier) + identifier) + number_literal) + identifier)) ;) (expression_statement "puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1);" (assignment_expression "puVar9 = (uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1)" identifier = (cast_expression "(uchar *)(*(code *)PTR_safemalloc_000790d0)(iStack_128,1)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000790d0)(iStack_128,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000790d0" * (cast_expression "(code *)PTR_safemalloc_000790d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iStack_128,1)" ( identifier , number_literal ))))) ;) (expression_statement "puVar9[3] = (uchar)iVar6;" (assignment_expression "puVar9[3] = (uchar)iVar6" (subscript_expression "puVar9[3]" identifier [ number_literal ]) = (cast_expression "(uchar)iVar6" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "puVar9[1] = (uchar)((uint)iVar6 >> 0x10);" (assignment_expression "puVar9[1] = (uchar)((uint)iVar6 >> 0x10)" (subscript_expression "puVar9[1]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)iVar6 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar6 >> 0x10)" ( (binary_expression "(uint)iVar6 >> 0x10" (cast_expression "(uint)iVar6" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*puVar9 = (uchar)((uint)iVar6 >> 0x18);" (assignment_expression "*puVar9 = (uchar)((uint)iVar6 >> 0x18)" (pointer_expression "*puVar9" * identifier) = (call_expression "(uchar)((uint)iVar6 >> 0x18)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar6 >> 0x18)" ( (binary_expression "(uint)iVar6 >> 0x18" (cast_expression "(uint)iVar6" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar9[2] = (uchar)((uint)iVar6 >> 8);" (assignment_expression "puVar9[2] = (uchar)((uint)iVar6 >> 8)" (subscript_expression "puVar9[2]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)iVar6 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar6 >> 8)" ( (binary_expression "(uint)iVar6 >> 8" (cast_expression "(uint)iVar6" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14 = puVar9 + iVar6 + 4;" (assignment_expression "puVar14 = puVar9 + iVar6 + 4" identifier = (binary_expression "puVar9 + iVar6 + 4" (binary_expression "puVar9 + iVar6" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar9 + 4,psStack_130->name,iVar6)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" ( (pointer_expression "*(code *)PTR_memcpy_000798e0" * (cast_expression "(code *)PTR_memcpy_000798e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9 + 4,psStack_130->name,iVar6)" ( (binary_expression "puVar9 + 4" identifier + number_literal) , (field_expression "psStack_130->name" identifier -> field_identifier) , identifier ))) ;) (expression_statement "puVar14[3] = (uchar)iVar7;" (assignment_expression "puVar14[3] = (uchar)iVar7" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(uchar)iVar7" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "puVar14[1] = (uchar)((uint)iVar7 >> 0x10);" (assignment_expression "puVar14[1] = (uchar)((uint)iVar7 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)iVar7 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar7 >> 0x10)" ( (binary_expression "(uint)iVar7 >> 0x10" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*puVar14 = (uchar)((uint)iVar7 >> 0x18);" (assignment_expression "*puVar14 = (uchar)((uint)iVar7 >> 0x18)" (pointer_expression "*puVar14" * identifier) = (call_expression "(uchar)((uint)iVar7 >> 0x18)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar7 >> 0x18)" ( (binary_expression "(uint)iVar7 >> 0x18" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (uchar)((uint)iVar7 >> 8);" (assignment_expression "puVar14[2] = (uchar)((uint)iVar7 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)iVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar7 >> 8)" ( (binary_expression "(uint)iVar7 >> 8" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,puStack_138,iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" ( (pointer_expression "*(code *)PTR_memcpy_000798e0" * (cast_expression "(code *)PTR_memcpy_000798e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,puStack_138,iVar7)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar7 + 4;" (assignment_expression "puVar14 = puVar14 + iVar7 + 4" identifier = (binary_expression "puVar14 + iVar7 + 4" (binary_expression "puVar14 + iVar7" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = (uchar)((uint)iVar8 >> 0x18);" (assignment_expression "*puVar14 = (uchar)((uint)iVar8 >> 0x18)" (pointer_expression "*puVar14" * identifier) = (call_expression "(uchar)((uint)iVar8 >> 0x18)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar8 >> 0x18)" ( (binary_expression "(uint)iVar8 >> 0x18" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[1] = (uchar)((uint)iVar8 >> 0x10);" (assignment_expression "puVar14[1] = (uchar)((uint)iVar8 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)iVar8 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar8 >> 0x10)" ( (binary_expression "(uint)iVar8 >> 0x10" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (uchar)iVar8;" (assignment_expression "puVar14[3] = (uchar)iVar8" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(uchar)iVar8" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "puVar14[2] = (uchar)((uint)iVar8 >> 8);" (assignment_expression "puVar14[2] = (uchar)((uint)iVar8 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)iVar8 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)iVar8 >> 8)" ( (binary_expression "(uint)iVar8 >> 8" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8);" (call_expression "(*(code *)puVar12)(puVar14 + 4,pcVar5,iVar8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,pcVar5,iVar8)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "iVar6 = public_blob_len;" (assignment_expression "iVar6 = public_blob_len" identifier = identifier) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar8 + 4;" (assignment_expression "puVar14 = puVar14 + iVar8 + 4" identifier = (binary_expression "puVar14 + iVar8 + 4" (binary_expression "puVar14 + iVar8" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = public_blob_len._0_1_;" (assignment_expression "*puVar14 = public_blob_len._0_1_" (pointer_expression "*puVar14" * identifier) = (field_expression "public_blob_len._0_1_" identifier . field_identifier)) ;) (expression_statement "puVar14[1] = (uchar)((uint)public_blob_len >> 0x10);" (assignment_expression "puVar14[1] = (uchar)((uint)public_blob_len >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)public_blob_len >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)public_blob_len >> 0x10)" ( (binary_expression "(uint)public_blob_len >> 0x10" (cast_expression "(uint)public_blob_len" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (uchar)((uint)public_blob_len >> 8);" (assignment_expression "puVar14[2] = (uchar)((uint)public_blob_len >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)public_blob_len >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)public_blob_len >> 8)" ( (binary_expression "(uint)public_blob_len >> 8" (cast_expression "(uint)public_blob_len" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (uchar)public_blob_len;" (assignment_expression "puVar14[3] = (uchar)public_blob_len" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(uchar)public_blob_len" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len);" (call_expression "(*(code *)puVar12)(puVar14 + 4,unaff_s8,public_blob_len)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,unaff_s8,public_blob_len)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar6 + 4;" (assignment_expression "puVar14 = puVar14 + iVar6 + 4" identifier = (binary_expression "puVar14 + iVar6 + 4" (binary_expression "puVar14 + iVar6" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = private_blob_len._0_1_;" (assignment_expression "*puVar14 = private_blob_len._0_1_" (pointer_expression "*puVar14" * identifier) = (field_expression "private_blob_len._0_1_" identifier . field_identifier)) ;) (expression_statement "puVar14[1] = (uchar)((uint)private_blob_len >> 0x10);" (assignment_expression "puVar14[1] = (uchar)((uint)private_blob_len >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)private_blob_len >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)private_blob_len >> 0x10)" ( (binary_expression "(uint)private_blob_len >> 0x10" (cast_expression "(uint)private_blob_len" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (uchar)((uint)private_blob_len >> 8);" (assignment_expression "puVar14[2] = (uchar)((uint)private_blob_len >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (call_expression "(uchar)((uint)private_blob_len >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((uint)private_blob_len >> 8)" ( (binary_expression "(uint)private_blob_len >> 8" (cast_expression "(uint)private_blob_len" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (uchar)private_blob_len;" (assignment_expression "puVar14[3] = (uchar)private_blob_len" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(uchar)private_blob_len" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len);" (call_expression "(*(code *)puVar12)(puVar14 + 4,puVar13,private_blob_len)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,puVar13,private_blob_len)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\nLAB_00042944:\n    bVar1 = false;\n    iStack_128 = private_blob_len;\n    puVar13 = puVar9;\n  }" else (compound_statement "{\nLAB_00042944:\n    bVar1 = false;\n    iStack_128 = private_blob_len;\n    puVar13 = puVar9;\n  }" { (labeled_statement "LAB_00042944:\n    bVar1 = false;" statement_identifier : (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;)) (expression_statement "iStack_128 = private_blob_len;" (assignment_expression "iStack_128 = private_blob_len" identifier = identifier) ;) (expression_statement "puVar13 = puVar9;" (assignment_expression "puVar13 = puVar9" identifier = identifier) ;) }))) (expression_statement "pcStack_134 = (code *)key;" (assignment_expression "pcStack_134 = (code *)key" identifier = (cast_expression "(code *)key" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (pcStack_124 == (code *)0x0) {\n    SHA_Simple(puVar9,iStack_128,binary);\n  }\n  else {\n    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);\n    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);\n    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);\n    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);\n    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);\n    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);\n    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);\n    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    key[0x1e] = PTR_s_j_000790a8[0x42c2];\n    SHA_Init((SHA_CTX *)&s);\n    SHA_Bytes(&s,pcStack_134,0x1e);\n    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }\n    SHA_Final(&s,mackey);\n    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);\n    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);\n    pcStack_124 = pcVar5;\n  }" if (parenthesized_expression "(pcStack_124 == (code *)0x0)" ( (binary_expression "pcStack_124 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    SHA_Simple(puVar9,iStack_128,binary);\n  }" { (expression_statement "SHA_Simple(puVar9,iStack_128,binary);" (call_expression "SHA_Simple(puVar9,iStack_128,binary)" identifier (argument_list "(puVar9,iStack_128,binary)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);\n    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);\n    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);\n    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);\n    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);\n    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);\n    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);\n    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    key[0x1e] = PTR_s_j_000790a8[0x42c2];\n    SHA_Init((SHA_CTX *)&s);\n    SHA_Bytes(&s,pcStack_134,0x1e);\n    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }\n    SHA_Final(&s,mackey);\n    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);\n    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);\n    pcStack_124 = pcVar5;\n  }" else (compound_statement "{\n    key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);\n    key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);\n    key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);\n    key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);\n    key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);\n    key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);\n    key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);\n    key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    key[0x1e] = PTR_s_j_000790a8[0x42c2];\n    SHA_Init((SHA_CTX *)&s);\n    SHA_Bytes(&s,pcStack_134,0x1e);\n    if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }\n    SHA_Final(&s,mackey);\n    hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);\n    (*(code *)PTR_smemclr_000790f4)(mackey,0x14);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);\n    pcStack_124 = pcVar5;\n  }" { (expression_statement "key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4);" (assignment_expression "key._0_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a4)" (field_expression "key._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42a4)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a4)" ( (binary_expression "PTR_s_j_000790a8 + 0x42a4" identifier + number_literal) ))))) ;) (expression_statement "key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8);" (assignment_expression "key._4_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42a8)" (field_expression "key._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42a8)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42a8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a8)" ( (binary_expression "PTR_s_j_000790a8 + 0x42a8" identifier + number_literal) ))))) ;) (expression_statement "key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac);" (assignment_expression "key._8_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42ac)" (field_expression "key._8_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42ac)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42ac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42ac)" ( (binary_expression "PTR_s_j_000790a8 + 0x42ac" identifier + number_literal) ))))) ;) (expression_statement "key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0);" (assignment_expression "key._12_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b0)" (field_expression "key._12_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42b0)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b0)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b0" identifier + number_literal) ))))) ;) (expression_statement "key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4);" (assignment_expression "key._16_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b4)" (field_expression "key._16_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42b4)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42b4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b4)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b4" identifier + number_literal) ))))) ;) (expression_statement "key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8);" (assignment_expression "key._20_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42b8)" (field_expression "key._20_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42b8)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42b8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b8)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b8" identifier + number_literal) ))))) ;) (expression_statement "key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc);" (assignment_expression "key._24_4_ = *(undefined4 *)(PTR_s_j_000790a8 + 0x42bc)" (field_expression "key._24_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_j_000790a8 + 0x42bc)" * (cast_expression "(undefined4 *)(PTR_s_j_000790a8 + 0x42bc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42bc)" ( (binary_expression "PTR_s_j_000790a8 + 0x42bc" identifier + number_literal) ))))) ;) (expression_statement "key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);" (assignment_expression "key._28_2_ = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" (field_expression "key._28_2_" identifier . field_identifier) = (pointer_expression "*(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" * (cast_expression "(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42c0)" ( (binary_expression "PTR_s_j_000790a8 + 0x42c0" identifier + number_literal) ))))) ;) (expression_statement "key[0x1e] = PTR_s_j_000790a8[0x42c2];" (assignment_expression "key[0x1e] = PTR_s_j_000790a8[0x42c2]" (subscript_expression "key[0x1e]" identifier [ number_literal ]) = (subscript_expression "PTR_s_j_000790a8[0x42c2]" identifier [ number_literal ])) ;) (expression_statement "SHA_Init((SHA_CTX *)&s);" (call_expression "SHA_Init((SHA_CTX *)&s)" identifier (argument_list "((SHA_CTX *)&s)" ( (cast_expression "(SHA_CTX *)&s" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s" & identifier)) ))) ;) (expression_statement "SHA_Bytes(&s,pcStack_134,0x1e);" (call_expression "SHA_Bytes(&s,pcStack_134,0x1e)" identifier (argument_list "(&s,pcStack_134,0x1e)" ( (pointer_expression "&s" & identifier) , identifier , number_literal ))) ;) (if_statement "if ((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)) {\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }" if (parenthesized_expression "((pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0))" ( (binary_expression "(pcStack_12c != (code *)0x0) && ((uchar *)passphrase != (uchar *)0x0)" (parenthesized_expression "(pcStack_12c != (code *)0x0)" ( (binary_expression "pcStack_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((uchar *)passphrase != (uchar *)0x0)" ( (binary_expression "(uchar *)passphrase != (uchar *)0x0" (cast_expression "(uchar *)passphrase" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      SHA_Bytes(&s,passphrase,(int)pcStack_13c);\n    }" { (expression_statement "SHA_Bytes(&s,passphrase,(int)pcStack_13c);" (call_expression "SHA_Bytes(&s,passphrase,(int)pcStack_13c)" identifier (argument_list "(&s,passphrase,(int)pcStack_13c)" ( (pointer_expression "&s" & identifier) , identifier , (cast_expression "(int)pcStack_13c" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "SHA_Final(&s,mackey);" (call_expression "SHA_Final(&s,mackey)" identifier (argument_list "(&s,mackey)" ( (pointer_expression "&s" & identifier) , identifier ))) ;) (expression_statement "hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary);" (call_expression "hmac_sha1_simple(mackey,0x14,puVar9,iStack_128,binary)" identifier (argument_list "(mackey,0x14,puVar9,iStack_128,binary)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)(mackey,0x14);" (call_expression "(*(code *)PTR_smemclr_000790f4)(mackey,0x14)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mackey,0x14)" ( identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60);" (call_expression "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)&s,0x60)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((SHA_CTX *)&s,0x60)" ( (cast_expression "(SHA_CTX *)&s" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s" & identifier)) , number_literal ))) ;) (expression_statement "pcStack_124 = pcVar5;" (assignment_expression "pcStack_124 = pcVar5" identifier = identifier) ;) }))) (expression_statement "passphrase = (char *)binary;" (assignment_expression "passphrase = (char *)binary" identifier = (cast_expression "(char *)binary" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);\n    (*(code *)PTR_safefree_000790f0)(puVar9);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);\n    (*(code *)PTR_safefree_000790f0)(puVar9);\n  }" { (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar9,iStack_128)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9,iStack_128)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar9);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar9)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9)" ( identifier ))) ;) })) (expression_statement "puVar12 = PTR_s_j_000790a8 + 0x429c;" (assignment_expression "puVar12 = PTR_s_j_000790a8 + 0x429c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x429c" identifier + number_literal)) ;) (expression_statement "pcVar11 = pcStack_134;" (assignment_expression "pcVar11 = pcStack_134" identifier = identifier) ;) (do_statement "do {\n    puVar9 = (uchar *)passphrase + (int)pcStack_120;\n    pcStack_120 = pcStack_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);\n    pcVar11 = unaff_s6;\n  } while (pcStack_120 != (code *)0x14);" do (compound_statement "{\n    puVar9 = (uchar *)passphrase + (int)pcStack_120;\n    pcStack_120 = pcStack_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);\n    pcVar11 = unaff_s6;\n  }" { (expression_statement "puVar9 = (uchar *)passphrase + (int)pcStack_120;" (assignment_expression "puVar9 = (uchar *)passphrase + (int)pcStack_120" identifier = (binary_expression "(uchar *)passphrase + (int)pcStack_120" (cast_expression "(uchar *)passphrase" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (cast_expression "(int)pcStack_120" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcStack_120 = pcStack_120 + 1;" (assignment_expression "pcStack_120 = pcStack_120 + 1" identifier = (binary_expression "pcStack_120 + 1" identifier + number_literal)) ;) (expression_statement "unaff_s6 = pcVar11 + 2;" (assignment_expression "unaff_s6 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9);" (call_expression "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar9)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000798c4)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000798c4" * (cast_expression "(code *)PTR___sprintf_chk_000798c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11,1,0xffffffff,puVar12,*puVar9)" ( identifier , number_literal , number_literal , identifier , (pointer_expression "*puVar9" * identifier) ))) ;) (expression_statement "pcVar11 = unaff_s6;" (assignment_expression "pcVar11 = unaff_s6" identifier = identifier) ;) }) while (parenthesized_expression "(pcStack_120 != (code *)0x14)" ( (binary_expression "pcStack_120 != (code *)0x14" identifier != (cast_expression "(code *)0x14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(iVar4,pcStack_134)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,pcStack_134)" ( identifier , identifier )))) ;) (expression_statement "puVar9 = puVar13;" (assignment_expression "puVar9 = puVar13" identifier = identifier) ;) (expression_statement "pcStack_13c = pcVar5;" (assignment_expression "pcStack_13c = pcVar5" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n    if (pcStack_12c == (code *)0x0) {\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }\n    else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    if (pcStack_12c == (code *)0x0) {\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }\n    else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" { (if_statement "if (pcStack_12c == (code *)0x0) {\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }\n    else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" if (parenthesized_expression "(pcStack_12c == (code *)0x0)" ( (binary_expression "pcStack_12c == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      passphrase = PTR_s_j_000790a8 + 0x41b8;\n      fp = (FILE *)0x0;\n    }" { (expression_statement "passphrase = PTR_s_j_000790a8 + 0x41b8;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x41b8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41b8" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" else (compound_statement "{\n      passphrase = PTR_s_j_000790a8 + 0x400c;\n      fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" { (expression_statement "passphrase = PTR_s_j_000790a8 + 0x400c;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x400c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x400c" identifier + number_literal)) ;) (expression_statement "fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c;" (assignment_expression "fp = (FILE *)PTR_ssh2_wrong_passphrase_0007935c" identifier = (cast_expression "(FILE *)PTR_ssh2_wrong_passphrase_0007935c" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (goto_statement "goto LAB_00042f7c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "fp = (FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);" (assignment_expression "fp = (FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" identifier = (cast_expression "(FILE *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000790d0)(1,0xc)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000790d0" * (cast_expression "(code *)PTR_safemalloc_000790d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "fp->_flags = (int)psStack_130;" (assignment_expression "fp->_flags = (int)psStack_130" (field_expression "fp->_flags" identifier -> field_identifier) = (cast_expression "(int)psStack_130" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "fp->_IO_read_end = (char *)pcVar5;" (assignment_expression "fp->_IO_read_end = (char *)pcVar5" (field_expression "fp->_IO_read_end" identifier -> field_identifier) = (cast_expression "(char *)pcVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar10 = (char *)(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len);" (assignment_expression "pcVar10 = (char *)(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len)" identifier = (cast_expression "(char *)(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*psStack_130->createkey)\n                              (psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len)" (parenthesized_expression "(*psStack_130->createkey)" ( (pointer_expression "*psStack_130->createkey" * (field_expression "psStack_130->createkey" identifier -> field_identifier)) )) (argument_list "(psStack_130,unaff_s8,public_blob_len,puVar13,private_blob_len)" ( identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "fp->_IO_read_ptr = pcVar10;" (assignment_expression "fp->_IO_read_ptr = pcVar10" (field_expression "fp->_IO_read_ptr" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar10 != (char *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    if (errorstr != (char **)0x0) {\n      *errorstr = (char *)0x0;\n    }\n    goto LAB_00042540;\n  }" if (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(puStack_138);\n    if (errorstr != (char **)0x0) {\n      *errorstr = (char *)0x0;\n    }\n    goto LAB_00042540;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar13,private_blob_len)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,private_blob_len)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar13);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar13)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puStack_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(puStack_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puStack_138)" ( identifier ))) ;) (if_statement "if (errorstr != (char **)0x0) {\n      *errorstr = (char *)0x0;\n    }" if (parenthesized_expression "(errorstr != (char **)0x0)" ( (binary_expression "errorstr != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      *errorstr = (char *)0x0;\n    }" { (expression_statement "*errorstr = (char *)0x0;" (assignment_expression "*errorstr = (char *)0x0" (pointer_expression "*errorstr" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (goto_statement "goto LAB_00042540;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)(fp);" (call_expression "(*(code *)PTR_safefree_000790f0)(fp)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x4200;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x4200" identifier = (binary_expression "PTR_s_j_000790a8 + 0x4200" identifier + number_literal)) ;) (goto_statement "goto LAB_00042ba4;" goto statement_identifier ;) (labeled_statement "LAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(fp);" statement_identifier : (expression_statement "(*(code *)PTR_fclose_0007988c)(fp);" (call_expression "(*(code *)PTR_fclose_0007988c)(fp)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp)" ( identifier ))) ;)) (expression_statement "passphrase = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "passphrase = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "pcStack_13c = pcVar5;" (assignment_expression "pcStack_13c = pcVar5" identifier = identifier) ;) (labeled_statement "LAB_00042ba4:\n  fp = (FILE *)0x0;" statement_identifier : (expression_statement "fp = (FILE *)0x0;" (assignment_expression "fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "(*(code *)PTR_safefree_000790f0)(pcStack_13c);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcStack_13c)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcStack_13c)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puStack_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(puStack_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puStack_138)" ( identifier ))) ;) (expression_statement "unaff_s5 = puVar9;" (assignment_expression "unaff_s5 = puVar9" identifier = identifier) ;) (labeled_statement "FUN_00042bc8:\n  if (unaff_s8 != (uchar *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" statement_identifier : (if_statement "if (unaff_s8 != (uchar *)0x0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" if (parenthesized_expression "(unaff_s8 != (uchar *)0x0)" ( (binary_expression "unaff_s8 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) }))) (if_statement "if (unaff_s5 != (uchar *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" if (parenthesized_expression "(unaff_s5 != (uchar *)0x0)" ( (binary_expression "unaff_s5 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" { (expression_statement "(*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len);" (call_expression "(*(code *)PTR_smemclr_000790f4)(unaff_s5,private_blob_len)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,private_blob_len)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) })) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })))
(translation_unit "int * ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}\n\n" (function_definition "int * ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" primitive_type (pointer_declarator "* ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)" * (function_declarator "ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined1 *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "undefined1 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "undefined1 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int unaff_s8;" primitive_type identifier ;) (declaration "code *local_13c;" type_identifier (pointer_declarator "*local_13c" * identifier) ;) (declaration "undefined1 *local_138;" type_identifier (pointer_declarator "*local_138" * identifier) ;) (declaration "code *local_134;" type_identifier (pointer_declarator "*local_134" * identifier) ;) (declaration "int local_130;" primitive_type identifier ;) (declaration "code *local_12c;" type_identifier (pointer_declarator "*local_12c" * identifier) ;) (declaration "int local_128;" primitive_type identifier ;) (declaration "code *local_124;" type_identifier (pointer_declarator "*local_124" * identifier) ;) (declaration "code *local_120;" type_identifier (pointer_declarator "*local_120" * identifier) ;) (declaration "int local_110;" primitive_type identifier ;) (declaration "int local_10c;" primitive_type identifier ;) (declaration "SHA_CTX SStack_108;" type_identifier identifier ;) (declaration "undefined1 auStack_a8 [20];" type_identifier (array_declarator "auStack_a8 [20]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_94 [60];" type_identifier (array_declarator "auStack_94 [60]" identifier [ number_literal ]) ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "undefined2 local_3c;" type_identifier identifier ;) (declaration "undefined1 local_3a;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "local_2c = *(uint *)PTR___stack_chk_guard_00079930;" (assignment_expression "local_2c = *(uint *)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_00079930" * (cast_expression "(uint *)PTR___stack_chk_guard_00079930" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_13c = (code *)0x0;\n  }" { (expression_statement "local_13c = (code *)0x0;" (assignment_expression "local_13c = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" else (compound_statement "{\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" { (expression_statement "local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);" (assignment_expression "local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2)" identifier = (cast_expression "(code *)(*(code *)PTR_strlen_000798d0)(param_2)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlen_000798d0)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))))) ;) }))) (expression_statement "piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);" (assignment_expression "piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" identifier = (cast_expression "(int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" identifier (argument_list "(param_1,PTR_s_j_000790a8 + 0x4078,0)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4078" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" { (expression_statement "param_2 = PTR_s_j_000790a8 + 0x407c;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x407c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x407c" identifier + number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "puVar13 = auStack_94 + 0x14;" (assignment_expression "puVar13 = auStack_94 + 0x14" identifier = (binary_expression "auStack_94 + 0x14" identifier + number_literal)) ;) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" { (expression_statement "param_2 = (undefined *)0x0;" (assignment_expression "param_2 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);" (assignment_expression "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4214)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4214" identifier + number_literal) ))))) ;) (if_statement "if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" if (parenthesized_expression "(unaff_s6 != (code *)0x0)" ( (binary_expression "unaff_s6 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x422c)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x422c" identifier + number_literal) )))) ;) (if_statement "if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" identifier = (call_expression "(*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" (parenthesized_expression "(*(code *)PTR_strncmp_000797c4)" ( (pointer_expression "*(code *)PTR_strncmp_000797c4" * (cast_expression "(code *)PTR_strncmp_000797c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4134" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }" { (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41e4;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41e4" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41e4" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" else (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" { (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41c4;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41c4" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41c4" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "unaff_s6 = (code *)0x1;" (assignment_expression "unaff_s6 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "old_keyfile_warning();" (call_expression "old_keyfile_warning()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);" (assignment_expression "local_134 = (code *)(PTR_LAB_000794e4 + 0xe74)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xe74)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xe74)" ( (binary_expression "PTR_LAB_000794e4 + 0xe74" identifier + number_literal) )))) ;) (expression_statement "unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);" (assignment_expression "unaff_s5 = (undefined1 *)FUN_00040e74(piVar3)" identifier = (cast_expression "(undefined1 *)FUN_00040e74(piVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00040e74(piVar3)" identifier (argument_list "(piVar3)" ( identifier ))))) ;) (if_statement "if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(unaff_s5 == (undefined1 *)0x0)" ( (binary_expression "unaff_s5 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" { (labeled_statement "LAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);" statement_identifier : (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;)) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);" (assignment_expression "uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier )))) ;) (expression_statement "local_130 = find_pubkey_alg_len(uVar5,unaff_s5);" (assignment_expression "local_130 = find_pubkey_alg_len(uVar5,unaff_s5)" identifier = (call_expression "find_pubkey_alg_len(uVar5,unaff_s5)" identifier (argument_list "(uVar5,unaff_s5)" ( identifier , identifier )))) ;) (if_statement "if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" if (parenthesized_expression "(local_130 == 0)" ( (binary_expression "local_130 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)();" (call_expression "(*(code *)PTR_safefree_000790f0)()" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;" if (parenthesized_expression "(((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0))" ( (binary_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)" (parenthesized_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0))" ( (binary_expression "(iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4244)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4244" identifier + number_literal) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)" ( (comma_expression "unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0" (assignment_expression "unaff_s5 = (undefined1 *)(*local_134)(piVar3)" identifier = (cast_expression "(undefined1 *)(*local_134)(piVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier ))))) , (comma_expression "local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0" (assignment_expression "local_138 = unaff_s5" identifier = identifier) , (binary_expression "unaff_s5 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (goto_statement "goto LAB_00042628;" goto statement_identifier ;)) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x7c4" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }" { (expression_statement "local_128 = 0x10;" (assignment_expression "local_128 = 0x10" identifier = number_literal) ;) (expression_statement "local_12c = (code *)0x1;" (assignment_expression "local_12c = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);" statement_identifier : (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;)) (if_statement "if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }" if (parenthesized_expression "(((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0))" ( (binary_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)" (parenthesized_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0))" ( (binary_expression "(iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4258)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4258" identifier + number_literal) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)" ( (comma_expression "pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0" (assignment_expression "pcVar6 = (code *)(*local_134)(piVar3)" identifier = (cast_expression "(code *)(*local_134)(piVar3)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier ))))) , (comma_expression "local_124 = pcVar6, pcVar6 != (code *)0x0" (assignment_expression "local_124 = pcVar6" identifier = identifier) , (binary_expression "pcVar6 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }" { (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" if (parenthesized_expression "(((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0))" ( (binary_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)" (parenthesized_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))" ( (binary_expression "(iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4260)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4260" identifier + number_literal) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar4 = (*local_134)(piVar3), iVar4 != 0)" ( (comma_expression "iVar4 = (*local_134)(piVar3), iVar4 != 0" (assignment_expression "iVar4 = (*local_134)(piVar3)" identifier = (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" { (expression_statement "local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);" (assignment_expression "local_124 = (code *)(PTR_LAB_000794e4 + 0xd14)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xd14)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xd14)" ( (binary_expression "PTR_LAB_000794e4 + 0xd14" identifier + number_literal) )))) ;) (expression_statement "iVar7 = FUN_00040d14(iVar4);" (assignment_expression "iVar7 = FUN_00040d14(iVar4)" identifier = (call_expression "FUN_00040d14(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "local_120 = pcVar6;" (assignment_expression "local_120 = pcVar6" identifier = identifier) ;) (if_statement "if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }" { (expression_statement "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0)" identifier = (cast_expression "(code *)(PTR_LAB_000794e4 + 0xfc0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000794e4 + 0xfc0)" ( (binary_expression "PTR_LAB_000794e4 + 0xfc0" identifier + number_literal) )))) ;) (expression_statement "unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);" (assignment_expression "unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110)" identifier = (call_expression "FUN_00040fc0(piVar3,iVar7,&local_110)" identifier (argument_list "(piVar3,iVar7,&local_110)" ( identifier , identifier , (pointer_expression "&local_110" & identifier) )))) ;) (if_statement "if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }" if (parenthesized_expression "(unaff_s8 != 0)" ( (binary_expression "unaff_s8 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }" { (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }" if (parenthesized_expression "((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0))" ( (binary_expression "(iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)" ( (comma_expression "local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0" (assignment_expression "local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4270)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4270" identifier + number_literal) ))))) , (binary_expression "local_120 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }" { (expression_statement "puVar10 = (undefined1 *)(*local_134)(piVar3);" (assignment_expression "puVar10 = (undefined1 *)(*local_134)(piVar3)" identifier = (cast_expression "(undefined1 *)(*local_134)(piVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier ))))) ;) (if_statement "if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(puVar10 == (undefined1 *)0x0)" ( (binary_expression "puVar10 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*local_124)(puVar10);" (assignment_expression "iVar4 = (*local_124)(puVar10)" identifier = (call_expression "(*local_124)(puVar10)" (parenthesized_expression "(*local_124)" ( (pointer_expression "*local_124" * identifier) )) (argument_list "(puVar10)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10)" ( identifier ))) ;) (if_statement "if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }" { (expression_statement "puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);" (assignment_expression "puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c)" identifier = (cast_expression "(undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar11)(piVar3,iVar4,&local_10c)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(piVar3,iVar4,&local_10c)" ( identifier , identifier , (pointer_expression "&local_10c" & identifier) ))))) ;) (expression_statement "local_124 = pcVar6;" (assignment_expression "local_124 = pcVar6" identifier = identifier) ;) (if_statement "if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(puVar10 == (undefined1 *)0x0)" ( (binary_expression "puVar10 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" identifier = (call_expression "FUN_00040db0(piVar3,puVar13)" identifier (argument_list "(piVar3,puVar13)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4280)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4280" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042c20;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042c20;" goto statement_identifier ;)) (expression_statement "local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);" (assignment_expression "local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x428c)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x428c" identifier + number_literal) ))))) ;) (if_statement "if (local_124 != (code *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(local_124 != (code *)0x0)" ( (binary_expression "local_124 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (if_statement "if (unaff_s6 == (code *)0x0) goto LAB_00042b88;" if (parenthesized_expression "(unaff_s6 == (code *)0x0)" ( (binary_expression "unaff_s6 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "iVar4 = (*local_134)(piVar3);" (assignment_expression "iVar4 = (*local_134)(piVar3)" identifier = (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "local_134 = pcVar6;" (assignment_expression "local_134 = pcVar6" identifier = identifier) ;) (if_statement "if (local_12c != (code *)0x0) goto LAB_00042c60;" if (parenthesized_expression "(local_12c != (code *)0x0)" ( (binary_expression "local_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00042c60;" goto statement_identifier ;)) (expression_statement "local_124 = local_12c;" (assignment_expression "local_124 = local_12c" identifier = identifier) ;) (goto_statement "goto LAB_00042944;" goto statement_identifier ;) })) })) (expression_statement "puVar10 = (undefined1 *)0x0;" (assignment_expression "puVar10 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;) })) })) })) (expression_statement "puVar10 = (undefined1 *)0x0;" (assignment_expression "puVar10 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s8 = 0;" (assignment_expression "unaff_s8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" else (compound_statement "{\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" { (expression_statement "local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);" (assignment_expression "local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" identifier = (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x4250)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x4250" identifier + number_literal) ))))) ;) (if_statement "if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }" if (parenthesized_expression "(local_12c == (code *)0x0)" ( (binary_expression "local_12c == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_128 = 1;\n      goto LAB_000426c8;\n    }" { (expression_statement "local_128 = 1;" (assignment_expression "local_128 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_000426c8;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00042534:\n  puVar10 = unaff_s5;" statement_identifier : (expression_statement "puVar10 = unaff_s5;" (assignment_expression "puVar10 = unaff_s5" identifier = identifier) ;)) (if_statement "if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }" if (parenthesized_expression "(param_3 != (undefined4 *)0x0)" ( (binary_expression "param_3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_3 = param_2;\n  }" { (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (labeled_statement "LAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }" if (parenthesized_expression "(local_2c == *(uint *)puVar2)" ( (binary_expression "local_2c == *(uint *)puVar2" identifier == (pointer_expression "*(uint *)puVar2" * (cast_expression "(uint *)puVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar3;\n  }" { (return_statement "return piVar3;" return identifier ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_00042c20:\n  pcVar6 = local_124;" statement_identifier : (expression_statement "pcVar6 = local_124;" (assignment_expression "pcVar6 = local_124" identifier = identifier) ;)) (expression_statement "iVar4 = (*local_134)(piVar3);" (assignment_expression "iVar4 = (*local_134)(piVar3)" identifier = (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" ( (pointer_expression "*local_134" * identifier) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00042b88;" goto statement_identifier ;)) (expression_statement "local_134 = local_124;" (assignment_expression "local_134 = local_124" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (if_statement "if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }" if (parenthesized_expression "(local_12c != (code *)0x0)" ( (binary_expression "local_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }" { (expression_statement "local_124 = local_12c;" (assignment_expression "local_124 = local_12c" identifier = identifier) ;) (labeled_statement "LAB_00042c60:\n    pcVar6 = local_134;" statement_identifier : (expression_statement "pcVar6 = local_134;" (assignment_expression "pcVar6 = local_134" identifier = identifier) ;)) (if_statement "if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }" if (parenthesized_expression "(param_2 != (undefined *)0x0)" ( (binary_expression "param_2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }" { (if_statement "if (local_128 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_128 == 0)" ( (binary_expression "local_128 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (if_statement "if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }" if (parenthesized_expression "(local_10c % local_128 == 0)" ( (binary_expression "local_10c % local_128 == 0" (binary_expression "local_10c % local_128" identifier % identifier) == number_literal) )) (compound_statement "{\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }" { (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" identifier (argument_list "(&SStack_108)" ( (pointer_expression "&SStack_108" & identifier) ))) ;) (expression_statement "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);" (call_expression "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4)" identifier (argument_list "(&SStack_108,PTR_s_j_000790a8 + 0x4790,4)" ( (pointer_expression "&SStack_108" & identifier) , (binary_expression "PTR_s_j_000790a8 + 0x4790" identifier + number_literal) , number_literal ))) ;) (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" identifier (argument_list "(&SStack_108,param_2,local_13c)" ( (pointer_expression "&SStack_108" & identifier) , identifier , identifier ))) ;) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58)" identifier (argument_list "((uchar *)&SStack_108,(SHA_CTX *)&local_58)" ( (cast_expression "(uchar *)&SStack_108" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&SStack_108" & identifier)) , (cast_expression "(SHA_CTX *)&local_58" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_58" & identifier)) ))) ;) (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" identifier (argument_list "(&SStack_108)" ( (pointer_expression "&SStack_108" & identifier) ))) ;) (expression_statement "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);" (call_expression "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4)" identifier (argument_list "(&SStack_108,PTR_s_j_000790a8 + 0x4798,4)" ( (pointer_expression "&SStack_108" & identifier) , (binary_expression "PTR_s_j_000790a8 + 0x4798" identifier + number_literal) , number_literal ))) ;) (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" identifier (argument_list "(&SStack_108,param_2,local_13c)" ( (pointer_expression "&SStack_108" & identifier) , identifier , identifier ))) ;) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44)" identifier (argument_list "((uchar *)&SStack_108,(SHA_CTX *)&local_44)" ( (cast_expression "(uchar *)&SStack_108" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&SStack_108" & identifier)) , (cast_expression "(SHA_CTX *)&local_44" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_44" & identifier)) ))) ;) (expression_statement "aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);" (call_expression "aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c)" identifier (argument_list "((SHA_CTX *)&local_58,puVar10,local_10c)" ( (cast_expression "(SHA_CTX *)&local_58" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_58" & identifier)) , identifier , identifier ))) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) (goto_statement "goto LAB_00042d58;" goto statement_identifier ;) })) })) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (labeled_statement "LAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);" statement_identifier : (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar6);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar6)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "unaff_s5 = puVar10;" (assignment_expression "unaff_s5 = puVar10" identifier = identifier) ;) (goto_statement "goto LAB_00042bc8;" goto statement_identifier ;) })) (expression_statement "local_124 = (code *)0x1;" (assignment_expression "local_124 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) (labeled_statement "LAB_00042d58:\n  puVar10 = puVar13;" statement_identifier : (expression_statement "puVar10 = puVar13;" (assignment_expression "puVar10 = puVar13" identifier = identifier) ;)) (if_statement "if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" if (parenthesized_expression "(unaff_s6 == (code *)0x0)" ( (binary_expression "unaff_s6 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));" (assignment_expression "iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30))" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30))" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(local_130 + 0x30))" ( (pointer_expression "*(undefined4 *)(local_130 + 0x30)" * (cast_expression "(undefined4 *)(local_130 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_130 + 0x30)" ( (binary_expression "local_130 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_000798d0)(local_138)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(local_138)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier )))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6)" identifier = (call_expression "(*(code *)PTR_strlen_000798d0)(pcVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" ( (pointer_expression "*(code *)PTR_strlen_000798d0" * (cast_expression "(code *)PTR_strlen_000798d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier )))) ;) (expression_statement "local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;" (assignment_expression "local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c" identifier = (binary_expression "iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c" (binary_expression "iVar9 + iVar7 + iVar8 + local_110 + 0x14" (binary_expression "iVar9 + iVar7 + iVar8 + local_110" (binary_expression "iVar9 + iVar7 + iVar8" (binary_expression "iVar9 + iVar7" identifier + identifier) + identifier) + identifier) + number_literal) + identifier)) ;) (expression_statement "puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);" (assignment_expression "puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000790d0)(local_128,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000790d0" * (cast_expression "(code *)PTR_safemalloc_000790d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_128,1)" ( identifier , number_literal ))))) ;) (expression_statement "puVar10[3] = (char)iVar7;" (assignment_expression "puVar10[3] = (char)iVar7" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = (cast_expression "(char)iVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar10[1] = (char)((uint)iVar7 >> 0x10);" (assignment_expression "puVar10[1] = (char)((uint)iVar7 >> 0x10)" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar7 >> 0x10)" ( (binary_expression "(uint)iVar7 >> 0x10" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*puVar10 = (char)((uint)iVar7 >> 0x18);" (assignment_expression "*puVar10 = (char)((uint)iVar7 >> 0x18)" (pointer_expression "*puVar10" * identifier) = (cast_expression "(char)((uint)iVar7 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar7 >> 0x18)" ( (binary_expression "(uint)iVar7 >> 0x18" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar10[2] = (char)((uint)iVar7 >> 8);" (assignment_expression "puVar10[2] = (char)((uint)iVar7 >> 8)" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar7 >> 8)" ( (binary_expression "(uint)iVar7 >> 8" (cast_expression "(uint)iVar7" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14 = puVar10 + iVar7 + 4;" (assignment_expression "puVar14 = puVar10 + iVar7 + 4" identifier = (binary_expression "puVar10 + iVar7 + 4" (binary_expression "puVar10 + iVar7" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" ( (pointer_expression "*(code *)PTR_memcpy_000798e0" * (cast_expression "(code *)PTR_memcpy_000798e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7)" ( (binary_expression "puVar10 + 4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(local_130 + 0x30)" * (cast_expression "(undefined4 *)(local_130 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_130 + 0x30)" ( (binary_expression "local_130 + 0x30" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "puVar14[3] = (char)iVar8;" (assignment_expression "puVar14[3] = (char)iVar8" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)iVar8" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar14[1] = (char)((uint)iVar8 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)iVar8 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar8 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar8 >> 0x10)" ( (binary_expression "(uint)iVar8 >> 0x10" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*puVar14 = (char)((uint)iVar8 >> 0x18);" (assignment_expression "*puVar14 = (char)((uint)iVar8 >> 0x18)" (pointer_expression "*puVar14" * identifier) = (cast_expression "(char)((uint)iVar8 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar8 >> 0x18)" ( (binary_expression "(uint)iVar8 >> 0x18" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (char)((uint)iVar8 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)iVar8 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar8 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar8 >> 8)" ( (binary_expression "(uint)iVar8 >> 8" (cast_expression "(uint)iVar8" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" ( (pointer_expression "*(code *)PTR_memcpy_000798e0" * (cast_expression "(code *)PTR_memcpy_000798e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,local_138,iVar8)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar8 + 4;" (assignment_expression "puVar14 = puVar14 + iVar8 + 4" identifier = (binary_expression "puVar14 + iVar8 + 4" (binary_expression "puVar14 + iVar8" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = (char)((uint)iVar9 >> 0x18);" (assignment_expression "*puVar14 = (char)((uint)iVar9 >> 0x18)" (pointer_expression "*puVar14" * identifier) = (cast_expression "(char)((uint)iVar9 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar9 >> 0x18)" ( (binary_expression "(uint)iVar9 >> 0x18" (cast_expression "(uint)iVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[1] = (char)((uint)iVar9 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)iVar9 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar9 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar9 >> 0x10)" ( (binary_expression "(uint)iVar9 >> 0x10" (cast_expression "(uint)iVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (char)iVar9;" (assignment_expression "puVar14[3] = (char)iVar9" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)iVar9" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar14[2] = (char)((uint)iVar9 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)iVar9 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar9 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar9 >> 8)" ( (binary_expression "(uint)iVar9 >> 8" (cast_expression "(uint)iVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);" (call_expression "(*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,pcVar6,iVar9)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "iVar7 = local_110;" (assignment_expression "iVar7 = local_110" identifier = identifier) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar9 + 4;" (assignment_expression "puVar14 = puVar14 + iVar9 + 4" identifier = (binary_expression "puVar14 + iVar9 + 4" (binary_expression "puVar14 + iVar9" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = local_110._0_1_;" (assignment_expression "*puVar14 = local_110._0_1_" (pointer_expression "*puVar14" * identifier) = (field_expression "local_110._0_1_" identifier . field_identifier)) ;) (expression_statement "puVar14[1] = (char)((uint)local_110 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)local_110 >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_110 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_110 >> 0x10)" ( (binary_expression "(uint)local_110 >> 0x10" (cast_expression "(uint)local_110" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (char)((uint)local_110 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)local_110 >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_110 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_110 >> 8)" ( (binary_expression "(uint)local_110 >> 8" (cast_expression "(uint)local_110" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (char)local_110;" (assignment_expression "puVar14[3] = (char)local_110" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)local_110" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);" (call_expression "(*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,unaff_s8,local_110)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" identifier = identifier) ;) (expression_statement "puVar14 = puVar14 + iVar7 + 4;" (assignment_expression "puVar14 = puVar14 + iVar7 + 4" identifier = (binary_expression "puVar14 + iVar7 + 4" (binary_expression "puVar14 + iVar7" identifier + identifier) + number_literal)) ;) (expression_statement "*puVar14 = local_10c._0_1_;" (assignment_expression "*puVar14 = local_10c._0_1_" (pointer_expression "*puVar14" * identifier) = (field_expression "local_10c._0_1_" identifier . field_identifier)) ;) (expression_statement "puVar14[1] = (char)((uint)local_10c >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)local_10c >> 0x10)" (subscript_expression "puVar14[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_10c >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_10c >> 0x10)" ( (binary_expression "(uint)local_10c >> 0x10" (cast_expression "(uint)local_10c" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[2] = (char)((uint)local_10c >> 8);" (assignment_expression "puVar14[2] = (char)((uint)local_10c >> 8)" (subscript_expression "puVar14[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)local_10c >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)local_10c >> 8)" ( (binary_expression "(uint)local_10c >> 8" (cast_expression "(uint)local_10c" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar14[3] = (char)local_10c;" (assignment_expression "puVar14[3] = (char)local_10c" (subscript_expression "puVar14[3]" identifier [ number_literal ]) = (cast_expression "(char)local_10c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "(*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);" (call_expression "(*(code *)puVar12)(puVar14 + 4,puVar13,local_10c)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar14 + 4,puVar13,local_10c)" ( (binary_expression "puVar14 + 4" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" else (compound_statement "{\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" { (labeled_statement "LAB_00042944:\n    bVar1 = false;" statement_identifier : (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;)) (expression_statement "local_128 = local_10c;" (assignment_expression "local_128 = local_10c" identifier = identifier) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) }))) (expression_statement "local_134 = (code *)&local_58;" (assignment_expression "local_134 = (code *)&local_58" identifier = (cast_expression "(code *)&local_58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_58" & identifier))) ;) (if_statement "if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" if (parenthesized_expression "(local_124 == (code *)0x0)" ( (binary_expression "local_124 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }" { (expression_statement "SHA_Simple(puVar10,local_128,auStack_a8);" (call_expression "SHA_Simple(puVar10,local_128,auStack_a8)" identifier (argument_list "(puVar10,local_128,auStack_a8)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" else (compound_statement "{\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" { (expression_statement "local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);" (assignment_expression "local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42a4)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42a4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a4)" ( (binary_expression "PTR_s_j_000790a8 + 0x42a4" identifier + number_literal) ))))) ;) (expression_statement "local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);" (assignment_expression "local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42a8)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42a8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a8)" ( (binary_expression "PTR_s_j_000790a8 + 0x42a8" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);" (assignment_expression "local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42ac)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42ac)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42ac)" ( (binary_expression "PTR_s_j_000790a8 + 0x42ac" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);" (assignment_expression "local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b0)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b0)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b0" identifier + number_literal) ))))) ;) (expression_statement "local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);" (assignment_expression "local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b4)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b4)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b4" identifier + number_literal) ))))) ;) (expression_statement "local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);" (assignment_expression "local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b8)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b8)" ( (binary_expression "PTR_s_j_000790a8 + 0x42b8" identifier + number_literal) ))))) ;) (expression_statement "local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);" (assignment_expression "local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc)" identifier = (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42bc)" * (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42bc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42bc)" ( (binary_expression "PTR_s_j_000790a8 + 0x42bc" identifier + number_literal) ))))) ;) (expression_statement "local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);" (assignment_expression "local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" * (cast_expression "(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + 0x42c0)" ( (binary_expression "PTR_s_j_000790a8 + 0x42c0" identifier + number_literal) ))))) ;) (expression_statement "local_3a = PTR_s_j_000790a8[0x42c2];" (assignment_expression "local_3a = PTR_s_j_000790a8[0x42c2]" identifier = (subscript_expression "PTR_s_j_000790a8[0x42c2]" identifier [ number_literal ])) ;) (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" identifier (argument_list "(&SStack_108)" ( (pointer_expression "&SStack_108" & identifier) ))) ;) (expression_statement "SHA_Bytes(&SStack_108,local_134,0x1e);" (call_expression "SHA_Bytes(&SStack_108,local_134,0x1e)" identifier (argument_list "(&SStack_108,local_134,0x1e)" ( (pointer_expression "&SStack_108" & identifier) , identifier , number_literal ))) ;) (if_statement "if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }" if (parenthesized_expression "((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0))" ( (binary_expression "(local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)" (parenthesized_expression "(local_12c != (code *)0x0)" ( (binary_expression "local_12c != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_2 != (undefined *)0x0)" ( (binary_expression "param_2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }" { (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" identifier (argument_list "(&SStack_108,param_2,local_13c)" ( (pointer_expression "&SStack_108" & identifier) , identifier , identifier ))) ;) })) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94)" identifier (argument_list "((uchar *)&SStack_108,(SHA_CTX *)auStack_94)" ( (cast_expression "(uchar *)&SStack_108" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&SStack_108" & identifier)) , (cast_expression "(SHA_CTX *)auStack_94" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);" (call_expression "hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8)" identifier (argument_list "((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8)" ( (cast_expression "(SHA_CTX *)auStack_94" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);" (call_expression "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((SHA_CTX *)auStack_94,0x14)" ( (cast_expression "(SHA_CTX *)auStack_94" ( (type_descriptor "SHA_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);" (call_expression "(*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&SStack_108,0x60)" ( (pointer_expression "&SStack_108" & identifier) , number_literal ))) ;) (expression_statement "local_124 = pcVar6;" (assignment_expression "local_124 = pcVar6" identifier = identifier) ;) }))) (expression_statement "param_2 = auStack_a8;" (assignment_expression "param_2 = auStack_a8" identifier = identifier) ;) (if_statement "if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }" { (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar10,local_128);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar10,local_128)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10,local_128)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10)" ( identifier ))) ;) })) (expression_statement "puVar12 = PTR_s_j_000790a8 + 0x429c;" (assignment_expression "puVar12 = PTR_s_j_000790a8 + 0x429c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x429c" identifier + number_literal)) ;) (expression_statement "pcVar11 = local_134;" (assignment_expression "pcVar11 = local_134" identifier = identifier) ;) (do_statement "do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);" do (compound_statement "{\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  }" { (expression_statement "puVar10 = param_2 + (int)local_120;" (assignment_expression "puVar10 = param_2 + (int)local_120" identifier = (binary_expression "param_2 + (int)local_120" identifier + (cast_expression "(int)local_120" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_120 = local_120 + 1;" (assignment_expression "local_120 = local_120 + 1" identifier = (binary_expression "local_120 + 1" identifier + number_literal)) ;) (expression_statement "unaff_s6 = pcVar11 + 2;" (assignment_expression "unaff_s6 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);" (call_expression "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000798c4)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000798c4" * (cast_expression "(code *)PTR___sprintf_chk_000798c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11,1,0xffffffff,puVar12,*puVar10)" ( identifier , number_literal , number_literal , identifier , (pointer_expression "*puVar10" * identifier) ))) ;) (expression_statement "pcVar11 = unaff_s6;" (assignment_expression "pcVar11 = unaff_s6" identifier = identifier) ;) }) while (parenthesized_expression "(local_120 != (code *)0x14)" ( (binary_expression "local_120 != (code *)0x14" identifier != (cast_expression "(code *)0x14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134)" identifier = (call_expression "(*(code *)PTR_strcmp_000798a4)(iVar4,local_134)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" ( (pointer_expression "*(code *)PTR_strcmp_000798a4" * (cast_expression "(code *)PTR_strcmp_000798a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,local_134)" ( identifier , identifier )))) ;) (expression_statement "puVar10 = puVar13;" (assignment_expression "puVar10 = puVar13" identifier = identifier) ;) (expression_statement "local_13c = pcVar6;" (assignment_expression "local_13c = pcVar6" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" { (if_statement "if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" if (parenthesized_expression "(local_12c == (code *)0x0)" ( (binary_expression "local_12c == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }" { (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41b8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41b8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x41b8" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" else (compound_statement "{\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" { (expression_statement "param_2 = PTR_s_j_000790a8 + 0x400c;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x400c" identifier = (binary_expression "PTR_s_j_000790a8 + 0x400c" identifier + number_literal)) ;) (expression_statement "piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;" (assignment_expression "piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c" identifier = (cast_expression "(int *)PTR_ssh2_wrong_passphrase_0007935c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (goto_statement "goto LAB_00042f7c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" identifier = (cast_expression "(int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000790d0)(1,0xc)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000790d0" * (cast_expression "(code *)PTR_safemalloc_000790d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar3 = local_130;" (assignment_expression "*piVar3 = local_130" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "piVar3[2] = (int)pcVar6;" (assignment_expression "piVar3[2] = (int)pcVar6" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);" (assignment_expression "iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c)" identifier = (call_expression "(**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c)" (parenthesized_expression "(**(code **)(local_130 + 0x14))" ( (pointer_expression "**(code **)(local_130 + 0x14)" * (pointer_expression "*(code **)(local_130 + 0x14)" * (cast_expression "(code **)(local_130 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_130 + 0x14)" ( (binary_expression "local_130 + 0x14" identifier + number_literal) ))))) )) (argument_list "(local_130,unaff_s8,local_110,puVar13,local_10c)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "piVar3[1] = iVar4;" (assignment_expression "piVar3[1] = iVar4" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar13,local_10c)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,local_10c)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar13);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar13)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier ))) ;) (if_statement "if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }" if (parenthesized_expression "(param_3 != (undefined4 *)0x0)" ( (binary_expression "param_3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = 0;\n    }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) })) (goto_statement "goto LAB_00042540;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_safefree_000790f0)(piVar3);" (call_expression "(*(code *)PTR_safefree_000790f0)(piVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x4200;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x4200" identifier = (binary_expression "PTR_s_j_000790a8 + 0x4200" identifier + number_literal)) ;) (goto_statement "goto LAB_00042ba4;" goto statement_identifier ;) (labeled_statement "LAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);" statement_identifier : (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" ( (pointer_expression "*(code *)PTR_fclose_0007988c" * (cast_expression "(code *)PTR_fclose_0007988c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3)" ( identifier ))) ;)) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" identifier = (binary_expression "PTR_s_j_000790a8 + 0x3ff8" identifier + number_literal)) ;) (expression_statement "local_13c = pcVar6;" (assignment_expression "local_13c = pcVar6" identifier = identifier) ;) (labeled_statement "LAB_00042ba4:\n  piVar3 = (int *)0x0;" statement_identifier : (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_13c);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_13c)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_13c)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_138)" ( identifier ))) ;) (expression_statement "unaff_s5 = puVar10;" (assignment_expression "unaff_s5 = puVar10" identifier = identifier) ;) (labeled_statement "LAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" statement_identifier : (if_statement "if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" if (parenthesized_expression "(unaff_s8 != 0)" ( (binary_expression "unaff_s8 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" { (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) }))) (if_statement "if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" if (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" ( (binary_expression "unaff_s5 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" { (expression_statement "(*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);" (call_expression "(*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" ( (pointer_expression "*(code *)PTR_smemclr_000790f4" * (cast_expression "(code *)PTR_smemclr_000790f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5,local_10c)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" ( (pointer_expression "*(code *)PTR_safefree_000790f0" * (cast_expression "(code *)PTR_safefree_000790f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier ))) ;) })) (goto_statement "goto LAB_00042534;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE 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 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 (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 *)) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (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 , (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_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 ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto 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 IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression 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)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)))) ))) )) (goto_statement goto 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 , (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression 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)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression 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)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) , (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 )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (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 , (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (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 ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto 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 , (binary_expression IDENT + LIT) )))) ;) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (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 ( IDENT , (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 = LIT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (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 (pointer_expression * IDENT) = IDENT) ;) })) (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 IDENT ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (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 ( 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) ;) (labeled_statement statement_identifier : (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT % IDENT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (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 = (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) )))) )))) ;) (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression IDENT + IDENT) + IDENT) + 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 , LIT ))))) ;) (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) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (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) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }) (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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_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 , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 *)) ) IDENT)) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) 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 ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })))
(function_definition "int * ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" (primitive_type "int") (pointer_declarator "* ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)" (* "*") (function_declarator "ssh2_load_userkey(undefined4 param_1,undefined *param_2,undefined4 *param_3)" (identifier "ssh2_load_userkey") (parameter_list "(undefined4 param_1,undefined *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 *puVar10;\n  code *pcVar11;\n  undefined *puVar12;\n  undefined1 *unaff_s5;\n  undefined1 *puVar13;\n  code *unaff_s6;\n  undefined1 *puVar14;\n  int unaff_s8;\n  code *local_13c;\n  undefined1 *local_138;\n  code *local_134;\n  int local_130;\n  code *local_12c;\n  int local_128;\n  code *local_124;\n  code *local_120;\n  int local_110;\n  int local_10c;\n  SHA_CTX SStack_108;\n  undefined1 auStack_a8 [20];\n  undefined1 auStack_94 [60];\n  uint local_58;\n  uint local_54;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uint local_44;\n  uint local_40;\n  undefined2 local_3c;\n  undefined1 local_3a;\n  uint local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_00079930;\n  local_2c = *(uint *)PTR___stack_chk_guard_00079930;\n  if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }\n  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);\n  if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }\n  puVar13 = auStack_94 + 0x14;\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);\n  if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }\n  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);\n  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);\n  if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);\n  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);\n  if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }\n  (*(code *)PTR_safefree_000790f0)();\n  iVar4 = FUN_00040db0(piVar3,puVar13);\n  if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;\n  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);\n  if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  piVar3 = (int *)0x0;\nLAB_00042534:\n  puVar10 = unaff_s5;\n  if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }\nLAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_000797f0)();\nLAB_00042c20:\n  pcVar6 = local_124;\n  iVar4 = (*local_134)(piVar3);\n  if (iVar4 == 0) goto LAB_00042b88;\n  local_134 = local_124;\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }\n  local_124 = (code *)0x1;\n  puVar13 = puVar10;\nLAB_00042d58:\n  puVar10 = puVar13;\n  if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }\n  local_134 = (code *)&local_58;\n  if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }\n  param_2 = auStack_a8;\n  if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }\n  puVar12 = PTR_s_j_000790a8 + 0x429c;\n  pcVar11 = local_134;\n  do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);\n  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);\n  puVar10 = puVar13;\n  local_13c = pcVar6;\n  if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }\n  (*(code *)PTR_safefree_000790f0)(iVar4);\n  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);\n  *piVar3 = local_130;\n  piVar3[2] = (int)pcVar6;\n  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);\n  piVar3[1] = iVar4;\n  if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }\n  (*(code *)PTR_safefree_000790f0)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x4200;\n  goto LAB_00042ba4;\nLAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);\n  param_2 = PTR_s_j_000790a8 + 0x3ff8;\n  local_13c = pcVar6;\nLAB_00042ba4:\n  piVar3 = (int *)0x0;\n  (*(code *)PTR_safefree_000790f0)(local_13c);\n  (*(code *)PTR_safefree_000790f0)(local_138);\n  unaff_s5 = puVar10;\nLAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }\n  if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }\n  goto LAB_00042534;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined1 *puVar10;" (type_identifier "undefined1") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined1 *unaff_s5;" (type_identifier "undefined1") (pointer_declarator "*unaff_s5" (* "*") (identifier "unaff_s5")) (; ";")) (declaration "undefined1 *puVar13;" (type_identifier "undefined1") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "code *unaff_s6;" (type_identifier "code") (pointer_declarator "*unaff_s6" (* "*") (identifier "unaff_s6")) (; ";")) (declaration "undefined1 *puVar14;" (type_identifier "undefined1") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "int unaff_s8;" (primitive_type "int") (identifier "unaff_s8") (; ";")) (declaration "code *local_13c;" (type_identifier "code") (pointer_declarator "*local_13c" (* "*") (identifier "local_13c")) (; ";")) (declaration "undefined1 *local_138;" (type_identifier "undefined1") (pointer_declarator "*local_138" (* "*") (identifier "local_138")) (; ";")) (declaration "code *local_134;" (type_identifier "code") (pointer_declarator "*local_134" (* "*") (identifier "local_134")) (; ";")) (declaration "int local_130;" (primitive_type "int") (identifier "local_130") (; ";")) (declaration "code *local_12c;" (type_identifier "code") (pointer_declarator "*local_12c" (* "*") (identifier "local_12c")) (; ";")) (declaration "int local_128;" (primitive_type "int") (identifier "local_128") (; ";")) (declaration "code *local_124;" (type_identifier "code") (pointer_declarator "*local_124" (* "*") (identifier "local_124")) (; ";")) (declaration "code *local_120;" (type_identifier "code") (pointer_declarator "*local_120" (* "*") (identifier "local_120")) (; ";")) (declaration "int local_110;" (primitive_type "int") (identifier "local_110") (; ";")) (declaration "int local_10c;" (primitive_type "int") (identifier "local_10c") (; ";")) (declaration "SHA_CTX SStack_108;" (type_identifier "SHA_CTX") (identifier "SStack_108") (; ";")) (declaration "undefined1 auStack_a8 [20];" (type_identifier "undefined1") (array_declarator "auStack_a8 [20]" (identifier "auStack_a8") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "undefined1 auStack_94 [60];" (type_identifier "undefined1") (array_declarator "auStack_94 [60]" (identifier "auStack_94") ([ "[") (number_literal "60") (] "]")) (; ";")) (declaration "uint local_58;" (type_identifier "uint") (identifier "local_58") (; ";")) (declaration "uint local_54;" (type_identifier "uint") (identifier "local_54") (; ";")) (declaration "uint local_50;" (type_identifier "uint") (identifier "local_50") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "uint local_48;" (type_identifier "uint") (identifier "local_48") (; ";")) (declaration "uint local_44;" (type_identifier "uint") (identifier "local_44") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "undefined2 local_3c;" (type_identifier "undefined2") (identifier "local_3c") (; ";")) (declaration "undefined1 local_3a;" (type_identifier "undefined1") (identifier "local_3a") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00079930" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_00079930")) (; ";")) (expression_statement "local_2c = *(uint *)PTR___stack_chk_guard_00079930;" (assignment_expression "local_2c = *(uint *)PTR___stack_chk_guard_00079930" (identifier "local_2c") (= "=") (pointer_expression "*(uint *)PTR___stack_chk_guard_00079930" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_00079930" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00079930")))) (; ";")) (if_statement "if (param_2 == (undefined *)0x0) {\n    local_13c = (code *)0x0;\n  }\n  else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined *)0x0)" (( "(") (binary_expression "param_2 == (undefined *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_13c = (code *)0x0;\n  }" ({ "{") (expression_statement "local_13c = (code *)0x0;" (assignment_expression "local_13c = (code *)0x0" (identifier "local_13c") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" (else "else") (compound_statement "{\n    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);\n  }" ({ "{") (expression_statement "local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);" (assignment_expression "local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2)" (identifier "local_13c") (= "=") (cast_expression "(code *)(*(code *)PTR_strlen_000798d0)(param_2)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strlen_000798d0)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" (( "(") (pointer_expression "*(code *)PTR_strlen_000798d0" (* "*") (cast_expression "(code *)PTR_strlen_000798d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000798d0"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))))) (; ";")) (} "}")))) (expression_statement "piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);" (assignment_expression "piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" (identifier "piVar3") (= "=") (cast_expression "(int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "f_open(param_1,PTR_s_j_000790a8 + 0x4078,0)" (identifier "f_open") (argument_list "(param_1,PTR_s_j_000790a8 + 0x4078,0)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4078" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4078")) (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (piVar3 == (int *)0x0) {\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" (if "if") (parenthesized_expression "(piVar3 == (int *)0x0)" (( "(") (binary_expression "piVar3 == (int *)0x0" (identifier "piVar3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_2 = PTR_s_j_000790a8 + 0x407c;\n    goto LAB_00042534;\n  }" ({ "{") (expression_statement "param_2 = PTR_s_j_000790a8 + 0x407c;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x407c" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x407c" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x407c"))) (; ";")) (goto_statement "goto LAB_00042534;" (goto "goto") (statement_identifier "LAB_00042534") (; ";")) (} "}"))) (expression_statement "puVar13 = auStack_94 + 0x14;" (assignment_expression "puVar13 = auStack_94 + 0x14" (identifier "puVar13") (= "=") (binary_expression "auStack_94 + 0x14" (identifier "auStack_94") (+ "+") (number_literal "0x14"))) (; ";")) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" (identifier "iVar4") (= "=") (call_expression "FUN_00040db0(piVar3,puVar13)" (identifier "FUN_00040db0") (argument_list "(piVar3,puVar13)" (( "(") (identifier "piVar3") (, ",") (identifier "puVar13") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_2 = (undefined *)0x0;\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" ({ "{") (expression_statement "param_2 = (undefined *)0x0;" (assignment_expression "param_2 = (undefined *)0x0" (identifier "param_2") (= "=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00042534;" (goto "goto") (statement_identifier "LAB_00042534") (; ";")) (} "}"))) (expression_statement "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);" (assignment_expression "unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" (identifier "unaff_s6") (= "=") (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4214)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4214" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4214")) () ")"))))) (; ";")) (if_statement "if (unaff_s6 != (code *)0x0) {\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" (if "if") (parenthesized_expression "(unaff_s6 != (code *)0x0)" (( "(") (binary_expression "unaff_s6 != (code *)0x0" (identifier "unaff_s6") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);\n    if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }\n    unaff_s6 = (code *)0x1;\n    old_keyfile_warning();\n  }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x422c)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x422c" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x422c")) () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);\n      if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }\n      goto LAB_00042534;\n    }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" (parenthesized_expression "(*(code *)PTR_strncmp_000797c4)" (( "(") (pointer_expression "*(code *)PTR_strncmp_000797c4" (* "*") (cast_expression "(code *)PTR_strncmp_000797c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_000797c4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4134,0x14)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4134" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4134")) (, ",") (number_literal "0x14") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }\n      else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41e4;\n        piVar3 = (int *)0x0;\n      }" ({ "{") (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41e4;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41e4" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x41e4" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x41e4"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR_fclose_0007988c)(piVar3);\n        param_2 = PTR_s_j_000790a8 + 0x41c4;\n        piVar3 = (int *)0x0;\n      }" ({ "{") (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41c4;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41c4" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x41c4" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x41c4"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (goto_statement "goto LAB_00042534;" (goto "goto") (statement_identifier "LAB_00042534") (; ";")) (} "}"))) (expression_statement "unaff_s6 = (code *)0x1;" (assignment_expression "unaff_s6 = (code *)0x1" (identifier "unaff_s6") (= "=") (cast_expression "(code *)0x1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "old_keyfile_warning();" (call_expression "old_keyfile_warning()" (identifier "old_keyfile_warning") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);" (assignment_expression "local_134 = (code *)(PTR_LAB_000794e4 + 0xe74)" (identifier "local_134") (= "=") (cast_expression "(code *)(PTR_LAB_000794e4 + 0xe74)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000794e4 + 0xe74)" (( "(") (binary_expression "PTR_LAB_000794e4 + 0xe74" (identifier "PTR_LAB_000794e4") (+ "+") (number_literal "0xe74")) () ")")))) (; ";")) (expression_statement "unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);" (assignment_expression "unaff_s5 = (undefined1 *)FUN_00040e74(piVar3)" (identifier "unaff_s5") (= "=") (cast_expression "(undefined1 *)FUN_00040e74(piVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00040e74(piVar3)" (identifier "FUN_00040e74") (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))))) (; ";")) (if_statement "if (unaff_s5 == (undefined1 *)0x0) {\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" (if "if") (parenthesized_expression "(unaff_s5 == (undefined1 *)0x0)" (( "(") (binary_expression "unaff_s5 == (undefined1 *)0x0" (identifier "unaff_s5") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" ({ "{") (labeled_statement "LAB_00042628:\n    (*(code *)PTR_fclose_0007988c)(piVar3);" (statement_identifier "LAB_00042628") (: ":") (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";"))) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x3ff8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x3ff8"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00042534;" (goto "goto") (statement_identifier "LAB_00042534") (; ";")) (} "}"))) (expression_statement "uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);" (assignment_expression "uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_strlen_000798d0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" (( "(") (pointer_expression "*(code *)PTR_strlen_000798d0" (* "*") (cast_expression "(code *)PTR_strlen_000798d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000798d0"))) () ")")) (argument_list "(unaff_s5)" (( "(") (identifier "unaff_s5") () ")")))) (; ";")) (expression_statement "local_130 = find_pubkey_alg_len(uVar5,unaff_s5);" (assignment_expression "local_130 = find_pubkey_alg_len(uVar5,unaff_s5)" (identifier "local_130") (= "=") (call_expression "find_pubkey_alg_len(uVar5,unaff_s5)" (identifier "find_pubkey_alg_len") (argument_list "(uVar5,unaff_s5)" (( "(") (identifier "uVar5") (, ",") (identifier "unaff_s5") () ")")))) (; ";")) (if_statement "if (local_130 == 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" (if "if") (parenthesized_expression "(local_130 == 0)" (( "(") (binary_expression "local_130 == 0" (identifier "local_130") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n    (*(code *)PTR_fclose_0007988c)(piVar3);\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\n    piVar3 = (int *)0x0;\n    goto LAB_00042534;\n  }" ({ "{") (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(unaff_s5)" (( "(") (identifier "unaff_s5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x3ff8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x3ff8"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00042534;" (goto "goto") (statement_identifier "LAB_00042534") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_safefree_000790f0)();" (call_expression "(*(code *)PTR_safefree_000790f0)()" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" (identifier "iVar4") (= "=") (call_expression "FUN_00040db0(piVar3,puVar13)" (identifier "FUN_00040db0") (argument_list "(piVar3,puVar13)" (( "(") (identifier "piVar3") (, ",") (identifier "puVar13") () ")")))) (; ";")) (if_statement "if (((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;" (if "if") (parenthesized_expression "(((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0))" (( "(") (binary_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||\n     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)" (parenthesized_expression "((iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0))" (( "(") (binary_expression "(iVar4 == 0) ||\n      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)" (( "(") (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4244)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4244" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4244")) () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0)" (( "(") (comma_expression "unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0" (assignment_expression "unaff_s5 = (undefined1 *)(*local_134)(piVar3)" (identifier "unaff_s5") (= "=") (cast_expression "(undefined1 *)(*local_134)(piVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" (( "(") (pointer_expression "*local_134" (* "*") (identifier "local_134")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))))) (, ",") (comma_expression "local_138 = unaff_s5,\n     unaff_s5 == (undefined1 *)0x0" (assignment_expression "local_138 = unaff_s5" (identifier "local_138") (= "=") (identifier "unaff_s5")) (, ",") (binary_expression "unaff_s5 == (undefined1 *)0x0" (identifier "unaff_s5") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))))) () ")"))) () ")")) (goto_statement "goto LAB_00042628;" (goto "goto") (statement_identifier "LAB_00042628") (; ";"))) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x7c4)" (( "(") (identifier "unaff_s5") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x7c4" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x7c4")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }\n  else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_128 = 0x10;\n    local_12c = (code *)0x1;\nLAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);\n    if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }\n  }" ({ "{") (expression_statement "local_128 = 0x10;" (assignment_expression "local_128 = 0x10" (identifier "local_128") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "local_12c = (code *)0x1;" (assignment_expression "local_12c = (code *)0x1" (identifier "local_12c") (= "=") (cast_expression "(code *)0x1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (labeled_statement "LAB_000426c8:\n    iVar4 = FUN_00040db0(piVar3,puVar13);" (statement_identifier "LAB_000426c8") (: ":") (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" (identifier "iVar4") (= "=") (call_expression "FUN_00040db0(piVar3,puVar13)" (identifier "FUN_00040db0") (argument_list "(piVar3,puVar13)" (( "(") (identifier "piVar3") (, ",") (identifier "puVar13") () ")")))) (; ";"))) (if_statement "if (((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }" (if "if") (parenthesized_expression "(((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0))" (( "(") (binary_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&\n       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)" (parenthesized_expression "((iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0))" (( "(") (binary_expression "(iVar4 != 0) &&\n        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)" (( "(") (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4258)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4258" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4258")) () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)" (( "(") (comma_expression "pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0" (assignment_expression "pcVar6 = (code *)(*local_134)(piVar3)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(*local_134)(piVar3)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" (( "(") (pointer_expression "*local_134" (* "*") (identifier "local_134")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))))) (, ",") (comma_expression "local_124 = pcVar6, pcVar6 != (code *)0x0" (assignment_expression "local_124 = pcVar6" (identifier "local_124") (= "=") (identifier "pcVar6")) (, ",") (binary_expression "pcVar6 != (code *)0x0" (identifier "pcVar6") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))))) () ")"))) () ")")) (compound_statement "{\n      iVar4 = FUN_00040db0(piVar3,puVar13);\n      if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }\n      puVar10 = (undefined1 *)0x0;\n      unaff_s8 = 0;\n      goto LAB_00042b88;\n    }" ({ "{") (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" (identifier "iVar4") (= "=") (call_expression "FUN_00040db0(piVar3,puVar13)" (identifier "FUN_00040db0") (argument_list "(piVar3,puVar13)" (( "(") (identifier "piVar3") (, ",") (identifier "puVar13") () ")")))) (; ";")) (if_statement "if (((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0))" (( "(") (binary_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))\n         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)" (parenthesized_expression "((iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))" (( "(") (binary_expression "(iVar4 != 0) &&\n          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0)" (( "(") (comma_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4260)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4260" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4260")) () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (*local_134)(piVar3), iVar4 != 0)" (( "(") (comma_expression "iVar4 = (*local_134)(piVar3), iVar4 != 0" (assignment_expression "iVar4 = (*local_134)(piVar3)" (identifier "iVar4") (= "=") (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" (( "(") (pointer_expression "*local_134" (* "*") (identifier "local_134")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);\n        iVar7 = FUN_00040d14(iVar4);\n        (*(code *)PTR_safefree_000790f0)(iVar4);\n        local_120 = pcVar6;\n        if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }\n      }" ({ "{") (expression_statement "local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);" (assignment_expression "local_124 = (code *)(PTR_LAB_000794e4 + 0xd14)" (identifier "local_124") (= "=") (cast_expression "(code *)(PTR_LAB_000794e4 + 0xd14)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000794e4 + 0xd14)" (( "(") (binary_expression "PTR_LAB_000794e4 + 0xd14" (identifier "PTR_LAB_000794e4") (+ "+") (number_literal "0xd14")) () ")")))) (; ";")) (expression_statement "iVar7 = FUN_00040d14(iVar4);" (assignment_expression "iVar7 = FUN_00040d14(iVar4)" (identifier "iVar7") (= "=") (call_expression "FUN_00040d14(iVar4)" (identifier "FUN_00040d14") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "local_120 = pcVar6;" (assignment_expression "local_120 = pcVar6" (identifier "local_120") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (-1 < iVar7) {\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }" (if "if") (parenthesized_expression "(-1 < iVar7)" (( "(") (binary_expression "-1 < iVar7" (number_literal "-1") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);\n          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);\n          if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }\n        }" ({ "{") (expression_statement "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0)" (identifier "pcVar11") (= "=") (cast_expression "(code *)(PTR_LAB_000794e4 + 0xfc0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000794e4 + 0xfc0)" (( "(") (binary_expression "PTR_LAB_000794e4 + 0xfc0" (identifier "PTR_LAB_000794e4") (+ "+") (number_literal "0xfc0")) () ")")))) (; ";")) (expression_statement "unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);" (assignment_expression "unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110)" (identifier "unaff_s8") (= "=") (call_expression "FUN_00040fc0(piVar3,iVar7,&local_110)" (identifier "FUN_00040fc0") (argument_list "(piVar3,iVar7,&local_110)" (( "(") (identifier "piVar3") (, ",") (identifier "iVar7") (, ",") (pointer_expression "&local_110" (& "&") (identifier "local_110")) () ")")))) (; ";")) (if_statement "if (unaff_s8 != 0) {\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }" (if "if") (parenthesized_expression "(unaff_s8 != 0)" (( "(") (binary_expression "unaff_s8 != 0" (identifier "unaff_s8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar4 = FUN_00040db0(piVar3,puVar13);\n            if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }\n            puVar10 = (undefined1 *)0x0;\n            goto LAB_00042b88;\n          }" ({ "{") (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" (identifier "iVar4") (= "=") (call_expression "FUN_00040db0(piVar3,puVar13)" (identifier "FUN_00040db0") (argument_list "(piVar3,puVar13)" (( "(") (identifier "piVar3") (, ",") (identifier "puVar13") () ")")))) (; ";")) (if_statement "if ((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)) {\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }" (if "if") (parenthesized_expression "((iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0))" (( "(") (binary_expression "(iVar4 != 0) &&\n               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)" (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0)" (( "(") (comma_expression "local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270),\n               local_120 == (code *)0x0" (assignment_expression "local_120 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" (identifier "local_120") (= "=") (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x4270)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4270)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4270" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4270")) () ")"))))) (, ",") (binary_expression "local_120 == (code *)0x0" (identifier "local_120") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n              puVar10 = (undefined1 *)(*local_134)(piVar3);\n              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n              iVar4 = (*local_124)(puVar10);\n              (*(code *)PTR_safefree_000790f0)(puVar10);\n              if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }\n            }" ({ "{") (expression_statement "puVar10 = (undefined1 *)(*local_134)(piVar3);" (assignment_expression "puVar10 = (undefined1 *)(*local_134)(piVar3)" (identifier "puVar10") (= "=") (cast_expression "(undefined1 *)(*local_134)(piVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" (( "(") (pointer_expression "*local_134" (* "*") (identifier "local_134")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))))) (; ";")) (if_statement "if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(puVar10 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined1 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (expression_statement "iVar4 = (*local_124)(puVar10);" (assignment_expression "iVar4 = (*local_124)(puVar10)" (identifier "iVar4") (= "=") (call_expression "(*local_124)(puVar10)" (parenthesized_expression "(*local_124)" (( "(") (pointer_expression "*local_124" (* "*") (identifier "local_124")) () ")")) (argument_list "(puVar10)" (( "(") (identifier "puVar10") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(puVar10)" (( "(") (identifier "puVar10") () ")"))) (; ";")) (if_statement "if (-1 < iVar4) {\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);\n                local_124 = pcVar6;\n                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;\n                iVar4 = FUN_00040db0(piVar3,puVar13);\n                if (iVar4 == 0) goto LAB_00042b88;\n                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);\n                if (iVar4 == 0) goto LAB_00042c20;\n                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);\n                if (local_124 != (code *)0x0) goto LAB_00042b88;\n                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;\n                iVar4 = (*local_134)(piVar3);\n                if (iVar4 == 0) goto LAB_00042b88;\n                (*(code *)PTR_fclose_0007988c)(piVar3);\n                local_134 = pcVar6;\n                if (local_12c != (code *)0x0) goto LAB_00042c60;\n                local_124 = local_12c;\n                goto LAB_00042944;\n              }" ({ "{") (expression_statement "puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);" (assignment_expression "puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c)" (identifier "puVar10") (= "=") (cast_expression "(undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar11)(piVar3,iVar4,&local_10c)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(piVar3,iVar4,&local_10c)" (( "(") (identifier "piVar3") (, ",") (identifier "iVar4") (, ",") (pointer_expression "&local_10c" (& "&") (identifier "local_10c")) () ")"))))) (; ";")) (expression_statement "local_124 = pcVar6;" (assignment_expression "local_124 = pcVar6" (identifier "local_124") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(puVar10 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined1 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (expression_statement "iVar4 = FUN_00040db0(piVar3,puVar13);" (assignment_expression "iVar4 = FUN_00040db0(piVar3,puVar13)" (identifier "iVar4") (= "=") (call_expression "FUN_00040db0(piVar3,puVar13)" (identifier "FUN_00040db0") (argument_list "(piVar3,puVar13)" (( "(") (identifier "piVar3") (, ",") (identifier "puVar13") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x4280)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4280" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4280")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_00042c20;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00042c20;" (goto "goto") (statement_identifier "LAB_00042c20") (; ";"))) (expression_statement "local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c);" (assignment_expression "local_124 = (code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" (identifier "local_124") (= "=") (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcmp_000798a4)\n                                              (puVar13,PTR_s_j_000790a8 + 0x428c)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(puVar13,PTR_s_j_000790a8 + 0x428c)" (( "(") (identifier "puVar13") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x428c" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x428c")) () ")"))))) (; ";")) (if_statement "if (local_124 != (code *)0x0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(local_124 != (code *)0x0)" (( "(") (binary_expression "local_124 != (code *)0x0" (identifier "local_124") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (if_statement "if (unaff_s6 == (code *)0x0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(unaff_s6 == (code *)0x0)" (( "(") (binary_expression "unaff_s6 == (code *)0x0" (identifier "unaff_s6") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (expression_statement "iVar4 = (*local_134)(piVar3);" (assignment_expression "iVar4 = (*local_134)(piVar3)" (identifier "iVar4") (= "=") (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" (( "(") (pointer_expression "*local_134" (* "*") (identifier "local_134")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "local_134 = pcVar6;" (assignment_expression "local_134 = pcVar6" (identifier "local_134") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (local_12c != (code *)0x0) goto LAB_00042c60;" (if "if") (parenthesized_expression "(local_12c != (code *)0x0)" (( "(") (binary_expression "local_12c != (code *)0x0" (identifier "local_12c") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00042c60;" (goto "goto") (statement_identifier "LAB_00042c60") (; ";"))) (expression_statement "local_124 = local_12c;" (assignment_expression "local_124 = local_12c" (identifier "local_124") (= "=") (identifier "local_12c")) (; ";")) (goto_statement "goto LAB_00042944;" (goto "goto") (statement_identifier "LAB_00042944") (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar10 = (undefined1 *)0x0;" (assignment_expression "puVar10 = (undefined1 *)0x0" (identifier "puVar10") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "puVar10 = (undefined1 *)0x0;" (assignment_expression "puVar10 = (undefined1 *)0x0" (identifier "puVar10") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "unaff_s8 = 0;" (assignment_expression "unaff_s8 = 0" (identifier "unaff_s8") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" (else "else") (compound_statement "{\n    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);\n    if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }\n  }" ({ "{") (expression_statement "local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);" (assignment_expression "local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (identifier "local_12c") (= "=") (cast_expression "(code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(unaff_s5,PTR_s_j_000790a8 + 0x4250)" (( "(") (identifier "unaff_s5") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4250" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4250")) () ")"))))) (; ";")) (if_statement "if (local_12c == (code *)0x0) {\n      local_128 = 1;\n      goto LAB_000426c8;\n    }" (if "if") (parenthesized_expression "(local_12c == (code *)0x0)" (( "(") (binary_expression "local_12c == (code *)0x0" (identifier "local_12c") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_128 = 1;\n      goto LAB_000426c8;\n    }" ({ "{") (expression_statement "local_128 = 1;" (assignment_expression "local_128 = 1" (identifier "local_128") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_000426c8;" (goto "goto") (statement_identifier "LAB_000426c8") (; ";")) (} "}"))) (} "}")))) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(unaff_s5)" (( "(") (identifier "unaff_s5") () ")"))) (; ";")) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x3ff8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x3ff8"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_00042534:\n  puVar10 = unaff_s5;" (statement_identifier "LAB_00042534") (: ":") (expression_statement "puVar10 = unaff_s5;" (assignment_expression "puVar10 = unaff_s5" (identifier "puVar10") (= "=") (identifier "unaff_s5")) (; ";"))) (if_statement "if (param_3 != (undefined4 *)0x0) {\n    *param_3 = param_2;\n  }" (if "if") (parenthesized_expression "(param_3 != (undefined4 *)0x0)" (( "(") (binary_expression "param_3 != (undefined4 *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_3 = param_2;\n  }" ({ "{") (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (labeled_statement "LAB_00042540:\n  if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }" (statement_identifier "LAB_00042540") (: ":") (if_statement "if (local_2c == *(uint *)puVar2) {\n    return piVar3;\n  }" (if "if") (parenthesized_expression "(local_2c == *(uint *)puVar2)" (( "(") (binary_expression "local_2c == *(uint *)puVar2" (identifier "local_2c") (== "==") (pointer_expression "*(uint *)puVar2" (* "*") (cast_expression "(uint *)puVar2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    return piVar3;\n  }" ({ "{") (return_statement "return piVar3;" (return "return") (identifier "piVar3") (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000797f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000797f0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_00042c20:\n  pcVar6 = local_124;" (statement_identifier "LAB_00042c20") (: ":") (expression_statement "pcVar6 = local_124;" (assignment_expression "pcVar6 = local_124" (identifier "pcVar6") (= "=") (identifier "local_124")) (; ";"))) (expression_statement "iVar4 = (*local_134)(piVar3);" (assignment_expression "iVar4 = (*local_134)(piVar3)" (identifier "iVar4") (= "=") (call_expression "(*local_134)(piVar3)" (parenthesized_expression "(*local_134)" (( "(") (pointer_expression "*local_134" (* "*") (identifier "local_134")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_00042b88;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00042b88;" (goto "goto") (statement_identifier "LAB_00042b88") (; ";"))) (expression_statement "local_134 = local_124;" (assignment_expression "local_134 = local_124" (identifier "local_134") (= "=") (identifier "local_124")) (; ";")) (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (if_statement "if (local_12c != (code *)0x0) {\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }" (if "if") (parenthesized_expression "(local_12c != (code *)0x0)" (( "(") (binary_expression "local_12c != (code *)0x0" (identifier "local_12c") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_124 = local_12c;\nLAB_00042c60:\n    pcVar6 = local_134;\n    if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }\n    piVar3 = (int *)0x0;\n    param_2 = PTR_s_j_000790a8 + 0x3ff8;\nLAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    (*(code *)PTR_safefree_000790f0)(iVar4);\n    unaff_s5 = puVar10;\n    goto LAB_00042bc8;\n  }" ({ "{") (expression_statement "local_124 = local_12c;" (assignment_expression "local_124 = local_12c" (identifier "local_124") (= "=") (identifier "local_12c")) (; ";")) (labeled_statement "LAB_00042c60:\n    pcVar6 = local_134;" (statement_identifier "LAB_00042c60") (: ":") (expression_statement "pcVar6 = local_134;" (assignment_expression "pcVar6 = local_134" (identifier "pcVar6") (= "=") (identifier "local_134")) (; ";"))) (if_statement "if (param_2 != (undefined *)0x0) {\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 != (undefined *)0x0)" (( "(") (binary_expression "param_2 != (undefined *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (local_128 == 0) {\n        trap(7);\n      }\n      if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }\n    }" ({ "{") (if_statement "if (local_128 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(local_128 == 0)" (( "(") (binary_expression "local_128 == 0" (identifier "local_128") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10c % local_128 == 0) {\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }" (if "if") (parenthesized_expression "(local_10c % local_128 == 0)" (( "(") (binary_expression "local_10c % local_128 == 0" (binary_expression "local_10c % local_128" (identifier "local_10c") (% "%") (identifier "local_128")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);\n        SHA_Init(&SStack_108);\n        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);\n        SHA_Bytes(&SStack_108,param_2,local_13c);\n        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);\n        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);\n        puVar13 = puVar10;\n        goto LAB_00042d58;\n      }" ({ "{") (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" (identifier "SHA_Init") (argument_list "(&SStack_108)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) () ")"))) (; ";")) (expression_statement "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);" (call_expression "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4)" (identifier "SHA_Bytes") (argument_list "(&SStack_108,PTR_s_j_000790a8 + 0x4790,4)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4790" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4790")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" (identifier "SHA_Bytes") (argument_list "(&SStack_108,param_2,local_13c)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (identifier "param_2") (, ",") (identifier "local_13c") () ")"))) (; ";")) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58)" (identifier "SHA_Final") (argument_list "((uchar *)&SStack_108,(SHA_CTX *)&local_58)" (( "(") (cast_expression "(uchar *)&SStack_108" (( "(") (type_descriptor "uchar *" (type_identifier "uchar") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108"))) (, ",") (cast_expression "(SHA_CTX *)&local_58" (( "(") (type_descriptor "SHA_CTX *" (type_identifier "SHA_CTX") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_58" (& "&") (identifier "local_58"))) () ")"))) (; ";")) (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" (identifier "SHA_Init") (argument_list "(&SStack_108)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) () ")"))) (; ";")) (expression_statement "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);" (call_expression "SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4)" (identifier "SHA_Bytes") (argument_list "(&SStack_108,PTR_s_j_000790a8 + 0x4798,4)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (binary_expression "PTR_s_j_000790a8 + 0x4798" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4798")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" (identifier "SHA_Bytes") (argument_list "(&SStack_108,param_2,local_13c)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (identifier "param_2") (, ",") (identifier "local_13c") () ")"))) (; ";")) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44)" (identifier "SHA_Final") (argument_list "((uchar *)&SStack_108,(SHA_CTX *)&local_44)" (( "(") (cast_expression "(uchar *)&SStack_108" (( "(") (type_descriptor "uchar *" (type_identifier "uchar") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108"))) (, ",") (cast_expression "(SHA_CTX *)&local_44" (( "(") (type_descriptor "SHA_CTX *" (type_identifier "SHA_CTX") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_44" (& "&") (identifier "local_44"))) () ")"))) (; ";")) (expression_statement "aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);" (call_expression "aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c)" (identifier "aes256_decrypt_pubkey") (argument_list "((SHA_CTX *)&local_58,puVar10,local_10c)" (( "(") (cast_expression "(SHA_CTX *)&local_58" (( "(") (type_descriptor "SHA_CTX *" (type_identifier "SHA_CTX") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_58" (& "&") (identifier "local_58"))) (, ",") (identifier "puVar10") (, ",") (identifier "local_10c") () ")"))) (; ";")) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" (identifier "puVar13") (= "=") (identifier "puVar10")) (; ";")) (goto_statement "goto LAB_00042d58;" (goto "goto") (statement_identifier "LAB_00042d58") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x3ff8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x3ff8"))) (; ";")) (labeled_statement "LAB_00042f7c:\n    (*(code *)PTR_safefree_000790f0)(pcVar6);" (statement_identifier "LAB_00042f7c") (: ":") (expression_statement "(*(code *)PTR_safefree_000790f0)(pcVar6);" (call_expression "(*(code *)PTR_safefree_000790f0)(pcVar6)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(pcVar6)" (( "(") (identifier "pcVar6") () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(local_138)" (( "(") (identifier "local_138") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "unaff_s5 = puVar10;" (assignment_expression "unaff_s5 = puVar10" (identifier "unaff_s5") (= "=") (identifier "puVar10")) (; ";")) (goto_statement "goto LAB_00042bc8;" (goto "goto") (statement_identifier "LAB_00042bc8") (; ";")) (} "}"))) (expression_statement "local_124 = (code *)0x1;" (assignment_expression "local_124 = (code *)0x1" (identifier "local_124") (= "=") (cast_expression "(code *)0x1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" (identifier "puVar13") (= "=") (identifier "puVar10")) (; ";")) (labeled_statement "LAB_00042d58:\n  puVar10 = puVar13;" (statement_identifier "LAB_00042d58") (: ":") (expression_statement "puVar10 = puVar13;" (assignment_expression "puVar10 = puVar13" (identifier "puVar10") (= "=") (identifier "puVar13")) (; ";"))) (if_statement "if (unaff_s6 == (code *)0x0) {\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }\n  else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" (if "if") (parenthesized_expression "(unaff_s6 == (code *)0x0)" (( "(") (binary_expression "unaff_s6 == (code *)0x0" (identifier "unaff_s6") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));\n    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);\n    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);\n    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;\n    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);\n    puVar10[3] = (char)iVar7;\n    puVar10[1] = (char)((uint)iVar7 >> 0x10);\n    *puVar10 = (char)((uint)iVar7 >> 0x18);\n    puVar10[2] = (char)((uint)iVar7 >> 8);\n    puVar14 = puVar10 + iVar7 + 4;\n    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);\n    puVar14[3] = (char)iVar8;\n    puVar14[1] = (char)((uint)iVar8 >> 0x10);\n    *puVar14 = (char)((uint)iVar8 >> 0x18);\n    puVar14[2] = (char)((uint)iVar8 >> 8);\n    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar8 + 4;\n    *puVar14 = (char)((uint)iVar9 >> 0x18);\n    puVar14[1] = (char)((uint)iVar9 >> 0x10);\n    puVar14[3] = (char)iVar9;\n    puVar14[2] = (char)((uint)iVar9 >> 8);\n    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);\n    iVar7 = local_110;\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar9 + 4;\n    *puVar14 = local_110._0_1_;\n    puVar14[1] = (char)((uint)local_110 >> 0x10);\n    puVar14[2] = (char)((uint)local_110 >> 8);\n    puVar14[3] = (char)local_110;\n    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);\n    puVar12 = PTR_memcpy_000798e0;\n    puVar14 = puVar14 + iVar7 + 4;\n    *puVar14 = local_10c._0_1_;\n    puVar14[1] = (char)((uint)local_10c >> 0x10);\n    puVar14[2] = (char)((uint)local_10c >> 8);\n    puVar14[3] = (char)local_10c;\n    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);\n    bVar1 = true;\n  }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));" (assignment_expression "iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30))" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30))" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" (( "(") (pointer_expression "*(code *)PTR_strlen_000798d0" (* "*") (cast_expression "(code *)PTR_strlen_000798d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000798d0"))) () ")")) (argument_list "(*(undefined4 *)(local_130 + 0x30))" (( "(") (pointer_expression "*(undefined4 *)(local_130 + 0x30)" (* "*") (cast_expression "(undefined4 *)(local_130 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_130 + 0x30)" (( "(") (binary_expression "local_130 + 0x30" (identifier "local_130") (+ "+") (number_literal "0x30")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_000798d0)(local_138)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_strlen_000798d0)(local_138)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" (( "(") (pointer_expression "*(code *)PTR_strlen_000798d0" (* "*") (cast_expression "(code *)PTR_strlen_000798d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000798d0"))) () ")")) (argument_list "(local_138)" (( "(") (identifier "local_138") () ")")))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_000798d0)(pcVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000798d0)" (( "(") (pointer_expression "*(code *)PTR_strlen_000798d0" (* "*") (cast_expression "(code *)PTR_strlen_000798d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000798d0"))) () ")")) (argument_list "(pcVar6)" (( "(") (identifier "pcVar6") () ")")))) (; ";")) (expression_statement "local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;" (assignment_expression "local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c" (identifier "local_128") (= "=") (binary_expression "iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c" (binary_expression "iVar9 + iVar7 + iVar8 + local_110 + 0x14" (binary_expression "iVar9 + iVar7 + iVar8 + local_110" (binary_expression "iVar9 + iVar7 + iVar8" (binary_expression "iVar9 + iVar7" (identifier "iVar9") (+ "+") (identifier "iVar7")) (+ "+") (identifier "iVar8")) (+ "+") (identifier "local_110")) (+ "+") (number_literal "0x14")) (+ "+") (identifier "local_10c"))) (; ";")) (expression_statement "puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);" (assignment_expression "puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1)" (identifier "puVar10") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_safemalloc_000790d0)(local_128,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000790d0" (* "*") (cast_expression "(code *)PTR_safemalloc_000790d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000790d0"))) () ")")) (argument_list "(local_128,1)" (( "(") (identifier "local_128") (, ",") (number_literal "1") () ")"))))) (; ";")) (expression_statement "puVar10[3] = (char)iVar7;" (assignment_expression "puVar10[3] = (char)iVar7" (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)iVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar7"))) (; ";")) (expression_statement "puVar10[1] = (char)((uint)iVar7 >> 0x10);" (assignment_expression "puVar10[1] = (char)((uint)iVar7 >> 0x10)" (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)((uint)iVar7 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar7 >> 0x10)" (( "(") (binary_expression "(uint)iVar7 >> 0x10" (cast_expression "(uint)iVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar7")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "*puVar10 = (char)((uint)iVar7 >> 0x18);" (assignment_expression "*puVar10 = (char)((uint)iVar7 >> 0x18)" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (cast_expression "(char)((uint)iVar7 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar7 >> 0x18)" (( "(") (binary_expression "(uint)iVar7 >> 0x18" (cast_expression "(uint)iVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar7")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "puVar10[2] = (char)((uint)iVar7 >> 8);" (assignment_expression "puVar10[2] = (char)((uint)iVar7 >> 8)" (subscript_expression "puVar10[2]" (identifier "puVar10") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)iVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar7 >> 8)" (( "(") (binary_expression "(uint)iVar7 >> 8" (cast_expression "(uint)iVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar7")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "puVar14 = puVar10 + iVar7 + 4;" (assignment_expression "puVar14 = puVar10 + iVar7 + 4" (identifier "puVar14") (= "=") (binary_expression "puVar10 + iVar7 + 4" (binary_expression "puVar10 + iVar7" (identifier "puVar10") (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000798e0" (* "*") (cast_expression "(code *)PTR_memcpy_000798e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000798e0"))) () ")")) (argument_list "(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7)" (( "(") (binary_expression "puVar10 + 4" (identifier "puVar10") (+ "+") (number_literal "4")) (, ",") (pointer_expression "*(undefined4 *)(local_130 + 0x30)" (* "*") (cast_expression "(undefined4 *)(local_130 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_130 + 0x30)" (( "(") (binary_expression "local_130 + 0x30" (identifier "local_130") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "puVar14[3] = (char)iVar8;" (assignment_expression "puVar14[3] = (char)iVar8" (subscript_expression "puVar14[3]" (identifier "puVar14") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)iVar8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar8"))) (; ";")) (expression_statement "puVar14[1] = (char)((uint)iVar8 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)iVar8 >> 0x10)" (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)((uint)iVar8 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar8 >> 0x10)" (( "(") (binary_expression "(uint)iVar8 >> 0x10" (cast_expression "(uint)iVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar8")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "*puVar14 = (char)((uint)iVar8 >> 0x18);" (assignment_expression "*puVar14 = (char)((uint)iVar8 >> 0x18)" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (cast_expression "(char)((uint)iVar8 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar8 >> 0x18)" (( "(") (binary_expression "(uint)iVar8 >> 0x18" (cast_expression "(uint)iVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar8")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "puVar14[2] = (char)((uint)iVar8 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)iVar8 >> 8)" (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)iVar8 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar8 >> 8)" (( "(") (binary_expression "(uint)iVar8 >> 8" (cast_expression "(uint)iVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar8")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);" (call_expression "(*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8)" (parenthesized_expression "(*(code *)PTR_memcpy_000798e0)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000798e0" (* "*") (cast_expression "(code *)PTR_memcpy_000798e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000798e0"))) () ")")) (argument_list "(puVar14 + 4,local_138,iVar8)" (( "(") (binary_expression "puVar14 + 4" (identifier "puVar14") (+ "+") (number_literal "4")) (, ",") (identifier "local_138") (, ",") (identifier "iVar8") () ")"))) (; ";")) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" (identifier "puVar12") (= "=") (identifier "PTR_memcpy_000798e0")) (; ";")) (expression_statement "puVar14 = puVar14 + iVar8 + 4;" (assignment_expression "puVar14 = puVar14 + iVar8 + 4" (identifier "puVar14") (= "=") (binary_expression "puVar14 + iVar8 + 4" (binary_expression "puVar14 + iVar8" (identifier "puVar14") (+ "+") (identifier "iVar8")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*puVar14 = (char)((uint)iVar9 >> 0x18);" (assignment_expression "*puVar14 = (char)((uint)iVar9 >> 0x18)" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (cast_expression "(char)((uint)iVar9 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar9 >> 0x18)" (( "(") (binary_expression "(uint)iVar9 >> 0x18" (cast_expression "(uint)iVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar9")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "puVar14[1] = (char)((uint)iVar9 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)iVar9 >> 0x10)" (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)((uint)iVar9 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar9 >> 0x10)" (( "(") (binary_expression "(uint)iVar9 >> 0x10" (cast_expression "(uint)iVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar9")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "puVar14[3] = (char)iVar9;" (assignment_expression "puVar14[3] = (char)iVar9" (subscript_expression "puVar14[3]" (identifier "puVar14") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)iVar9" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar9"))) (; ";")) (expression_statement "puVar14[2] = (char)((uint)iVar9 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)iVar9 >> 8)" (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)iVar9 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)iVar9 >> 8)" (( "(") (binary_expression "(uint)iVar9 >> 8" (cast_expression "(uint)iVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar9")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "(*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);" (call_expression "(*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(puVar14 + 4,pcVar6,iVar9)" (( "(") (binary_expression "puVar14 + 4" (identifier "puVar14") (+ "+") (number_literal "4")) (, ",") (identifier "pcVar6") (, ",") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "iVar7 = local_110;" (assignment_expression "iVar7 = local_110" (identifier "iVar7") (= "=") (identifier "local_110")) (; ";")) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" (identifier "puVar12") (= "=") (identifier "PTR_memcpy_000798e0")) (; ";")) (expression_statement "puVar14 = puVar14 + iVar9 + 4;" (assignment_expression "puVar14 = puVar14 + iVar9 + 4" (identifier "puVar14") (= "=") (binary_expression "puVar14 + iVar9 + 4" (binary_expression "puVar14 + iVar9" (identifier "puVar14") (+ "+") (identifier "iVar9")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*puVar14 = local_110._0_1_;" (assignment_expression "*puVar14 = local_110._0_1_" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (field_expression "local_110._0_1_" (identifier "local_110") (. ".") (field_identifier "_0_1_"))) (; ";")) (expression_statement "puVar14[1] = (char)((uint)local_110 >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)local_110 >> 0x10)" (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)((uint)local_110 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)local_110 >> 0x10)" (( "(") (binary_expression "(uint)local_110 >> 0x10" (cast_expression "(uint)local_110" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_110")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "puVar14[2] = (char)((uint)local_110 >> 8);" (assignment_expression "puVar14[2] = (char)((uint)local_110 >> 8)" (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)local_110 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)local_110 >> 8)" (( "(") (binary_expression "(uint)local_110 >> 8" (cast_expression "(uint)local_110" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_110")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "puVar14[3] = (char)local_110;" (assignment_expression "puVar14[3] = (char)local_110" (subscript_expression "puVar14[3]" (identifier "puVar14") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)local_110" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_110"))) (; ";")) (expression_statement "(*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);" (call_expression "(*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(puVar14 + 4,unaff_s8,local_110)" (( "(") (binary_expression "puVar14 + 4" (identifier "puVar14") (+ "+") (number_literal "4")) (, ",") (identifier "unaff_s8") (, ",") (identifier "local_110") () ")"))) (; ";")) (expression_statement "puVar12 = PTR_memcpy_000798e0;" (assignment_expression "puVar12 = PTR_memcpy_000798e0" (identifier "puVar12") (= "=") (identifier "PTR_memcpy_000798e0")) (; ";")) (expression_statement "puVar14 = puVar14 + iVar7 + 4;" (assignment_expression "puVar14 = puVar14 + iVar7 + 4" (identifier "puVar14") (= "=") (binary_expression "puVar14 + iVar7 + 4" (binary_expression "puVar14 + iVar7" (identifier "puVar14") (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*puVar14 = local_10c._0_1_;" (assignment_expression "*puVar14 = local_10c._0_1_" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (field_expression "local_10c._0_1_" (identifier "local_10c") (. ".") (field_identifier "_0_1_"))) (; ";")) (expression_statement "puVar14[1] = (char)((uint)local_10c >> 0x10);" (assignment_expression "puVar14[1] = (char)((uint)local_10c >> 0x10)" (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)((uint)local_10c >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)local_10c >> 0x10)" (( "(") (binary_expression "(uint)local_10c >> 0x10" (cast_expression "(uint)local_10c" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_10c")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "puVar14[2] = (char)((uint)local_10c >> 8);" (assignment_expression "puVar14[2] = (char)((uint)local_10c >> 8)" (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)local_10c >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)local_10c >> 8)" (( "(") (binary_expression "(uint)local_10c >> 8" (cast_expression "(uint)local_10c" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_10c")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "puVar14[3] = (char)local_10c;" (assignment_expression "puVar14[3] = (char)local_10c" (subscript_expression "puVar14[3]" (identifier "puVar14") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)local_10c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_10c"))) (; ";")) (expression_statement "(*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);" (call_expression "(*(code *)puVar12)(puVar14 + 4,puVar13,local_10c)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(puVar14 + 4,puVar13,local_10c)" (( "(") (binary_expression "puVar14 + 4" (identifier "puVar14") (+ "+") (number_literal "4")) (, ",") (identifier "puVar13") (, ",") (identifier "local_10c") () ")"))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" (else "else") (compound_statement "{\nLAB_00042944:\n    bVar1 = false;\n    local_128 = local_10c;\n    puVar13 = puVar10;\n  }" ({ "{") (labeled_statement "LAB_00042944:\n    bVar1 = false;" (statement_identifier "LAB_00042944") (: ":") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";"))) (expression_statement "local_128 = local_10c;" (assignment_expression "local_128 = local_10c" (identifier "local_128") (= "=") (identifier "local_10c")) (; ";")) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" (identifier "puVar13") (= "=") (identifier "puVar10")) (; ";")) (} "}")))) (expression_statement "local_134 = (code *)&local_58;" (assignment_expression "local_134 = (code *)&local_58" (identifier "local_134") (= "=") (cast_expression "(code *)&local_58" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_58" (& "&") (identifier "local_58")))) (; ";")) (if_statement "if (local_124 == (code *)0x0) {\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }\n  else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" (if "if") (parenthesized_expression "(local_124 == (code *)0x0)" (( "(") (binary_expression "local_124 == (code *)0x0" (identifier "local_124") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    SHA_Simple(puVar10,local_128,auStack_a8);\n  }" ({ "{") (expression_statement "SHA_Simple(puVar10,local_128,auStack_a8);" (call_expression "SHA_Simple(puVar10,local_128,auStack_a8)" (identifier "SHA_Simple") (argument_list "(puVar10,local_128,auStack_a8)" (( "(") (identifier "puVar10") (, ",") (identifier "local_128") (, ",") (identifier "auStack_a8") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" (else "else") (compound_statement "{\n    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);\n    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);\n    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);\n    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);\n    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);\n    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);\n    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);\n    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);\n    local_3a = PTR_s_j_000790a8[0x42c2];\n    SHA_Init(&SStack_108);\n    SHA_Bytes(&SStack_108,local_134,0x1e);\n    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }\n    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);\n    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);\n    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);\n    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);\n    local_124 = pcVar6;\n  }" ({ "{") (expression_statement "local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);" (assignment_expression "local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4)" (identifier "local_58") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42a4)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42a4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a4)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42a4" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42a4")) () ")"))))) (; ";")) (expression_statement "local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);" (assignment_expression "local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8)" (identifier "local_54") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42a8)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42a8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42a8)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42a8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42a8")) () ")"))))) (; ";")) (expression_statement "local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);" (assignment_expression "local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac)" (identifier "local_50") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42ac)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42ac)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42ac)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42ac" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42ac")) () ")"))))) (; ";")) (expression_statement "local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);" (assignment_expression "local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0)" (identifier "local_4c") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b0)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b0)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42b0" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42b0")) () ")"))))) (; ";")) (expression_statement "local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);" (assignment_expression "local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4)" (identifier "local_48") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b4)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b4)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42b4" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42b4")) () ")"))))) (; ";")) (expression_statement "local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);" (assignment_expression "local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8)" (identifier "local_44") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42b8)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42b8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42b8)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42b8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42b8")) () ")"))))) (; ";")) (expression_statement "local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);" (assignment_expression "local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc)" (identifier "local_40") (= "=") (pointer_expression "*(uint *)(PTR_s_j_000790a8 + 0x42bc)" (* "*") (cast_expression "(uint *)(PTR_s_j_000790a8 + 0x42bc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42bc)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42bc" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42bc")) () ")"))))) (; ";")) (expression_statement "local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);" (assignment_expression "local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" (identifier "local_3c") (= "=") (pointer_expression "*(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" (* "*") (cast_expression "(undefined2 *)(PTR_s_j_000790a8 + 0x42c0)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + 0x42c0)" (( "(") (binary_expression "PTR_s_j_000790a8 + 0x42c0" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x42c0")) () ")"))))) (; ";")) (expression_statement "local_3a = PTR_s_j_000790a8[0x42c2];" (assignment_expression "local_3a = PTR_s_j_000790a8[0x42c2]" (identifier "local_3a") (= "=") (subscript_expression "PTR_s_j_000790a8[0x42c2]" (identifier "PTR_s_j_000790a8") ([ "[") (number_literal "0x42c2") (] "]"))) (; ";")) (expression_statement "SHA_Init(&SStack_108);" (call_expression "SHA_Init(&SStack_108)" (identifier "SHA_Init") (argument_list "(&SStack_108)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) () ")"))) (; ";")) (expression_statement "SHA_Bytes(&SStack_108,local_134,0x1e);" (call_expression "SHA_Bytes(&SStack_108,local_134,0x1e)" (identifier "SHA_Bytes") (argument_list "(&SStack_108,local_134,0x1e)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (identifier "local_134") (, ",") (number_literal "0x1e") () ")"))) (; ";")) (if_statement "if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }" (if "if") (parenthesized_expression "((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0))" (( "(") (binary_expression "(local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)" (parenthesized_expression "(local_12c != (code *)0x0)" (( "(") (binary_expression "local_12c != (code *)0x0" (identifier "local_12c") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != (undefined *)0x0)" (( "(") (binary_expression "param_2 != (undefined *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n      SHA_Bytes(&SStack_108,param_2,local_13c);\n    }" ({ "{") (expression_statement "SHA_Bytes(&SStack_108,param_2,local_13c);" (call_expression "SHA_Bytes(&SStack_108,param_2,local_13c)" (identifier "SHA_Bytes") (argument_list "(&SStack_108,param_2,local_13c)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (identifier "param_2") (, ",") (identifier "local_13c") () ")"))) (; ";")) (} "}"))) (expression_statement "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);" (call_expression "SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94)" (identifier "SHA_Final") (argument_list "((uchar *)&SStack_108,(SHA_CTX *)auStack_94)" (( "(") (cast_expression "(uchar *)&SStack_108" (( "(") (type_descriptor "uchar *" (type_identifier "uchar") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108"))) (, ",") (cast_expression "(SHA_CTX *)auStack_94" (( "(") (type_descriptor "SHA_CTX *" (type_identifier "SHA_CTX") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "auStack_94")) () ")"))) (; ";")) (expression_statement "hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);" (call_expression "hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8)" (identifier "hmac_sha1_simple") (argument_list "((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8)" (( "(") (cast_expression "(SHA_CTX *)auStack_94" (( "(") (type_descriptor "SHA_CTX *" (type_identifier "SHA_CTX") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "auStack_94")) (, ",") (number_literal "0x14") (, ",") (identifier "puVar10") (, ",") (identifier "local_128") (, ",") (identifier "auStack_a8") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);" (call_expression "(*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" (( "(") (pointer_expression "*(code *)PTR_smemclr_000790f4" (* "*") (cast_expression "(code *)PTR_smemclr_000790f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_smemclr_000790f4"))) () ")")) (argument_list "((SHA_CTX *)auStack_94,0x14)" (( "(") (cast_expression "(SHA_CTX *)auStack_94" (( "(") (type_descriptor "SHA_CTX *" (type_identifier "SHA_CTX") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "auStack_94")) (, ",") (number_literal "0x14") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);" (call_expression "(*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" (( "(") (pointer_expression "*(code *)PTR_smemclr_000790f4" (* "*") (cast_expression "(code *)PTR_smemclr_000790f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_smemclr_000790f4"))) () ")")) (argument_list "(&SStack_108,0x60)" (( "(") (pointer_expression "&SStack_108" (& "&") (identifier "SStack_108")) (, ",") (number_literal "0x60") () ")"))) (; ";")) (expression_statement "local_124 = pcVar6;" (assignment_expression "local_124 = pcVar6" (identifier "local_124") (= "=") (identifier "pcVar6")) (; ";")) (} "}")))) (expression_statement "param_2 = auStack_a8;" (assignment_expression "param_2 = auStack_a8" (identifier "param_2") (= "=") (identifier "auStack_a8")) (; ";")) (if_statement "if (bVar1) {\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);\n    (*(code *)PTR_safefree_000790f0)(puVar10);\n  }" ({ "{") (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar10,local_128);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar10,local_128)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" (( "(") (pointer_expression "*(code *)PTR_smemclr_000790f4" (* "*") (cast_expression "(code *)PTR_smemclr_000790f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_smemclr_000790f4"))) () ")")) (argument_list "(puVar10,local_128)" (( "(") (identifier "puVar10") (, ",") (identifier "local_128") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar10);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar10)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(puVar10)" (( "(") (identifier "puVar10") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar12 = PTR_s_j_000790a8 + 0x429c;" (assignment_expression "puVar12 = PTR_s_j_000790a8 + 0x429c" (identifier "puVar12") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x429c" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x429c"))) (; ";")) (expression_statement "pcVar11 = local_134;" (assignment_expression "pcVar11 = local_134" (identifier "pcVar11") (= "=") (identifier "local_134")) (; ";")) (do_statement "do {\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  } while (local_120 != (code *)0x14);" (do "do") (compound_statement "{\n    puVar10 = param_2 + (int)local_120;\n    local_120 = local_120 + 1;\n    unaff_s6 = pcVar11 + 2;\n    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);\n    pcVar11 = unaff_s6;\n  }" ({ "{") (expression_statement "puVar10 = param_2 + (int)local_120;" (assignment_expression "puVar10 = param_2 + (int)local_120" (identifier "puVar10") (= "=") (binary_expression "param_2 + (int)local_120" (identifier "param_2") (+ "+") (cast_expression "(int)local_120" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_120")))) (; ";")) (expression_statement "local_120 = local_120 + 1;" (assignment_expression "local_120 = local_120 + 1" (identifier "local_120") (= "=") (binary_expression "local_120 + 1" (identifier "local_120") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "unaff_s6 = pcVar11 + 2;" (assignment_expression "unaff_s6 = pcVar11 + 2" (identifier "unaff_s6") (= "=") (binary_expression "pcVar11 + 2" (identifier "pcVar11") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);" (call_expression "(*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000798c4)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_000798c4" (* "*") (cast_expression "(code *)PTR___sprintf_chk_000798c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_000798c4"))) () ")")) (argument_list "(pcVar11,1,0xffffffff,puVar12,*puVar10)" (( "(") (identifier "pcVar11") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "puVar12") (, ",") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) () ")"))) (; ";")) (expression_statement "pcVar11 = unaff_s6;" (assignment_expression "pcVar11 = unaff_s6" (identifier "pcVar11") (= "=") (identifier "unaff_s6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_120 != (code *)0x14)" (( "(") (binary_expression "local_120 != (code *)0x14" (identifier "local_120") (!= "!=") (cast_expression "(code *)0x14" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x14"))) () ")")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strcmp_000798a4)(iVar4,local_134)" (parenthesized_expression "(*(code *)PTR_strcmp_000798a4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000798a4" (* "*") (cast_expression "(code *)PTR_strcmp_000798a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000798a4"))) () ")")) (argument_list "(iVar4,local_134)" (( "(") (identifier "iVar4") (, ",") (identifier "local_134") () ")")))) (; ";")) (expression_statement "puVar10 = puVar13;" (assignment_expression "puVar10 = puVar13" (identifier "puVar10") (= "=") (identifier "puVar13")) (; ";")) (expression_statement "local_13c = pcVar6;" (assignment_expression "local_13c = pcVar6" (identifier "local_13c") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (iVar7 != 0) {\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }\n    goto LAB_00042f7c;\n  }" ({ "{") (if_statement "if (local_12c == (code *)0x0) {\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }\n    else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" (if "if") (parenthesized_expression "(local_12c == (code *)0x0)" (( "(") (binary_expression "local_12c == (code *)0x0" (identifier "local_12c") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      param_2 = PTR_s_j_000790a8 + 0x41b8;\n      piVar3 = (int *)0x0;\n    }" ({ "{") (expression_statement "param_2 = PTR_s_j_000790a8 + 0x41b8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x41b8" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x41b8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x41b8"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" (else "else") (compound_statement "{\n      param_2 = PTR_s_j_000790a8 + 0x400c;\n      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;\n    }" ({ "{") (expression_statement "param_2 = PTR_s_j_000790a8 + 0x400c;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x400c" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x400c" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x400c"))) (; ";")) (expression_statement "piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;" (assignment_expression "piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c" (identifier "piVar3") (= "=") (cast_expression "(int *)PTR_ssh2_wrong_passphrase_0007935c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ssh2_wrong_passphrase_0007935c"))) (; ";")) (} "}")))) (goto_statement "goto LAB_00042f7c;" (goto "goto") (statement_identifier "LAB_00042f7c") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_safefree_000790f0)(iVar4);" (call_expression "(*(code *)PTR_safefree_000790f0)(iVar4)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_safemalloc_000790d0)(1,0xc)" (parenthesized_expression "(*(code *)PTR_safemalloc_000790d0)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000790d0" (* "*") (cast_expression "(code *)PTR_safemalloc_000790d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000790d0"))) () ")")) (argument_list "(1,0xc)" (( "(") (number_literal "1") (, ",") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*piVar3 = local_130;" (assignment_expression "*piVar3 = local_130" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "local_130")) (; ";")) (expression_statement "piVar3[2] = (int)pcVar6;" (assignment_expression "piVar3[2] = (int)pcVar6" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6"))) (; ";")) (expression_statement "iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);" (assignment_expression "iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c)" (parenthesized_expression "(**(code **)(local_130 + 0x14))" (( "(") (pointer_expression "**(code **)(local_130 + 0x14)" (* "*") (pointer_expression "*(code **)(local_130 + 0x14)" (* "*") (cast_expression "(code **)(local_130 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_130 + 0x14)" (( "(") (binary_expression "local_130 + 0x14" (identifier "local_130") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(local_130,unaff_s8,local_110,puVar13,local_10c)" (( "(") (identifier "local_130") (, ",") (identifier "unaff_s8") (, ",") (identifier "local_110") (, ",") (identifier "puVar13") (, ",") (identifier "local_10c") () ")")))) (; ";")) (expression_statement "piVar3[1] = iVar4;" (assignment_expression "piVar3[1] = iVar4" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);\n    (*(code *)PTR_safefree_000790f0)(puVar13);\n    (*(code *)PTR_safefree_000790f0)(local_138);\n    if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }\n    goto LAB_00042540;\n  }" ({ "{") (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(unaff_s8)" (( "(") (identifier "unaff_s8") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);" (call_expression "(*(code *)PTR_smemclr_000790f4)(puVar13,local_10c)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" (( "(") (pointer_expression "*(code *)PTR_smemclr_000790f4" (* "*") (cast_expression "(code *)PTR_smemclr_000790f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_smemclr_000790f4"))) () ")")) (argument_list "(puVar13,local_10c)" (( "(") (identifier "puVar13") (, ",") (identifier "local_10c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(puVar13);" (call_expression "(*(code *)PTR_safefree_000790f0)(puVar13)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(puVar13)" (( "(") (identifier "puVar13") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(local_138)" (( "(") (identifier "local_138") () ")"))) (; ";")) (if_statement "if (param_3 != (undefined4 *)0x0) {\n      *param_3 = 0;\n    }" (if "if") (parenthesized_expression "(param_3 != (undefined4 *)0x0)" (( "(") (binary_expression "param_3 != (undefined4 *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_3 = 0;\n    }" ({ "{") (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (goto_statement "goto LAB_00042540;" (goto "goto") (statement_identifier "LAB_00042540") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_safefree_000790f0)(piVar3);" (call_expression "(*(code *)PTR_safefree_000790f0)(piVar3)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";")) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x4200;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x4200" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x4200" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x4200"))) (; ";")) (goto_statement "goto LAB_00042ba4;" (goto "goto") (statement_identifier "LAB_00042ba4") (; ";")) (labeled_statement "LAB_00042b88:\n  (*(code *)PTR_fclose_0007988c)(piVar3);" (statement_identifier "LAB_00042b88") (: ":") (expression_statement "(*(code *)PTR_fclose_0007988c)(piVar3);" (call_expression "(*(code *)PTR_fclose_0007988c)(piVar3)" (parenthesized_expression "(*(code *)PTR_fclose_0007988c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0007988c" (* "*") (cast_expression "(code *)PTR_fclose_0007988c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0007988c"))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))) (; ";"))) (expression_statement "param_2 = PTR_s_j_000790a8 + 0x3ff8;" (assignment_expression "param_2 = PTR_s_j_000790a8 + 0x3ff8" (identifier "param_2") (= "=") (binary_expression "PTR_s_j_000790a8 + 0x3ff8" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x3ff8"))) (; ";")) (expression_statement "local_13c = pcVar6;" (assignment_expression "local_13c = pcVar6" (identifier "local_13c") (= "=") (identifier "pcVar6")) (; ";")) (labeled_statement "LAB_00042ba4:\n  piVar3 = (int *)0x0;" (statement_identifier "LAB_00042ba4") (: ":") (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_13c);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_13c)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(local_13c)" (( "(") (identifier "local_13c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(local_138);" (call_expression "(*(code *)PTR_safefree_000790f0)(local_138)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(local_138)" (( "(") (identifier "local_138") () ")"))) (; ";")) (expression_statement "unaff_s5 = puVar10;" (assignment_expression "unaff_s5 = puVar10" (identifier "unaff_s5") (= "=") (identifier "puVar10")) (; ";")) (labeled_statement "LAB_00042bc8:\n  if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" (statement_identifier "LAB_00042bc8") (: ":") (if_statement "if (unaff_s8 != 0) {\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" (if "if") (parenthesized_expression "(unaff_s8 != 0)" (( "(") (binary_expression "unaff_s8 != 0" (identifier "unaff_s8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_safefree_000790f0)(unaff_s8);\n  }" ({ "{") (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s8);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(unaff_s8)" (( "(") (identifier "unaff_s8") () ")"))) (; ";")) (} "}")))) (if_statement "if (unaff_s5 != (undefined1 *)0x0) {\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" (if "if") (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" (( "(") (binary_expression "unaff_s5 != (undefined1 *)0x0" (identifier "unaff_s5") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);\n    (*(code *)PTR_safefree_000790f0)(unaff_s5);\n  }" ({ "{") (expression_statement "(*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);" (call_expression "(*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c)" (parenthesized_expression "(*(code *)PTR_smemclr_000790f4)" (( "(") (pointer_expression "*(code *)PTR_smemclr_000790f4" (* "*") (cast_expression "(code *)PTR_smemclr_000790f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_smemclr_000790f4"))) () ")")) (argument_list "(unaff_s5,local_10c)" (( "(") (identifier "unaff_s5") (, ",") (identifier "local_10c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000790f0)(unaff_s5);" (call_expression "(*(code *)PTR_safefree_000790f0)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_safefree_000790f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000790f0" (* "*") (cast_expression "(code *)PTR_safefree_000790f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000790f0"))) () ")")) (argument_list "(unaff_s5)" (( "(") (identifier "unaff_s5") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_00042534;" (goto "goto") (statement_identifier "LAB_00042534") (; ";")) (} "}")))

type_1 * function_1(type_2 *filename,char *var_1,char **var_23)

{
  bool bVar1;
  type_3 *puVar2;
  int var_24;
  type_4 *var_4;
  int var_6;
  type_5 *var_14;
  int var_34;
  int var_35;
  int var_33;
  type_6 *var_20;
  char *var_15;
  type_5 *var_40;
  type_3 *puVar12;
  type_6 *var_11;
  type_6 *puVar13;
  type_5 *var_7;
  type_6 *var_37;
  type_6 *var_18;
  type_5 *pcStack_13c;
  type_6 *puStack_138;
  type_5 *pcStack_134;
  type_7 *var_13;
  type_5 *var_22;
  int var_25;
  type_5 *var_21;
  type_5 *var_19;
  int var_36;
  int var_27;
  type_8 s;
  type_6 binary [20];
  type_6 mackey [20];
  char header [40];
  type_6 var_31 [40];
  
  puVar2 = PTR___stack_chk_guard_00079930;
  var_24 = *(int *)PTR___stack_chk_guard_00079930;
  if (var_1 == (char *)0x0) {
    pcStack_13c = (type_5 *)0x0;
  }
  else {
    pcStack_13c = (type_5 *)(*(type_5 *)PTR_strlen_000798d0)(var_1);
  }
  var_4 = var_2(filename,var_3 + 0x4078,0);
  if (var_4 == (type_4 *)0x0) {
    var_1 = var_3 + 0x407c;
    goto LAB_00042534;
  }
  var_6 = var_5(var_4,header);
  if (var_6 == 0) {
    var_1 = (char *)0x0;
    (*(type_5 *)PTR_fclose_0007988c)(var_4);
    var_4 = (type_4 *)0x0;
    goto LAB_00042534;
  }
  var_7 = (type_5 *)(*(type_5 *)PTR_strcmp_000798a4)(header,var_3 + 0x4214);
  if (var_7 != (type_5 *)0x0) {
    var_6 = (*(type_5 *)PTR_strcmp_000798a4)(header,var_3 + 0x422c);
    if (var_6 != 0) {
      var_6 = (*(type_5 *)PTR_strncmp_000797c4)(header,var_3 + 0x4134,0x14);
      if (var_6 == 0) {
        (*(type_5 *)PTR_fclose_0007988c)(var_4);
        var_1 = var_3 + 0x41e4;
        var_4 = (type_4 *)0x0;
      }
      else {
        (*(type_5 *)PTR_fclose_0007988c)(var_4);
        var_1 = var_3 + 0x41c4;
        var_4 = (type_4 *)0x0;
      }
      goto LAB_00042534;
    }
    var_7 = (type_5 *)0x1;
    var_8();
  }
  pcStack_134 = (type_5 *)(var_9 + 0xe74);
  var_11 = (type_6 *)var_10(var_4);
  if (var_11 == (type_6 *)0x0) {
LAB_00042628:
    (*(type_5 *)PTR_fclose_0007988c)(var_4);
    var_1 = var_3 + 0x3ff8;
    var_4 = (type_4 *)0x0;
    goto LAB_00042534;
  }
  var_6 = (*(type_5 *)PTR_strlen_000798d0)(var_11);
  var_13 = var_12(var_6,(char *)var_11);
  if (var_13 == (type_7 *)0x0) {
    (*(type_5 *)PTR_safefree_000790f0)(var_11);
    (*(type_5 *)PTR_fclose_0007988c)(var_4);
    var_1 = var_3 + 0x3ff8;
    var_4 = (type_4 *)0x0;
    goto LAB_00042534;
  }
  (*(type_5 *)PTR_safefree_000790f0)();
  var_6 = var_5(var_4,header);
  if (((var_6 == 0) ||
      (var_6 = (*(type_5 *)PTR_strcmp_000798a4)(header,var_3 + 0x4244), var_6 != 0)) ||
     (var_11 = (type_6 *)(*pcStack_134)(var_4), puStack_138 = var_11, var_11 == (type_6 *)0x0))
  goto LAB_00042628;
  var_6 = (*(type_5 *)PTR_strcmp_000798a4)(var_11,var_3 + 0x7c4);
  if (var_6 == 0) {
    var_25 = 0x10;
    var_22 = (type_5 *)0x1;
LAB_000426c8:
    var_6 = var_5(var_4,header);
    if (((var_6 != 0) &&
        (var_6 = (*(type_5 *)PTR_strcmp_000798a4)(header,var_3 + 0x4258), var_6 == 0)) &&
       (var_14 = (type_5 *)(*pcStack_134)(var_4), var_21 = var_14, var_14 != (type_5 *)0x0)) {
      var_6 = var_5(var_4,header);
      if (((var_6 != 0) &&
          (var_6 = (*(type_5 *)PTR_strcmp_000798a4)(header,var_3 + 0x4260), var_6 == 0)) &&
         (var_15 = (char *)(*pcStack_134)(var_4), var_15 != (char *)0x0)) {
        var_21 = (type_5 *)(var_9 + 0xd14);
        var_6 = var_16(var_15);
        (*(type_5 *)PTR_safefree_000790f0)(var_15);
        var_19 = var_14;
        if (-1 < var_6) {
          var_40 = (type_5 *)(var_9 + 0xfc0);
          var_18 = var_17(var_4,var_6,&var_36);
          if (var_18 != (type_6 *)0x0) {
            var_6 = var_5(var_4,header);
            if ((var_6 != 0) &&
               (var_19 = (type_5 *)(*(type_5 *)PTR_strcmp_000798a4)
                                                (header,var_3 + 0x4270),
               var_19 == (type_5 *)0x0)) {
              var_20 = (type_6 *)(*pcStack_134)(var_4);
              if (var_20 == (type_6 *)0x0) goto LAB_00042b88;
              var_6 = (*var_21)(var_20);
              (*(type_5 *)PTR_safefree_000790f0)(var_20);
              if (-1 < var_6) {
                var_20 = (type_6 *)(*var_40)(var_4,var_6,&var_27);
                var_21 = var_14;
                if (var_20 == (type_6 *)0x0) goto LAB_00042b88;
                var_6 = var_5(var_4,header);
                if (var_6 == 0) goto LAB_00042b88;
                var_6 = (*(type_5 *)PTR_strcmp_000798a4)(header,var_3 + 0x4280);
                if (var_6 == 0) goto LAB_00042c20;
                var_21 = (type_5 *)(*(type_5 *)PTR_strcmp_000798a4)
                                                (header,var_3 + 0x428c);
                if (var_21 != (type_5 *)0x0) goto LAB_00042b88;
                if (var_7 == (type_5 *)0x0) goto LAB_00042b88;
                var_6 = (*pcStack_134)(var_4);
                if (var_6 == 0) goto LAB_00042b88;
                (*(type_5 *)PTR_fclose_0007988c)(var_4);
                pcStack_134 = var_14;
                if (var_22 != (type_5 *)0x0) goto LAB_00042c60;
                var_21 = var_22;
                goto LAB_00042944;
              }
            }
            var_20 = (type_6 *)0x0;
            goto LAB_00042b88;
          }
        }
      }
      var_20 = (type_6 *)0x0;
      var_18 = (type_6 *)0x0;
      goto LAB_00042b88;
    }
  }
  else {
    var_22 = (type_5 *)(*(type_5 *)PTR_strcmp_000798a4)(var_11,var_3 + 0x4250);
    if (var_22 == (type_5 *)0x0) {
      var_25 = 1;
      goto LAB_000426c8;
    }
  }
  (*(type_5 *)PTR_fclose_0007988c)(var_4);
  (*(type_5 *)PTR_safefree_000790f0)(var_11);
  var_1 = var_3 + 0x3ff8;
  var_4 = (type_4 *)0x0;
LAB_00042534:
  var_20 = var_11;
  if (var_23 != (char **)0x0) {
    *var_23 = var_1;
  }
LAB_00042540:
  if (var_24 == *(int *)puVar2) {
    return (type_1 *)var_4;
  }
  (*(type_5 *)PTR___stack_chk_fail_000797f0)();
LAB_00042c20:
  var_14 = var_21;
  var_6 = (*pcStack_134)(var_4);
  if (var_6 == 0) goto LAB_00042b88;
  pcStack_134 = var_21;
  (*(type_5 *)PTR_fclose_0007988c)(var_4);
  if (var_22 != (type_5 *)0x0) {
    var_21 = var_22;
LAB_00042c60:
    var_14 = pcStack_134;
    if ((type_6 *)var_1 != (type_6 *)0x0) {
      if (var_25 == 0) {
        var_26(7);
      }
      if (var_27 % var_25 == 0) {
        var_28((type_9 *)&s);
        var_29(&s,var_3 + 0x4790,4);
        var_29(&s,var_1,(int)pcStack_13c);
        var_30(&s,var_31);
        var_28((type_9 *)&s);
        var_29(&s,var_3 + 0x4798,4);
        var_29(&s,var_1,(int)pcStack_13c);
        var_30(&s,var_31 + 0x14);
        var_32(var_31,var_20,var_27);
        puVar13 = var_20;
        goto LAB_00042d58;
      }
    }
    var_4 = (type_4 *)0x0;
    var_1 = var_3 + 0x3ff8;
LAB_00042f7c:
    (*(type_5 *)PTR_safefree_000790f0)(var_14);
    (*(type_5 *)PTR_safefree_000790f0)(puStack_138);
    (*(type_5 *)PTR_safefree_000790f0)(var_6);
    var_11 = var_20;
    goto FUN_00042bc8;
  }
  var_21 = (type_5 *)0x1;
  puVar13 = var_20;
LAB_00042d58:
  var_20 = puVar13;
  if (var_7 == (type_5 *)0x0) {
    var_34 = (*(type_5 *)PTR_strlen_000798d0)(var_13->name);
    var_35 = (*(type_5 *)PTR_strlen_000798d0)(puStack_138);
    var_33 = (*(type_5 *)PTR_strlen_000798d0)(var_14);
    var_25 = var_33 + var_34 + var_35 + var_36 + 0x14 + var_27;
    var_20 = (type_6 *)(*(type_5 *)PTR_safemalloc_000790d0)(var_25,1);
    var_20[3] = (type_6)var_34;
    var_20[1] = (type_6)((type_10)var_34 >> 0x10);
    *var_20 = (type_6)((type_10)var_34 >> 0x18);
    var_20[2] = (type_6)((type_10)var_34 >> 8);
    var_37 = var_20 + var_34 + 4;
    (*(type_5 *)PTR_memcpy_000798e0)(var_20 + 4,var_13->name,var_34);
    var_37[3] = (type_6)var_35;
    var_37[1] = (type_6)((type_10)var_35 >> 0x10);
    *var_37 = (type_6)((type_10)var_35 >> 0x18);
    var_37[2] = (type_6)((type_10)var_35 >> 8);
    (*(type_5 *)PTR_memcpy_000798e0)(var_37 + 4,puStack_138,var_35);
    puVar12 = PTR_memcpy_000798e0;
    var_37 = var_37 + var_35 + 4;
    *var_37 = (type_6)((type_10)var_33 >> 0x18);
    var_37[1] = (type_6)((type_10)var_33 >> 0x10);
    var_37[3] = (type_6)var_33;
    var_37[2] = (type_6)((type_10)var_33 >> 8);
    (*(type_5 *)puVar12)(var_37 + 4,var_14,var_33);
    var_34 = var_36;
    puVar12 = PTR_memcpy_000798e0;
    var_37 = var_37 + var_33 + 4;
    *var_37 = var_36._0_1_;
    var_37[1] = (type_6)((type_10)var_36 >> 0x10);
    var_37[2] = (type_6)((type_10)var_36 >> 8);
    var_37[3] = (type_6)var_36;
    (*(type_5 *)puVar12)(var_37 + 4,var_18,var_36);
    puVar12 = PTR_memcpy_000798e0;
    var_37 = var_37 + var_34 + 4;
    *var_37 = var_27._0_1_;
    var_37[1] = (type_6)((type_10)var_27 >> 0x10);
    var_37[2] = (type_6)((type_10)var_27 >> 8);
    var_37[3] = (type_6)var_27;
    (*(type_5 *)puVar12)(var_37 + 4,puVar13,var_27);
    bVar1 = true;
  }
  else {
LAB_00042944:
    bVar1 = false;
    var_25 = var_27;
    puVar13 = var_20;
  }
  pcStack_134 = (type_5 *)var_31;
  if (var_21 == (type_5 *)0x0) {
    var_38(var_20,var_25,binary);
  }
  else {
    var_31._0_4_ = *(type_11 *)(var_3 + 0x42a4);
    var_31._4_4_ = *(type_11 *)(var_3 + 0x42a8);
    var_31._8_4_ = *(type_11 *)(var_3 + 0x42ac);
    var_31._12_4_ = *(type_11 *)(var_3 + 0x42b0);
    var_31._16_4_ = *(type_11 *)(var_3 + 0x42b4);
    var_31._20_4_ = *(type_11 *)(var_3 + 0x42b8);
    var_31._24_4_ = *(type_11 *)(var_3 + 0x42bc);
    var_31._28_2_ = *(type_12 *)(var_3 + 0x42c0);
    var_31[0x1e] = var_3[0x42c2];
    var_28((type_9 *)&s);
    var_29(&s,pcStack_134,0x1e);
    if ((var_22 != (type_5 *)0x0) && ((type_6 *)var_1 != (type_6 *)0x0)) {
      var_29(&s,var_1,(int)pcStack_13c);
    }
    var_30(&s,mackey);
    var_39(mackey,0x14,var_20,var_25,binary);
    (*(type_5 *)PTR_smemclr_000790f4)(mackey,0x14);
    (*(type_5 *)PTR_smemclr_000790f4)((type_9 *)&s,0x60);
    var_21 = var_14;
  }
  var_1 = (char *)binary;
  if (bVar1) {
    (*(type_5 *)PTR_smemclr_000790f4)(var_20,var_25);
    (*(type_5 *)PTR_safefree_000790f0)(var_20);
  }
  puVar12 = var_3 + 0x429c;
  var_40 = pcStack_134;
  do {
    var_20 = (type_6 *)var_1 + (int)var_19;
    var_19 = var_19 + 1;
    var_7 = var_40 + 2;
    (*(type_5 *)PTR___sprintf_chk_000798c4)(var_40,1,0xffffffff,puVar12,*var_20);
    var_40 = var_7;
  } while (var_19 != (type_5 *)0x14);
  var_34 = (*(type_5 *)PTR_strcmp_000798a4)(var_6,pcStack_134);
  var_20 = puVar13;
  pcStack_13c = var_14;
  if (var_34 != 0) {
    if (var_22 == (type_5 *)0x0) {
      var_1 = var_3 + 0x41b8;
      var_4 = (type_4 *)0x0;
    }
    else {
      var_1 = var_3 + 0x400c;
      var_4 = (type_4 *)PTR_ssh2_wrong_passphrase_0007935c;
    }
    goto LAB_00042f7c;
  }
  (*(type_5 *)PTR_safefree_000790f0)(var_6);
  var_4 = (type_4 *)(*(type_5 *)PTR_safemalloc_000790d0)(1,0xc);
  var_4->_flags = (int)var_13;
  var_4->_IO_read_end = (char *)var_14;
  var_15 = (char *)(*var_13->createkey)
                              (var_13,var_18,var_36,puVar13,var_27);
  var_4->_IO_read_ptr = var_15;
  if (var_15 != (char *)0x0) {
    (*(type_5 *)PTR_safefree_000790f0)(var_18);
    (*(type_5 *)PTR_smemclr_000790f4)(puVar13,var_27);
    (*(type_5 *)PTR_safefree_000790f0)(puVar13);
    (*(type_5 *)PTR_safefree_000790f0)(puStack_138);
    if (var_23 != (char **)0x0) {
      *var_23 = (char *)0x0;
    }
    goto LAB_00042540;
  }
  (*(type_5 *)PTR_safefree_000790f0)(var_4);
  var_1 = var_3 + 0x4200;
  goto LAB_00042ba4;
LAB_00042b88:
  (*(type_5 *)PTR_fclose_0007988c)(var_4);
  var_1 = var_3 + 0x3ff8;
  pcStack_13c = var_14;
LAB_00042ba4:
  var_4 = (type_4 *)0x0;
  (*(type_5 *)PTR_safefree_000790f0)(pcStack_13c);
  (*(type_5 *)PTR_safefree_000790f0)(puStack_138);
  var_11 = var_20;
FUN_00042bc8:
  if (var_18 != (type_6 *)0x0) {
    (*(type_5 *)PTR_safefree_000790f0)(var_18);
  }
  if (var_11 != (type_6 *)0x0) {
    (*(type_5 *)PTR_smemclr_000790f4)(var_11,var_27);
    (*(type_5 *)PTR_safefree_000790f0)(var_11);
  }
  goto LAB_00042534;
}


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

int * MASKED(undefined4 param_1,undefined *param_2,undefined4 *param_3)

{
  bool bVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  code *pcVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  undefined1 *puVar10;
  code *pcVar11;
  undefined *puVar12;
  undefined1 *unaff_s5;
  undefined1 *puVar13;
  code *unaff_s6;
  undefined1 *puVar14;
  int unaff_s8;
  code *local_13c;
  undefined1 *local_138;
  code *local_134;
  int local_130;
  code *local_12c;
  int local_128;
  code *local_124;
  code *local_120;
  int local_110;
  int local_10c;
  SHA_CTX SStack_108;
  undefined1 auStack_a8 [20];
  undefined1 auStack_94 [60];
  uint local_58;
  uint local_54;
  uint local_50;
  uint local_4c;
  uint local_48;
  uint local_44;
  uint local_40;
  undefined2 local_3c;
  undefined1 local_3a;
  uint local_2c;
  
  puVar2 = PTR___stack_chk_guard_00079930;
  local_2c = *(uint *)PTR___stack_chk_guard_00079930;
  if (param_2 == (undefined *)0x0) {
    local_13c = (code *)0x0;
  }
  else {
    local_13c = (code *)(*(code *)PTR_strlen_000798d0)(param_2);
  }
  piVar3 = (int *)f_open(param_1,PTR_s_j_000790a8 + 0x4078,0);
  if (piVar3 == (int *)0x0) {
    param_2 = PTR_s_j_000790a8 + 0x407c;
    goto LAB_00042534;
  }
  puVar13 = auStack_94 + 0x14;
  iVar4 = FUN_00040db0(piVar3,puVar13);
  if (iVar4 == 0) {
    param_2 = (undefined *)0x0;
    (*(code *)PTR_fclose_0007988c)(piVar3);
    piVar3 = (int *)0x0;
    goto LAB_00042534;
  }
  unaff_s6 = (code *)(*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4214);
  if (unaff_s6 != (code *)0x0) {
    iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x422c);
    if (iVar4 != 0) {
      iVar4 = (*(code *)PTR_strncmp_000797c4)(puVar13,PTR_s_j_000790a8 + 0x4134,0x14);
      if (iVar4 == 0) {
        (*(code *)PTR_fclose_0007988c)(piVar3);
        param_2 = PTR_s_j_000790a8 + 0x41e4;
        piVar3 = (int *)0x0;
      }
      else {
        (*(code *)PTR_fclose_0007988c)(piVar3);
        param_2 = PTR_s_j_000790a8 + 0x41c4;
        piVar3 = (int *)0x0;
      }
      goto LAB_00042534;
    }
    unaff_s6 = (code *)0x1;
    old_keyfile_warning();
  }
  local_134 = (code *)(PTR_LAB_000794e4 + 0xe74);
  unaff_s5 = (undefined1 *)FUN_00040e74(piVar3);
  if (unaff_s5 == (undefined1 *)0x0) {
LAB_00042628:
    (*(code *)PTR_fclose_0007988c)(piVar3);
    param_2 = PTR_s_j_000790a8 + 0x3ff8;
    piVar3 = (int *)0x0;
    goto LAB_00042534;
  }
  uVar5 = (*(code *)PTR_strlen_000798d0)(unaff_s5);
  local_130 = find_pubkey_alg_len(uVar5,unaff_s5);
  if (local_130 == 0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s5);
    (*(code *)PTR_fclose_0007988c)(piVar3);
    param_2 = PTR_s_j_000790a8 + 0x3ff8;
    piVar3 = (int *)0x0;
    goto LAB_00042534;
  }
  (*(code *)PTR_safefree_000790f0)();
  iVar4 = FUN_00040db0(piVar3,puVar13);
  if (((iVar4 == 0) ||
      (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4244), iVar4 != 0)) ||
     (unaff_s5 = (undefined1 *)(*local_134)(piVar3), local_138 = unaff_s5,
     unaff_s5 == (undefined1 *)0x0)) goto LAB_00042628;
  iVar4 = (*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x7c4);
  if (iVar4 == 0) {
    local_128 = 0x10;
    local_12c = (code *)0x1;
LAB_000426c8:
    iVar4 = FUN_00040db0(piVar3,puVar13);
    if (((iVar4 != 0) &&
        (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4258), iVar4 == 0)) &&
       (pcVar6 = (code *)(*local_134)(piVar3), local_124 = pcVar6, pcVar6 != (code *)0x0)) {
      iVar4 = FUN_00040db0(piVar3,puVar13);
      if (((iVar4 != 0) &&
          (iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4260), iVar4 == 0))
         && (iVar4 = (*local_134)(piVar3), iVar4 != 0)) {
        local_124 = (code *)(PTR_LAB_000794e4 + 0xd14);
        iVar7 = FUN_00040d14(iVar4);
        (*(code *)PTR_safefree_000790f0)(iVar4);
        local_120 = pcVar6;
        if (-1 < iVar7) {
          pcVar11 = (code *)(PTR_LAB_000794e4 + 0xfc0);
          unaff_s8 = FUN_00040fc0(piVar3,iVar7,&local_110);
          if (unaff_s8 != 0) {
            iVar4 = FUN_00040db0(piVar3,puVar13);
            if ((iVar4 != 0) &&
               (local_120 = (code *)(*(code *)PTR_strcmp_000798a4)
                                              (puVar13,PTR_s_j_000790a8 + 0x4270),
               local_120 == (code *)0x0)) {
              puVar10 = (undefined1 *)(*local_134)(piVar3);
              if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;
              iVar4 = (*local_124)(puVar10);
              (*(code *)PTR_safefree_000790f0)(puVar10);
              if (-1 < iVar4) {
                puVar10 = (undefined1 *)(*pcVar11)(piVar3,iVar4,&local_10c);
                local_124 = pcVar6;
                if (puVar10 == (undefined1 *)0x0) goto LAB_00042b88;
                iVar4 = FUN_00040db0(piVar3,puVar13);
                if (iVar4 == 0) goto LAB_00042b88;
                iVar4 = (*(code *)PTR_strcmp_000798a4)(puVar13,PTR_s_j_000790a8 + 0x4280);
                if (iVar4 == 0) goto LAB_00042c20;
                local_124 = (code *)(*(code *)PTR_strcmp_000798a4)
                                              (puVar13,PTR_s_j_000790a8 + 0x428c);
                if (local_124 != (code *)0x0) goto LAB_00042b88;
                if (unaff_s6 == (code *)0x0) goto LAB_00042b88;
                iVar4 = (*local_134)(piVar3);
                if (iVar4 == 0) goto LAB_00042b88;
                (*(code *)PTR_fclose_0007988c)(piVar3);
                local_134 = pcVar6;
                if (local_12c != (code *)0x0) goto LAB_00042c60;
                local_124 = local_12c;
                goto LAB_00042944;
              }
            }
            puVar10 = (undefined1 *)0x0;
            goto LAB_00042b88;
          }
        }
      }
      puVar10 = (undefined1 *)0x0;
      unaff_s8 = 0;
      goto LAB_00042b88;
    }
  }
  else {
    local_12c = (code *)(*(code *)PTR_strcmp_000798a4)(unaff_s5,PTR_s_j_000790a8 + 0x4250);
    if (local_12c == (code *)0x0) {
      local_128 = 1;
      goto LAB_000426c8;
    }
  }
  (*(code *)PTR_fclose_0007988c)(piVar3);
  (*(code *)PTR_safefree_000790f0)(unaff_s5);
  param_2 = PTR_s_j_000790a8 + 0x3ff8;
  piVar3 = (int *)0x0;
LAB_00042534:
  puVar10 = unaff_s5;
  if (param_3 != (undefined4 *)0x0) {
    *param_3 = param_2;
  }
LAB_00042540:
  if (local_2c == *(uint *)puVar2) {
    return piVar3;
  }
  (*(code *)PTR___stack_chk_fail_000797f0)();
LAB_00042c20:
  pcVar6 = local_124;
  iVar4 = (*local_134)(piVar3);
  if (iVar4 == 0) goto LAB_00042b88;
  local_134 = local_124;
  (*(code *)PTR_fclose_0007988c)(piVar3);
  if (local_12c != (code *)0x0) {
    local_124 = local_12c;
LAB_00042c60:
    pcVar6 = local_134;
    if (param_2 != (undefined *)0x0) {
      if (local_128 == 0) {
        trap(7);
      }
      if (local_10c % local_128 == 0) {
        SHA_Init(&SStack_108);
        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4790,4);
        SHA_Bytes(&SStack_108,param_2,local_13c);
        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_58);
        SHA_Init(&SStack_108);
        SHA_Bytes(&SStack_108,PTR_s_j_000790a8 + 0x4798,4);
        SHA_Bytes(&SStack_108,param_2,local_13c);
        SHA_Final((uchar *)&SStack_108,(SHA_CTX *)&local_44);
        aes256_decrypt_pubkey((SHA_CTX *)&local_58,puVar10,local_10c);
        puVar13 = puVar10;
        goto LAB_00042d58;
      }
    }
    piVar3 = (int *)0x0;
    param_2 = PTR_s_j_000790a8 + 0x3ff8;
LAB_00042f7c:
    (*(code *)PTR_safefree_000790f0)(pcVar6);
    (*(code *)PTR_safefree_000790f0)(local_138);
    (*(code *)PTR_safefree_000790f0)(iVar4);
    unaff_s5 = puVar10;
    goto LAB_00042bc8;
  }
  local_124 = (code *)0x1;
  puVar13 = puVar10;
LAB_00042d58:
  puVar10 = puVar13;
  if (unaff_s6 == (code *)0x0) {
    iVar7 = (*(code *)PTR_strlen_000798d0)(*(undefined4 *)(local_130 + 0x30));
    iVar8 = (*(code *)PTR_strlen_000798d0)(local_138);
    iVar9 = (*(code *)PTR_strlen_000798d0)(pcVar6);
    local_128 = iVar9 + iVar7 + iVar8 + local_110 + 0x14 + local_10c;
    puVar10 = (undefined1 *)(*(code *)PTR_safemalloc_000790d0)(local_128,1);
    puVar10[3] = (char)iVar7;
    puVar10[1] = (char)((uint)iVar7 >> 0x10);
    *puVar10 = (char)((uint)iVar7 >> 0x18);
    puVar10[2] = (char)((uint)iVar7 >> 8);
    puVar14 = puVar10 + iVar7 + 4;
    (*(code *)PTR_memcpy_000798e0)(puVar10 + 4,*(undefined4 *)(local_130 + 0x30),iVar7);
    puVar14[3] = (char)iVar8;
    puVar14[1] = (char)((uint)iVar8 >> 0x10);
    *puVar14 = (char)((uint)iVar8 >> 0x18);
    puVar14[2] = (char)((uint)iVar8 >> 8);
    (*(code *)PTR_memcpy_000798e0)(puVar14 + 4,local_138,iVar8);
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar8 + 4;
    *puVar14 = (char)((uint)iVar9 >> 0x18);
    puVar14[1] = (char)((uint)iVar9 >> 0x10);
    puVar14[3] = (char)iVar9;
    puVar14[2] = (char)((uint)iVar9 >> 8);
    (*(code *)puVar12)(puVar14 + 4,pcVar6,iVar9);
    iVar7 = local_110;
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar9 + 4;
    *puVar14 = local_110._0_1_;
    puVar14[1] = (char)((uint)local_110 >> 0x10);
    puVar14[2] = (char)((uint)local_110 >> 8);
    puVar14[3] = (char)local_110;
    (*(code *)puVar12)(puVar14 + 4,unaff_s8,local_110);
    puVar12 = PTR_memcpy_000798e0;
    puVar14 = puVar14 + iVar7 + 4;
    *puVar14 = local_10c._0_1_;
    puVar14[1] = (char)((uint)local_10c >> 0x10);
    puVar14[2] = (char)((uint)local_10c >> 8);
    puVar14[3] = (char)local_10c;
    (*(code *)puVar12)(puVar14 + 4,puVar13,local_10c);
    bVar1 = true;
  }
  else {
LAB_00042944:
    bVar1 = false;
    local_128 = local_10c;
    puVar13 = puVar10;
  }
  local_134 = (code *)&local_58;
  if (local_124 == (code *)0x0) {
    SHA_Simple(puVar10,local_128,auStack_a8);
  }
  else {
    local_58 = *(uint *)(PTR_s_j_000790a8 + 0x42a4);
    local_54 = *(uint *)(PTR_s_j_000790a8 + 0x42a8);
    local_50 = *(uint *)(PTR_s_j_000790a8 + 0x42ac);
    local_4c = *(uint *)(PTR_s_j_000790a8 + 0x42b0);
    local_48 = *(uint *)(PTR_s_j_000790a8 + 0x42b4);
    local_44 = *(uint *)(PTR_s_j_000790a8 + 0x42b8);
    local_40 = *(uint *)(PTR_s_j_000790a8 + 0x42bc);
    local_3c = *(undefined2 *)(PTR_s_j_000790a8 + 0x42c0);
    local_3a = PTR_s_j_000790a8[0x42c2];
    SHA_Init(&SStack_108);
    SHA_Bytes(&SStack_108,local_134,0x1e);
    if ((local_12c != (code *)0x0) && (param_2 != (undefined *)0x0)) {
      SHA_Bytes(&SStack_108,param_2,local_13c);
    }
    SHA_Final((uchar *)&SStack_108,(SHA_CTX *)auStack_94);
    hmac_sha1_simple((SHA_CTX *)auStack_94,0x14,puVar10,local_128,auStack_a8);
    (*(code *)PTR_smemclr_000790f4)((SHA_CTX *)auStack_94,0x14);
    (*(code *)PTR_smemclr_000790f4)(&SStack_108,0x60);
    local_124 = pcVar6;
  }
  param_2 = auStack_a8;
  if (bVar1) {
    (*(code *)PTR_smemclr_000790f4)(puVar10,local_128);
    (*(code *)PTR_safefree_000790f0)(puVar10);
  }
  puVar12 = PTR_s_j_000790a8 + 0x429c;
  pcVar11 = local_134;
  do {
    puVar10 = param_2 + (int)local_120;
    local_120 = local_120 + 1;
    unaff_s6 = pcVar11 + 2;
    (*(code *)PTR___sprintf_chk_000798c4)(pcVar11,1,0xffffffff,puVar12,*puVar10);
    pcVar11 = unaff_s6;
  } while (local_120 != (code *)0x14);
  iVar7 = (*(code *)PTR_strcmp_000798a4)(iVar4,local_134);
  puVar10 = puVar13;
  local_13c = pcVar6;
  if (iVar7 != 0) {
    if (local_12c == (code *)0x0) {
      param_2 = PTR_s_j_000790a8 + 0x41b8;
      piVar3 = (int *)0x0;
    }
    else {
      param_2 = PTR_s_j_000790a8 + 0x400c;
      piVar3 = (int *)PTR_ssh2_wrong_passphrase_0007935c;
    }
    goto LAB_00042f7c;
  }
  (*(code *)PTR_safefree_000790f0)(iVar4);
  piVar3 = (int *)(*(code *)PTR_safemalloc_000790d0)(1,0xc);
  *piVar3 = local_130;
  piVar3[2] = (int)pcVar6;
  iVar4 = (**(code **)(local_130 + 0x14))(local_130,unaff_s8,local_110,puVar13,local_10c);
  piVar3[1] = iVar4;
  if (iVar4 != 0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s8);
    (*(code *)PTR_smemclr_000790f4)(puVar13,local_10c);
    (*(code *)PTR_safefree_000790f0)(puVar13);
    (*(code *)PTR_safefree_000790f0)(local_138);
    if (param_3 != (undefined4 *)0x0) {
      *param_3 = 0;
    }
    goto LAB_00042540;
  }
  (*(code *)PTR_safefree_000790f0)(piVar3);
  param_2 = PTR_s_j_000790a8 + 0x4200;
  goto LAB_00042ba4;
LAB_00042b88:
  (*(code *)PTR_fclose_0007988c)(piVar3);
  param_2 = PTR_s_j_000790a8 + 0x3ff8;
  local_13c = pcVar6;
LAB_00042ba4:
  piVar3 = (int *)0x0;
  (*(code *)PTR_safefree_000790f0)(local_13c);
  (*(code *)PTR_safefree_000790f0)(local_138);
  unaff_s5 = puVar10;
LAB_00042bc8:
  if (unaff_s8 != 0) {
    (*(code *)PTR_safefree_000790f0)(unaff_s8);
  }
  if (unaff_s5 != (undefined1 *)0x0) {
    (*(code *)PTR_smemclr_000790f4)(unaff_s5,local_10c);
    (*(code *)PTR_safefree_000790f0)(unaff_s5);
  }
  goto LAB_00042534;
}

