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

int __regparm3
loadrsakey_main(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase,char **error)

{
  int iVar1;
  char cVar2;
  size_t sVar3;
  int iVar4;
  size_t __n;
  char *pcVar5;
  char *pcVar6;
  int iVar7;
  uint uVar8;
  int in_GS_OFFSET;
  byte bVar9;
  MD5Context md5c;
  uchar keybuf [16];
  uchar buf [16384];
  
  bVar9 = 0;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  *error = (char *)0x0;
  sVar3 = fread(buf,1,0x4000,(FILE *)fp);
  fclose((FILE *)fp);
  if (((int)sVar3 < 0) || (sVar3 == 0x4000)) {
    uVar8 = 0;
    *error = "error reading file";
    goto LAB_00069162;
  }
  *error = "file format error";
  if ((1 < sVar3) && (buf[0] == '\0')) {
    if ((buf[1] == '\x03' || buf[1] == '\0') &&
       ((5 < (int)sVar3 &&
        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {
      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);
      if (-1 < iVar4) {
        __n = toint((uint)buf[iVar4 + 8] << 8 |
                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |
                    (uint)buf[iVar4 + 9]);
        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {
          pcVar5 = (char *)safemalloc(__n + 1,1);
          if (pcVar5 != (char *)0x0) {
            memcpy(pcVar5,buf + iVar4,__n);
            pcVar5[__n] = '\0';
          }
          if (commentptr != (char **)0x0) {
            pcVar6 = dupstr(pcVar5);
            *commentptr = pcVar6;
          }
          if (key == (RSAKey *)0x0) {
            safefree(pcVar5);
            if (pub_only == 0) {
              uVar8 = (uint)(buf[1] != '\0');
              *error = (char *)0x0;
              goto LAB_00069162;
            }
          }
          else {
            key->comment = pcVar5;
            if (pub_only == 0) {
              iVar4 = __n + iVar4;
              if (buf[1] != '\0') {
                MD5Init(&md5c);
                uVar8 = 0xffffffff;
                pcVar5 = passphrase;
                do {
                  if (uVar8 == 0) break;
                  uVar8 = uVar8 - 1;
                  cVar2 = *pcVar5;
                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;
                } while (cVar2 != '\0');
                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);
                MD5Final(keybuf,&md5c);
                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);
                smemclr(keybuf,0x10);
              }
              if (3 < (int)(sVar3 - iVar4)) {
                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {
                  uVar8 = 0xffffffff;
                  *error = "wrong passphrase";
                  goto LAB_00069162;
                }
                iVar4 = iVar4 + 4;
                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);
                if (-1 < iVar7) {
                  iVar4 = iVar4 + iVar7;
                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);
                  if (-1 < iVar7) {
                    iVar4 = iVar4 + iVar7;
                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);
                    if (-1 < iVar7) {
                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),
                                               (Bignum_conflict *)&key->p);
                      if (-1 < iVar4) {
                        iVar4 = rsa_verify(key);
                        if (iVar4 == 0) {
                          *error = "rsa_verify failed";
                          freersakey(key);
                          uVar8 = 0;
                          goto LAB_00069162;
                        }
                        goto LAB_000691a4;
                      }
                    }
                  }
                }
              }
              goto LAB_00069160;
            }
          }
LAB_000691a4:
          uVar8 = 1;
          goto LAB_00069162;
        }
      }
    }
  }
LAB_00069160:
  uVar8 = 0;
LAB_00069162:
  smemclr(buf,0x4000);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar8;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint __regparm3
FUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,
            undefined4 *param_6)

{
  char cVar1;
  size_t sVar2;
  int iVar3;
  size_t __n;
  void *__dest;
  undefined4 uVar4;
  undefined4 extraout_ECX;
  uint uVar5;
  char *pcVar6;
  int iVar7;
  int in_GS_OFFSET;
  byte bVar8;
  undefined8 uVar9;
  undefined1 local_408c [92];
  undefined1 local_4030 [16];
  char local_4020 [4];
  char local_401c;
  char local_401b;
  byte local_401a [16378];
  int local_20;
  undefined4 uStack_14;
  
  bVar8 = 0;
  uStack_14 = 0x68edb;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  *param_6 = 0;
  sVar2 = fread(local_4020,1,0x4000,param_1);
  fclose(param_1);
  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {
    uVar5 = 0;
    *param_6 = "error reading file";
    goto LAB_00069162;
  }
  *param_6 = "file format error";
  if ((1 < sVar2) && (local_4020[0] == '\0')) {
    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&
       ((5 < (int)sVar2 &&
        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&
         local_401b == '\0')))) {
      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);
      if (-1 < iVar3) {
        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |
                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |
                           (uint)local_401a[iVar3 + 3]);
        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {
          __dest = (void *)FUN_0001db90(__n + 1,1);
          if (__dest != (void *)0x0) {
            memcpy(__dest,local_4020 + iVar3,__n);
            *(undefined1 *)((int)__dest + __n) = 0;
          }
          if (param_4 != (undefined4 *)0x0) {
            uVar4 = FUN_0001cbd0(__dest);
            *param_4 = uVar4;
          }
          if (param_2 == 0) {
            FUN_0001dd30(__dest);
            if (param_3 == 0) {
              uVar5 = (uint)(local_4020[1] != '\0');
              *param_6 = 0;
              goto LAB_00069162;
            }
          }
          else {
            *(void **)(param_2 + 0x20) = __dest;
            if (param_3 == 0) {
              iVar3 = __n + iVar3;
              if (local_4020[1] != '\0') {
                FUN_00067a80(local_408c);
                uVar5 = 0xffffffff;
                pcVar6 = param_5;
                do {
                  if (uVar5 == 0) break;
                  uVar5 = uVar5 - 1;
                  cVar1 = *pcVar6;
                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;
                } while (cVar1 != '\0');
                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);
                FUN_00067b20(local_4030,local_408c);
                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);
                FUN_0001de10(local_4030,0x10);
              }
              if (3 < (int)(sVar2 - iVar3)) {
                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||
                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {
                  uVar5 = 0xffffffff;
                  *param_6 = "wrong passphrase";
                  goto LAB_00069162;
                }
                iVar7 = iVar3 + 4;
                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]
                                    );
                if (-1 < iVar3) {
                  iVar7 = iVar7 + iVar3;
                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)
                  ;
                  if (-1 < (int)uVar9) {
                    iVar7 = iVar7 + (int)uVar9;
                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,
                                         (int)((ulonglong)uVar9 >> 0x20));
                    if (-1 < iVar3) {
                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),
                                           param_2 + 0x14,iVar3);
                      if (-1 < iVar3) {
                        iVar3 = FUN_0006fc10(param_2);
                        if (iVar3 == 0) {
                          *param_6 = "rsa_verify failed";
                          FUN_0006fda0(param_2);
                          uVar5 = 0;
                          goto LAB_00069162;
                        }
                        goto LAB_000691a4;
                      }
                    }
                  }
                }
              }
              goto LAB_00069160;
            }
          }
LAB_000691a4:
          uVar5 = 1;
          goto LAB_00069162;
        }
      }
    }
  }
LAB_00069160:
  uVar5 = 0;
LAB_00069162:
  FUN_0001de10(local_4020,0x4000);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0x63e95
