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

void msg_cb(int write_p,int version,int content_type,void *buf,size_t len,SSL *ssl,void *arg)

{
  STRINT_PAIR *pSVar1;
  undefined *puVar2;
  char *pcVar3;
  char *pcVar4;
  char *pcVar5;
  STRINT_PAIR *pSVar6;
  char *pcVar7;
  uint uVar8;
  
  puVar2 = &DAT_0009924a;
  if (write_p != 0) {
    puVar2 = &DAT_00099246;
  }
  if (ssl_versions[0].name == (char *)0x0) {
LAB_000815f6:
    pcVar3 = "???";
  }
  else {
    pcVar3 = ssl_versions[0].name;
    if (version != ssl_versions[0].retval) {
      pSVar6 = ssl_versions;
      do {
        pcVar3 = pSVar6[1].name;
        if (pcVar3 == (char *)0x0) goto LAB_000815f6;
        pSVar1 = pSVar6 + 1;
        pSVar6 = pSVar6 + 1;
      } while (version != pSVar1->retval);
    }
  }
  if ((version == 0x100 || version == 0xfeff) || (version - 0x300U < 5)) {
    if (content_type != 0x15) {
      if (content_type < 0x16) {
        pcVar5 = ", ChangeCipherSpec";
        pcVar4 = "";
        if (content_type != 0x14) {
LAB_000816a5:
          pcVar5 = "";
          pcVar4 = pcVar5;
        }
      }
      else {
        if (content_type == 0x16) {
          if (len == 0) {
            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,
                       &DAT_00099258,&DAT_0008b720);
            goto LAB_00081675;
          }
                    /* WARNING: Load size is inaccurate */
          if (handshakes[0].name == (char *)0x0) {
LAB_00081792:
            pcVar5 = "";
            pcVar4 = "???";
            pcVar7 = ", Handshake";
          }
          else {
            pcVar4 = handshakes[0].name;
            if ((uint)*buf != handshakes[0].retval) {
              pSVar6 = handshakes;
              do {
                pcVar4 = pSVar6[1].name;
                if (pcVar4 == (char *)0x0) goto LAB_00081792;
                pSVar1 = pSVar6 + 1;
                pSVar6 = pSVar6 + 1;
              } while ((uint)*buf != pSVar1->retval);
            }
            pcVar5 = "";
            pcVar7 = ", Handshake";
          }
          goto LAB_000817a4;
        }
        pcVar4 = "";
        pcVar5 = ", ApplicationData";
        if (content_type != 0x17) goto LAB_000816a5;
      }
      goto LAB_00081658;
    }
    if (len != 2) {
      pcVar5 = ", Alert";
      pcVar4 = ", ???";
      goto LAB_00081658;
    }
                    /* WARNING: Load size is inaccurate */
    pcVar4 = ", warning";
    if (*buf != '\x01') {
      pcVar4 = ", fatal";
      if (*buf != '\x02') {
        pcVar4 = ", ???";
      }
    }
    if (alert_types[0].name == (char *)0x0) {
      pcVar5 = " ???";
      pcVar7 = ", Alert";
    }
    else {
      pcVar5 = alert_types[0].name;
      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {
        pSVar6 = alert_types;
        do {
          pcVar5 = pSVar6[1].name;
          if (pcVar5 == (char *)0x0) {
            pcVar5 = " ???";
            pcVar7 = ", Alert";
            goto LAB_000817a4;
          }
          pSVar1 = pSVar6 + 1;
          pSVar6 = pSVar6 + 1;
        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);
      }
      pcVar7 = ", Alert";
    }
LAB_000817a4:
    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);
  }
  else {
    pcVar5 = "";
    pcVar4 = pcVar5;
LAB_00081658:
    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,
               &DAT_0008b720);
    if (len == 0) goto LAB_00081675;
  }
  uVar8 = 0;
  BIO_printf((BIO *)arg,"   ");
  do {
    if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {
      BIO_printf((BIO *)arg,"\n   ",pcVar4);
    }
    pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);
    uVar8 = uVar8 + 1;
    BIO_printf((BIO *)arg," %02x",pcVar4);
  } while (uVar8 < len);
  BIO_printf((BIO *)arg,"\n",pcVar4);
LAB_00081675:
  BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0);
  return;
}



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

void FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,
                 undefined4 param_6,BIO *param_7)

{
  undefined **ppuVar1;
  undefined *puVar2;
  undefined *puVar3;
  char *pcVar4;
  undefined **ppuVar5;
  char *pcVar6;
  uint uVar7;
  undefined *puVar8;
  
  puVar2 = &DAT_0009924a;
  if (param_1 != 0) {
    puVar2 = &DAT_00099246;
  }
  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {
LAB_000815f6:
    puVar3 = &DAT_00099258;
  }
  else {
    puVar3 = PTR_s_SSL_3_0_000cc440;
    if (param_2 != DAT_000cc444) {
      ppuVar5 = &PTR_s_SSL_3_0_000cc440;
      do {
        puVar3 = ppuVar5[2];
        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;
        ppuVar1 = ppuVar5 + 3;
        ppuVar5 = ppuVar5 + 2;
      } while (param_2 != *ppuVar1);
    }
  }
  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||
     (param_2 + -0x300 < (undefined *)0x5)) {
    if (param_3 != 0x15) {
      if (param_3 < 0x16) {
        pcVar6 = ", ChangeCipherSpec";
        pcVar4 = "";
        if (param_3 != 0x14) {
LAB_000816a5:
          pcVar6 = "";
          pcVar4 = pcVar6;
        }
      }
      else {
        if (param_3 == 0x16) {
          if (param_5 == 0) {
            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,
                       &DAT_00099258,&DAT_0008b720);
            goto LAB_00081675;
          }
          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {
LAB_00081792:
            puVar8 = &DAT_0008b720;
            pcVar4 = "???";
            pcVar6 = ", Handshake";
          }
          else {
            pcVar4 = PTR_s___HelloRequest_000cc260;
            if ((undefined *)(uint)*param_4 != DAT_000cc264) {
              ppuVar5 = &PTR_s___HelloRequest_000cc260;
              do {
                pcVar4 = ppuVar5[2];
                if (pcVar4 == (char *)0x0) goto LAB_00081792;
                ppuVar1 = ppuVar5 + 3;
                ppuVar5 = ppuVar5 + 2;
              } while ((undefined *)(uint)*param_4 != *ppuVar1);
            }
            puVar8 = &DAT_0008b720;
            pcVar6 = ", Handshake";
          }
          goto LAB_000817a4;
        }
        pcVar4 = "";
        pcVar6 = ", ApplicationData";
        if (param_3 != 0x17) goto LAB_000816a5;
      }
      goto LAB_00081658;
    }
    if (param_5 != 2) {
      pcVar6 = ", Alert";
      pcVar4 = ", ???";
      goto LAB_00081658;
    }
    pcVar4 = ", warning";
    if (*param_4 != 1) {
      pcVar4 = ", fatal";
      if (*param_4 != 2) {
        pcVar4 = ", ???";
      }
    }
    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {
      puVar8 = &DAT_00099257;
      pcVar6 = ", Alert";
    }
    else {
      puVar8 = PTR_s_close_notify_000cc320;
      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {
        ppuVar5 = &PTR_s_close_notify_000cc320;
        do {
          puVar8 = ppuVar5[2];
          if (puVar8 == (undefined *)0x0) {
            puVar8 = &DAT_00099257;
            pcVar6 = ", Alert";
            goto LAB_000817a4;
          }
          ppuVar1 = ppuVar5 + 3;
          ppuVar5 = ppuVar5 + 2;
        } while ((undefined *)(uint)param_4[1] != *ppuVar1);
      }
      pcVar6 = ", Alert";
    }
LAB_000817a4:
    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);
  }
  else {
    pcVar6 = "";
    pcVar4 = pcVar6;
LAB_00081658:
    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,
               &DAT_0008b720);
    if (param_5 == 0) goto LAB_00081675;
  }
  uVar7 = 0;
  BIO_printf(param_7,"   ");
  do {
    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {
      BIO_printf(param_7,"\n   ",pcVar4);
    }
    pcVar4 = (char *)(uint)param_4[uVar7];
    uVar7 = uVar7 + 1;
    BIO_printf(param_7," %02x",pcVar4);
  } while (uVar7 < param_5);
  BIO_printf(param_7,"\n",pcVar4);
LAB_00081675:
  BIO_ctrl(param_7,0xb,0,(void *)0x0);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0002c850
ADD EBX,0x434df
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x48]
TEST EAX,EAX
LEA EDI,[EBX + 0xfffd47ce]
LEA EAX,[EBX + 0xfffd47d2]
CMOVNZ EAX,EDI
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [EBX + 0x79c8]
TEST EAX,EAX
JZ 0x000815f6
CMP EDX,dword ptr [EBX + 0x79cc]
JZ 0x000815fc
LEA EDI,[EBX + 0x79c8]
JMP 0x000815ed
CMP EDX,dword ptr [EDI + 0x4]
JZ 0x000815fc
ADD EDI,0x8
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JNZ 0x000815e8
LEA EAX,[EBX + 0xfffd47e0]
CMP EDX,0xfeff
SETZ byte ptr [ESP + 0x4]
CMP EDX,0x100
SETZ CL
OR CL,byte ptr [ESP + 0x4]
JNZ 0x00081625
SUB EDX,0x300
CMP EDX,0x4
JA 0x000816b0
CMP dword ptr [ESP + 0x38],0x15
JZ 0x000817c8
JLE 0x00081690
CMP dword ptr [ESP + 0x38],0x16
JZ 0x00081750
LEA EDX,[EBX + 0xfffc6ca8]
CMP dword ptr [ESP + 0x38],0x17
LEA ECX,[EBX + 0xfffd47ee]
MOV EDI,EDX
JNZ 0x000816a5
LEA ESI,[ESI]
PUSH EDX
PUSH EDI
PUSH EBP
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfffd4827]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
PUSH ESI
CALL 0x00027240
ADD ESP,0x20
TEST EBP,EBP
JNZ 0x000816c0
PUSH 0x0
PUSH 0x0
PUSH 0xb
PUSH ESI
CALL 0x0002b800
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + 0xfffc6ca8]
CMP dword ptr [ESP + 0x38],0x14
LEA ECX,[EBX + 0xfffd4800]
MOV EDI,EDX
JZ 0x00081658
MOV ECX,EDX
JMP 0x00081658
LEA EDX,[EBX + 0xfffc6ca8]
MOV EDI,EDX
MOV ECX,EDX
JMP 0x00081658
SUB ESP,0x8
LEA EAX,[EBX + 0xfffd4844]
XOR EDI,EDI
PUSH EAX
PUSH ESI
CALL 0x00027240
ADD ESP,0x10
LEA EAX,[EBX + 0xfffd4848]
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[EBX + 0xfffd4843]
MOV dword ptr [ESP + 0x8],EAX
JMP 0x00081710
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX + EDI*0x1]
ADD EDI,0x1
PUSH EAX
PUSH dword ptr [ESP + 0xc]
PUSH ESI
CALL 0x00027240
ADD ESP,0x10
CMP EBP,EDI
JBE 0x00081730
TEST EDI,0xf
JNZ 0x000816f0
TEST EDI,EDI
JZ 0x000816f0
SUB ESP,0x8
PUSH dword ptr [ESP + 0x10]
PUSH ESI
CALL 0x00027240
ADD ESP,0xc
JMP 0x000816f3
SUB ESP,0x8
LEA EAX,[EBX + 0xfffc6ca7]
PUSH EAX
PUSH ESI
CALL 0x00027240
ADD ESP,0x10
JMP 0x00081675
TEST EBP,EBP
JZ 0x000817e4
MOV ECX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [EBX + 0x77e8]
MOVZX EDI,byte ptr [ECX]
TEST EDX,EDX
JZ 0x00081792
CMP EDI,dword ptr [EBX + 0x77ec]
JZ 0x00081893
LEA ECX,[EBX + 0x77e8]
JMP 0x00081789
CMP EDI,dword ptr [ECX + 0x4]
JZ 0x00081893
ADD ECX,0x8
MOV EDX,dword ptr [ECX]
TEST EDX,EDX
JNZ 0x00081780
LEA EDI,[EBX + 0xfffc6ca8]
LEA EDX,[EBX + 0xfffd47e0]
LEA ECX,[EBX + 0xfffd481b]
PUSH EDI
PUSH EDX
PUSH EBP
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfffd4827]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
PUSH ESI
CALL 0x00027240
ADD ESP,0x18
JMP 0x000816c3
CMP EBP,0x2
JZ 0x00081815
LEA EDI,[EBX + 0xfffd47de]
LEA ECX,[EBX + 0xfffd4813]
LEA EDX,[EBX + 0xfffc6ca8]
JMP 0x00081658
LEA EDX,[EBX + 0xfffc6ca8]
PUSH EDX
LEA EDX,[EBX + 0xfffd47e0]
PUSH EDX
LEA EDX,[EBX + 0xfffd481b]
PUSH 0x0
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfffd4827]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
PUSH ESI
CALL 0x00027240
ADD ESP,0x20
JMP 0x00081675
MOV ECX,dword ptr [ESP + 0x3c]
LEA EDX,[EBX + 0xfffd47e4]
MOVZX ECX,byte ptr [ECX]
CMP CL,0x1
JZ 0x00081839
CMP CL,0x2
LEA EDX,[EBX + 0xfffd47d6]
LEA ECX,[EBX + 0xfffd47de]
CMOVNZ EDX,ECX
MOV ECX,dword ptr [ESP + 0x3c]
MOV EDI,dword ptr [EBX + 0x78a8]
MOVZX ECX,byte ptr [ECX + 0x1]
TEST EDI,EDI
JZ 0x000818b3
MOV dword ptr [ESP + 0x4],ECX
CMP ECX,dword ptr [EBX + 0x78ac]
JZ 0x000818a8
MOV dword ptr [ESP + 0xc],EDX
LEA ECX,[EBX + 0x78a8]
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x00081875
CMP EDX,dword ptr [ECX + 0x4]
JZ 0x000818a4
ADD ECX,0x8
MOV EDI,dword ptr [ECX]
TEST EDI,EDI
JNZ 0x00081870
MOV EDX,dword ptr [ESP + 0xc]
LEA EDI,[EBX + 0xfffd47df]
LEA ECX,[EBX + 0xfffd4813]
JMP 0x000817a4
LEA EDI,[EBX + 0xfffc6ca8]
LEA ECX,[EBX + 0xfffd481b]
JMP 0x000817a4
MOV EDX,dword ptr [ESP + 0xc]
LEA ECX,[EBX + 0xfffd4813]
JMP 0x000817a4
LEA EDI,[EBX + 0xfffd47df]
LEA ECX,[EBX + 0xfffd4813]
JMP 0x000817a4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)\n\n{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}\n\n" comment (function_definition "void FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)\n\n{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}" primitive_type (function_declarator "FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)" identifier (parameter_list "(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "BIO *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}" { (declaration "undefined **ppuVar1;" type_identifier (pointer_declarator "**ppuVar1" * (pointer_declarator "*ppuVar1" * identifier)) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "puVar2 = &DAT_0009924a;" (assignment_expression "puVar2 = &DAT_0009924a" identifier = (pointer_expression "&DAT_0009924a" & identifier)) ;) (if_statement "if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = &DAT_00099246;\n  }" { (expression_statement "puVar2 = &DAT_00099246;" (assignment_expression "puVar2 = &DAT_00099246" identifier = (pointer_expression "&DAT_00099246" & identifier)) ;) })) (if_statement "if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" if (parenthesized_expression "(PTR_s_SSL_3_0_000cc440 == (undefined *)0x0)" ( (binary_expression "PTR_s_SSL_3_0_000cc440 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }" { (labeled_statement "LAB_000815f6:\n    puVar3 = &DAT_00099258;" statement_identifier : (expression_statement "puVar3 = &DAT_00099258;" (assignment_expression "puVar3 = &DAT_00099258" identifier = (pointer_expression "&DAT_00099258" & identifier)) ;)) }) (else_clause "else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" else (compound_statement "{\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" { (expression_statement "puVar3 = PTR_s_SSL_3_0_000cc440;" (assignment_expression "puVar3 = PTR_s_SSL_3_0_000cc440" identifier = identifier) ;) (if_statement "if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }" if (parenthesized_expression "(param_2 != DAT_000cc444)" ( (binary_expression "param_2 != DAT_000cc444" identifier != identifier) )) (compound_statement "{\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }" { (expression_statement "ppuVar5 = &PTR_s_SSL_3_0_000cc440;" (assignment_expression "ppuVar5 = &PTR_s_SSL_3_0_000cc440" identifier = (pointer_expression "&PTR_s_SSL_3_0_000cc440" & identifier)) ;) (do_statement "do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);" do (compound_statement "{\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      }" { (expression_statement "puVar3 = ppuVar5[2];" (assignment_expression "puVar3 = ppuVar5[2]" identifier = (subscript_expression "ppuVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (puVar3 == (undefined *)0x0) goto LAB_000815f6;" if (parenthesized_expression "(puVar3 == (undefined *)0x0)" ( (binary_expression "puVar3 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000815f6;" goto statement_identifier ;)) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" identifier = (binary_expression "ppuVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != *ppuVar1)" ( (binary_expression "param_2 != *ppuVar1" identifier != (pointer_expression "*ppuVar1" * identifier)) )) ;) })) }))) (if_statement "if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" if (parenthesized_expression "((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5))" ( (binary_expression "(param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)" (parenthesized_expression "(param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff)" ( (binary_expression "param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff" (binary_expression "param_2 == (undefined *)0x100" identifier == (cast_expression "(undefined *)0x100" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "param_2 == (undefined *)0xfeff" identifier == (cast_expression "(undefined *)0xfeff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) || (parenthesized_expression "(param_2 + -0x300 < (undefined *)0x5)" ( (binary_expression "param_2 + -0x300 < (undefined *)0x5" (binary_expression "param_2 + -0x300" identifier + number_literal) < (cast_expression "(undefined *)0x5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }" { (if_statement "if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" if (parenthesized_expression "(param_3 != 0x15)" ( (binary_expression "param_3 != 0x15" identifier != number_literal) )) (compound_statement "{\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" { (if_statement "if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" if (parenthesized_expression "(param_3 < 0x16)" ( (binary_expression "param_3 < 0x16" identifier < number_literal) )) (compound_statement "{\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }" { (expression_statement "pcVar6 = ", ChangeCipherSpec";" (assignment_expression "pcVar6 = ", ChangeCipherSpec"" identifier = (string_literal "", ChangeCipherSpec"" " string_content ")) ;) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ identifier = (string_literal """" " ")) ;) (if_statement "if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }" if (parenthesized_expression "(param_3 != 0x14)" ( (binary_expression "param_3 != 0x14" identifier != number_literal) )) (compound_statement "{\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }" { (labeled_statement "LAB_000816a5:\n          pcVar6 = "";" statement_identifier : (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ identifier = (string_literal """" " ")) ;)) (expression_statement "pcVar4 = pcVar6;" (assignment_expression "pcVar4 = pcVar6" identifier = identifier) ;) })) }) (else_clause "else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" else (compound_statement "{\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" { (if_statement "if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" if (parenthesized_expression "(param_3 == 0x16)" ( (binary_expression "param_3 == 0x16" identifier == number_literal) )) (compound_statement "{\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" { (if_statement "if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" { (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" identifier (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" ( identifier , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , (string_literal "", Handshake"" " string_content ") , number_literal , (pointer_expression "&DAT_00099258" & identifier) , (pointer_expression "&DAT_0008b720" & identifier) ))) ;) (goto_statement "goto LAB_00081675;" goto statement_identifier ;) })) (if_statement "if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" if (parenthesized_expression "(PTR_s___HelloRequest_000cc260 == (undefined *)0x0)" ( (binary_expression "PTR_s___HelloRequest_000cc260 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }" { (labeled_statement "LAB_00081792:\n            puVar8 = &DAT_0008b720;" statement_identifier : (expression_statement "puVar8 = &DAT_0008b720;" (assignment_expression "puVar8 = &DAT_0008b720" identifier = (pointer_expression "&DAT_0008b720" & identifier)) ;)) (expression_statement "pcVar4 = "???";" (assignment_expression "pcVar4 = "???"" identifier = (string_literal ""???"" " string_content ")) ;) (expression_statement "pcVar6 = ", Handshake";" (assignment_expression "pcVar6 = ", Handshake"" identifier = (string_literal "", Handshake"" " string_content ")) ;) }) (else_clause "else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" else (compound_statement "{\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" { (expression_statement "pcVar4 = PTR_s___HelloRequest_000cc260;" (assignment_expression "pcVar4 = PTR_s___HelloRequest_000cc260" identifier = identifier) ;) (if_statement "if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }" if (parenthesized_expression "((undefined *)(uint)*param_4 != DAT_000cc264)" ( (binary_expression "(undefined *)(uint)*param_4 != DAT_000cc264" (binary_expression "(undefined *)(uint)*param_4" (cast_expression "(undefined *)(uint)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) != identifier) )) (compound_statement "{\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }" { (expression_statement "ppuVar5 = &PTR_s___HelloRequest_000cc260;" (assignment_expression "ppuVar5 = &PTR_s___HelloRequest_000cc260" identifier = (pointer_expression "&PTR_s___HelloRequest_000cc260" & identifier)) ;) (do_statement "do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);" do (compound_statement "{\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              }" { (expression_statement "pcVar4 = ppuVar5[2];" (assignment_expression "pcVar4 = ppuVar5[2]" identifier = (subscript_expression "ppuVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (pcVar4 == (char *)0x0) goto LAB_00081792;" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00081792;" goto statement_identifier ;)) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" identifier = (binary_expression "ppuVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined *)(uint)*param_4 != *ppuVar1)" ( (binary_expression "(undefined *)(uint)*param_4 != *ppuVar1" (binary_expression "(undefined *)(uint)*param_4" (cast_expression "(undefined *)(uint)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) != (pointer_expression "*ppuVar1" * identifier)) )) ;) })) (expression_statement "puVar8 = &DAT_0008b720;" (assignment_expression "puVar8 = &DAT_0008b720" identifier = (pointer_expression "&DAT_0008b720" & identifier)) ;) (expression_statement "pcVar6 = ", Handshake";" (assignment_expression "pcVar6 = ", Handshake"" identifier = (string_literal "", Handshake"" " string_content ")) ;) }))) (goto_statement "goto LAB_000817a4;" goto statement_identifier ;) })) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar6 = ", ApplicationData";" (assignment_expression "pcVar6 = ", ApplicationData"" identifier = (string_literal "", ApplicationData"" " string_content ")) ;) (if_statement "if (param_3 != 0x17) goto LAB_000816a5;" if (parenthesized_expression "(param_3 != 0x17)" ( (binary_expression "param_3 != 0x17" identifier != number_literal) )) (goto_statement "goto LAB_000816a5;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_00081658;" goto statement_identifier ;) })) (if_statement "if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" if (parenthesized_expression "(param_5 != 2)" ( (binary_expression "param_5 != 2" identifier != number_literal) )) (compound_statement "{\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" { (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" identifier = (string_literal "", ???"" " string_content ")) ;) (goto_statement "goto LAB_00081658;" goto statement_identifier ;) })) (expression_statement "pcVar4 = ", warning";" (assignment_expression "pcVar4 = ", warning"" identifier = (string_literal "", warning"" " string_content ")) ;) (if_statement "if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }" if (parenthesized_expression "(*param_4 != 1)" ( (binary_expression "*param_4 != 1" (pointer_expression "*param_4" * identifier) != number_literal) )) (compound_statement "{\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }" { (expression_statement "pcVar4 = ", fatal";" (assignment_expression "pcVar4 = ", fatal"" identifier = (string_literal "", fatal"" " string_content ")) ;) (if_statement "if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }" if (parenthesized_expression "(*param_4 != 2)" ( (binary_expression "*param_4 != 2" (pointer_expression "*param_4" * identifier) != number_literal) )) (compound_statement "{\n        pcVar4 = ", ???";\n      }" { (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" identifier = (string_literal "", ???"" " string_content ")) ;) })) })) (if_statement "if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" if (parenthesized_expression "(PTR_s_close_notify_000cc320 == (undefined *)0x0)" ( (binary_expression "PTR_s_close_notify_000cc320 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }" { (expression_statement "puVar8 = &DAT_00099257;" (assignment_expression "puVar8 = &DAT_00099257" identifier = (pointer_expression "&DAT_00099257" & identifier)) ;) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) }) (else_clause "else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" else (compound_statement "{\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" { (expression_statement "puVar8 = PTR_s_close_notify_000cc320;" (assignment_expression "puVar8 = PTR_s_close_notify_000cc320" identifier = identifier) ;) (if_statement "if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }" if (parenthesized_expression "((undefined *)(uint)param_4[1] != DAT_000cc324)" ( (binary_expression "(undefined *)(uint)param_4[1] != DAT_000cc324" (cast_expression "(undefined *)(uint)param_4[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)param_4[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) != identifier) )) (compound_statement "{\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }" { (expression_statement "ppuVar5 = &PTR_s_close_notify_000cc320;" (assignment_expression "ppuVar5 = &PTR_s_close_notify_000cc320" identifier = (pointer_expression "&PTR_s_close_notify_000cc320" & identifier)) ;) (do_statement "do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);" do (compound_statement "{\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        }" { (expression_statement "puVar8 = ppuVar5[2];" (assignment_expression "puVar8 = ppuVar5[2]" identifier = (subscript_expression "ppuVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }" if (parenthesized_expression "(puVar8 == (undefined *)0x0)" ( (binary_expression "puVar8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }" { (expression_statement "puVar8 = &DAT_00099257;" (assignment_expression "puVar8 = &DAT_00099257" identifier = (pointer_expression "&DAT_00099257" & identifier)) ;) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) (goto_statement "goto LAB_000817a4;" goto statement_identifier ;) })) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" identifier = (binary_expression "ppuVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined *)(uint)param_4[1] != *ppuVar1)" ( (binary_expression "(undefined *)(uint)param_4[1] != *ppuVar1" (cast_expression "(undefined *)(uint)param_4[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)param_4[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) != (pointer_expression "*ppuVar1" * identifier)) )) ;) })) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) }))) (labeled_statement "LAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);" statement_identifier : (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8)" identifier (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8)" ( identifier , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) }) (else_clause "else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" else (compound_statement "{\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" { (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar4 = pcVar6;" (assignment_expression "pcVar4 = pcVar6" identifier = identifier) ;) (labeled_statement "LAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);" statement_identifier : (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720)" identifier (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720)" ( identifier , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&DAT_0008b720" & identifier) ))) ;)) (if_statement "if (param_5 == 0) goto LAB_00081675;" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00081675;" goto statement_identifier ;)) }))) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "BIO_printf(param_7,"   ");" (call_expression "BIO_printf(param_7,"   ")" identifier (argument_list "(param_7,"   ")" ( identifier , (string_literal ""   "" " string_content ") ))) ;) (do_statement "do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);" do (compound_statement "{\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  }" { (if_statement "if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }" if (parenthesized_expression "(((uVar7 & 0xf) == 0) && (uVar7 != 0))" ( (binary_expression "((uVar7 & 0xf) == 0) && (uVar7 != 0)" (parenthesized_expression "((uVar7 & 0xf) == 0)" ( (binary_expression "(uVar7 & 0xf) == 0" (parenthesized_expression "(uVar7 & 0xf)" ( (binary_expression "uVar7 & 0xf" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }" { (expression_statement "BIO_printf(param_7,"\n   ",pcVar4);" (call_expression "BIO_printf(param_7,"\n   ",pcVar4)" identifier (argument_list "(param_7,"\n   ",pcVar4)" ( identifier , (string_literal ""\n   "" " escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "pcVar4 = (char *)(uint)param_4[uVar7];" (assignment_expression "pcVar4 = (char *)(uint)param_4[uVar7]" identifier = (cast_expression "(char *)(uint)param_4[uVar7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)param_4[uVar7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[uVar7]" identifier [ identifier ])))) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "BIO_printf(param_7," %02x",pcVar4);" (call_expression "BIO_printf(param_7," %02x",pcVar4)" identifier (argument_list "(param_7," %02x",pcVar4)" ( identifier , (string_literal "" %02x"" " string_content ") , identifier ))) ;) }) while (parenthesized_expression "(uVar7 < param_5)" ( (binary_expression "uVar7 < param_5" identifier < identifier) )) ;) (expression_statement "BIO_printf(param_7,"\n",pcVar4);" (call_expression "BIO_printf(param_7,"\n",pcVar4)" identifier (argument_list "(param_7,"\n",pcVar4)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) (labeled_statement "LAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);" statement_identifier : (expression_statement "BIO_ctrl(param_7,0xb,0,(void *)0x0);" (call_expression "BIO_ctrl(param_7,0xb,0,(void *)0x0)" identifier (argument_list "(param_7,0xb,0,(void *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid msg_cb(int write_p,int version,int content_type,void *buf,size_t len,SSL *ssl,void *arg)\n\n{\n  STRINT_PAIR *pSVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  char *pcVar4;\n  char *pcVar5;\n  STRINT_PAIR *pSVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (write_p != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (ssl_versions[0].name == (char *)0x0) {\nLAB_000815f6:\n    pcVar3 = "???";\n  }\n  else {\n    pcVar3 = ssl_versions[0].name;\n    if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }\n  }\n  if ((version == 0x100 || version == 0xfeff) || (version - 0x300U < 5)) {\n    if (content_type != 0x15) {\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (len != 2) {\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = ", warning";\n    if (*buf != '\x01') {\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }\n    if (alert_types[0].name == (char *)0x0) {\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }\n    else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);\n  }\n  else {\n    pcVar5 = "";\n    pcVar4 = pcVar5;\nLAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);\n    if (len == 0) goto LAB_00081675;\n  }\n  uVar8 = 0;\n  BIO_printf((BIO *)arg,"   ");\n  do {\n    if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);\n    uVar8 = uVar8 + 1;\n    BIO_printf((BIO *)arg," %02x",pcVar4);\n  } while (uVar8 < len);\n  BIO_printf((BIO *)arg,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0);\n  return;\n}\n\n" comment comment (function_definition "void msg_cb(int write_p,int version,int content_type,void *buf,size_t len,SSL *ssl,void *arg)\n\n{\n  STRINT_PAIR *pSVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  char *pcVar4;\n  char *pcVar5;\n  STRINT_PAIR *pSVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (write_p != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (ssl_versions[0].name == (char *)0x0) {\nLAB_000815f6:\n    pcVar3 = "???";\n  }\n  else {\n    pcVar3 = ssl_versions[0].name;\n    if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }\n  }\n  if ((version == 0x100 || version == 0xfeff) || (version - 0x300U < 5)) {\n    if (content_type != 0x15) {\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (len != 2) {\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = ", warning";\n    if (*buf != '\x01') {\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }\n    if (alert_types[0].name == (char *)0x0) {\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }\n    else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);\n  }\n  else {\n    pcVar5 = "";\n    pcVar4 = pcVar5;\nLAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);\n    if (len == 0) goto LAB_00081675;\n  }\n  uVar8 = 0;\n  BIO_printf((BIO *)arg,"   ");\n  do {\n    if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);\n    uVar8 = uVar8 + 1;\n    BIO_printf((BIO *)arg," %02x",pcVar4);\n  } while (uVar8 < len);\n  BIO_printf((BIO *)arg,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0);\n  return;\n}" primitive_type (function_declarator "msg_cb(int write_p,int version,int content_type,void *buf,size_t len,SSL *ssl,void *arg)" identifier (parameter_list "(int write_p,int version,int content_type,void *buf,size_t len,SSL *ssl,void *arg)" ( (parameter_declaration "int write_p" primitive_type identifier) , (parameter_declaration "int version" primitive_type identifier) , (parameter_declaration "int content_type" primitive_type identifier) , (parameter_declaration "void *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "SSL *ssl" type_identifier (pointer_declarator "*ssl" * identifier)) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  STRINT_PAIR *pSVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  char *pcVar4;\n  char *pcVar5;\n  STRINT_PAIR *pSVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (write_p != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (ssl_versions[0].name == (char *)0x0) {\nLAB_000815f6:\n    pcVar3 = "???";\n  }\n  else {\n    pcVar3 = ssl_versions[0].name;\n    if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }\n  }\n  if ((version == 0x100 || version == 0xfeff) || (version - 0x300U < 5)) {\n    if (content_type != 0x15) {\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (len != 2) {\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = ", warning";\n    if (*buf != '\x01') {\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }\n    if (alert_types[0].name == (char *)0x0) {\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }\n    else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);\n  }\n  else {\n    pcVar5 = "";\n    pcVar4 = pcVar5;\nLAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);\n    if (len == 0) goto LAB_00081675;\n  }\n  uVar8 = 0;\n  BIO_printf((BIO *)arg,"   ");\n  do {\n    if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);\n    uVar8 = uVar8 + 1;\n    BIO_printf((BIO *)arg," %02x",pcVar4);\n  } while (uVar8 < len);\n  BIO_printf((BIO *)arg,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0);\n  return;\n}" { (declaration "STRINT_PAIR *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "STRINT_PAIR *pSVar6;" type_identifier (pointer_declarator "*pSVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "puVar2 = &DAT_0009924a;" (assignment_expression "puVar2 = &DAT_0009924a" identifier = (pointer_expression "&DAT_0009924a" & identifier)) ;) (if_statement "if (write_p != 0) {\n    puVar2 = &DAT_00099246;\n  }" if (parenthesized_expression "(write_p != 0)" ( (binary_expression "write_p != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = &DAT_00099246;\n  }" { (expression_statement "puVar2 = &DAT_00099246;" (assignment_expression "puVar2 = &DAT_00099246" identifier = (pointer_expression "&DAT_00099246" & identifier)) ;) })) (if_statement "if (ssl_versions[0].name == (char *)0x0) {\nLAB_000815f6:\n    pcVar3 = "???";\n  }\n  else {\n    pcVar3 = ssl_versions[0].name;\n    if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }\n  }" if (parenthesized_expression "(ssl_versions[0].name == (char *)0x0)" ( (binary_expression "ssl_versions[0].name == (char *)0x0" (field_expression "ssl_versions[0].name" (subscript_expression "ssl_versions[0]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000815f6:\n    pcVar3 = "???";\n  }" { (labeled_statement "LAB_000815f6:\n    pcVar3 = "???";" statement_identifier : (expression_statement "pcVar3 = "???";" (assignment_expression "pcVar3 = "???"" identifier = (string_literal ""???"" " string_content ")) ;)) }) (else_clause "else {\n    pcVar3 = ssl_versions[0].name;\n    if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }\n  }" else (compound_statement "{\n    pcVar3 = ssl_versions[0].name;\n    if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }\n  }" { (expression_statement "pcVar3 = ssl_versions[0].name;" (assignment_expression "pcVar3 = ssl_versions[0].name" identifier = (field_expression "ssl_versions[0].name" (subscript_expression "ssl_versions[0]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (version != ssl_versions[0].retval) {\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }" if (parenthesized_expression "(version != ssl_versions[0].retval)" ( (binary_expression "version != ssl_versions[0].retval" identifier != (field_expression "ssl_versions[0].retval" (subscript_expression "ssl_versions[0]" identifier [ number_literal ]) . field_identifier)) )) (compound_statement "{\n      pSVar6 = ssl_versions;\n      do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);\n    }" { (expression_statement "pSVar6 = ssl_versions;" (assignment_expression "pSVar6 = ssl_versions" identifier = identifier) ;) (do_statement "do {\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      } while (version != pSVar1->retval);" do (compound_statement "{\n        pcVar3 = pSVar6[1].name;\n        if (pcVar3 == (char *)0x0) goto LAB_000815f6;\n        pSVar1 = pSVar6 + 1;\n        pSVar6 = pSVar6 + 1;\n      }" { (expression_statement "pcVar3 = pSVar6[1].name;" (assignment_expression "pcVar3 = pSVar6[1].name" identifier = (field_expression "pSVar6[1].name" (subscript_expression "pSVar6[1]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (pcVar3 == (char *)0x0) goto LAB_000815f6;" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000815f6;" goto statement_identifier ;)) (expression_statement "pSVar1 = pSVar6 + 1;" (assignment_expression "pSVar1 = pSVar6 + 1" identifier = (binary_expression "pSVar6 + 1" identifier + number_literal)) ;) (expression_statement "pSVar6 = pSVar6 + 1;" (assignment_expression "pSVar6 = pSVar6 + 1" identifier = (binary_expression "pSVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(version != pSVar1->retval)" ( (binary_expression "version != pSVar1->retval" identifier != (field_expression "pSVar1->retval" identifier -> field_identifier)) )) ;) })) }))) (if_statement "if ((version == 0x100 || version == 0xfeff) || (version - 0x300U < 5)) {\n    if (content_type != 0x15) {\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (len != 2) {\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = ", warning";\n    if (*buf != '\x01') {\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }\n    if (alert_types[0].name == (char *)0x0) {\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }\n    else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);\n  }\n  else {\n    pcVar5 = "";\n    pcVar4 = pcVar5;\nLAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);\n    if (len == 0) goto LAB_00081675;\n  }" if (parenthesized_expression "((version == 0x100 || version == 0xfeff) || (version - 0x300U < 5))" ( (binary_expression "(version == 0x100 || version == 0xfeff) || (version - 0x300U < 5)" (parenthesized_expression "(version == 0x100 || version == 0xfeff)" ( (binary_expression "version == 0x100 || version == 0xfeff" (binary_expression "version == 0x100" identifier == number_literal) || (binary_expression "version == 0xfeff" identifier == number_literal)) )) || (parenthesized_expression "(version - 0x300U < 5)" ( (binary_expression "version - 0x300U < 5" (binary_expression "version - 0x300U" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n    if (content_type != 0x15) {\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (len != 2) {\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = ", warning";\n    if (*buf != '\x01') {\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }\n    if (alert_types[0].name == (char *)0x0) {\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }\n    else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);\n  }" { (if_statement "if (content_type != 0x15) {\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" if (parenthesized_expression "(content_type != 0x15)" ( (binary_expression "content_type != 0x15" identifier != number_literal) )) (compound_statement "{\n      if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" { (if_statement "if (content_type < 0x16) {\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }\n      else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }" if (parenthesized_expression "(content_type < 0x16)" ( (binary_expression "content_type < 0x16" identifier < number_literal) )) (compound_statement "{\n        pcVar5 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }\n      }" { (expression_statement "pcVar5 = ", ChangeCipherSpec";" (assignment_expression "pcVar5 = ", ChangeCipherSpec"" identifier = (string_literal "", ChangeCipherSpec"" " string_content ")) ;) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ identifier = (string_literal """" " ")) ;) (if_statement "if (content_type != 0x14) {\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }" if (parenthesized_expression "(content_type != 0x14)" ( (binary_expression "content_type != 0x14" identifier != number_literal) )) (compound_statement "{\nLAB_000816a5:\n          pcVar5 = "";\n          pcVar4 = pcVar5;\n        }" { (labeled_statement "LAB_000816a5:\n          pcVar5 = "";" statement_identifier : (expression_statement "pcVar5 = "";" (assignment_expression "pcVar5 = """ identifier = (string_literal """" " ")) ;)) (expression_statement "pcVar4 = pcVar5;" (assignment_expression "pcVar4 = pcVar5" identifier = identifier) ;) })) }) (else_clause "else {\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }" else (compound_statement "{\n        if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar5 = ", ApplicationData";\n        if (content_type != 0x17) goto LAB_000816a5;\n      }" { (if_statement "if (content_type == 0x16) {\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" if (parenthesized_expression "(content_type == 0x16)" ( (binary_expression "content_type == 0x16" identifier == number_literal) )) (compound_statement "{\n          if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n                    /* WARNING: Load size is inaccurate */\n          if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" { (if_statement "if (len == 0) {\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" if (parenthesized_expression "(len == 0)" ( (binary_expression "len == 0" identifier == number_literal) )) (compound_statement "{\n            BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" { (expression_statement "BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);" (call_expression "BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" identifier (argument_list "((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , (string_literal "", Handshake"" " string_content ") , number_literal , (pointer_expression "&DAT_00099258" & identifier) , (pointer_expression "&DAT_0008b720" & identifier) ))) ;) (goto_statement "goto LAB_00081675;" goto statement_identifier ;) })) comment (if_statement "if (handshakes[0].name == (char *)0x0) {\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }\n          else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }" if (parenthesized_expression "(handshakes[0].name == (char *)0x0)" ( (binary_expression "handshakes[0].name == (char *)0x0" (field_expression "handshakes[0].name" (subscript_expression "handshakes[0]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00081792:\n            pcVar5 = "";\n            pcVar4 = "???";\n            pcVar7 = ", Handshake";\n          }" { (labeled_statement "LAB_00081792:\n            pcVar5 = "";" statement_identifier : (expression_statement "pcVar5 = "";" (assignment_expression "pcVar5 = """ identifier = (string_literal """" " ")) ;)) (expression_statement "pcVar4 = "???";" (assignment_expression "pcVar4 = "???"" identifier = (string_literal ""???"" " string_content ")) ;) (expression_statement "pcVar7 = ", Handshake";" (assignment_expression "pcVar7 = ", Handshake"" identifier = (string_literal "", Handshake"" " string_content ")) ;) }) (else_clause "else {\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }" else (compound_statement "{\n            pcVar4 = handshakes[0].name;\n            if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }\n            pcVar5 = "";\n            pcVar7 = ", Handshake";\n          }" { (expression_statement "pcVar4 = handshakes[0].name;" (assignment_expression "pcVar4 = handshakes[0].name" identifier = (field_expression "handshakes[0].name" (subscript_expression "handshakes[0]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if ((uint)*buf != handshakes[0].retval) {\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }" if (parenthesized_expression "((uint)*buf != handshakes[0].retval)" ( (binary_expression "(uint)*buf != handshakes[0].retval" (binary_expression "(uint)*buf" (parenthesized_expression "(uint)" ( identifier )) * identifier) != (field_expression "handshakes[0].retval" (subscript_expression "handshakes[0]" identifier [ number_literal ]) . field_identifier)) )) (compound_statement "{\n              pSVar6 = handshakes;\n              do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);\n            }" { (expression_statement "pSVar6 = handshakes;" (assignment_expression "pSVar6 = handshakes" identifier = identifier) ;) (do_statement "do {\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              } while ((uint)*buf != pSVar1->retval);" do (compound_statement "{\n                pcVar4 = pSVar6[1].name;\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                pSVar1 = pSVar6 + 1;\n                pSVar6 = pSVar6 + 1;\n              }" { (expression_statement "pcVar4 = pSVar6[1].name;" (assignment_expression "pcVar4 = pSVar6[1].name" identifier = (field_expression "pSVar6[1].name" (subscript_expression "pSVar6[1]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (pcVar4 == (char *)0x0) goto LAB_00081792;" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00081792;" goto statement_identifier ;)) (expression_statement "pSVar1 = pSVar6 + 1;" (assignment_expression "pSVar1 = pSVar6 + 1" identifier = (binary_expression "pSVar6 + 1" identifier + number_literal)) ;) (expression_statement "pSVar6 = pSVar6 + 1;" (assignment_expression "pSVar6 = pSVar6 + 1" identifier = (binary_expression "pSVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((uint)*buf != pSVar1->retval)" ( (binary_expression "(uint)*buf != pSVar1->retval" (binary_expression "(uint)*buf" (parenthesized_expression "(uint)" ( identifier )) * identifier) != (field_expression "pSVar1->retval" identifier -> field_identifier)) )) ;) })) (expression_statement "pcVar5 = "";" (assignment_expression "pcVar5 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar7 = ", Handshake";" (assignment_expression "pcVar7 = ", Handshake"" identifier = (string_literal "", Handshake"" " string_content ")) ;) }))) (goto_statement "goto LAB_000817a4;" goto statement_identifier ;) })) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar5 = ", ApplicationData";" (assignment_expression "pcVar5 = ", ApplicationData"" identifier = (string_literal "", ApplicationData"" " string_content ")) ;) (if_statement "if (content_type != 0x17) goto LAB_000816a5;" if (parenthesized_expression "(content_type != 0x17)" ( (binary_expression "content_type != 0x17" identifier != number_literal) )) (goto_statement "goto LAB_000816a5;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_00081658;" goto statement_identifier ;) })) (if_statement "if (len != 2) {\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" if (parenthesized_expression "(len != 2)" ( (binary_expression "len != 2" identifier != number_literal) )) (compound_statement "{\n      pcVar5 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" { (expression_statement "pcVar5 = ", Alert";" (assignment_expression "pcVar5 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" identifier = (string_literal "", ???"" " string_content ")) ;) (goto_statement "goto LAB_00081658;" goto statement_identifier ;) })) comment (expression_statement "pcVar4 = ", warning";" (assignment_expression "pcVar4 = ", warning"" identifier = (string_literal "", warning"" " string_content ")) ;) (if_statement "if (*buf != '\x01') {\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }" if (parenthesized_expression "(*buf != '\x01')" ( (binary_expression "*buf != '\x01'" (pointer_expression "*buf" * identifier) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar4 = ", fatal";\n      if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }\n    }" { (expression_statement "pcVar4 = ", fatal";" (assignment_expression "pcVar4 = ", fatal"" identifier = (string_literal "", fatal"" " string_content ")) ;) (if_statement "if (*buf != '\x02') {\n        pcVar4 = ", ???";\n      }" if (parenthesized_expression "(*buf != '\x02')" ( (binary_expression "*buf != '\x02'" (pointer_expression "*buf" * identifier) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar4 = ", ???";\n      }" { (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" identifier = (string_literal "", ???"" " string_content ")) ;) })) })) (if_statement "if (alert_types[0].name == (char *)0x0) {\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }\n    else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }" if (parenthesized_expression "(alert_types[0].name == (char *)0x0)" ( (binary_expression "alert_types[0].name == (char *)0x0" (field_expression "alert_types[0].name" (subscript_expression "alert_types[0]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar5 = " ???";\n      pcVar7 = ", Alert";\n    }" { (expression_statement "pcVar5 = " ???";" (assignment_expression "pcVar5 = " ???"" identifier = (string_literal "" ???"" " string_content ")) ;) (expression_statement "pcVar7 = ", Alert";" (assignment_expression "pcVar7 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) }) (else_clause "else {\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }" else (compound_statement "{\n      pcVar5 = alert_types[0].name;\n      if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }\n      pcVar7 = ", Alert";\n    }" { (expression_statement "pcVar5 = alert_types[0].name;" (assignment_expression "pcVar5 = alert_types[0].name" identifier = (field_expression "alert_types[0].name" (subscript_expression "alert_types[0]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if ((uint)*(byte *)((int)buf + 1) != alert_types[0].retval) {\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }" if (parenthesized_expression "((uint)*(byte *)((int)buf + 1) != alert_types[0].retval)" ( (binary_expression "(uint)*(byte *)((int)buf + 1) != alert_types[0].retval" (binary_expression "(uint)*(byte *)((int)buf + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)buf + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buf + 1)" ( (binary_expression "(int)buf + 1" (cast_expression "(int)buf" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (field_expression "alert_types[0].retval" (subscript_expression "alert_types[0]" identifier [ number_literal ]) . field_identifier)) )) (compound_statement "{\n        pSVar6 = alert_types;\n        do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);\n      }" { (expression_statement "pSVar6 = alert_types;" (assignment_expression "pSVar6 = alert_types" identifier = identifier) ;) (do_statement "do {\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        } while ((uint)*(byte *)((int)buf + 1) != pSVar1->retval);" do (compound_statement "{\n          pcVar5 = pSVar6[1].name;\n          if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }\n          pSVar1 = pSVar6 + 1;\n          pSVar6 = pSVar6 + 1;\n        }" { (expression_statement "pcVar5 = pSVar6[1].name;" (assignment_expression "pcVar5 = pSVar6[1].name" identifier = (field_expression "pSVar6[1].name" (subscript_expression "pSVar6[1]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\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            pcVar5 = " ???";\n            pcVar7 = ", Alert";\n            goto LAB_000817a4;\n          }" { (expression_statement "pcVar5 = " ???";" (assignment_expression "pcVar5 = " ???"" identifier = (string_literal "" ???"" " string_content ")) ;) (expression_statement "pcVar7 = ", Alert";" (assignment_expression "pcVar7 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) (goto_statement "goto LAB_000817a4;" goto statement_identifier ;) })) (expression_statement "pSVar1 = pSVar6 + 1;" (assignment_expression "pSVar1 = pSVar6 + 1" identifier = (binary_expression "pSVar6 + 1" identifier + number_literal)) ;) (expression_statement "pSVar6 = pSVar6 + 1;" (assignment_expression "pSVar6 = pSVar6 + 1" identifier = (binary_expression "pSVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((uint)*(byte *)((int)buf + 1) != pSVar1->retval)" ( (binary_expression "(uint)*(byte *)((int)buf + 1) != pSVar1->retval" (binary_expression "(uint)*(byte *)((int)buf + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)buf + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buf + 1)" ( (binary_expression "(int)buf + 1" (cast_expression "(int)buf" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (field_expression "pSVar1->retval" identifier -> field_identifier)) )) ;) })) (expression_statement "pcVar7 = ", Alert";" (assignment_expression "pcVar7 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) }))) (labeled_statement "LAB_000817a4:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);" statement_identifier : (expression_statement "BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5);" (call_expression "BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5)" identifier (argument_list "((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar7,len,pcVar4,pcVar5)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) }) (else_clause "else {\n    pcVar5 = "";\n    pcVar4 = pcVar5;\nLAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);\n    if (len == 0) goto LAB_00081675;\n  }" else (compound_statement "{\n    pcVar5 = "";\n    pcVar4 = pcVar5;\nLAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);\n    if (len == 0) goto LAB_00081675;\n  }" { (expression_statement "pcVar5 = "";" (assignment_expression "pcVar5 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar4 = pcVar5;" (assignment_expression "pcVar4 = pcVar5" identifier = identifier) ;) (labeled_statement "LAB_00081658:\n    BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);" statement_identifier : (expression_statement "BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720);" (call_expression "BIO_printf((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720)" identifier (argument_list "((BIO *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,pcVar3,pcVar5,len,pcVar4,\n               &DAT_0008b720)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&DAT_0008b720" & identifier) ))) ;)) (if_statement "if (len == 0) goto LAB_00081675;" if (parenthesized_expression "(len == 0)" ( (binary_expression "len == 0" identifier == number_literal) )) (goto_statement "goto LAB_00081675;" goto statement_identifier ;)) }))) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "BIO_printf((BIO *)arg,"   ");" (call_expression "BIO_printf((BIO *)arg,"   ")" identifier (argument_list "((BIO *)arg,"   ")" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""   "" " string_content ") ))) ;) (do_statement "do {\n    if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);\n    uVar8 = uVar8 + 1;\n    BIO_printf((BIO *)arg," %02x",pcVar4);\n  } while (uVar8 < len);" do (compound_statement "{\n    if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);\n    uVar8 = uVar8 + 1;\n    BIO_printf((BIO *)arg," %02x",pcVar4);\n  }" { (if_statement "if (((uVar8 & 0xf) == 0) && (uVar8 != 0)) {\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }" if (parenthesized_expression "(((uVar8 & 0xf) == 0) && (uVar8 != 0))" ( (binary_expression "((uVar8 & 0xf) == 0) && (uVar8 != 0)" (parenthesized_expression "((uVar8 & 0xf) == 0)" ( (binary_expression "(uVar8 & 0xf) == 0" (parenthesized_expression "(uVar8 & 0xf)" ( (binary_expression "uVar8 & 0xf" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      BIO_printf((BIO *)arg,"\n   ",pcVar4);\n    }" { (expression_statement "BIO_printf((BIO *)arg,"\n   ",pcVar4);" (call_expression "BIO_printf((BIO *)arg,"\n   ",pcVar4)" identifier (argument_list "((BIO *)arg,"\n   ",pcVar4)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\n   "" " escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8);" (assignment_expression "pcVar4 = (char *)(uint)*(byte *)((int)buf + uVar8)" identifier = (binary_expression "(char *)(uint)*(byte *)((int)buf + uVar8)" (cast_expression "(char *)(uint)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)buf + uVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buf + uVar8)" ( (binary_expression "(int)buf + uVar8" (cast_expression "(int)buf" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "BIO_printf((BIO *)arg," %02x",pcVar4);" (call_expression "BIO_printf((BIO *)arg," %02x",pcVar4)" identifier (argument_list "((BIO *)arg," %02x",pcVar4)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "" %02x"" " string_content ") , identifier ))) ;) }) while (parenthesized_expression "(uVar8 < len)" ( (binary_expression "uVar8 < len" identifier < identifier) )) ;) (expression_statement "BIO_printf((BIO *)arg,"\n",pcVar4);" (call_expression "BIO_printf((BIO *)arg,"\n",pcVar4)" identifier (argument_list "((BIO *)arg,"\n",pcVar4)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) (labeled_statement "LAB_00081675:\n  BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0);" statement_identifier : (expression_statement "BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0);" (call_expression "BIO_ctrl((BIO *)arg,0xb,0,(void *)0x0)" identifier (argument_list "((BIO *)arg,0xb,0,(void *)0x0)" ( (cast_expression "(BIO *)arg" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)\n\n{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}\n\n" (function_definition "void FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)\n\n{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}" primitive_type (function_declarator "FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)" identifier (parameter_list "(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "BIO *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}" { (declaration "undefined **ppuVar1;" type_identifier (pointer_declarator "**ppuVar1" * (pointer_declarator "*ppuVar1" * identifier)) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "puVar2 = &DAT_0009924a;" (assignment_expression "puVar2 = &DAT_0009924a" identifier = (pointer_expression "&DAT_0009924a" & identifier)) ;) (if_statement "if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = &DAT_00099246;\n  }" { (expression_statement "puVar2 = &DAT_00099246;" (assignment_expression "puVar2 = &DAT_00099246" identifier = (pointer_expression "&DAT_00099246" & identifier)) ;) })) (if_statement "if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" if (parenthesized_expression "(PTR_s_SSL_3_0_000cc440 == (undefined *)0x0)" ( (binary_expression "PTR_s_SSL_3_0_000cc440 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }" { (labeled_statement "LAB_000815f6:\n    puVar3 = &DAT_00099258;" statement_identifier : (expression_statement "puVar3 = &DAT_00099258;" (assignment_expression "puVar3 = &DAT_00099258" identifier = (pointer_expression "&DAT_00099258" & identifier)) ;)) }) (else_clause "else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" else (compound_statement "{\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" { (expression_statement "puVar3 = PTR_s_SSL_3_0_000cc440;" (assignment_expression "puVar3 = PTR_s_SSL_3_0_000cc440" identifier = identifier) ;) (if_statement "if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }" if (parenthesized_expression "(param_2 != DAT_000cc444)" ( (binary_expression "param_2 != DAT_000cc444" identifier != identifier) )) (compound_statement "{\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }" { (expression_statement "ppuVar5 = &PTR_s_SSL_3_0_000cc440;" (assignment_expression "ppuVar5 = &PTR_s_SSL_3_0_000cc440" identifier = (pointer_expression "&PTR_s_SSL_3_0_000cc440" & identifier)) ;) (do_statement "do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);" do (compound_statement "{\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      }" { (expression_statement "puVar3 = ppuVar5[2];" (assignment_expression "puVar3 = ppuVar5[2]" identifier = (subscript_expression "ppuVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (puVar3 == (undefined *)0x0) goto LAB_000815f6;" if (parenthesized_expression "(puVar3 == (undefined *)0x0)" ( (binary_expression "puVar3 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000815f6;" goto statement_identifier ;)) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" identifier = (binary_expression "ppuVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != *ppuVar1)" ( (binary_expression "param_2 != *ppuVar1" identifier != (pointer_expression "*ppuVar1" * identifier)) )) ;) })) }))) (if_statement "if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" if (parenthesized_expression "((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5))" ( (binary_expression "(param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)" (parenthesized_expression "(param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff)" ( (binary_expression "param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff" (binary_expression "param_2 == (undefined *)0x100" identifier == (cast_expression "(undefined *)0x100" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "param_2 == (undefined *)0xfeff" identifier == (cast_expression "(undefined *)0xfeff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) || (parenthesized_expression "(param_2 + -0x300 < (undefined *)0x5)" ( (binary_expression "param_2 + -0x300 < (undefined *)0x5" (binary_expression "param_2 + -0x300" identifier + number_literal) < (cast_expression "(undefined *)0x5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }" { (if_statement "if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" if (parenthesized_expression "(param_3 != 0x15)" ( (binary_expression "param_3 != 0x15" identifier != number_literal) )) (compound_statement "{\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" { (if_statement "if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" if (parenthesized_expression "(param_3 < 0x16)" ( (binary_expression "param_3 < 0x16" identifier < number_literal) )) (compound_statement "{\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }" { (expression_statement "pcVar6 = ", ChangeCipherSpec";" (assignment_expression "pcVar6 = ", ChangeCipherSpec"" identifier = (string_literal "", ChangeCipherSpec"" " string_content ")) ;) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ identifier = (string_literal """" " ")) ;) (if_statement "if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }" if (parenthesized_expression "(param_3 != 0x14)" ( (binary_expression "param_3 != 0x14" identifier != number_literal) )) (compound_statement "{\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }" { (labeled_statement "LAB_000816a5:\n          pcVar6 = "";" statement_identifier : (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ identifier = (string_literal """" " ")) ;)) (expression_statement "pcVar4 = pcVar6;" (assignment_expression "pcVar4 = pcVar6" identifier = identifier) ;) })) }) (else_clause "else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" else (compound_statement "{\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" { (if_statement "if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" if (parenthesized_expression "(param_3 == 0x16)" ( (binary_expression "param_3 == 0x16" identifier == number_literal) )) (compound_statement "{\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" { (if_statement "if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" { (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" identifier (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" ( identifier , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , (string_literal "", Handshake"" " string_content ") , number_literal , (pointer_expression "&DAT_00099258" & identifier) , (pointer_expression "&DAT_0008b720" & identifier) ))) ;) (goto_statement "goto LAB_00081675;" goto statement_identifier ;) })) (if_statement "if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" if (parenthesized_expression "(PTR_s___HelloRequest_000cc260 == (undefined *)0x0)" ( (binary_expression "PTR_s___HelloRequest_000cc260 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }" { (labeled_statement "LAB_00081792:\n            puVar8 = &DAT_0008b720;" statement_identifier : (expression_statement "puVar8 = &DAT_0008b720;" (assignment_expression "puVar8 = &DAT_0008b720" identifier = (pointer_expression "&DAT_0008b720" & identifier)) ;)) (expression_statement "pcVar4 = "???";" (assignment_expression "pcVar4 = "???"" identifier = (string_literal ""???"" " string_content ")) ;) (expression_statement "pcVar6 = ", Handshake";" (assignment_expression "pcVar6 = ", Handshake"" identifier = (string_literal "", Handshake"" " string_content ")) ;) }) (else_clause "else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" else (compound_statement "{\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" { (expression_statement "pcVar4 = PTR_s___HelloRequest_000cc260;" (assignment_expression "pcVar4 = PTR_s___HelloRequest_000cc260" identifier = identifier) ;) (if_statement "if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }" if (parenthesized_expression "((undefined *)(uint)*param_4 != DAT_000cc264)" ( (binary_expression "(undefined *)(uint)*param_4 != DAT_000cc264" (binary_expression "(undefined *)(uint)*param_4" (cast_expression "(undefined *)(uint)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) != identifier) )) (compound_statement "{\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }" { (expression_statement "ppuVar5 = &PTR_s___HelloRequest_000cc260;" (assignment_expression "ppuVar5 = &PTR_s___HelloRequest_000cc260" identifier = (pointer_expression "&PTR_s___HelloRequest_000cc260" & identifier)) ;) (do_statement "do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);" do (compound_statement "{\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              }" { (expression_statement "pcVar4 = ppuVar5[2];" (assignment_expression "pcVar4 = ppuVar5[2]" identifier = (subscript_expression "ppuVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (pcVar4 == (char *)0x0) goto LAB_00081792;" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00081792;" goto statement_identifier ;)) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" identifier = (binary_expression "ppuVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined *)(uint)*param_4 != *ppuVar1)" ( (binary_expression "(undefined *)(uint)*param_4 != *ppuVar1" (binary_expression "(undefined *)(uint)*param_4" (cast_expression "(undefined *)(uint)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) != (pointer_expression "*ppuVar1" * identifier)) )) ;) })) (expression_statement "puVar8 = &DAT_0008b720;" (assignment_expression "puVar8 = &DAT_0008b720" identifier = (pointer_expression "&DAT_0008b720" & identifier)) ;) (expression_statement "pcVar6 = ", Handshake";" (assignment_expression "pcVar6 = ", Handshake"" identifier = (string_literal "", Handshake"" " string_content ")) ;) }))) (goto_statement "goto LAB_000817a4;" goto statement_identifier ;) })) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar6 = ", ApplicationData";" (assignment_expression "pcVar6 = ", ApplicationData"" identifier = (string_literal "", ApplicationData"" " string_content ")) ;) (if_statement "if (param_3 != 0x17) goto LAB_000816a5;" if (parenthesized_expression "(param_3 != 0x17)" ( (binary_expression "param_3 != 0x17" identifier != number_literal) )) (goto_statement "goto LAB_000816a5;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_00081658;" goto statement_identifier ;) })) (if_statement "if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" if (parenthesized_expression "(param_5 != 2)" ( (binary_expression "param_5 != 2" identifier != number_literal) )) (compound_statement "{\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" { (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" identifier = (string_literal "", ???"" " string_content ")) ;) (goto_statement "goto LAB_00081658;" goto statement_identifier ;) })) (expression_statement "pcVar4 = ", warning";" (assignment_expression "pcVar4 = ", warning"" identifier = (string_literal "", warning"" " string_content ")) ;) (if_statement "if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }" if (parenthesized_expression "(*param_4 != 1)" ( (binary_expression "*param_4 != 1" (pointer_expression "*param_4" * identifier) != number_literal) )) (compound_statement "{\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }" { (expression_statement "pcVar4 = ", fatal";" (assignment_expression "pcVar4 = ", fatal"" identifier = (string_literal "", fatal"" " string_content ")) ;) (if_statement "if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }" if (parenthesized_expression "(*param_4 != 2)" ( (binary_expression "*param_4 != 2" (pointer_expression "*param_4" * identifier) != number_literal) )) (compound_statement "{\n        pcVar4 = ", ???";\n      }" { (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" identifier = (string_literal "", ???"" " string_content ")) ;) })) })) (if_statement "if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" if (parenthesized_expression "(PTR_s_close_notify_000cc320 == (undefined *)0x0)" ( (binary_expression "PTR_s_close_notify_000cc320 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }" { (expression_statement "puVar8 = &DAT_00099257;" (assignment_expression "puVar8 = &DAT_00099257" identifier = (pointer_expression "&DAT_00099257" & identifier)) ;) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) }) (else_clause "else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" else (compound_statement "{\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" { (expression_statement "puVar8 = PTR_s_close_notify_000cc320;" (assignment_expression "puVar8 = PTR_s_close_notify_000cc320" identifier = identifier) ;) (if_statement "if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }" if (parenthesized_expression "((undefined *)(uint)param_4[1] != DAT_000cc324)" ( (binary_expression "(undefined *)(uint)param_4[1] != DAT_000cc324" (cast_expression "(undefined *)(uint)param_4[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)param_4[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) != identifier) )) (compound_statement "{\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }" { (expression_statement "ppuVar5 = &PTR_s_close_notify_000cc320;" (assignment_expression "ppuVar5 = &PTR_s_close_notify_000cc320" identifier = (pointer_expression "&PTR_s_close_notify_000cc320" & identifier)) ;) (do_statement "do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);" do (compound_statement "{\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        }" { (expression_statement "puVar8 = ppuVar5[2];" (assignment_expression "puVar8 = ppuVar5[2]" identifier = (subscript_expression "ppuVar5[2]" identifier [ number_literal ])) ;) (if_statement "if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }" if (parenthesized_expression "(puVar8 == (undefined *)0x0)" ( (binary_expression "puVar8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }" { (expression_statement "puVar8 = &DAT_00099257;" (assignment_expression "puVar8 = &DAT_00099257" identifier = (pointer_expression "&DAT_00099257" & identifier)) ;) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) (goto_statement "goto LAB_000817a4;" goto statement_identifier ;) })) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" identifier = (binary_expression "ppuVar5 + 3" identifier + number_literal)) ;) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" identifier = (binary_expression "ppuVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined *)(uint)param_4[1] != *ppuVar1)" ( (binary_expression "(undefined *)(uint)param_4[1] != *ppuVar1" (cast_expression "(undefined *)(uint)param_4[1]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)param_4[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) != (pointer_expression "*ppuVar1" * identifier)) )) ;) })) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" identifier = (string_literal "", Alert"" " string_content ")) ;) }))) (labeled_statement "LAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);" statement_identifier : (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8)" identifier (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8)" ( identifier , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) }) (else_clause "else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" else (compound_statement "{\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" { (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ identifier = (string_literal """" " ")) ;) (expression_statement "pcVar4 = pcVar6;" (assignment_expression "pcVar4 = pcVar6" identifier = identifier) ;) (labeled_statement "LAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);" statement_identifier : (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720)" identifier (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720)" ( identifier , (string_literal ""%s %s%s [length %04lx]%s%s\n"" " string_content escape_sequence ") , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&DAT_0008b720" & identifier) ))) ;)) (if_statement "if (param_5 == 0) goto LAB_00081675;" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00081675;" goto statement_identifier ;)) }))) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "BIO_printf(param_7,"   ");" (call_expression "BIO_printf(param_7,"   ")" identifier (argument_list "(param_7,"   ")" ( identifier , (string_literal ""   "" " string_content ") ))) ;) (do_statement "do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);" do (compound_statement "{\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  }" { (if_statement "if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }" if (parenthesized_expression "(((uVar7 & 0xf) == 0) && (uVar7 != 0))" ( (binary_expression "((uVar7 & 0xf) == 0) && (uVar7 != 0)" (parenthesized_expression "((uVar7 & 0xf) == 0)" ( (binary_expression "(uVar7 & 0xf) == 0" (parenthesized_expression "(uVar7 & 0xf)" ( (binary_expression "uVar7 & 0xf" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }" { (expression_statement "BIO_printf(param_7,"\n   ",pcVar4);" (call_expression "BIO_printf(param_7,"\n   ",pcVar4)" identifier (argument_list "(param_7,"\n   ",pcVar4)" ( identifier , (string_literal ""\n   "" " escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "pcVar4 = (char *)(uint)param_4[uVar7];" (assignment_expression "pcVar4 = (char *)(uint)param_4[uVar7]" identifier = (cast_expression "(char *)(uint)param_4[uVar7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)param_4[uVar7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[uVar7]" identifier [ identifier ])))) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "BIO_printf(param_7," %02x",pcVar4);" (call_expression "BIO_printf(param_7," %02x",pcVar4)" identifier (argument_list "(param_7," %02x",pcVar4)" ( identifier , (string_literal "" %02x"" " string_content ") , identifier ))) ;) }) while (parenthesized_expression "(uVar7 < param_5)" ( (binary_expression "uVar7 < param_5" identifier < identifier) )) ;) (expression_statement "BIO_printf(param_7,"\n",pcVar4);" (call_expression "BIO_printf(param_7,"\n",pcVar4)" identifier (argument_list "(param_7,"\n",pcVar4)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) (labeled_statement "LAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);" statement_identifier : (expression_statement "BIO_ctrl(param_7,0xb,0,(void *)0x0);" (call_expression "BIO_ctrl(param_7,0xb,0,(void *)0x0)" identifier (argument_list "(param_7,0xb,0,(void *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (string_literal " ")) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT , IDENT , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( IDENT ))) * IDENT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( IDENT ))) * IDENT) != (pointer_expression * IDENT)) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_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 = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) != (pointer_expression * IDENT)) )) ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ])))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence ") , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;)) (return_statement return ;) })))
(function_definition "void FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)\n\n{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00081590(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)" (identifier "FUN_00081590") (parameter_list "(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,\n                 undefined4 param_6,BIO *param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "byte *param_4" (type_identifier "byte") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "BIO *param_7" (type_identifier "BIO") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  undefined **ppuVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined **ppuVar5;\n  char *pcVar6;\n  uint uVar7;\n  undefined *puVar8;\n  \n  puVar2 = &DAT_0009924a;\n  if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }\n  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }\n  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }\n  uVar7 = 0;\n  BIO_printf(param_7,"   ");\n  do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);\n  BIO_printf(param_7,"\n",pcVar4);\nLAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);\n  return;\n}" ({ "{") (declaration "undefined **ppuVar1;" (type_identifier "undefined") (pointer_declarator "**ppuVar1" (* "*") (pointer_declarator "*ppuVar1" (* "*") (identifier "ppuVar1"))) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined **ppuVar5;" (type_identifier "undefined") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (expression_statement "puVar2 = &DAT_0009924a;" (assignment_expression "puVar2 = &DAT_0009924a" (identifier "puVar2") (= "=") (pointer_expression "&DAT_0009924a" (& "&") (identifier "DAT_0009924a"))) (; ";")) (if_statement "if (param_1 != 0) {\n    puVar2 = &DAT_00099246;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar2 = &DAT_00099246;\n  }" ({ "{") (expression_statement "puVar2 = &DAT_00099246;" (assignment_expression "puVar2 = &DAT_00099246" (identifier "puVar2") (= "=") (pointer_expression "&DAT_00099246" (& "&") (identifier "DAT_00099246"))) (; ";")) (} "}"))) (if_statement "if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }\n  else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" (if "if") (parenthesized_expression "(PTR_s_SSL_3_0_000cc440 == (undefined *)0x0)" (( "(") (binary_expression "PTR_s_SSL_3_0_000cc440 == (undefined *)0x0" (identifier "PTR_s_SSL_3_0_000cc440") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000815f6:\n    puVar3 = &DAT_00099258;\n  }" ({ "{") (labeled_statement "LAB_000815f6:\n    puVar3 = &DAT_00099258;" (statement_identifier "LAB_000815f6") (: ":") (expression_statement "puVar3 = &DAT_00099258;" (assignment_expression "puVar3 = &DAT_00099258" (identifier "puVar3") (= "=") (pointer_expression "&DAT_00099258" (& "&") (identifier "DAT_00099258"))) (; ";"))) (} "}")) (else_clause "else {\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" (else "else") (compound_statement "{\n    puVar3 = PTR_s_SSL_3_0_000cc440;\n    if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }\n  }" ({ "{") (expression_statement "puVar3 = PTR_s_SSL_3_0_000cc440;" (assignment_expression "puVar3 = PTR_s_SSL_3_0_000cc440" (identifier "puVar3") (= "=") (identifier "PTR_s_SSL_3_0_000cc440")) (; ";")) (if_statement "if (param_2 != DAT_000cc444) {\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }" (if "if") (parenthesized_expression "(param_2 != DAT_000cc444)" (( "(") (binary_expression "param_2 != DAT_000cc444" (identifier "param_2") (!= "!=") (identifier "DAT_000cc444")) () ")")) (compound_statement "{\n      ppuVar5 = &PTR_s_SSL_3_0_000cc440;\n      do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);\n    }" ({ "{") (expression_statement "ppuVar5 = &PTR_s_SSL_3_0_000cc440;" (assignment_expression "ppuVar5 = &PTR_s_SSL_3_0_000cc440" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_s_SSL_3_0_000cc440" (& "&") (identifier "PTR_s_SSL_3_0_000cc440"))) (; ";")) (do_statement "do {\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      } while (param_2 != *ppuVar1);" (do "do") (compound_statement "{\n        puVar3 = ppuVar5[2];\n        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;\n        ppuVar1 = ppuVar5 + 3;\n        ppuVar5 = ppuVar5 + 2;\n      }" ({ "{") (expression_statement "puVar3 = ppuVar5[2];" (assignment_expression "puVar3 = ppuVar5[2]" (identifier "puVar3") (= "=") (subscript_expression "ppuVar5[2]" (identifier "ppuVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (puVar3 == (undefined *)0x0) goto LAB_000815f6;" (if "if") (parenthesized_expression "(puVar3 == (undefined *)0x0)" (( "(") (binary_expression "puVar3 == (undefined *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000815f6;" (goto "goto") (statement_identifier "LAB_000815f6") (; ";"))) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" (identifier "ppuVar1") (= "=") (binary_expression "ppuVar5 + 3" (identifier "ppuVar5") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" (identifier "ppuVar5") (= "=") (binary_expression "ppuVar5 + 2" (identifier "ppuVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != *ppuVar1)" (( "(") (binary_expression "param_2 != *ppuVar1" (identifier "param_2") (!= "!=") (pointer_expression "*ppuVar1" (* "*") (identifier "ppuVar1"))) () ")")) (; ";")) (} "}"))) (} "}")))) (if_statement "if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)) {\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }\n  else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" (if "if") (parenthesized_expression "((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5))" (( "(") (binary_expression "(param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||\n     (param_2 + -0x300 < (undefined *)0x5)" (parenthesized_expression "(param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff)" (( "(") (binary_expression "param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff" (binary_expression "param_2 == (undefined *)0x100" (identifier "param_2") (== "==") (cast_expression "(undefined *)0x100" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x100"))) (|| "||") (binary_expression "param_2 == (undefined *)0xfeff" (identifier "param_2") (== "==") (cast_expression "(undefined *)0xfeff" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfeff")))) () ")")) (|| "||") (parenthesized_expression "(param_2 + -0x300 < (undefined *)0x5)" (( "(") (binary_expression "param_2 + -0x300 < (undefined *)0x5" (binary_expression "param_2 + -0x300" (identifier "param_2") (+ "+") (number_literal "-0x300")) (< "<") (cast_expression "(undefined *)0x5" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x5"))) () ")"))) () ")")) (compound_statement "{\n    if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }\n    if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }\n    pcVar4 = ", warning";\n    if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }\n    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }\nLAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);\n  }" ({ "{") (if_statement "if (param_3 != 0x15) {\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" (if "if") (parenthesized_expression "(param_3 != 0x15)" (( "(") (binary_expression "param_3 != 0x15" (identifier "param_3") (!= "!=") (number_literal "0x15")) () ")")) (compound_statement "{\n      if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }\n      goto LAB_00081658;\n    }" ({ "{") (if_statement "if (param_3 < 0x16) {\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }\n      else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" (if "if") (parenthesized_expression "(param_3 < 0x16)" (( "(") (binary_expression "param_3 < 0x16" (identifier "param_3") (< "<") (number_literal "0x16")) () ")")) (compound_statement "{\n        pcVar6 = ", ChangeCipherSpec";\n        pcVar4 = "";\n        if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }\n      }" ({ "{") (expression_statement "pcVar6 = ", ChangeCipherSpec";" (assignment_expression "pcVar6 = ", ChangeCipherSpec"" (identifier "pcVar6") (= "=") (string_literal "", ChangeCipherSpec"" (" """) (string_content ", ChangeCipherSpec") (" """))) (; ";")) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ (identifier "pcVar4") (= "=") (string_literal """" (" """) (" """))) (; ";")) (if_statement "if (param_3 != 0x14) {\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }" (if "if") (parenthesized_expression "(param_3 != 0x14)" (( "(") (binary_expression "param_3 != 0x14" (identifier "param_3") (!= "!=") (number_literal "0x14")) () ")")) (compound_statement "{\nLAB_000816a5:\n          pcVar6 = "";\n          pcVar4 = pcVar6;\n        }" ({ "{") (labeled_statement "LAB_000816a5:\n          pcVar6 = "";" (statement_identifier "LAB_000816a5") (: ":") (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ (identifier "pcVar6") (= "=") (string_literal """" (" """) (" """))) (; ";"))) (expression_statement "pcVar4 = pcVar6;" (assignment_expression "pcVar4 = pcVar6" (identifier "pcVar4") (= "=") (identifier "pcVar6")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" (else "else") (compound_statement "{\n        if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }\n        pcVar4 = "";\n        pcVar6 = ", ApplicationData";\n        if (param_3 != 0x17) goto LAB_000816a5;\n      }" ({ "{") (if_statement "if (param_3 == 0x16) {\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" (if "if") (parenthesized_expression "(param_3 == 0x16)" (( "(") (binary_expression "param_3 == 0x16" (identifier "param_3") (== "==") (number_literal "0x16")) () ")")) (compound_statement "{\n          if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }\n          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }\n          goto LAB_000817a4;\n        }" ({ "{") (if_statement "if (param_5 == 0) {\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);\n            goto LAB_00081675;\n          }" ({ "{") (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" (identifier "BIO_printf") (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,\n                       &DAT_00099258,&DAT_0008b720)" (( "(") (identifier "param_7") (, ",") (string_literal ""%s %s%s [length %04lx]%s%s\n"" (" """) (string_content "%s %s%s [length %04lx]%s%s") (escape_sequence "\n") (" """)) (, ",") (identifier "puVar2") (, ",") (identifier "puVar3") (, ",") (string_literal "", Handshake"" (" """) (string_content ", Handshake") (" """)) (, ",") (number_literal "0") (, ",") (pointer_expression "&DAT_00099258" (& "&") (identifier "DAT_00099258")) (, ",") (pointer_expression "&DAT_0008b720" (& "&") (identifier "DAT_0008b720")) () ")"))) (; ";")) (goto_statement "goto LAB_00081675;" (goto "goto") (statement_identifier "LAB_00081675") (; ";")) (} "}"))) (if_statement "if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }\n          else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" (if "if") (parenthesized_expression "(PTR_s___HelloRequest_000cc260 == (undefined *)0x0)" (( "(") (binary_expression "PTR_s___HelloRequest_000cc260 == (undefined *)0x0" (identifier "PTR_s___HelloRequest_000cc260") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00081792:\n            puVar8 = &DAT_0008b720;\n            pcVar4 = "???";\n            pcVar6 = ", Handshake";\n          }" ({ "{") (labeled_statement "LAB_00081792:\n            puVar8 = &DAT_0008b720;" (statement_identifier "LAB_00081792") (: ":") (expression_statement "puVar8 = &DAT_0008b720;" (assignment_expression "puVar8 = &DAT_0008b720" (identifier "puVar8") (= "=") (pointer_expression "&DAT_0008b720" (& "&") (identifier "DAT_0008b720"))) (; ";"))) (expression_statement "pcVar4 = "???";" (assignment_expression "pcVar4 = "???"" (identifier "pcVar4") (= "=") (string_literal ""???"" (" """) (string_content "???") (" """))) (; ";")) (expression_statement "pcVar6 = ", Handshake";" (assignment_expression "pcVar6 = ", Handshake"" (identifier "pcVar6") (= "=") (string_literal "", Handshake"" (" """) (string_content ", Handshake") (" """))) (; ";")) (} "}")) (else_clause "else {\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" (else "else") (compound_statement "{\n            pcVar4 = PTR_s___HelloRequest_000cc260;\n            if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }\n            puVar8 = &DAT_0008b720;\n            pcVar6 = ", Handshake";\n          }" ({ "{") (expression_statement "pcVar4 = PTR_s___HelloRequest_000cc260;" (assignment_expression "pcVar4 = PTR_s___HelloRequest_000cc260" (identifier "pcVar4") (= "=") (identifier "PTR_s___HelloRequest_000cc260")) (; ";")) (if_statement "if ((undefined *)(uint)*param_4 != DAT_000cc264) {\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }" (if "if") (parenthesized_expression "((undefined *)(uint)*param_4 != DAT_000cc264)" (( "(") (binary_expression "(undefined *)(uint)*param_4 != DAT_000cc264" (binary_expression "(undefined *)(uint)*param_4" (cast_expression "(undefined *)(uint)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "param_4")) (!= "!=") (identifier "DAT_000cc264")) () ")")) (compound_statement "{\n              ppuVar5 = &PTR_s___HelloRequest_000cc260;\n              do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);\n            }" ({ "{") (expression_statement "ppuVar5 = &PTR_s___HelloRequest_000cc260;" (assignment_expression "ppuVar5 = &PTR_s___HelloRequest_000cc260" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_s___HelloRequest_000cc260" (& "&") (identifier "PTR_s___HelloRequest_000cc260"))) (; ";")) (do_statement "do {\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              } while ((undefined *)(uint)*param_4 != *ppuVar1);" (do "do") (compound_statement "{\n                pcVar4 = ppuVar5[2];\n                if (pcVar4 == (char *)0x0) goto LAB_00081792;\n                ppuVar1 = ppuVar5 + 3;\n                ppuVar5 = ppuVar5 + 2;\n              }" ({ "{") (expression_statement "pcVar4 = ppuVar5[2];" (assignment_expression "pcVar4 = ppuVar5[2]" (identifier "pcVar4") (= "=") (subscript_expression "ppuVar5[2]" (identifier "ppuVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) goto LAB_00081792;" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00081792;" (goto "goto") (statement_identifier "LAB_00081792") (; ";"))) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" (identifier "ppuVar1") (= "=") (binary_expression "ppuVar5 + 3" (identifier "ppuVar5") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" (identifier "ppuVar5") (= "=") (binary_expression "ppuVar5 + 2" (identifier "ppuVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined *)(uint)*param_4 != *ppuVar1)" (( "(") (binary_expression "(undefined *)(uint)*param_4 != *ppuVar1" (binary_expression "(undefined *)(uint)*param_4" (cast_expression "(undefined *)(uint)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "param_4")) (!= "!=") (pointer_expression "*ppuVar1" (* "*") (identifier "ppuVar1"))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar8 = &DAT_0008b720;" (assignment_expression "puVar8 = &DAT_0008b720" (identifier "puVar8") (= "=") (pointer_expression "&DAT_0008b720" (& "&") (identifier "DAT_0008b720"))) (; ";")) (expression_statement "pcVar6 = ", Handshake";" (assignment_expression "pcVar6 = ", Handshake"" (identifier "pcVar6") (= "=") (string_literal "", Handshake"" (" """) (string_content ", Handshake") (" """))) (; ";")) (} "}")))) (goto_statement "goto LAB_000817a4;" (goto "goto") (statement_identifier "LAB_000817a4") (; ";")) (} "}"))) (expression_statement "pcVar4 = "";" (assignment_expression "pcVar4 = """ (identifier "pcVar4") (= "=") (string_literal """" (" """) (" """))) (; ";")) (expression_statement "pcVar6 = ", ApplicationData";" (assignment_expression "pcVar6 = ", ApplicationData"" (identifier "pcVar6") (= "=") (string_literal "", ApplicationData"" (" """) (string_content ", ApplicationData") (" """))) (; ";")) (if_statement "if (param_3 != 0x17) goto LAB_000816a5;" (if "if") (parenthesized_expression "(param_3 != 0x17)" (( "(") (binary_expression "param_3 != 0x17" (identifier "param_3") (!= "!=") (number_literal "0x17")) () ")")) (goto_statement "goto LAB_000816a5;" (goto "goto") (statement_identifier "LAB_000816a5") (; ";"))) (} "}")))) (goto_statement "goto LAB_00081658;" (goto "goto") (statement_identifier "LAB_00081658") (; ";")) (} "}"))) (if_statement "if (param_5 != 2) {\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" (if "if") (parenthesized_expression "(param_5 != 2)" (( "(") (binary_expression "param_5 != 2" (identifier "param_5") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      pcVar6 = ", Alert";\n      pcVar4 = ", ???";\n      goto LAB_00081658;\n    }" ({ "{") (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" (identifier "pcVar6") (= "=") (string_literal "", Alert"" (" """) (string_content ", Alert") (" """))) (; ";")) (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" (identifier "pcVar4") (= "=") (string_literal "", ???"" (" """) (string_content ", ???") (" """))) (; ";")) (goto_statement "goto LAB_00081658;" (goto "goto") (statement_identifier "LAB_00081658") (; ";")) (} "}"))) (expression_statement "pcVar4 = ", warning";" (assignment_expression "pcVar4 = ", warning"" (identifier "pcVar4") (= "=") (string_literal "", warning"" (" """) (string_content ", warning") (" """))) (; ";")) (if_statement "if (*param_4 != 1) {\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }" (if "if") (parenthesized_expression "(*param_4 != 1)" (( "(") (binary_expression "*param_4 != 1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      pcVar4 = ", fatal";\n      if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }\n    }" ({ "{") (expression_statement "pcVar4 = ", fatal";" (assignment_expression "pcVar4 = ", fatal"" (identifier "pcVar4") (= "=") (string_literal "", fatal"" (" """) (string_content ", fatal") (" """))) (; ";")) (if_statement "if (*param_4 != 2) {\n        pcVar4 = ", ???";\n      }" (if "if") (parenthesized_expression "(*param_4 != 2)" (( "(") (binary_expression "*param_4 != 2" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        pcVar4 = ", ???";\n      }" ({ "{") (expression_statement "pcVar4 = ", ???";" (assignment_expression "pcVar4 = ", ???"" (identifier "pcVar4") (= "=") (string_literal "", ???"" (" """) (string_content ", ???") (" """))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }\n    else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" (if "if") (parenthesized_expression "(PTR_s_close_notify_000cc320 == (undefined *)0x0)" (( "(") (binary_expression "PTR_s_close_notify_000cc320 == (undefined *)0x0" (identifier "PTR_s_close_notify_000cc320") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar8 = &DAT_00099257;\n      pcVar6 = ", Alert";\n    }" ({ "{") (expression_statement "puVar8 = &DAT_00099257;" (assignment_expression "puVar8 = &DAT_00099257" (identifier "puVar8") (= "=") (pointer_expression "&DAT_00099257" (& "&") (identifier "DAT_00099257"))) (; ";")) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" (identifier "pcVar6") (= "=") (string_literal "", Alert"" (" """) (string_content ", Alert") (" """))) (; ";")) (} "}")) (else_clause "else {\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" (else "else") (compound_statement "{\n      puVar8 = PTR_s_close_notify_000cc320;\n      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }\n      pcVar6 = ", Alert";\n    }" ({ "{") (expression_statement "puVar8 = PTR_s_close_notify_000cc320;" (assignment_expression "puVar8 = PTR_s_close_notify_000cc320" (identifier "puVar8") (= "=") (identifier "PTR_s_close_notify_000cc320")) (; ";")) (if_statement "if ((undefined *)(uint)param_4[1] != DAT_000cc324) {\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }" (if "if") (parenthesized_expression "((undefined *)(uint)param_4[1] != DAT_000cc324)" (( "(") (binary_expression "(undefined *)(uint)param_4[1] != DAT_000cc324" (cast_expression "(undefined *)(uint)param_4[1]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)param_4[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")))) (!= "!=") (identifier "DAT_000cc324")) () ")")) (compound_statement "{\n        ppuVar5 = &PTR_s_close_notify_000cc320;\n        do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);\n      }" ({ "{") (expression_statement "ppuVar5 = &PTR_s_close_notify_000cc320;" (assignment_expression "ppuVar5 = &PTR_s_close_notify_000cc320" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_s_close_notify_000cc320" (& "&") (identifier "PTR_s_close_notify_000cc320"))) (; ";")) (do_statement "do {\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        } while ((undefined *)(uint)param_4[1] != *ppuVar1);" (do "do") (compound_statement "{\n          puVar8 = ppuVar5[2];\n          if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }\n          ppuVar1 = ppuVar5 + 3;\n          ppuVar5 = ppuVar5 + 2;\n        }" ({ "{") (expression_statement "puVar8 = ppuVar5[2];" (assignment_expression "puVar8 = ppuVar5[2]" (identifier "puVar8") (= "=") (subscript_expression "ppuVar5[2]" (identifier "ppuVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (puVar8 == (undefined *)0x0) {\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }" (if "if") (parenthesized_expression "(puVar8 == (undefined *)0x0)" (( "(") (binary_expression "puVar8 == (undefined *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            puVar8 = &DAT_00099257;\n            pcVar6 = ", Alert";\n            goto LAB_000817a4;\n          }" ({ "{") (expression_statement "puVar8 = &DAT_00099257;" (assignment_expression "puVar8 = &DAT_00099257" (identifier "puVar8") (= "=") (pointer_expression "&DAT_00099257" (& "&") (identifier "DAT_00099257"))) (; ";")) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" (identifier "pcVar6") (= "=") (string_literal "", Alert"" (" """) (string_content ", Alert") (" """))) (; ";")) (goto_statement "goto LAB_000817a4;" (goto "goto") (statement_identifier "LAB_000817a4") (; ";")) (} "}"))) (expression_statement "ppuVar1 = ppuVar5 + 3;" (assignment_expression "ppuVar1 = ppuVar5 + 3" (identifier "ppuVar1") (= "=") (binary_expression "ppuVar5 + 3" (identifier "ppuVar5") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "ppuVar5 = ppuVar5 + 2;" (assignment_expression "ppuVar5 = ppuVar5 + 2" (identifier "ppuVar5") (= "=") (binary_expression "ppuVar5 + 2" (identifier "ppuVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined *)(uint)param_4[1] != *ppuVar1)" (( "(") (binary_expression "(undefined *)(uint)param_4[1] != *ppuVar1" (cast_expression "(undefined *)(uint)param_4[1]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)param_4[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")))) (!= "!=") (pointer_expression "*ppuVar1" (* "*") (identifier "ppuVar1"))) () ")")) (; ";")) (} "}"))) (expression_statement "pcVar6 = ", Alert";" (assignment_expression "pcVar6 = ", Alert"" (identifier "pcVar6") (= "=") (string_literal "", Alert"" (" """) (string_content ", Alert") (" """))) (; ";")) (} "}")))) (labeled_statement "LAB_000817a4:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);" (statement_identifier "LAB_000817a4") (: ":") (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8)" (identifier "BIO_printf") (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8)" (( "(") (identifier "param_7") (, ",") (string_literal ""%s %s%s [length %04lx]%s%s\n"" (" """) (string_content "%s %s%s [length %04lx]%s%s") (escape_sequence "\n") (" """)) (, ",") (identifier "puVar2") (, ",") (identifier "puVar3") (, ",") (identifier "pcVar6") (, ",") (identifier "param_5") (, ",") (identifier "pcVar4") (, ",") (identifier "puVar8") () ")"))) (; ";"))) (} "}")) (else_clause "else {\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" (else "else") (compound_statement "{\n    pcVar6 = "";\n    pcVar4 = pcVar6;\nLAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);\n    if (param_5 == 0) goto LAB_00081675;\n  }" ({ "{") (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ (identifier "pcVar6") (= "=") (string_literal """" (" """) (" """))) (; ";")) (expression_statement "pcVar4 = pcVar6;" (assignment_expression "pcVar4 = pcVar6" (identifier "pcVar4") (= "=") (identifier "pcVar6")) (; ";")) (labeled_statement "LAB_00081658:\n    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);" (statement_identifier "LAB_00081658") (: ":") (expression_statement "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720);" (call_expression "BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720)" (identifier "BIO_printf") (argument_list "(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,\n               &DAT_0008b720)" (( "(") (identifier "param_7") (, ",") (string_literal ""%s %s%s [length %04lx]%s%s\n"" (" """) (string_content "%s %s%s [length %04lx]%s%s") (escape_sequence "\n") (" """)) (, ",") (identifier "puVar2") (, ",") (identifier "puVar3") (, ",") (identifier "pcVar6") (, ",") (identifier "param_5") (, ",") (identifier "pcVar4") (, ",") (pointer_expression "&DAT_0008b720" (& "&") (identifier "DAT_0008b720")) () ")"))) (; ";"))) (if_statement "if (param_5 == 0) goto LAB_00081675;" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00081675;" (goto "goto") (statement_identifier "LAB_00081675") (; ";"))) (} "}")))) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "BIO_printf(param_7,"   ");" (call_expression "BIO_printf(param_7,"   ")" (identifier "BIO_printf") (argument_list "(param_7,"   ")" (( "(") (identifier "param_7") (, ",") (string_literal ""   "" (" """) (string_content "   ") (" """)) () ")"))) (; ";")) (do_statement "do {\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  } while (uVar7 < param_5);" (do "do") (compound_statement "{\n    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }\n    pcVar4 = (char *)(uint)param_4[uVar7];\n    uVar7 = uVar7 + 1;\n    BIO_printf(param_7," %02x",pcVar4);\n  }" ({ "{") (if_statement "if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }" (if "if") (parenthesized_expression "(((uVar7 & 0xf) == 0) && (uVar7 != 0))" (( "(") (binary_expression "((uVar7 & 0xf) == 0) && (uVar7 != 0)" (parenthesized_expression "((uVar7 & 0xf) == 0)" (( "(") (binary_expression "(uVar7 & 0xf) == 0" (parenthesized_expression "(uVar7 & 0xf)" (( "(") (binary_expression "uVar7 & 0xf" (identifier "uVar7") (& "&") (number_literal "0xf")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      BIO_printf(param_7,"\n   ",pcVar4);\n    }" ({ "{") (expression_statement "BIO_printf(param_7,"\n   ",pcVar4);" (call_expression "BIO_printf(param_7,"\n   ",pcVar4)" (identifier "BIO_printf") (argument_list "(param_7,"\n   ",pcVar4)" (( "(") (identifier "param_7") (, ",") (string_literal ""\n   "" (" """) (escape_sequence "\n") (string_content "   ") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar4 = (char *)(uint)param_4[uVar7];" (assignment_expression "pcVar4 = (char *)(uint)param_4[uVar7]" (identifier "pcVar4") (= "=") (cast_expression "(char *)(uint)param_4[uVar7]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)param_4[uVar7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[uVar7]" (identifier "param_4") ([ "[") (identifier "uVar7") (] "]"))))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "BIO_printf(param_7," %02x",pcVar4);" (call_expression "BIO_printf(param_7," %02x",pcVar4)" (identifier "BIO_printf") (argument_list "(param_7," %02x",pcVar4)" (( "(") (identifier "param_7") (, ",") (string_literal "" %02x"" (" """) (string_content " %02x") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 < param_5)" (( "(") (binary_expression "uVar7 < param_5" (identifier "uVar7") (< "<") (identifier "param_5")) () ")")) (; ";")) (expression_statement "BIO_printf(param_7,"\n",pcVar4);" (call_expression "BIO_printf(param_7,"\n",pcVar4)" (identifier "BIO_printf") (argument_list "(param_7,"\n",pcVar4)" (( "(") (identifier "param_7") (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (labeled_statement "LAB_00081675:\n  BIO_ctrl(param_7,0xb,0,(void *)0x0);" (statement_identifier "LAB_00081675") (: ":") (expression_statement "BIO_ctrl(param_7,0xb,0,(void *)0x0);" (call_expression "BIO_ctrl(param_7,0xb,0,(void *)0x0)" (identifier "BIO_ctrl") (argument_list "(param_7,0xb,0,(void *)0x0)" (( "(") (identifier "param_7") (, ",") (number_literal "0xb") (, ",") (number_literal "0") (, ",") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int var_1,int var_2,int var_5,void *var_8,size_t var_6,type_1 *ssl,void *arg)

{
  type_2 *pSVar1;
  type_3 *puVar2;
  char *var_3;
  char *var_9;
  char *var_10;
  type_2 *var_4;
  char *pcVar7;
  type_4 var_11;
  
  puVar2 = &DAT_0009924a;
  if (var_1 != 0) {
    puVar2 = &DAT_00099246;
  }
  if (ssl_versions[0].name == (char *)0x0) {
LAB_000815f6:
    var_3 = "???";
  }
  else {
    var_3 = ssl_versions[0].name;
    if (var_2 != ssl_versions[0].retval) {
      var_4 = ssl_versions;
      do {
        var_3 = var_4[1].name;
        if (var_3 == (char *)0x0) goto LAB_000815f6;
        pSVar1 = var_4 + 1;
        var_4 = var_4 + 1;
      } while (var_2 != pSVar1->retval);
    }
  }
  if ((var_2 == 0x100 || var_2 == 0xfeff) || (var_2 - 0x300U < 5)) {
    if (var_5 != 0x15) {
      if (var_5 < 0x16) {
        var_10 = ", ChangeCipherSpec";
        var_9 = "";
        if (var_5 != 0x14) {
LAB_000816a5:
          var_10 = "";
          var_9 = var_10;
        }
      }
      else {
        if (var_5 == 0x16) {
          if (var_6 == 0) {
            var_7((type_5 *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,var_3,", Handshake",0,
                       &DAT_00099258,&DAT_0008b720);
            goto LAB_00081675;
          }
                    /* WARNING: Load size is inaccurate */
          if (handshakes[0].name == (char *)0x0) {
LAB_00081792:
            var_10 = "";
            var_9 = "???";
            pcVar7 = ", Handshake";
          }
          else {
            var_9 = handshakes[0].name;
            if ((type_4)*var_8 != handshakes[0].retval) {
              var_4 = handshakes;
              do {
                var_9 = var_4[1].name;
                if (var_9 == (char *)0x0) goto LAB_00081792;
                pSVar1 = var_4 + 1;
                var_4 = var_4 + 1;
              } while ((type_4)*var_8 != pSVar1->retval);
            }
            var_10 = "";
            pcVar7 = ", Handshake";
          }
          goto LAB_000817a4;
        }
        var_9 = "";
        var_10 = ", ApplicationData";
        if (var_5 != 0x17) goto LAB_000816a5;
      }
      goto LAB_00081658;
    }
    if (var_6 != 2) {
      var_10 = ", Alert";
      var_9 = ", ???";
      goto LAB_00081658;
    }
                    /* WARNING: Load size is inaccurate */
    var_9 = ", warning";
    if (*var_8 != '\x01') {
      var_9 = ", fatal";
      if (*var_8 != '\x02') {
        var_9 = ", ???";
      }
    }
    if (alert_types[0].name == (char *)0x0) {
      var_10 = " ???";
      pcVar7 = ", Alert";
    }
    else {
      var_10 = alert_types[0].name;
      if ((type_4)*(type_6 *)((int)var_8 + 1) != alert_types[0].retval) {
        var_4 = alert_types;
        do {
          var_10 = var_4[1].name;
          if (var_10 == (char *)0x0) {
            var_10 = " ???";
            pcVar7 = ", Alert";
            goto LAB_000817a4;
          }
          pSVar1 = var_4 + 1;
          var_4 = var_4 + 1;
        } while ((type_4)*(type_6 *)((int)var_8 + 1) != pSVar1->retval);
      }
      pcVar7 = ", Alert";
    }
LAB_000817a4:
    var_7((type_5 *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,var_3,pcVar7,var_6,var_9,var_10);
  }
  else {
    var_10 = "";
    var_9 = var_10;
LAB_00081658:
    var_7((type_5 *)arg,"%s %s%s [length %04lx]%s%s\n",puVar2,var_3,var_10,var_6,var_9,
               &DAT_0008b720);
    if (var_6 == 0) goto LAB_00081675;
  }
  var_11 = 0;
  var_7((type_5 *)arg,"   ");
  do {
    if (((var_11 & 0xf) == 0) && (var_11 != 0)) {
      var_7((type_5 *)arg,"\n   ",var_9);
    }
    var_9 = (char *)(type_4)*(type_6 *)((int)var_8 + var_11);
    var_11 = var_11 + 1;
    var_7((type_5 *)arg," %02x",var_9);
  } while (var_11 < var_6);
  var_7((type_5 *)arg,"\n",var_9);
LAB_00081675:
  var_12((type_5 *)arg,0xb,0,(void *)0x0);
  return;
}


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

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

void MASKED(int param_1,undefined *param_2,int param_3,byte *param_4,uint param_5,
                 undefined4 param_6,BIO *param_7)

{
  undefined **ppuVar1;
  undefined *puVar2;
  undefined *puVar3;
  char *pcVar4;
  undefined **ppuVar5;
  char *pcVar6;
  uint uVar7;
  undefined *puVar8;
  
  puVar2 = &DAT_0009924a;
  if (param_1 != 0) {
    puVar2 = &DAT_00099246;
  }
  if (PTR_s_SSL_3_0_000cc440 == (undefined *)0x0) {
LAB_000815f6:
    puVar3 = &DAT_00099258;
  }
  else {
    puVar3 = PTR_s_SSL_3_0_000cc440;
    if (param_2 != DAT_000cc444) {
      ppuVar5 = &PTR_s_SSL_3_0_000cc440;
      do {
        puVar3 = ppuVar5[2];
        if (puVar3 == (undefined *)0x0) goto LAB_000815f6;
        ppuVar1 = ppuVar5 + 3;
        ppuVar5 = ppuVar5 + 2;
      } while (param_2 != *ppuVar1);
    }
  }
  if ((param_2 == (undefined *)0x100 || param_2 == (undefined *)0xfeff) ||
     (param_2 + -0x300 < (undefined *)0x5)) {
    if (param_3 != 0x15) {
      if (param_3 < 0x16) {
        pcVar6 = ", ChangeCipherSpec";
        pcVar4 = "";
        if (param_3 != 0x14) {
LAB_000816a5:
          pcVar6 = "";
          pcVar4 = pcVar6;
        }
      }
      else {
        if (param_3 == 0x16) {
          if (param_5 == 0) {
            BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,", Handshake",0,
                       &DAT_00099258,&DAT_0008b720);
            goto LAB_00081675;
          }
          if (PTR_s___HelloRequest_000cc260 == (undefined *)0x0) {
LAB_00081792:
            puVar8 = &DAT_0008b720;
            pcVar4 = "???";
            pcVar6 = ", Handshake";
          }
          else {
            pcVar4 = PTR_s___HelloRequest_000cc260;
            if ((undefined *)(uint)*param_4 != DAT_000cc264) {
              ppuVar5 = &PTR_s___HelloRequest_000cc260;
              do {
                pcVar4 = ppuVar5[2];
                if (pcVar4 == (char *)0x0) goto LAB_00081792;
                ppuVar1 = ppuVar5 + 3;
                ppuVar5 = ppuVar5 + 2;
              } while ((undefined *)(uint)*param_4 != *ppuVar1);
            }
            puVar8 = &DAT_0008b720;
            pcVar6 = ", Handshake";
          }
          goto LAB_000817a4;
        }
        pcVar4 = "";
        pcVar6 = ", ApplicationData";
        if (param_3 != 0x17) goto LAB_000816a5;
      }
      goto LAB_00081658;
    }
    if (param_5 != 2) {
      pcVar6 = ", Alert";
      pcVar4 = ", ???";
      goto LAB_00081658;
    }
    pcVar4 = ", warning";
    if (*param_4 != 1) {
      pcVar4 = ", fatal";
      if (*param_4 != 2) {
        pcVar4 = ", ???";
      }
    }
    if (PTR_s_close_notify_000cc320 == (undefined *)0x0) {
      puVar8 = &DAT_00099257;
      pcVar6 = ", Alert";
    }
    else {
      puVar8 = PTR_s_close_notify_000cc320;
      if ((undefined *)(uint)param_4[1] != DAT_000cc324) {
        ppuVar5 = &PTR_s_close_notify_000cc320;
        do {
          puVar8 = ppuVar5[2];
          if (puVar8 == (undefined *)0x0) {
            puVar8 = &DAT_00099257;
            pcVar6 = ", Alert";
            goto LAB_000817a4;
          }
          ppuVar1 = ppuVar5 + 3;
          ppuVar5 = ppuVar5 + 2;
        } while ((undefined *)(uint)param_4[1] != *ppuVar1);
      }
      pcVar6 = ", Alert";
    }
LAB_000817a4:
    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,puVar8);
  }
  else {
    pcVar6 = "";
    pcVar4 = pcVar6;
LAB_00081658:
    BIO_printf(param_7,"%s %s%s [length %04lx]%s%s\n",puVar2,puVar3,pcVar6,param_5,pcVar4,
               &DAT_0008b720);
    if (param_5 == 0) goto LAB_00081675;
  }
  uVar7 = 0;
  BIO_printf(param_7,"   ");
  do {
    if (((uVar7 & 0xf) == 0) && (uVar7 != 0)) {
      BIO_printf(param_7,"\n   ",pcVar4);
    }
    pcVar4 = (char *)(uint)param_4[uVar7];
    uVar7 = uVar7 + 1;
    BIO_printf(param_7," %02x",pcVar4);
  } while (uVar7 < param_5);
  BIO_printf(param_7,"\n",pcVar4);
LAB_00081675:
  BIO_ctrl(param_7,0xb,0,(void *)0x0);
  return;
}