SUB ESP,0x40ac
MOV EAX,dword ptr [ESP + 0x40c0]
MOV dword ptr [ESP + 0x10],EDX
MOV dword ptr [ESP + 0x18],ECX
MOV EDX,dword ptr [ESP + 0x40c8]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x40c4]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x409c],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [EDX],0x0
PUSH EDI
PUSH 0x4000
PUSH 0x1
LEA EBP,[ESP + 0xa8]
PUSH EBP
CALL 0x000142e0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00014160
ADD ESP,0x10
TEST ESI,ESI
MOV EDX,dword ptr [ESP + 0xc]
JS 0x00069198
CMP ESI,0x4000
JZ 0x00069198
LEA EAX,[EBX + 0xfffce814]
MOV dword ptr [EDX],EAX
CMP ESI,0x1
JBE 0x00069160
CMP byte ptr [ESP + 0x9c],0x0
MOV dword ptr [ESP + 0xc],EDX
JNZ 0x00069160
MOVZX EDI,byte ptr [ESP + 0x9d]
TEST EDI,EDI
SETNZ CL
CMP EDI,0x3
SETNZ AL
MOV byte ptr [ESP + 0x20],CL
TEST AL,CL
JNZ 0x00069160
CMP ESI,0x5
JLE 0x00069160
MOVZX EAX,byte ptr [ESP + 0x9e]
OR AL,byte ptr [ESP + 0x9f]
OR AL,byte ptr [ESP + 0xa0]
OR AL,byte ptr [ESP + 0xa1]
JNZ 0x00069160
SUB ESP,0xc
LEA EAX,[ESI + -0x6]
PUSH 0x1
PUSH 0x0
PUSH dword ptr [ESP + 0x24]
PUSH EAX
LEA EAX,[ESP + 0xbe]
PUSH EAX
CALL 0x0006ece0
ADD ESP,0x20
MOV ECX,EAX
TEST EAX,EAX
JS 0x00069160
MOVZX EAX,byte ptr [ESP + EAX*0x1 + 0xa2]
MOV dword ptr [ESP + 0x24],ECX
SUB ESP,0xc
SHL EAX,0x18
MOV EDX,EAX
MOVZX EAX,byte ptr [ESP + ECX*0x1 + 0xaf]
SHL EAX,0x10
OR EAX,EDX
MOVZX EDX,byte ptr [ESP + ECX*0x1 + 0xb1]
OR EAX,EDX
MOV EDX,EAX
MOVZX EAX,byte ptr [ESP + ECX*0x1 + 0xb0]
SHL EAX,0x8
OR EAX,EDX
PUSH EAX
CALL 0x0001ce40
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JS 0x00069160
MOV ECX,dword ptr [ESP + 0x24]
MOV EAX,ESI
ADD ECX,0xa
SUB EAX,ECX
MOV dword ptr [ESP + 0x28],ECX
CMP EAX,EDX
JL 0x00069160
SUB ESP,0x8
LEA EAX,[EDX + 0x1]
PUSH 0x1
MOV dword ptr [ESP + 0x38],EDX
PUSH EAX
CALL 0x0001db90
ADD ESP,0x10
MOVZX ECX,byte ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0xc]
TEST EAX,EAX
MOV dword ptr [ESP + 0x24],EAX
JZ 0x000690b9
MOV byte ptr [ESP + 0xc],CL
MOV ECX,dword ptr [ESP + 0x28]
SUB ESP,0x4
MOV dword ptr [ESP + 0x24],EDX
LEA EAX,[EBP + ECX*0x1]
PUSH dword ptr [ESP + 0x30]
PUSH EAX
PUSH dword ptr [ESP + 0x30]
CALL 0x00014130
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x3c]
ADD ESP,0x10
MOVZX ECX,byte ptr [ESP + 0xc]
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EDX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x000690e7
MOV dword ptr [ESP + 0x20],EDX
SUB ESP,0xc
MOV byte ptr [ESP + 0x18],CL
PUSH dword ptr [ESP + 0x30]
CALL 0x0001cbd0
MOV ECX,dword ptr [ESP + 0x24]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [ECX],EAX
MOVZX ECX,byte ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00069225
MOV ECX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0x20],ECX
MOV EAX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JNZ 0x000691a4
MOV EAX,dword ptr [ESP + 0x2c]
MOV ECX,ESI
ADD EAX,dword ptr [ESP + 0x28]
SUB ECX,EAX
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x14],ECX
TEST EDI,EDI
JNZ 0x000691ab
CMP dword ptr [ESP + 0x14],0x3
JLE 0x00069160
MOV ECX,dword ptr [ESP + 0xc]
MOVZX EAX,byte ptr [ESP + ECX*0x1 + 0x9e]
CMP byte ptr [ESP + ECX*0x1 + 0x9c],AL
JNZ 0x00069153
MOVZX EAX,byte ptr [ESP + ECX*0x1 + 0x9f]
CMP byte ptr [ESP + ECX*0x1 + 0x9d],AL
JZ 0x00069260
LEA EAX,[EBX + 0xfffce826]
OR ESI,0xffffffff
MOV dword ptr [EDX],EAX
JMP 0x00069162
XOR ESI,ESI
SUB ESP,0x8
PUSH 0x4000
PUSH EBP
CALL 0x0001de10
ADD ESP,0x10
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x409c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0006925b
ADD ESP,0x40ac
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffce801]
XOR ESI,ESI
MOV dword ptr [EDX],EAX
JMP 0x00069162
MOV ESI,0x1
JMP 0x00069162
MOV dword ptr [ESP + 0x20],EDX
SUB ESP,0xc
LEA EAX,[ESP + 0x3c]
MOV dword ptr [ESP + 0x24],EAX
PUSH EAX
CALL 0x00067a80
MOV EDI,dword ptr [ESP + 0x2c]
XOR EAX,EAX
OR ECX,0xffffffff
ADD ESP,0xc
SCASB.REPNE ES:EDI
NOT ECX
MOV EAX,ECX
SUB EAX,0x1
PUSH EAX
PUSH dword ptr [ESP + 0x24]
MOV EDI,dword ptr [ESP + 0x24]
PUSH EDI
CALL 0x00067ac0
POP EAX
POP EDX
PUSH EDI
LEA EDI,[ESP + 0x98]
PUSH EDI
CALL 0x00067b20
ADD ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
ADD EAX,0x7
AND EAX,0xfffffff8
PUSH EAX
MOV EAX,dword ptr [ESP + 0x14]
ADD EAX,EBP
PUSH EAX
PUSH EDI
CALL 0x0005e220
POP ECX
POP EAX
PUSH 0x10
PUSH EDI
CALL 0x0001de10
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
JMP 0x00069122
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0xc
MOV byte ptr [ESP + 0x18],CL
PUSH dword ptr [ESP + 0x30]
CALL 0x0001dd30
ADD ESP,0x10
CMP dword ptr [ESP + 0x18],0x0
JNZ 0x000691a4
MOV EDX,dword ptr [ESP + 0x10]
MOVZX ESI,byte ptr [ESP + 0xc]
MOV dword ptr [EDX],0x0
JMP 0x00069162
CALL 0x0008d800
MOV EDI,dword ptr [ESP + 0xc]
MOV ECX,ESI
MOV dword ptr [ESP + 0x14],EDX
PUSH EAX
ADD EDI,0x4
PUSH dword ptr [ESP + 0x14]
SUB ECX,EDI
LEA EAX,[EBP + EDI*0x1]
PUSH ECX
PUSH EAX
CALL 0x0006ee50
ADD ESP,0x10
TEST EAX,EAX
JS 0x00069160
ADD EDI,EAX
PUSH ECX
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,ESI
SUB ECX,EDI
ADD EAX,0x1c
PUSH EAX
LEA EAX,[EBP + EDI*0x1]
PUSH ECX
PUSH EAX
CALL 0x000567c0
ADD ESP,0x10
TEST EAX,EAX
JS 0x00069160
ADD EDI,EAX
PUSH EDX
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,ESI
SUB ECX,EDI
ADD EAX,0x18
PUSH EAX
LEA EAX,[EBP + EDI*0x1]
PUSH ECX
PUSH EAX
CALL 0x000567c0
ADD ESP,0x10
TEST EAX,EAX
JS 0x00069160
ADD EDI,EAX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x14]
SUB ESI,EDI
ADD EDI,EBP
ADD EAX,0x14
PUSH EAX
PUSH ESI
PUSH EDI
CALL 0x000567c0
ADD ESP,0x10
TEST EAX,EAX
JS 0x00069160
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x0006fc10
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x14]
TEST EAX,EAX
MOV ESI,EAX
JNZ 0x000691a4
SUB ESP,0xc
LEA EAX,[EBX + 0xfffce837]
MOV dword ptr [EDX],EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x0006fda0
ADD ESP,0x10
JMP 0x00069162
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint __regparm3\nFUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)\n\n{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}\n\n" comment (function_definition "uint __regparm3\nFUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)\n\n{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)" identifier (parameter_list "(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "undefined1 local_408c [92];" type_identifier (array_declarator "local_408c [92]" identifier [ number_literal ]) ;) (declaration "undefined1 local_4030 [16];" type_identifier (array_declarator "local_4030 [16]" identifier [ number_literal ]) ;) (declaration "char local_4020 [4];" primitive_type (array_declarator "local_4020 [4]" identifier [ number_literal ]) ;) (declaration "char local_401c;" primitive_type identifier ;) (declaration "char local_401b;" primitive_type identifier ;) (declaration "byte local_401a [16378];" type_identifier (array_declarator "local_401a [16378]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x68edb;" (assignment_expression "uStack_14 = 0x68edb" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (expression_statement "sVar2 = fread(local_4020,1,0x4000,param_1);" (assignment_expression "sVar2 = fread(local_4020,1,0x4000,param_1)" identifier = (call_expression "fread(local_4020,1,0x4000,param_1)" identifier (argument_list "(local_4020,1,0x4000,param_1)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "fclose(param_1);" (call_expression "fclose(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }" if (parenthesized_expression "(((int)sVar2 < 0) || (sVar2 == 0x4000))" ( (binary_expression "((int)sVar2 < 0) || (sVar2 == 0x4000)" (parenthesized_expression "((int)sVar2 < 0)" ( (binary_expression "(int)sVar2 < 0" (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(sVar2 == 0x4000)" ( (binary_expression "sVar2 == 0x4000" identifier == number_literal) ))) )) (compound_statement "{\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "*param_6 = "error reading file";" (assignment_expression "*param_6 = "error reading file"" (pointer_expression "*param_6" * identifier) = (string_literal ""error reading file"" " string_content ")) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (expression_statement "*param_6 = "file format error";" (assignment_expression "*param_6 = "file format error"" (pointer_expression "*param_6" * identifier) = (string_literal ""file format error"" " string_content ")) ;) (if_statement "if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((1 < sVar2) && (local_4020[0] == '\0'))" ( (binary_expression "(1 < sVar2) && (local_4020[0] == '\0')" (parenthesized_expression "(1 < sVar2)" ( (binary_expression "1 < sVar2" number_literal < identifier) )) && (parenthesized_expression "(local_4020[0] == '\0')" ( (binary_expression "local_4020[0] == '\0'" (subscript_expression "local_4020[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" { (if_statement "if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" if (parenthesized_expression "((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'))))" ( (binary_expression "(local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))" (parenthesized_expression "(local_4020[1] == '\x03' || local_4020[1] == '\0')" ( (binary_expression "local_4020[1] == '\x03' || local_4020[1] == '\0'" (binary_expression "local_4020[1] == '\x03'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) == (char_literal "'\x03'" ' escape_sequence ')) || (binary_expression "local_4020[1] == '\0'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (parenthesized_expression "((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))" ( (parenthesized_expression "(5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'))" ( (binary_expression "5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')" (binary_expression "5 < (int)sVar2" number_literal < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) && (parenthesized_expression "(((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')" ( (binary_expression "((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'" (parenthesized_expression "((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0')" ( (binary_expression "(local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0'" (parenthesized_expression "(local_4020[2] == '\0' && local_4020[3] == '\0')" ( (binary_expression "local_4020[2] == '\0' && local_4020[3] == '\0'" (binary_expression "local_4020[2] == '\0'" (subscript_expression "local_4020[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (binary_expression "local_4020[3] == '\0'" (subscript_expression "local_4020[3]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "local_401c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "local_401b == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" { (expression_statement "iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);" (assignment_expression "iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1)" identifier = (call_expression "FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1)" identifier (argument_list "(local_401a,sVar2 - 6,param_2,0,1)" ( identifier , (binary_expression "sVar2 - 6" identifier - number_literal) , identifier , number_literal , number_literal )))) ;) (if_statement "if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }" { (expression_statement "__n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);" (assignment_expression "__n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" identifier = (call_expression "FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" identifier (argument_list "((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" ( (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]" (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18" (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10" (binary_expression "(uint)local_401a[iVar3 + 2] << 8" (cast_expression "(uint)local_401a[iVar3 + 2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3 + 2]" identifier [ (binary_expression "iVar3 + 2" identifier + number_literal) ])) << number_literal) | (binary_expression "(uint)local_401a[iVar3 + 1] << 0x10" (cast_expression "(uint)local_401a[iVar3 + 1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ])) << number_literal)) | (binary_expression "(uint)local_401a[iVar3] << 0x18" (cast_expression "(uint)local_401a[iVar3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3]" identifier [ identifier ])) << number_literal)) | (cast_expression "(uint)local_401a[iVar3 + 3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3 + 3]" identifier [ (binary_expression "iVar3 + 3" identifier + number_literal) ]))) )))) ;) (if_statement "if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }" if (parenthesized_expression "((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3)))" ( (binary_expression "(-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))" (parenthesized_expression "(-1 < (int)__n)" ( (binary_expression "-1 < (int)__n" number_literal < (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))" ( (comma_expression "iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3)" (assignment_expression "iVar3 = iVar3 + 10" identifier = (binary_expression "iVar3 + 10" identifier + number_literal)) , (binary_expression "(int)__n <= (int)(sVar2 - iVar3)" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(sVar2 - iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar2 - iVar3)" ( (binary_expression "sVar2 - iVar3" identifier - identifier) ))))) ))) )) (compound_statement "{\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }" { (expression_statement "__dest = (void *)FUN_0001db90(__n + 1,1);" (assignment_expression "__dest = (void *)FUN_0001db90(__n + 1,1)" identifier = (cast_expression "(void *)FUN_0001db90(__n + 1,1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db90(__n + 1,1)" identifier (argument_list "(__n + 1,1)" ( (binary_expression "__n + 1" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }" if (parenthesized_expression "(__dest != (void *)0x0)" ( (binary_expression "__dest != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }" { (expression_statement "memcpy(__dest,local_4020 + iVar3,__n);" (call_expression "memcpy(__dest,local_4020 + iVar3,__n)" identifier (argument_list "(__dest,local_4020 + iVar3,__n)" ( identifier , (binary_expression "local_4020 + iVar3" identifier + identifier) , identifier ))) ;) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" * (cast_expression "(undefined1 *)((int)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) })) (if_statement "if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }" if (parenthesized_expression "(param_4 != (undefined4 *)0x0)" ( (binary_expression "param_4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }" { (expression_statement "uVar4 = FUN_0001cbd0(__dest);" (assignment_expression "uVar4 = FUN_0001cbd0(__dest)" identifier = (call_expression "FUN_0001cbd0(__dest)" identifier (argument_list "(__dest)" ( identifier )))) ;) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" * identifier) = identifier) ;) })) (if_statement "if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }" { (expression_statement "FUN_0001dd30(__dest);" (call_expression "FUN_0001dd30(__dest)" identifier (argument_list "(__dest)" ( identifier ))) ;) (if_statement "if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }" { (expression_statement "uVar5 = (uint)(local_4020[1] != '\0');" (assignment_expression "uVar5 = (uint)(local_4020[1] != '\0')" identifier = (call_expression "(uint)(local_4020[1] != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_4020[1] != '\0')" ( (binary_expression "local_4020[1] != '\0'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) }) (else_clause "else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" else (compound_statement "{\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" { (expression_statement "*(void **)(param_2 + 0x20) = __dest;" (assignment_expression "*(void **)(param_2 + 0x20) = __dest" (pointer_expression "*(void **)(param_2 + 0x20)" * (cast_expression "(void **)(param_2 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" { (expression_statement "iVar3 = __n + iVar3;" (assignment_expression "iVar3 = __n + iVar3" identifier = (binary_expression "__n + iVar3" identifier + identifier)) ;) (if_statement "if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }" if (parenthesized_expression "(local_4020[1] != '\0')" ( (binary_expression "local_4020[1] != '\0'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }" { (expression_statement "FUN_00067a80(local_408c);" (call_expression "FUN_00067a80(local_408c)" identifier (argument_list "(local_408c)" ( identifier ))) ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar6 = param_5;" (assignment_expression "pcVar6 = param_5" identifier = identifier) ;) (do_statement "do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');" do (compound_statement "{\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                }" { (if_statement "if (uVar5 == 0) break;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (expression_statement "pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;" (assignment_expression "pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "pcVar6 + (uint)bVar8 * -2 + 1" (binary_expression "pcVar6 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "FUN_00067ac0(local_408c,param_5,~uVar5 - 1);" (call_expression "FUN_00067ac0(local_408c,param_5,~uVar5 - 1)" identifier (argument_list "(local_408c,param_5,~uVar5 - 1)" ( identifier , identifier , (binary_expression "~uVar5 - 1" (unary_expression "~uVar5" ~ identifier) - number_literal) ))) ;) (expression_statement "FUN_00067b20(local_4030,local_408c);" (call_expression "FUN_00067b20(local_4030,local_408c)" identifier (argument_list "(local_4030,local_408c)" ( identifier , identifier ))) ;) (expression_statement "FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);" (call_expression "FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8)" identifier (argument_list "(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8)" ( identifier , (binary_expression "local_4020 + iVar3" identifier + identifier) , (binary_expression "(sVar2 - iVar3) + 7 & 0xfffffff8" (binary_expression "(sVar2 - iVar3) + 7" (parenthesized_expression "(sVar2 - iVar3)" ( (binary_expression "sVar2 - iVar3" identifier - identifier) )) + number_literal) & number_literal) ))) ;) (expression_statement "FUN_0001de10(local_4030,0x10);" (call_expression "FUN_0001de10(local_4030,0x10)" identifier (argument_list "(local_4030,0x10)" ( identifier , number_literal ))) ;) })) (if_statement "if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" if (parenthesized_expression "(3 < (int)(sVar2 - iVar3))" ( (binary_expression "3 < (int)(sVar2 - iVar3)" number_literal < (cast_expression "(int)(sVar2 - iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar2 - iVar3)" ( (binary_expression "sVar2 - iVar3" identifier - identifier) )))) )) (compound_statement "{\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" { (if_statement "if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }" if (parenthesized_expression "((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3]))" ( (binary_expression "(local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])" (parenthesized_expression "(local_401a[iVar3 + -6] != local_401a[iVar3 + -4])" ( (binary_expression "local_401a[iVar3 + -6] != local_401a[iVar3 + -4]" (subscript_expression "local_401a[iVar3 + -6]" identifier [ (binary_expression "iVar3 + -6" identifier + number_literal) ]) != (subscript_expression "local_401a[iVar3 + -4]" identifier [ (binary_expression "iVar3 + -4" identifier + number_literal) ])) )) || (parenthesized_expression "(local_401a[iVar3 + -5] != local_401a[iVar3 + -3])" ( (binary_expression "local_401a[iVar3 + -5] != local_401a[iVar3 + -3]" (subscript_expression "local_401a[iVar3 + -5]" identifier [ (binary_expression "iVar3 + -5" identifier + number_literal) ]) != (subscript_expression "local_401a[iVar3 + -3]" identifier [ (binary_expression "iVar3 + -3" identifier + number_literal) ])) ))) )) (compound_statement "{\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "*param_6 = "wrong passphrase";" (assignment_expression "*param_6 = "wrong passphrase"" (pointer_expression "*param_6" * identifier) = (string_literal ""wrong passphrase"" " string_content ")) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (expression_statement "iVar7 = iVar3 + 4;" (assignment_expression "iVar7 = iVar3 + 4" identifier = (binary_expression "iVar3 + 4" identifier + number_literal)) ;) (expression_statement "iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );" (assignment_expression "iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" identifier = (call_expression "FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" identifier (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" ( (binary_expression "local_4020 + iVar7" identifier + identifier) , (binary_expression "sVar2 - iVar7" identifier - identifier) , identifier , (subscript_expression "local_401a[iVar3 + -3]" identifier [ (binary_expression "iVar3 + -3" identifier + number_literal) ]) )))) ;) (if_statement "if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" { (expression_statement "iVar7 = iVar7 + iVar3;" (assignment_expression "iVar7 = iVar7 + iVar3" identifier = (binary_expression "iVar7 + iVar3" identifier + identifier)) ;) (expression_statement "uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;" (assignment_expression "uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" identifier = (call_expression "FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" identifier (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" ( (binary_expression "local_4020 + iVar7" identifier + identifier) , (binary_expression "sVar2 - iVar7" identifier - identifier) , (binary_expression "param_2 + 0x1c" identifier + number_literal) , identifier )))) ;) (if_statement "if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" { (expression_statement "iVar7 = iVar7 + (int)uVar9;" (assignment_expression "iVar7 = iVar7 + (int)uVar9" identifier = (binary_expression "iVar7 + (int)uVar9" identifier + (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));" (assignment_expression "iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" identifier = (call_expression "FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" identifier (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" ( (binary_expression "local_4020 + iVar7" identifier + identifier) , (binary_expression "sVar2 - iVar7" identifier - identifier) , (binary_expression "param_2 + 0x18" identifier + number_literal) , (cast_expression "(int)((ulonglong)uVar9 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar9 >> 0x20)" ( (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) )))) ;) (if_statement "if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" { (expression_statement "iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);" (assignment_expression "iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" identifier = (call_expression "FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" identifier (argument_list "(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" ( (binary_expression "local_4020 + iVar7 + iVar3" (binary_expression "local_4020 + iVar7" identifier + identifier) + identifier) , (binary_expression "sVar2 - (iVar7 + iVar3)" identifier - (parenthesized_expression "(iVar7 + iVar3)" ( (binary_expression "iVar7 + iVar3" identifier + identifier) ))) , (binary_expression "param_2 + 0x14" identifier + number_literal) , identifier )))) ;) (if_statement "if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" { (expression_statement "iVar3 = FUN_0006fc10(param_2);" (assignment_expression "iVar3 = FUN_0006fc10(param_2)" identifier = (call_expression "FUN_0006fc10(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }" { (expression_statement "*param_6 = "rsa_verify failed";" (assignment_expression "*param_6 = "rsa_verify failed"" (pointer_expression "*param_6" * identifier) = (string_literal ""rsa_verify failed"" " string_content ")) ;) (expression_statement "FUN_0006fda0(param_2);" (call_expression "FUN_0006fda0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (goto_statement "goto LAB_000691a4;" goto statement_identifier ;) })) })) })) })) })) (goto_statement "goto LAB_00069160;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_000691a4:\n          uVar5 = 1;" statement_identifier : (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;)) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) })) })) })) (labeled_statement "LAB_00069160:\n  uVar5 = 0;" statement_identifier : (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00069162:\n  FUN_0001de10(local_4020,0x4000);" statement_identifier : (expression_statement "FUN_0001de10(local_4020,0x4000);" (call_expression "FUN_0001de10(local_4020,0x4000)" identifier (argument_list "(local_4020,0x4000)" ( identifier , number_literal ))) ;)) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) })) comment (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3\nloadrsakey_main(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase,char **error)\n\n{\n  int iVar1;\n  char cVar2;\n  size_t sVar3;\n  int iVar4;\n  size_t __n;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  MD5Context md5c;\n  uchar keybuf [16];\n  uchar buf [16384];\n  \n  bVar9 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  *error = (char *)0x0;\n  sVar3 = fread(buf,1,0x4000,(FILE *)fp);\n  fclose((FILE *)fp);\n  if (((int)sVar3 < 0) || (sVar3 == 0x4000)) {\n    uVar8 = 0;\n    *error = "error reading file";\n    goto LAB_00069162;\n  }\n  *error = "file format error";\n  if ((1 < sVar3) && (buf[0] == '\0')) {\n    if ((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar8 = 0;\nLAB_00069162:\n  smemclr(buf,0x4000);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int __regparm3\nloadrsakey_main(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase,char **error)\n\n{\n  int iVar1;\n  char cVar2;\n  size_t sVar3;\n  int iVar4;\n  size_t __n;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  MD5Context md5c;\n  uchar keybuf [16];\n  uchar buf [16384];\n  \n  bVar9 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  *error = (char *)0x0;\n  sVar3 = fread(buf,1,0x4000,(FILE *)fp);\n  fclose((FILE *)fp);\n  if (((int)sVar3 < 0) || (sVar3 == 0x4000)) {\n    uVar8 = 0;\n    *error = "error reading file";\n    goto LAB_00069162;\n  }\n  *error = "file format error";\n  if ((1 < sVar3) && (buf[0] == '\0')) {\n    if ((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar8 = 0;\nLAB_00069162:\n  smemclr(buf,0x4000);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "loadrsakey_main(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase,char **error)" identifier (parameter_list "(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase,char **error)" ( (parameter_declaration "FILE *fp" type_identifier (pointer_declarator "*fp" * identifier)) , (parameter_declaration "RSAKey *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "int pub_only" primitive_type identifier) , (parameter_declaration "char **commentptr" primitive_type (pointer_declarator "**commentptr" * (pointer_declarator "*commentptr" * identifier))) , (parameter_declaration "char *passphrase" primitive_type (pointer_declarator "*passphrase" * identifier)) , (parameter_declaration "char **error" primitive_type (pointer_declarator "**error" * (pointer_declarator "*error" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  size_t sVar3;\n  int iVar4;\n  size_t __n;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  MD5Context md5c;\n  uchar keybuf [16];\n  uchar buf [16384];\n  \n  bVar9 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  *error = (char *)0x0;\n  sVar3 = fread(buf,1,0x4000,(FILE *)fp);\n  fclose((FILE *)fp);\n  if (((int)sVar3 < 0) || (sVar3 == 0x4000)) {\n    uVar8 = 0;\n    *error = "error reading file";\n    goto LAB_00069162;\n  }\n  *error = "file format error";\n  if ((1 < sVar3) && (buf[0] == '\0')) {\n    if ((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar8 = 0;\nLAB_00069162:\n  smemclr(buf,0x4000);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "MD5Context md5c;" type_identifier identifier ;) (declaration "uchar keybuf [16];" type_identifier (array_declarator "keybuf [16]" identifier [ number_literal ]) ;) (declaration "uchar buf [16384];" type_identifier (array_declarator "buf [16384]" identifier [ number_literal ]) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*error = (char *)0x0;" (assignment_expression "*error = (char *)0x0" (pointer_expression "*error" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "sVar3 = fread(buf,1,0x4000,(FILE *)fp);" (assignment_expression "sVar3 = fread(buf,1,0x4000,(FILE *)fp)" identifier = (call_expression "fread(buf,1,0x4000,(FILE *)fp)" identifier (argument_list "(buf,1,0x4000,(FILE *)fp)" ( identifier , number_literal , number_literal , (cast_expression "(FILE *)fp" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "fclose((FILE *)fp);" (call_expression "fclose((FILE *)fp)" identifier (argument_list "((FILE *)fp)" ( (cast_expression "(FILE *)fp" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (((int)sVar3 < 0) || (sVar3 == 0x4000)) {\n    uVar8 = 0;\n    *error = "error reading file";\n    goto LAB_00069162;\n  }" if (parenthesized_expression "(((int)sVar3 < 0) || (sVar3 == 0x4000))" ( (binary_expression "((int)sVar3 < 0) || (sVar3 == 0x4000)" (parenthesized_expression "((int)sVar3 < 0)" ( (binary_expression "(int)sVar3 < 0" (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(sVar3 == 0x4000)" ( (binary_expression "sVar3 == 0x4000" identifier == number_literal) ))) )) (compound_statement "{\n    uVar8 = 0;\n    *error = "error reading file";\n    goto LAB_00069162;\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "*error = "error reading file";" (assignment_expression "*error = "error reading file"" (pointer_expression "*error" * identifier) = (string_literal ""error reading file"" " string_content ")) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (expression_statement "*error = "file format error";" (assignment_expression "*error = "file format error"" (pointer_expression "*error" * identifier) = (string_literal ""file format error"" " string_content ")) ;) (if_statement "if ((1 < sVar3) && (buf[0] == '\0')) {\n    if ((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((1 < sVar3) && (buf[0] == '\0'))" ( (binary_expression "(1 < sVar3) && (buf[0] == '\0')" (parenthesized_expression "(1 < sVar3)" ( (binary_expression "1 < sVar3" number_literal < identifier) )) && (parenthesized_expression "(buf[0] == '\0')" ( (binary_expression "buf[0] == '\0'" (subscript_expression "buf[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if ((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" { (if_statement "if ((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))) {\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" if (parenthesized_expression "((buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0'))))" ( (binary_expression "(buf[1] == '\x03' || buf[1] == '\0') &&\n       ((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))" (parenthesized_expression "(buf[1] == '\x03' || buf[1] == '\0')" ( (binary_expression "buf[1] == '\x03' || buf[1] == '\0'" (binary_expression "buf[1] == '\x03'" (subscript_expression "buf[1]" identifier [ number_literal ]) == (char_literal "'\x03'" ' escape_sequence ')) || (binary_expression "buf[1] == '\0'" (subscript_expression "buf[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (parenthesized_expression "((5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')))" ( (parenthesized_expression "(5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0'))" ( (binary_expression "5 < (int)sVar3 &&\n        (((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')" (binary_expression "5 < (int)sVar3" number_literal < (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier)) && (parenthesized_expression "(((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0')" ( (binary_expression "((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0') && buf[5] == '\0'" (parenthesized_expression "((buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0')" ( (binary_expression "(buf[2] == '\0' && buf[3] == '\0') && buf[4] == '\0'" (parenthesized_expression "(buf[2] == '\0' && buf[3] == '\0')" ( (binary_expression "buf[2] == '\0' && buf[3] == '\0'" (binary_expression "buf[2] == '\0'" (subscript_expression "buf[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (binary_expression "buf[3] == '\0'" (subscript_expression "buf[3]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "buf[4] == '\0'" (subscript_expression "buf[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "buf[5] == '\0'" (subscript_expression "buf[5]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n      iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);\n      if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" { (expression_statement "iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1);" (assignment_expression "iVar4 = makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1)" identifier = (call_expression "makekey(buf + 6,sVar3 - 6,key,(uchar **)0x0,1)" identifier (argument_list "(buf + 6,sVar3 - 6,key,(uchar **)0x0,1)" ( (binary_expression "buf + 6" identifier + number_literal) , (binary_expression "sVar3 - 6" identifier - number_literal) , identifier , (cast_expression "(uchar **)0x0" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (if_statement "if (-1 < iVar4) {\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n        __n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);\n        if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }\n      }" { (expression_statement "__n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]);" (assignment_expression "__n = toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9])" identifier = (call_expression "toint((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9])" identifier (argument_list "((uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9])" ( (binary_expression "(uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18 |\n                    (uint)buf[iVar4 + 9]" (binary_expression "(uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10 | (uint)buf[iVar4 + 6] << 0x18" (binary_expression "(uint)buf[iVar4 + 8] << 8 |\n                    (uint)buf[iVar4 + 7] << 0x10" (binary_expression "(uint)buf[iVar4 + 8] << 8" (cast_expression "(uint)buf[iVar4 + 8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[iVar4 + 8]" identifier [ (binary_expression "iVar4 + 8" identifier + number_literal) ])) << number_literal) | (binary_expression "(uint)buf[iVar4 + 7] << 0x10" (cast_expression "(uint)buf[iVar4 + 7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[iVar4 + 7]" identifier [ (binary_expression "iVar4 + 7" identifier + number_literal) ])) << number_literal)) | (binary_expression "(uint)buf[iVar4 + 6] << 0x18" (cast_expression "(uint)buf[iVar4 + 6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[iVar4 + 6]" identifier [ (binary_expression "iVar4 + 6" identifier + number_literal) ])) << number_literal)) | (cast_expression "(uint)buf[iVar4 + 9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[iVar4 + 9]" identifier [ (binary_expression "iVar4 + 9" identifier + number_literal) ]))) )))) ;) (if_statement "if ((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))) {\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }" if (parenthesized_expression "((-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4)))" ( (binary_expression "(-1 < (int)__n) && (iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))" (parenthesized_expression "(-1 < (int)__n)" ( (binary_expression "-1 < (int)__n" number_literal < (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4))" ( (comma_expression "iVar4 = iVar4 + 10, (int)__n <= (int)(sVar3 - iVar4)" (assignment_expression "iVar4 = iVar4 + 10" identifier = (binary_expression "iVar4 + 10" identifier + number_literal)) , (binary_expression "(int)__n <= (int)(sVar3 - iVar4)" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(sVar3 - iVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar3 - iVar4)" ( (binary_expression "sVar3 - iVar4" identifier - identifier) ))))) ))) )) (compound_statement "{\n          pcVar5 = (char *)safemalloc(__n + 1,1);\n          if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }\n          if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }\n          if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar8 = 1;\n          goto LAB_00069162;\n        }" { (expression_statement "pcVar5 = (char *)safemalloc(__n + 1,1);" (assignment_expression "pcVar5 = (char *)safemalloc(__n + 1,1)" identifier = (cast_expression "(char *)safemalloc(__n + 1,1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(__n + 1,1)" identifier (argument_list "(__n + 1,1)" ( (binary_expression "__n + 1" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (pcVar5 != (char *)0x0) {\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            memcpy(pcVar5,buf + iVar4,__n);\n            pcVar5[__n] = '\0';\n          }" { (expression_statement "memcpy(pcVar5,buf + iVar4,__n);" (call_expression "memcpy(pcVar5,buf + iVar4,__n)" identifier (argument_list "(pcVar5,buf + iVar4,__n)" ( identifier , (binary_expression "buf + iVar4" identifier + identifier) , identifier ))) ;) (expression_statement "pcVar5[__n] = '\0';" (assignment_expression "pcVar5[__n] = '\0'" (subscript_expression "pcVar5[__n]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (if_statement "if (commentptr != (char **)0x0) {\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }" if (parenthesized_expression "(commentptr != (char **)0x0)" ( (binary_expression "commentptr != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n            pcVar6 = dupstr(pcVar5);\n            *commentptr = pcVar6;\n          }" { (expression_statement "pcVar6 = dupstr(pcVar5);" (assignment_expression "pcVar6 = dupstr(pcVar5)" identifier = (call_expression "dupstr(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "*commentptr = pcVar6;" (assignment_expression "*commentptr = pcVar6" (pointer_expression "*commentptr" * identifier) = identifier) ;) })) (if_statement "if (key == (RSAKey *)0x0) {\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" if (parenthesized_expression "(key == (RSAKey *)0x0)" ( (binary_expression "key == (RSAKey *)0x0" identifier == (cast_expression "(RSAKey *)0x0" ( (type_descriptor "RSAKey *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            safefree(pcVar5);\n            if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }\n          }" { (expression_statement "safefree(pcVar5);" (call_expression "safefree(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (if_statement "if (pub_only == 0) {\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }" if (parenthesized_expression "(pub_only == 0)" ( (binary_expression "pub_only == 0" identifier == number_literal) )) (compound_statement "{\n              uVar8 = (uint)(buf[1] != '\0');\n              *error = (char *)0x0;\n              goto LAB_00069162;\n            }" { (expression_statement "uVar8 = (uint)(buf[1] != '\0');" (assignment_expression "uVar8 = (uint)(buf[1] != '\0')" identifier = (call_expression "(uint)(buf[1] != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(buf[1] != '\0')" ( (binary_expression "buf[1] != '\0'" (subscript_expression "buf[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (expression_statement "*error = (char *)0x0;" (assignment_expression "*error = (char *)0x0" (pointer_expression "*error" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) }) (else_clause "else {\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" else (compound_statement "{\n            key->comment = pcVar5;\n            if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" { (expression_statement "key->comment = pcVar5;" (assignment_expression "key->comment = pcVar5" (field_expression "key->comment" identifier -> field_identifier) = identifier) ;) (if_statement "if (pub_only == 0) {\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" if (parenthesized_expression "(pub_only == 0)" ( (binary_expression "pub_only == 0" identifier == number_literal) )) (compound_statement "{\n              iVar4 = __n + iVar4;\n              if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }\n              if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" { (expression_statement "iVar4 = __n + iVar4;" (assignment_expression "iVar4 = __n + iVar4" identifier = (binary_expression "__n + iVar4" identifier + identifier)) ;) (if_statement "if (buf[1] != '\0') {\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }" if (parenthesized_expression "(buf[1] != '\0')" ( (binary_expression "buf[1] != '\0'" (subscript_expression "buf[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                MD5Init(&md5c);\n                uVar8 = 0xffffffff;\n                pcVar5 = passphrase;\n                do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');\n                MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);\n                MD5Final(keybuf,&md5c);\n                des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);\n                smemclr(keybuf,0x10);\n              }" { (expression_statement "MD5Init(&md5c);" (call_expression "MD5Init(&md5c)" identifier (argument_list "(&md5c)" ( (pointer_expression "&md5c" & identifier) ))) ;) (expression_statement "uVar8 = 0xffffffff;" (assignment_expression "uVar8 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar5 = passphrase;" (assignment_expression "pcVar5 = passphrase" identifier = identifier) ;) (do_statement "do {\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                } while (cVar2 != '\0');" do (compound_statement "{\n                  if (uVar8 == 0) break;\n                  uVar8 = uVar8 - 1;\n                  cVar2 = *pcVar5;\n                  pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;\n                }" { (if_statement "if (uVar8 == 0) break;" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar5 = pcVar5 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pcVar5 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar5 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1);" (call_expression "MD5Update(&md5c,(uchar *)passphrase,~uVar8 - 1)" identifier (argument_list "(&md5c,(uchar *)passphrase,~uVar8 - 1)" ( (pointer_expression "&md5c" & identifier) , (cast_expression "(uchar *)passphrase" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "~uVar8 - 1" (unary_expression "~uVar8" ~ identifier) - number_literal) ))) ;) (expression_statement "MD5Final(keybuf,&md5c);" (call_expression "MD5Final(keybuf,&md5c)" identifier (argument_list "(keybuf,&md5c)" ( identifier , (pointer_expression "&md5c" & identifier) ))) ;) (expression_statement "des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8);" (call_expression "des3_decrypt_pubkey(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8)" identifier (argument_list "(keybuf,buf + iVar4,(sVar3 - iVar4) + 7 & 0xfffffff8)" ( identifier , (binary_expression "buf + iVar4" identifier + identifier) , (binary_expression "(sVar3 - iVar4) + 7 & 0xfffffff8" (binary_expression "(sVar3 - iVar4) + 7" (parenthesized_expression "(sVar3 - iVar4)" ( (binary_expression "sVar3 - iVar4" identifier - identifier) )) + number_literal) & number_literal) ))) ;) (expression_statement "smemclr(keybuf,0x10);" (call_expression "smemclr(keybuf,0x10)" identifier (argument_list "(keybuf,0x10)" ( identifier , number_literal ))) ;) })) (if_statement "if (3 < (int)(sVar3 - iVar4)) {\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" if (parenthesized_expression "(3 < (int)(sVar3 - iVar4))" ( (binary_expression "3 < (int)(sVar3 - iVar4)" number_literal < (cast_expression "(int)(sVar3 - iVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar3 - iVar4)" ( (binary_expression "sVar3 - iVar4" identifier - identifier) )))) )) (compound_statement "{\n                if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar4 = iVar4 + 4;\n                iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);\n                if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" { (if_statement "if ((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])) {\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }" if (parenthesized_expression "((buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3]))" ( (binary_expression "(buf[iVar4] != buf[iVar4 + 2]) || (buf[iVar4 + 1] != buf[iVar4 + 3])" (parenthesized_expression "(buf[iVar4] != buf[iVar4 + 2])" ( (binary_expression "buf[iVar4] != buf[iVar4 + 2]" (subscript_expression "buf[iVar4]" identifier [ identifier ]) != (subscript_expression "buf[iVar4 + 2]" identifier [ (binary_expression "iVar4 + 2" identifier + number_literal) ])) )) || (parenthesized_expression "(buf[iVar4 + 1] != buf[iVar4 + 3])" ( (binary_expression "buf[iVar4 + 1] != buf[iVar4 + 3]" (subscript_expression "buf[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) != (subscript_expression "buf[iVar4 + 3]" identifier [ (binary_expression "iVar4 + 3" identifier + number_literal) ])) ))) )) (compound_statement "{\n                  uVar8 = 0xffffffff;\n                  *error = "wrong passphrase";\n                  goto LAB_00069162;\n                }" { (expression_statement "uVar8 = 0xffffffff;" (assignment_expression "uVar8 = 0xffffffff" identifier = number_literal) ;) (expression_statement "*error = "wrong passphrase";" (assignment_expression "*error = "wrong passphrase"" (pointer_expression "*error" * identifier) = (string_literal ""wrong passphrase"" " string_content ")) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (expression_statement "iVar4 = iVar4 + 4;" (assignment_expression "iVar4 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (expression_statement "iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key);" (assignment_expression "iVar7 = makeprivate(buf + iVar4,sVar3 - iVar4,key)" identifier = (call_expression "makeprivate(buf + iVar4,sVar3 - iVar4,key)" identifier (argument_list "(buf + iVar4,sVar3 - iVar4,key)" ( (binary_expression "buf + iVar4" identifier + identifier) , (binary_expression "sVar3 - iVar4" identifier - identifier) , identifier )))) ;) (if_statement "if (-1 < iVar7) {\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n                  iVar4 = iVar4 + iVar7;\n                  iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);\n                  if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" { (expression_statement "iVar4 = iVar4 + iVar7;" (assignment_expression "iVar4 = iVar4 + iVar7" identifier = (binary_expression "iVar4 + iVar7" identifier + identifier)) ;) (expression_statement "iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp);" (assignment_expression "iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp)" identifier = (call_expression "ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp)" identifier (argument_list "(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->iqmp)" ( (binary_expression "buf + iVar4" identifier + identifier) , (binary_expression "sVar3 - iVar4" identifier - identifier) , (cast_expression "(Bignum_conflict *)&key->iqmp" ( (type_descriptor "Bignum_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&key->iqmp" & (field_expression "key->iqmp" identifier -> field_identifier))) )))) ;) (if_statement "if (-1 < iVar7) {\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    iVar4 = iVar4 + iVar7;\n                    iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);\n                    if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" { (expression_statement "iVar4 = iVar4 + iVar7;" (assignment_expression "iVar4 = iVar4 + iVar7" identifier = (binary_expression "iVar4 + iVar7" identifier + identifier)) ;) (expression_statement "iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q);" (assignment_expression "iVar7 = ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q)" identifier = (call_expression "ssh1_read_bignum(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q)" identifier (argument_list "(buf + iVar4,sVar3 - iVar4,(Bignum_conflict *)&key->q)" ( (binary_expression "buf + iVar4" identifier + identifier) , (binary_expression "sVar3 - iVar4" identifier - identifier) , (cast_expression "(Bignum_conflict *)&key->q" ( (type_descriptor "Bignum_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&key->q" & (field_expression "key->q" identifier -> field_identifier))) )))) ;) (if_statement "if (-1 < iVar7) {\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n                      iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);\n                      if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" { (expression_statement "iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p);" (assignment_expression "iVar4 = ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p)" identifier = (call_expression "ssh1_read_bignum(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p)" identifier (argument_list "(buf + iVar4 + iVar7,sVar3 - (iVar4 + iVar7),\n                                               (Bignum_conflict *)&key->p)" ( (binary_expression "buf + iVar4 + iVar7" (binary_expression "buf + iVar4" identifier + identifier) + identifier) , (binary_expression "sVar3 - (iVar4 + iVar7)" identifier - (parenthesized_expression "(iVar4 + iVar7)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) ))) , (cast_expression "(Bignum_conflict *)&key->p" ( (type_descriptor "Bignum_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&key->p" & (field_expression "key->p" identifier -> field_identifier))) )))) ;) (if_statement "if (-1 < iVar4) {\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n                        iVar4 = rsa_verify(key);\n                        if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" { (expression_statement "iVar4 = rsa_verify(key);" (assignment_expression "iVar4 = rsa_verify(key)" identifier = (call_expression "rsa_verify(key)" identifier (argument_list "(key)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) {\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                          *error = "rsa_verify failed";\n                          freersakey(key);\n                          uVar8 = 0;\n                          goto LAB_00069162;\n                        }" { (expression_statement "*error = "rsa_verify failed";" (assignment_expression "*error = "rsa_verify failed"" (pointer_expression "*error" * identifier) = (string_literal ""rsa_verify failed"" " string_content ")) ;) (expression_statement "freersakey(key);" (call_expression "freersakey(key)" identifier (argument_list "(key)" ( identifier ))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (goto_statement "goto LAB_000691a4;" goto statement_identifier ;) })) })) })) })) })) (goto_statement "goto LAB_00069160;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_000691a4:\n          uVar8 = 1;" statement_identifier : (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;)) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) })) })) })) (labeled_statement "LAB_00069160:\n  uVar8 = 0;" statement_identifier : (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00069162:\n  smemclr(buf,0x4000);" statement_identifier : (expression_statement "smemclr(buf,0x4000);" (call_expression "smemclr(buf,0x4000)" identifier (argument_list "(buf,0x4000)" ( identifier , number_literal ))) ;)) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "uint __regparm3\nFUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)\n\n{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0008d800();\n}\n\n" (function_definition "uint __regparm3\nFUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)\n\n{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0008d800();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)" identifier (parameter_list "(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0008d800();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "undefined1 local_408c [92];" type_identifier (array_declarator "local_408c [92]" identifier [ number_literal ]) ;) (declaration "undefined1 local_4030 [16];" type_identifier (array_declarator "local_4030 [16]" identifier [ number_literal ]) ;) (declaration "char local_4020 [4];" primitive_type (array_declarator "local_4020 [4]" identifier [ number_literal ]) ;) (declaration "char local_401c;" primitive_type identifier ;) (declaration "char local_401b;" primitive_type identifier ;) (declaration "byte local_401a [16378];" type_identifier (array_declarator "local_401a [16378]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x68edb;" (assignment_expression "uStack_14 = 0x68edb" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (expression_statement "sVar2 = fread(local_4020,1,0x4000,param_1);" (assignment_expression "sVar2 = fread(local_4020,1,0x4000,param_1)" identifier = (call_expression "fread(local_4020,1,0x4000,param_1)" identifier (argument_list "(local_4020,1,0x4000,param_1)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "fclose(param_1);" (call_expression "fclose(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }" if (parenthesized_expression "(((int)sVar2 < 0) || (sVar2 == 0x4000))" ( (binary_expression "((int)sVar2 < 0) || (sVar2 == 0x4000)" (parenthesized_expression "((int)sVar2 < 0)" ( (binary_expression "(int)sVar2 < 0" (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(sVar2 == 0x4000)" ( (binary_expression "sVar2 == 0x4000" identifier == number_literal) ))) )) (compound_statement "{\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "*param_6 = "error reading file";" (assignment_expression "*param_6 = "error reading file"" (pointer_expression "*param_6" * identifier) = (string_literal ""error reading file"" " string_content ")) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (expression_statement "*param_6 = "file format error";" (assignment_expression "*param_6 = "file format error"" (pointer_expression "*param_6" * identifier) = (string_literal ""file format error"" " string_content ")) ;) (if_statement "if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((1 < sVar2) && (local_4020[0] == '\0'))" ( (binary_expression "(1 < sVar2) && (local_4020[0] == '\0')" (parenthesized_expression "(1 < sVar2)" ( (binary_expression "1 < sVar2" number_literal < identifier) )) && (parenthesized_expression "(local_4020[0] == '\0')" ( (binary_expression "local_4020[0] == '\0'" (subscript_expression "local_4020[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" { (if_statement "if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" if (parenthesized_expression "((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'))))" ( (binary_expression "(local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))" (parenthesized_expression "(local_4020[1] == '\x03' || local_4020[1] == '\0')" ( (binary_expression "local_4020[1] == '\x03' || local_4020[1] == '\0'" (binary_expression "local_4020[1] == '\x03'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) == (char_literal "'\x03'" ' escape_sequence ')) || (binary_expression "local_4020[1] == '\0'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (parenthesized_expression "((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))" ( (parenthesized_expression "(5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'))" ( (binary_expression "5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')" (binary_expression "5 < (int)sVar2" number_literal < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) && (parenthesized_expression "(((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')" ( (binary_expression "((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'" (parenthesized_expression "((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0')" ( (binary_expression "(local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0'" (parenthesized_expression "(local_4020[2] == '\0' && local_4020[3] == '\0')" ( (binary_expression "local_4020[2] == '\0' && local_4020[3] == '\0'" (binary_expression "local_4020[2] == '\0'" (subscript_expression "local_4020[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (binary_expression "local_4020[3] == '\0'" (subscript_expression "local_4020[3]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "local_401c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "local_401b == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" { (expression_statement "iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);" (assignment_expression "iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1)" identifier = (call_expression "FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1)" identifier (argument_list "(local_401a,sVar2 - 6,param_2,0,1)" ( identifier , (binary_expression "sVar2 - 6" identifier - number_literal) , identifier , number_literal , number_literal )))) ;) (if_statement "if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }" { (expression_statement "__n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);" (assignment_expression "__n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" identifier = (call_expression "FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" identifier (argument_list "((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" ( (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]" (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18" (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10" (binary_expression "(uint)local_401a[iVar3 + 2] << 8" (cast_expression "(uint)local_401a[iVar3 + 2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3 + 2]" identifier [ (binary_expression "iVar3 + 2" identifier + number_literal) ])) << number_literal) | (binary_expression "(uint)local_401a[iVar3 + 1] << 0x10" (cast_expression "(uint)local_401a[iVar3 + 1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ])) << number_literal)) | (binary_expression "(uint)local_401a[iVar3] << 0x18" (cast_expression "(uint)local_401a[iVar3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3]" identifier [ identifier ])) << number_literal)) | (cast_expression "(uint)local_401a[iVar3 + 3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_401a[iVar3 + 3]" identifier [ (binary_expression "iVar3 + 3" identifier + number_literal) ]))) )))) ;) (if_statement "if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }" if (parenthesized_expression "((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3)))" ( (binary_expression "(-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))" (parenthesized_expression "(-1 < (int)__n)" ( (binary_expression "-1 < (int)__n" number_literal < (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))" ( (comma_expression "iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3)" (assignment_expression "iVar3 = iVar3 + 10" identifier = (binary_expression "iVar3 + 10" identifier + number_literal)) , (binary_expression "(int)__n <= (int)(sVar2 - iVar3)" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(sVar2 - iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar2 - iVar3)" ( (binary_expression "sVar2 - iVar3" identifier - identifier) ))))) ))) )) (compound_statement "{\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }" { (expression_statement "__dest = (void *)FUN_0001db90(__n + 1,1);" (assignment_expression "__dest = (void *)FUN_0001db90(__n + 1,1)" identifier = (cast_expression "(void *)FUN_0001db90(__n + 1,1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db90(__n + 1,1)" identifier (argument_list "(__n + 1,1)" ( (binary_expression "__n + 1" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }" if (parenthesized_expression "(__dest != (void *)0x0)" ( (binary_expression "__dest != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }" { (expression_statement "memcpy(__dest,local_4020 + iVar3,__n);" (call_expression "memcpy(__dest,local_4020 + iVar3,__n)" identifier (argument_list "(__dest,local_4020 + iVar3,__n)" ( identifier , (binary_expression "local_4020 + iVar3" identifier + identifier) , identifier ))) ;) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" * (cast_expression "(undefined1 *)((int)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) })) (if_statement "if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }" if (parenthesized_expression "(param_4 != (undefined4 *)0x0)" ( (binary_expression "param_4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }" { (expression_statement "uVar4 = FUN_0001cbd0(__dest);" (assignment_expression "uVar4 = FUN_0001cbd0(__dest)" identifier = (call_expression "FUN_0001cbd0(__dest)" identifier (argument_list "(__dest)" ( identifier )))) ;) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" * identifier) = identifier) ;) })) (if_statement "if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }" { (expression_statement "FUN_0001dd30(__dest);" (call_expression "FUN_0001dd30(__dest)" identifier (argument_list "(__dest)" ( identifier ))) ;) (if_statement "if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }" { (expression_statement "uVar5 = (uint)(local_4020[1] != '\0');" (assignment_expression "uVar5 = (uint)(local_4020[1] != '\0')" identifier = (call_expression "(uint)(local_4020[1] != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_4020[1] != '\0')" ( (binary_expression "local_4020[1] != '\0'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) }) (else_clause "else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" else (compound_statement "{\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" { (expression_statement "*(void **)(param_2 + 0x20) = __dest;" (assignment_expression "*(void **)(param_2 + 0x20) = __dest" (pointer_expression "*(void **)(param_2 + 0x20)" * (cast_expression "(void **)(param_2 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" { (expression_statement "iVar3 = __n + iVar3;" (assignment_expression "iVar3 = __n + iVar3" identifier = (binary_expression "__n + iVar3" identifier + identifier)) ;) (if_statement "if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }" if (parenthesized_expression "(local_4020[1] != '\0')" ( (binary_expression "local_4020[1] != '\0'" (subscript_expression "local_4020[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }" { (expression_statement "FUN_00067a80(local_408c);" (call_expression "FUN_00067a80(local_408c)" identifier (argument_list "(local_408c)" ( identifier ))) ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar6 = param_5;" (assignment_expression "pcVar6 = param_5" identifier = identifier) ;) (do_statement "do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');" do (compound_statement "{\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                }" { (if_statement "if (uVar5 == 0) break;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (expression_statement "pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;" (assignment_expression "pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "pcVar6 + (uint)bVar8 * -2 + 1" (binary_expression "pcVar6 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "FUN_00067ac0(local_408c,param_5,~uVar5 - 1);" (call_expression "FUN_00067ac0(local_408c,param_5,~uVar5 - 1)" identifier (argument_list "(local_408c,param_5,~uVar5 - 1)" ( identifier , identifier , (binary_expression "~uVar5 - 1" (unary_expression "~uVar5" ~ identifier) - number_literal) ))) ;) (expression_statement "FUN_00067b20(local_4030,local_408c);" (call_expression "FUN_00067b20(local_4030,local_408c)" identifier (argument_list "(local_4030,local_408c)" ( identifier , identifier ))) ;) (expression_statement "FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);" (call_expression "FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8)" identifier (argument_list "(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8)" ( identifier , (binary_expression "local_4020 + iVar3" identifier + identifier) , (binary_expression "(sVar2 - iVar3) + 7 & 0xfffffff8" (binary_expression "(sVar2 - iVar3) + 7" (parenthesized_expression "(sVar2 - iVar3)" ( (binary_expression "sVar2 - iVar3" identifier - identifier) )) + number_literal) & number_literal) ))) ;) (expression_statement "FUN_0001de10(local_4030,0x10);" (call_expression "FUN_0001de10(local_4030,0x10)" identifier (argument_list "(local_4030,0x10)" ( identifier , number_literal ))) ;) })) (if_statement "if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" if (parenthesized_expression "(3 < (int)(sVar2 - iVar3))" ( (binary_expression "3 < (int)(sVar2 - iVar3)" number_literal < (cast_expression "(int)(sVar2 - iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar2 - iVar3)" ( (binary_expression "sVar2 - iVar3" identifier - identifier) )))) )) (compound_statement "{\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" { (if_statement "if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }" if (parenthesized_expression "((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3]))" ( (binary_expression "(local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])" (parenthesized_expression "(local_401a[iVar3 + -6] != local_401a[iVar3 + -4])" ( (binary_expression "local_401a[iVar3 + -6] != local_401a[iVar3 + -4]" (subscript_expression "local_401a[iVar3 + -6]" identifier [ (binary_expression "iVar3 + -6" identifier + number_literal) ]) != (subscript_expression "local_401a[iVar3 + -4]" identifier [ (binary_expression "iVar3 + -4" identifier + number_literal) ])) )) || (parenthesized_expression "(local_401a[iVar3 + -5] != local_401a[iVar3 + -3])" ( (binary_expression "local_401a[iVar3 + -5] != local_401a[iVar3 + -3]" (subscript_expression "local_401a[iVar3 + -5]" identifier [ (binary_expression "iVar3 + -5" identifier + number_literal) ]) != (subscript_expression "local_401a[iVar3 + -3]" identifier [ (binary_expression "iVar3 + -3" identifier + number_literal) ])) ))) )) (compound_statement "{\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (expression_statement "*param_6 = "wrong passphrase";" (assignment_expression "*param_6 = "wrong passphrase"" (pointer_expression "*param_6" * identifier) = (string_literal ""wrong passphrase"" " string_content ")) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (expression_statement "iVar7 = iVar3 + 4;" (assignment_expression "iVar7 = iVar3 + 4" identifier = (binary_expression "iVar3 + 4" identifier + number_literal)) ;) (expression_statement "iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );" (assignment_expression "iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" identifier = (call_expression "FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" identifier (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" ( (binary_expression "local_4020 + iVar7" identifier + identifier) , (binary_expression "sVar2 - iVar7" identifier - identifier) , identifier , (subscript_expression "local_401a[iVar3 + -3]" identifier [ (binary_expression "iVar3 + -3" identifier + number_literal) ]) )))) ;) (if_statement "if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" { (expression_statement "iVar7 = iVar7 + iVar3;" (assignment_expression "iVar7 = iVar7 + iVar3" identifier = (binary_expression "iVar7 + iVar3" identifier + identifier)) ;) (expression_statement "uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;" (assignment_expression "uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" identifier = (call_expression "FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" identifier (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" ( (binary_expression "local_4020 + iVar7" identifier + identifier) , (binary_expression "sVar2 - iVar7" identifier - identifier) , (binary_expression "param_2 + 0x1c" identifier + number_literal) , identifier )))) ;) (if_statement "if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" { (expression_statement "iVar7 = iVar7 + (int)uVar9;" (assignment_expression "iVar7 = iVar7 + (int)uVar9" identifier = (binary_expression "iVar7 + (int)uVar9" identifier + (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));" (assignment_expression "iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" identifier = (call_expression "FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" identifier (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" ( (binary_expression "local_4020 + iVar7" identifier + identifier) , (binary_expression "sVar2 - iVar7" identifier - identifier) , (binary_expression "param_2 + 0x18" identifier + number_literal) , (cast_expression "(int)((ulonglong)uVar9 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar9 >> 0x20)" ( (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) )))) ;) (if_statement "if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" { (expression_statement "iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);" (assignment_expression "iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" identifier = (call_expression "FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" identifier (argument_list "(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" ( (binary_expression "local_4020 + iVar7 + iVar3" (binary_expression "local_4020 + iVar7" identifier + identifier) + identifier) , (binary_expression "sVar2 - (iVar7 + iVar3)" identifier - (parenthesized_expression "(iVar7 + iVar3)" ( (binary_expression "iVar7 + iVar3" identifier + identifier) ))) , (binary_expression "param_2 + 0x14" identifier + number_literal) , identifier )))) ;) (if_statement "if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" { (expression_statement "iVar3 = FUN_0006fc10(param_2);" (assignment_expression "iVar3 = FUN_0006fc10(param_2)" identifier = (call_expression "FUN_0006fc10(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }" { (expression_statement "*param_6 = "rsa_verify failed";" (assignment_expression "*param_6 = "rsa_verify failed"" (pointer_expression "*param_6" * identifier) = (string_literal ""rsa_verify failed"" " string_content ")) ;) (expression_statement "FUN_0006fda0(param_2);" (call_expression "FUN_0006fda0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) (goto_statement "goto LAB_000691a4;" goto statement_identifier ;) })) })) })) })) })) (goto_statement "goto LAB_00069160;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_000691a4:\n          uVar5 = 1;" statement_identifier : (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;)) (goto_statement "goto LAB_00069162;" goto statement_identifier ;) })) })) })) })) (labeled_statement "LAB_00069160:\n  uVar5 = 0;" statement_identifier : (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00069162:\n  FUN_0001de10(local_4020,0x4000);" statement_identifier : (expression_statement "FUN_0001de10(local_4020,0x4000);" (call_expression "FUN_0001de10(local_4020,0x4000)" identifier (argument_list "(local_4020,0x4000)" ( identifier , number_literal ))) ;)) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) })) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) || (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence '))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) && (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence '))) )) && (binary_expression IDENT == (char_literal ' escape_sequence '))) )) && (binary_expression IDENT == (char_literal ' escape_sequence '))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT - LIT) , IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) << LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) << LIT)) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ])) << LIT)) | (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (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 (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + 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 IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (unary_expression ~ IDENT) - LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) , (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (binary_expression IDENT - IDENT) , IDENT , (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (binary_expression IDENT - IDENT) , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (binary_expression IDENT - IDENT) , (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) , (binary_expression IDENT - (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (string_literal " string_content ")) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) })) })) })) })) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (goto_statement goto statement_identifier ;) })) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint __regparm3\nFUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)\n\n{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0008d800();\n}" (type_identifier "uint") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00068ed0(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)" (identifier "FUN_00068ed0") (parameter_list "(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,\n            undefined4 *param_6)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "char *param_5" (primitive_type "char") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  char cVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t __n;\n  void *__dest;\n  undefined4 uVar4;\n  undefined4 extraout_ECX;\n  uint uVar5;\n  char *pcVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  undefined8 uVar9;\n  undefined1 local_408c [92];\n  undefined1 local_4030 [16];\n  char local_4020 [4];\n  char local_401c;\n  char local_401b;\n  byte local_401a [16378];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x68edb;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_6 = 0;\n  sVar2 = fread(local_4020,1,0x4000,param_1);\n  fclose(param_1);\n  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }\n  *param_6 = "file format error";\n  if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }\nLAB_00069160:\n  uVar5 = 0;\nLAB_00069162:\n  FUN_0001de10(local_4020,0x4000);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0008d800();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "undefined8 uVar9;" (type_identifier "undefined8") (identifier "uVar9") (; ";")) (declaration "undefined1 local_408c [92];" (type_identifier "undefined1") (array_declarator "local_408c [92]" (identifier "local_408c") ([ "[") (number_literal "92") (] "]")) (; ";")) (declaration "undefined1 local_4030 [16];" (type_identifier "undefined1") (array_declarator "local_4030 [16]" (identifier "local_4030") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "char local_4020 [4];" (primitive_type "char") (array_declarator "local_4020 [4]" (identifier "local_4020") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "char local_401c;" (primitive_type "char") (identifier "local_401c") (; ";")) (declaration "char local_401b;" (primitive_type "char") (identifier "local_401b") (; ";")) (declaration "byte local_401a [16378];" (type_identifier "byte") (array_declarator "local_401a [16378]" (identifier "local_401a") ([ "[") (number_literal "16378") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" (identifier "bVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x68edb;" (assignment_expression "uStack_14 = 0x68edb" (identifier "uStack_14") (= "=") (number_literal "0x68edb")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "sVar2 = fread(local_4020,1,0x4000,param_1);" (assignment_expression "sVar2 = fread(local_4020,1,0x4000,param_1)" (identifier "sVar2") (= "=") (call_expression "fread(local_4020,1,0x4000,param_1)" (identifier "fread") (argument_list "(local_4020,1,0x4000,param_1)" (( "(") (identifier "local_4020") (, ",") (number_literal "1") (, ",") (number_literal "0x4000") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "fclose(param_1);" (call_expression "fclose(param_1)" (identifier "fclose") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }" (if "if") (parenthesized_expression "(((int)sVar2 < 0) || (sVar2 == 0x4000))" (( "(") (binary_expression "((int)sVar2 < 0) || (sVar2 == 0x4000)" (parenthesized_expression "((int)sVar2 < 0)" (( "(") (binary_expression "(int)sVar2 < 0" (cast_expression "(int)sVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar2")) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(sVar2 == 0x4000)" (( "(") (binary_expression "sVar2 == 0x4000" (identifier "sVar2") (== "==") (number_literal "0x4000")) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 0;\n    *param_6 = "error reading file";\n    goto LAB_00069162;\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_6 = "error reading file";" (assignment_expression "*param_6 = "error reading file"" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (string_literal ""error reading file"" (" """) (string_content "error reading file") (" """))) (; ";")) (goto_statement "goto LAB_00069162;" (goto "goto") (statement_identifier "LAB_00069162") (; ";")) (} "}"))) (expression_statement "*param_6 = "file format error";" (assignment_expression "*param_6 = "file format error"" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (string_literal ""file format error"" (" """) (string_content "file format error") (" """))) (; ";")) (if_statement "if ((1 < sVar2) && (local_4020[0] == '\0')) {\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "((1 < sVar2) && (local_4020[0] == '\0'))" (( "(") (binary_expression "(1 < sVar2) && (local_4020[0] == '\0')" (parenthesized_expression "(1 < sVar2)" (( "(") (binary_expression "1 < sVar2" (number_literal "1") (< "<") (identifier "sVar2")) () ")")) (&& "&&") (parenthesized_expression "(local_4020[0] == '\0')" (( "(") (binary_expression "local_4020[0] == '\0'" (subscript_expression "local_4020[0]" (identifier "local_4020") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }\n  }" ({ "{") (if_statement "if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))) {\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" (if "if") (parenthesized_expression "((local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'))))" (( "(") (binary_expression "(local_4020[1] == '\x03' || local_4020[1] == '\0') &&\n       ((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))" (parenthesized_expression "(local_4020[1] == '\x03' || local_4020[1] == '\0')" (( "(") (binary_expression "local_4020[1] == '\x03' || local_4020[1] == '\0'" (binary_expression "local_4020[1] == '\x03'" (subscript_expression "local_4020[1]" (identifier "local_4020") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) (|| "||") (binary_expression "local_4020[1] == '\0'" (subscript_expression "local_4020[1]" (identifier "local_4020") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (&& "&&") (parenthesized_expression "((5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')))" (( "(") (parenthesized_expression "(5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'))" (( "(") (binary_expression "5 < (int)sVar2 &&\n        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')" (binary_expression "5 < (int)sVar2" (number_literal "5") (< "<") (cast_expression "(int)sVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar2"))) (&& "&&") (parenthesized_expression "(((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0')" (( "(") (binary_expression "((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&\n         local_401b == '\0'" (parenthesized_expression "((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0')" (( "(") (binary_expression "(local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0'" (parenthesized_expression "(local_4020[2] == '\0' && local_4020[3] == '\0')" (( "(") (binary_expression "local_4020[2] == '\0' && local_4020[3] == '\0'" (binary_expression "local_4020[2] == '\0'" (subscript_expression "local_4020[2]" (identifier "local_4020") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (binary_expression "local_4020[3] == '\0'" (subscript_expression "local_4020[3]" (identifier "local_4020") ([ "[") (number_literal "3") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (&& "&&") (binary_expression "local_401c == '\0'" (identifier "local_401c") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (&& "&&") (binary_expression "local_401b == '\0'" (identifier "local_401b") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);\n      if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);" (assignment_expression "iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1)" (identifier "iVar3") (= "=") (call_expression "FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1)" (identifier "FUN_0006ece0") (argument_list "(local_401a,sVar2 - 6,param_2,0,1)" (( "(") (identifier "local_401a") (, ",") (binary_expression "sVar2 - 6" (identifier "sVar2") (- "-") (number_literal "6")) (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (-1 < iVar3) {\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);\n        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }\n      }" ({ "{") (expression_statement "__n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]);" (assignment_expression "__n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" (identifier "__n") (= "=") (call_expression "FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" (identifier "FUN_0001ce40") (argument_list "((uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3])" (( "(") (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |\n                           (uint)local_401a[iVar3 + 3]" (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18" (binary_expression "(uint)local_401a[iVar3 + 2] << 8 |\n                           (uint)local_401a[iVar3 + 1] << 0x10" (binary_expression "(uint)local_401a[iVar3 + 2] << 8" (cast_expression "(uint)local_401a[iVar3 + 2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_401a[iVar3 + 2]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2")) (] "]"))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(uint)local_401a[iVar3 + 1] << 0x10" (cast_expression "(uint)local_401a[iVar3 + 1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_401a[iVar3 + 1]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) (] "]"))) (<< "<<") (number_literal "0x10"))) (| "|") (binary_expression "(uint)local_401a[iVar3] << 0x18" (cast_expression "(uint)local_401a[iVar3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_401a[iVar3]" (identifier "local_401a") ([ "[") (identifier "iVar3") (] "]"))) (<< "<<") (number_literal "0x18"))) (| "|") (cast_expression "(uint)local_401a[iVar3 + 3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_401a[iVar3 + 3]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + 3" (identifier "iVar3") (+ "+") (number_literal "3")) (] "]")))) () ")")))) (; ";")) (if_statement "if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }" (if "if") (parenthesized_expression "((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3)))" (( "(") (binary_expression "(-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))" (parenthesized_expression "(-1 < (int)__n)" (( "(") (binary_expression "-1 < (int)__n" (number_literal "-1") (< "<") (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))" (( "(") (comma_expression "iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3)" (assignment_expression "iVar3 = iVar3 + 10" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 10" (identifier "iVar3") (+ "+") (number_literal "10"))) (, ",") (binary_expression "(int)__n <= (int)(sVar2 - iVar3)" (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (<= "<=") (cast_expression "(int)(sVar2 - iVar3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(sVar2 - iVar3)" (( "(") (binary_expression "sVar2 - iVar3" (identifier "sVar2") (- "-") (identifier "iVar3")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          __dest = (void *)FUN_0001db90(__n + 1,1);\n          if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }\n          if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }\n          if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }\nLAB_000691a4:\n          uVar5 = 1;\n          goto LAB_00069162;\n        }" ({ "{") (expression_statement "__dest = (void *)FUN_0001db90(__n + 1,1);" (assignment_expression "__dest = (void *)FUN_0001db90(__n + 1,1)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_0001db90(__n + 1,1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001db90(__n + 1,1)" (identifier "FUN_0001db90") (argument_list "(__n + 1,1)" (( "(") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1")) (, ",") (number_literal "1") () ")"))))) (; ";")) (if_statement "if (__dest != (void *)0x0) {\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }" (if "if") (parenthesized_expression "(__dest != (void *)0x0)" (( "(") (binary_expression "__dest != (void *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            memcpy(__dest,local_4020 + iVar3,__n);\n            *(undefined1 *)((int)__dest + __n) = 0;\n          }" ({ "{") (expression_statement "memcpy(__dest,local_4020 + iVar3,__n);" (call_expression "memcpy(__dest,local_4020 + iVar3,__n)" (identifier "memcpy") (argument_list "(__dest,local_4020 + iVar3,__n)" (( "(") (identifier "__dest") (, ",") (binary_expression "local_4020 + iVar3" (identifier "local_4020") (+ "+") (identifier "iVar3")) (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" (* "*") (cast_expression "(undefined1 *)((int)__dest + __n)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + __n)" (( "(") (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (param_4 != (undefined4 *)0x0) {\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }" (if "if") (parenthesized_expression "(param_4 != (undefined4 *)0x0)" (( "(") (binary_expression "param_4 != (undefined4 *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            uVar4 = FUN_0001cbd0(__dest);\n            *param_4 = uVar4;\n          }" ({ "{") (expression_statement "uVar4 = FUN_0001cbd0(__dest);" (assignment_expression "uVar4 = FUN_0001cbd0(__dest)" (identifier "uVar4") (= "=") (call_expression "FUN_0001cbd0(__dest)" (identifier "FUN_0001cbd0") (argument_list "(__dest)" (( "(") (identifier "__dest") () ")")))) (; ";")) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }\n          else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_0001dd30(__dest);\n            if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }\n          }" ({ "{") (expression_statement "FUN_0001dd30(__dest);" (call_expression "FUN_0001dd30(__dest)" (identifier "FUN_0001dd30") (argument_list "(__dest)" (( "(") (identifier "__dest") () ")"))) (; ";")) (if_statement "if (param_3 == 0) {\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              uVar5 = (uint)(local_4020[1] != '\0');\n              *param_6 = 0;\n              goto LAB_00069162;\n            }" ({ "{") (expression_statement "uVar5 = (uint)(local_4020[1] != '\0');" (assignment_expression "uVar5 = (uint)(local_4020[1] != '\0')" (identifier "uVar5") (= "=") (call_expression "(uint)(local_4020[1] != '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_4020[1] != '\0')" (( "(") (binary_expression "local_4020[1] != '\0'" (subscript_expression "local_4020[1]" (identifier "local_4020") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (; ";")) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00069162;" (goto "goto") (statement_identifier "LAB_00069162") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" (else "else") (compound_statement "{\n            *(void **)(param_2 + 0x20) = __dest;\n            if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }\n          }" ({ "{") (expression_statement "*(void **)(param_2 + 0x20) = __dest;" (assignment_expression "*(void **)(param_2 + 0x20) = __dest" (pointer_expression "*(void **)(param_2 + 0x20)" (* "*") (cast_expression "(void **)(param_2 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "__dest")) (; ";")) (if_statement "if (param_3 == 0) {\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar3 = __n + iVar3;\n              if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }\n              if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }\n              goto LAB_00069160;\n            }" ({ "{") (expression_statement "iVar3 = __n + iVar3;" (assignment_expression "iVar3 = __n + iVar3" (identifier "iVar3") (= "=") (binary_expression "__n + iVar3" (identifier "__n") (+ "+") (identifier "iVar3"))) (; ";")) (if_statement "if (local_4020[1] != '\0') {\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }" (if "if") (parenthesized_expression "(local_4020[1] != '\0')" (( "(") (binary_expression "local_4020[1] != '\0'" (subscript_expression "local_4020[1]" (identifier "local_4020") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                FUN_00067a80(local_408c);\n                uVar5 = 0xffffffff;\n                pcVar6 = param_5;\n                do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');\n                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);\n                FUN_00067b20(local_4030,local_408c);\n                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);\n                FUN_0001de10(local_4030,0x10);\n              }" ({ "{") (expression_statement "FUN_00067a80(local_408c);" (call_expression "FUN_00067a80(local_408c)" (identifier "FUN_00067a80") (argument_list "(local_408c)" (( "(") (identifier "local_408c") () ")"))) (; ";")) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "pcVar6 = param_5;" (assignment_expression "pcVar6 = param_5" (identifier "pcVar6") (= "=") (identifier "param_5")) (; ";")) (do_statement "do {\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                } while (cVar1 != '\0');" (do "do") (compound_statement "{\n                  if (uVar5 == 0) break;\n                  uVar5 = uVar5 - 1;\n                  cVar1 = *pcVar6;\n                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;\n                }" ({ "{") (if_statement "if (uVar5 == 0) break;" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" (identifier "cVar1") (= "=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) (; ";")) (expression_statement "pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;" (assignment_expression "pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + (uint)bVar8 * -2 + 1" (binary_expression "pcVar6 + (uint)bVar8 * -2" (identifier "pcVar6") (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "FUN_00067ac0(local_408c,param_5,~uVar5 - 1);" (call_expression "FUN_00067ac0(local_408c,param_5,~uVar5 - 1)" (identifier "FUN_00067ac0") (argument_list "(local_408c,param_5,~uVar5 - 1)" (( "(") (identifier "local_408c") (, ",") (identifier "param_5") (, ",") (binary_expression "~uVar5 - 1" (unary_expression "~uVar5" (~ "~") (identifier "uVar5")) (- "-") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_00067b20(local_4030,local_408c);" (call_expression "FUN_00067b20(local_4030,local_408c)" (identifier "FUN_00067b20") (argument_list "(local_4030,local_408c)" (( "(") (identifier "local_4030") (, ",") (identifier "local_408c") () ")"))) (; ";")) (expression_statement "FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);" (call_expression "FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8)" (identifier "FUN_0005e220") (argument_list "(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8)" (( "(") (identifier "local_4030") (, ",") (binary_expression "local_4020 + iVar3" (identifier "local_4020") (+ "+") (identifier "iVar3")) (, ",") (binary_expression "(sVar2 - iVar3) + 7 & 0xfffffff8" (binary_expression "(sVar2 - iVar3) + 7" (parenthesized_expression "(sVar2 - iVar3)" (( "(") (binary_expression "sVar2 - iVar3" (identifier "sVar2") (- "-") (identifier "iVar3")) () ")")) (+ "+") (number_literal "7")) (& "&") (number_literal "0xfffffff8")) () ")"))) (; ";")) (expression_statement "FUN_0001de10(local_4030,0x10);" (call_expression "FUN_0001de10(local_4030,0x10)" (identifier "FUN_0001de10") (argument_list "(local_4030,0x10)" (( "(") (identifier "local_4030") (, ",") (number_literal "0x10") () ")"))) (; ";")) (} "}"))) (if_statement "if (3 < (int)(sVar2 - iVar3)) {\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(3 < (int)(sVar2 - iVar3))" (( "(") (binary_expression "3 < (int)(sVar2 - iVar3)" (number_literal "3") (< "<") (cast_expression "(int)(sVar2 - iVar3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(sVar2 - iVar3)" (( "(") (binary_expression "sVar2 - iVar3" (identifier "sVar2") (- "-") (identifier "iVar3")) () ")")))) () ")")) (compound_statement "{\n                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }\n                iVar7 = iVar3 + 4;\n                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );\n                if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }\n              }" ({ "{") (if_statement "if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }" (if "if") (parenthesized_expression "((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3]))" (( "(") (binary_expression "(local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||\n                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])" (parenthesized_expression "(local_401a[iVar3 + -6] != local_401a[iVar3 + -4])" (( "(") (binary_expression "local_401a[iVar3 + -6] != local_401a[iVar3 + -4]" (subscript_expression "local_401a[iVar3 + -6]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + -6" (identifier "iVar3") (+ "+") (number_literal "-6")) (] "]")) (!= "!=") (subscript_expression "local_401a[iVar3 + -4]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + -4" (identifier "iVar3") (+ "+") (number_literal "-4")) (] "]"))) () ")")) (|| "||") (parenthesized_expression "(local_401a[iVar3 + -5] != local_401a[iVar3 + -3])" (( "(") (binary_expression "local_401a[iVar3 + -5] != local_401a[iVar3 + -3]" (subscript_expression "local_401a[iVar3 + -5]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + -5" (identifier "iVar3") (+ "+") (number_literal "-5")) (] "]")) (!= "!=") (subscript_expression "local_401a[iVar3 + -3]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + -3" (identifier "iVar3") (+ "+") (number_literal "-3")) (] "]"))) () ")"))) () ")")) (compound_statement "{\n                  uVar5 = 0xffffffff;\n                  *param_6 = "wrong passphrase";\n                  goto LAB_00069162;\n                }" ({ "{") (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*param_6 = "wrong passphrase";" (assignment_expression "*param_6 = "wrong passphrase"" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (string_literal ""wrong passphrase"" (" """) (string_content "wrong passphrase") (" """))) (; ";")) (goto_statement "goto LAB_00069162;" (goto "goto") (statement_identifier "LAB_00069162") (; ";")) (} "}"))) (expression_statement "iVar7 = iVar3 + 4;" (assignment_expression "iVar7 = iVar3 + 4" (identifier "iVar7") (= "=") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    );" (assignment_expression "iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" (identifier "iVar3") (= "=") (call_expression "FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" (identifier "FUN_0006ee50") (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]\n                                    )" (( "(") (binary_expression "local_4020 + iVar7" (identifier "local_4020") (+ "+") (identifier "iVar7")) (, ",") (binary_expression "sVar2 - iVar7" (identifier "sVar2") (- "-") (identifier "iVar7")) (, ",") (identifier "param_2") (, ",") (subscript_expression "local_401a[iVar3 + -3]" (identifier "local_401a") ([ "[") (binary_expression "iVar3 + -3" (identifier "iVar3") (+ "+") (number_literal "-3")) (] "]")) () ")")))) (; ";")) (if_statement "if (-1 < iVar3) {\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n                  iVar7 = iVar7 + iVar3;\n                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;\n                  if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }\n                }" ({ "{") (expression_statement "iVar7 = iVar7 + iVar3;" (assignment_expression "iVar7 = iVar7 + iVar3" (identifier "iVar7") (= "=") (binary_expression "iVar7 + iVar3" (identifier "iVar7") (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)\n                  ;" (assignment_expression "uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" (identifier "uVar9") (= "=") (call_expression "FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" (identifier "FUN_000567c0") (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)" (( "(") (binary_expression "local_4020 + iVar7" (identifier "local_4020") (+ "+") (identifier "iVar7")) (, ",") (binary_expression "sVar2 - iVar7" (identifier "sVar2") (- "-") (identifier "iVar7")) (, ",") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) (, ",") (identifier "extraout_ECX") () ")")))) (; ";")) (if_statement "if (-1 < (int)uVar9) {\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" (if "if") (parenthesized_expression "(-1 < (int)uVar9)" (( "(") (binary_expression "-1 < (int)uVar9" (number_literal "-1") (< "<") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9"))) () ")")) (compound_statement "{\n                    iVar7 = iVar7 + (int)uVar9;\n                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));\n                    if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }\n                  }" ({ "{") (expression_statement "iVar7 = iVar7 + (int)uVar9;" (assignment_expression "iVar7 = iVar7 + (int)uVar9" (identifier "iVar7") (= "=") (binary_expression "iVar7 + (int)uVar9" (identifier "iVar7") (+ "+") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")))) (; ";")) (expression_statement "iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20));" (assignment_expression "iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" (identifier "iVar3") (= "=") (call_expression "FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" (identifier "FUN_000567c0") (argument_list "(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,\n                                         (int)((ulonglong)uVar9 >> 0x20))" (( "(") (binary_expression "local_4020 + iVar7" (identifier "local_4020") (+ "+") (identifier "iVar7")) (, ",") (binary_expression "sVar2 - iVar7" (identifier "sVar2") (- "-") (identifier "iVar7")) (, ",") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) (, ",") (cast_expression "(int)((ulonglong)uVar9 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar9 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "0x20")) () ")"))) () ")")))) (; ";")) (if_statement "if (-1 < iVar3) {\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);\n                      if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }\n                    }" ({ "{") (expression_statement "iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3);" (assignment_expression "iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" (identifier "iVar3") (= "=") (call_expression "FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" (identifier "FUN_000567c0") (argument_list "(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),\n                                           param_2 + 0x14,iVar3)" (( "(") (binary_expression "local_4020 + iVar7 + iVar3" (binary_expression "local_4020 + iVar7" (identifier "local_4020") (+ "+") (identifier "iVar7")) (+ "+") (identifier "iVar3")) (, ",") (binary_expression "sVar2 - (iVar7 + iVar3)" (identifier "sVar2") (- "-") (parenthesized_expression "(iVar7 + iVar3)" (( "(") (binary_expression "iVar7 + iVar3" (identifier "iVar7") (+ "+") (identifier "iVar3")) () ")"))) (, ",") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) (, ",") (identifier "iVar3") () ")")))) (; ";")) (if_statement "if (-1 < iVar3) {\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n                        iVar3 = FUN_0006fc10(param_2);\n                        if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }\n                        goto LAB_000691a4;\n                      }" ({ "{") (expression_statement "iVar3 = FUN_0006fc10(param_2);" (assignment_expression "iVar3 = FUN_0006fc10(param_2)" (identifier "iVar3") (= "=") (call_expression "FUN_0006fc10(param_2)" (identifier "FUN_0006fc10") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                          *param_6 = "rsa_verify failed";\n                          FUN_0006fda0(param_2);\n                          uVar5 = 0;\n                          goto LAB_00069162;\n                        }" ({ "{") (expression_statement "*param_6 = "rsa_verify failed";" (assignment_expression "*param_6 = "rsa_verify failed"" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (string_literal ""rsa_verify failed"" (" """) (string_content "rsa_verify failed") (" """))) (; ";")) (expression_statement "FUN_0006fda0(param_2);" (call_expression "FUN_0006fda0(param_2)" (identifier "FUN_0006fda0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00069162;" (goto "goto") (statement_identifier "LAB_00069162") (; ";")) (} "}"))) (goto_statement "goto LAB_000691a4;" (goto "goto") (statement_identifier "LAB_000691a4") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (goto_statement "goto LAB_00069160;" (goto "goto") (statement_identifier "LAB_00069160") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_000691a4:\n          uVar5 = 1;" (statement_identifier "LAB_000691a4") (: ":") (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";"))) (goto_statement "goto LAB_00069162;" (goto "goto") (statement_identifier "LAB_00069162") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00069160:\n  uVar5 = 0;" (statement_identifier "LAB_00069160") (: ":") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_00069162:\n  FUN_0001de10(local_4020,0x4000);" (statement_identifier "LAB_00069162") (: ":") (expression_statement "FUN_0001de10(local_4020,0x4000);" (call_expression "FUN_0001de10(local_4020,0x4000)" (identifier "FUN_0001de10") (argument_list "(local_4020,0x4000)" (( "(") (identifier "local_4020") (, ",") (number_literal "0x4000") () ")"))) (; ";"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return uVar5;\n  }" ({ "{") (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" (identifier "FUN_0008d800") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int __regparm3
function_1(type_1 *fp,type_2 *var_15,int var_17,char **var_13,char *passphrase,char **error)

{
  int var_30;
  char var_20;
  size_t var_4;
  int var_7;
  size_t var_10;
  char *var_11;
  char *pcVar6;
  int var_26;
  type_3 var_19;
  int var_1;
  type_4 bVar9;
  type_5 md5c;
  type_6 keybuf [16];
  type_6 var_6 [16384];
  
  bVar9 = 0;
  var_30 = *(int *)(var_1 + 0x14);
  *error = (char *)0x0;
  var_4 = var_2(var_6,1,0x4000,(type_1 *)fp);
  var_3((type_1 *)fp);
  if (((int)var_4 < 0) || (var_4 == 0x4000)) {
    var_19 = 0;
    *error = "error reading file";
    goto LAB_00069162;
  }
  *error = "file format error";
  if ((1 < var_4) && (var_6[0] == '\0')) {
    if ((var_6[1] == '\x03' || var_6[1] == '\0') &&
       ((5 < (int)var_4 &&
        (((var_6[2] == '\0' && var_6[3] == '\0') && var_6[4] == '\0') && var_6[5] == '\0')))) {
      var_7 = var_5(var_6 + 6,var_4 - 6,var_15,(type_6 **)0x0,1);
      if (-1 < var_7) {
        var_10 = var_8((type_3)var_6[var_7 + 8] << 8 |
                    (type_3)var_6[var_7 + 7] << 0x10 | (type_3)var_6[var_7 + 6] << 0x18 |
                    (type_3)var_6[var_7 + 9]);
        if ((-1 < (int)var_10) && (var_7 = var_7 + 10, (int)var_10 <= (int)(var_4 - var_7))) {
          var_11 = (char *)var_9(var_10 + 1,1);
          if (var_11 != (char *)0x0) {
            var_12(var_11,var_6 + var_7,var_10);
            var_11[var_10] = '\0';
          }
          if (var_13 != (char **)0x0) {
            pcVar6 = var_14(var_11);
            *var_13 = pcVar6;
          }
          if (var_15 == (type_2 *)0x0) {
            var_16(var_11);
            if (var_17 == 0) {
              var_19 = (type_3)(var_6[1] != '\0');
              *error = (char *)0x0;
              goto LAB_00069162;
            }
          }
          else {
            var_15->comment = var_11;
            if (var_17 == 0) {
              var_7 = var_10 + var_7;
              if (var_6[1] != '\0') {
                var_18(&md5c);
                var_19 = 0xffffffff;
                var_11 = passphrase;
                do {
                  if (var_19 == 0) break;
                  var_19 = var_19 - 1;
                  var_20 = *var_11;
                  var_11 = var_11 + (type_3)bVar9 * -2 + 1;
                } while (var_20 != '\0');
                var_21(&md5c,(type_6 *)passphrase,~var_19 - 1);
                var_22(keybuf,&md5c);
                var_23(keybuf,var_6 + var_7,(var_4 - var_7) + 7 & 0xfffffff8);
                var_24(keybuf,0x10);
              }
              if (3 < (int)(var_4 - var_7)) {
                if ((var_6[var_7] != var_6[var_7 + 2]) || (var_6[var_7 + 1] != var_6[var_7 + 3])) {
                  var_19 = 0xffffffff;
                  *error = "wrong passphrase";
                  goto LAB_00069162;
                }
                var_7 = var_7 + 4;
                var_26 = var_25(var_6 + var_7,var_4 - var_7,var_15);
                if (-1 < var_26) {
                  var_7 = var_7 + var_26;
                  var_26 = var_27(var_6 + var_7,var_4 - var_7,(type_7 *)&var_15->iqmp);
                  if (-1 < var_26) {
                    var_7 = var_7 + var_26;
                    var_26 = var_27(var_6 + var_7,var_4 - var_7,(type_7 *)&var_15->q);
                    if (-1 < var_26) {
                      var_7 = var_27(var_6 + var_7 + var_26,var_4 - (var_7 + var_26),
                                               (type_7 *)&var_15->p);
                      if (-1 < var_7) {
                        var_7 = var_28(var_15);
                        if (var_7 == 0) {
                          *error = "rsa_verify failed";
                          var_29(var_15);
                          var_19 = 0;
                          goto LAB_00069162;
                        }
                        goto LAB_000691a4;
                      }
                    }
                  }
                }
              }
              goto LAB_00069160;
            }
          }
LAB_000691a4:
          var_19 = 1;
          goto LAB_00069162;
        }
      }
    }
  }
LAB_00069160:
  var_19 = 0;
LAB_00069162:
  var_24(var_6,0x4000);
  if (var_30 == *(int *)(var_1 + 0x14)) {
    return var_19;
  }
                    /* WARNING: Subroutine does not return */
  var_31();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint __regparm3
MASKED(FILE *param_1,int param_2,int param_3,undefined4 *param_4,char *param_5,
            undefined4 *param_6)

{
  char cVar1;
  size_t sVar2;
  int iVar3;
  size_t __n;
  void *__dest;
  undefined4 uVar4;
  undefined4 extraout_ECX;
  uint uVar5;
  char *pcVar6;
  int iVar7;
  int in_GS_OFFSET;
  byte bVar8;
  undefined8 uVar9;
  undefined1 local_408c [92];
  undefined1 local_4030 [16];
  char local_4020 [4];
  char local_401c;
  char local_401b;
  byte local_401a [16378];
  int local_20;
  undefined4 uStack_14;
  
  bVar8 = 0;
  uStack_14 = 0x68edb;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  *param_6 = 0;
  sVar2 = fread(local_4020,1,0x4000,param_1);
  fclose(param_1);
  if (((int)sVar2 < 0) || (sVar2 == 0x4000)) {
    uVar5 = 0;
    *param_6 = "error reading file";
    goto LAB_00069162;
  }
  *param_6 = "file format error";
  if ((1 < sVar2) && (local_4020[0] == '\0')) {
    if ((local_4020[1] == '\x03' || local_4020[1] == '\0') &&
       ((5 < (int)sVar2 &&
        (((local_4020[2] == '\0' && local_4020[3] == '\0') && local_401c == '\0') &&
         local_401b == '\0')))) {
      iVar3 = FUN_0006ece0(local_401a,sVar2 - 6,param_2,0,1);
      if (-1 < iVar3) {
        __n = FUN_0001ce40((uint)local_401a[iVar3 + 2] << 8 |
                           (uint)local_401a[iVar3 + 1] << 0x10 | (uint)local_401a[iVar3] << 0x18 |
                           (uint)local_401a[iVar3 + 3]);
        if ((-1 < (int)__n) && (iVar3 = iVar3 + 10, (int)__n <= (int)(sVar2 - iVar3))) {
          __dest = (void *)FUN_0001db90(__n + 1,1);
          if (__dest != (void *)0x0) {
            memcpy(__dest,local_4020 + iVar3,__n);
            *(undefined1 *)((int)__dest + __n) = 0;
          }
          if (param_4 != (undefined4 *)0x0) {
            uVar4 = FUN_0001cbd0(__dest);
            *param_4 = uVar4;
          }
          if (param_2 == 0) {
            FUN_0001dd30(__dest);
            if (param_3 == 0) {
              uVar5 = (uint)(local_4020[1] != '\0');
              *param_6 = 0;
              goto LAB_00069162;
            }
          }
          else {
            *(void **)(param_2 + 0x20) = __dest;
            if (param_3 == 0) {
              iVar3 = __n + iVar3;
              if (local_4020[1] != '\0') {
                FUN_00067a80(local_408c);
                uVar5 = 0xffffffff;
                pcVar6 = param_5;
                do {
                  if (uVar5 == 0) break;
                  uVar5 = uVar5 - 1;
                  cVar1 = *pcVar6;
                  pcVar6 = pcVar6 + (uint)bVar8 * -2 + 1;
                } while (cVar1 != '\0');
                FUN_00067ac0(local_408c,param_5,~uVar5 - 1);
                FUN_00067b20(local_4030,local_408c);
                FUN_0005e220(local_4030,local_4020 + iVar3,(sVar2 - iVar3) + 7 & 0xfffffff8);
                FUN_0001de10(local_4030,0x10);
              }
              if (3 < (int)(sVar2 - iVar3)) {
                if ((local_401a[iVar3 + -6] != local_401a[iVar3 + -4]) ||
                   (local_401a[iVar3 + -5] != local_401a[iVar3 + -3])) {
                  uVar5 = 0xffffffff;
                  *param_6 = "wrong passphrase";
                  goto LAB_00069162;
                }
                iVar7 = iVar3 + 4;
                iVar3 = FUN_0006ee50(local_4020 + iVar7,sVar2 - iVar7,param_2,local_401a[iVar3 + -3]
                                    );
                if (-1 < iVar3) {
                  iVar7 = iVar7 + iVar3;
                  uVar9 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x1c,extraout_ECX)
                  ;
                  if (-1 < (int)uVar9) {
                    iVar7 = iVar7 + (int)uVar9;
                    iVar3 = FUN_000567c0(local_4020 + iVar7,sVar2 - iVar7,param_2 + 0x18,
                                         (int)((ulonglong)uVar9 >> 0x20));
                    if (-1 < iVar3) {
                      iVar3 = FUN_000567c0(local_4020 + iVar7 + iVar3,sVar2 - (iVar7 + iVar3),
                                           param_2 + 0x14,iVar3);
                      if (-1 < iVar3) {
                        iVar3 = FUN_0006fc10(param_2);
                        if (iVar3 == 0) {
                          *param_6 = "rsa_verify failed";
                          FUN_0006fda0(param_2);
                          uVar5 = 0;
                          goto LAB_00069162;
                        }
                        goto LAB_000691a4;
                      }
                    }
                  }
                }
              }
              goto LAB_00069160;
            }
          }
LAB_000691a4:
          uVar5 = 1;
          goto LAB_00069162;
        }
      }
    }
  }
LAB_00069160:
  uVar5 = 0;
LAB_00069162:
  FUN_0001de10(local_4020,0x4000);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}

