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

int __regparm3 do_responder(OCSP_REQUEST **preq,BIO **pcbio,BIO *acbio,int timeout)

{
  byte bVar1;
  int iVar2;
  byte bVar3;
  long lVar4;
  BIO *bp;
  char *pcVar5;
  byte *pbVar6;
  ushort **ppuVar7;
  OCSP_REQUEST *pOVar8;
  BIO *pBVar9;
  BIO_METHOD *type;
  BIO *b;
  int iVar10;
  char *pcVar11;
  byte *pbVar12;
  char *pcVar13;
  byte *pbVar14;
  byte *pbVar15;
  int in_GS_OFFSET;
  bool bVar16;
  bool bVar17;
  bool bVar18;
  char inbuf [2048];
  char reqbuf [2048];
  
  bVar3 = 0;
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  *preq = (OCSP_REQUEST *)0x0;
  lVar4 = BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0);
  iVar10 = 0;
  if (lVar4 < 1) goto LAB_00040b07;
  bp = BIO_pop((BIO *)acbio);
  *pcbio = (BIO *)bp;
  pcVar5 = BIO_ptr_ctrl(bp,0x7c,2);
  if (timeout < 1) {
    iVar10 = BIO_gets(bp,reqbuf,0x800);
    if (0 < iVar10) {
LAB_000409c4:
      bVar18 = iVar10 == 0;
      bVar16 = false;
      iVar10 = 4;
      pbVar14 = (byte *)reqbuf;
      pbVar6 = &DAT_00085098;
      do {
        if (iVar10 == 0) break;
        iVar10 = iVar10 + -1;
        bVar16 = *pbVar14 < *pbVar6;
        bVar18 = *pbVar14 == *pbVar6;
        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;
        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;
      } while (bVar18);
      bVar17 = false;
      bVar16 = (!bVar16 && !bVar18) == bVar16;
      if (bVar16) {
        pcVar11 = reqbuf + 4;
        while (reqbuf[4] == ' ') {
          pcVar11 = pcVar11 + 1;
          reqbuf[4] = *pcVar11;
        }
        if (reqbuf[4] == '/') {
          pbVar14 = (byte *)(pcVar11 + 1);
          bVar1 = pcVar11[1];
          pbVar6 = pbVar14;
          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {
            pbVar6 = pbVar6 + 1;
            bVar1 = *pbVar6;
          }
          bVar18 = false;
          iVar10 = 8;
          pbVar12 = pbVar6;
          pbVar15 = (byte *)" HTTP/1.";
          do {
            if (iVar10 == 0) break;
            iVar10 = iVar10 + -1;
            bVar18 = *pbVar12 < *pbVar15;
            bVar16 = *pbVar12 == *pbVar15;
            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;
            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;
          } while (bVar16);
          if ((!bVar18 && !bVar16) == bVar18) {
            *pbVar6 = 0;
            bVar3 = pcVar11[1];
            if (bVar3 != 0) {
              pbVar6 = pbVar14;
              pcVar11 = pcVar11 + 2;
              do {
                pcVar13 = pcVar11;
                if (bVar3 == 0x25) {
                  ppuVar7 = __ctype_b_loc();
                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||
                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))
                  goto LAB_00040d00;
                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);
                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);
                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);
                  pbVar6 = pbVar6 + 2;
                }
                else {
                  pcVar13[-1] = bVar3;
                }
                bVar3 = pbVar6[1];
                pbVar6 = pbVar6 + 1;
                pcVar11 = pcVar13 + 1;
              } while (bVar3 != 0);
              *pcVar13 = '\0';
              if ((int)pcVar13 - (int)pbVar14 < 1) {
LAB_00040d00:
                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);
              }
              else {
                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);
                if (pBVar9 != (BIO *)0x0) {
                  type = BIO_f_base64();
                  b = BIO_new(type);
                  if (b != (BIO *)0x0) {
                    BIO_set_flags(b,0x100);
                    pBVar9 = BIO_push(b,pBVar9);
                    goto LAB_00040b9e;
                  }
                }
                log_message(3,"Could not allocate base64 bio: %s",pcVar5);
              }
            }
          }
          else {
            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);
          }
        }
        else {
          log_message(6,"Invalid request -- bad URL: %s",pcVar5);
        }
      }
      else {
        iVar10 = 5;
        pbVar14 = (byte *)reqbuf;
        pbVar6 = (byte *)"POST ";
        do {
          if (iVar10 == 0) break;
          iVar10 = iVar10 + -1;
          bVar17 = *pbVar14 < *pbVar6;
          bVar16 = *pbVar14 == *pbVar6;
          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;
          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;
        } while (bVar16);
        pBVar9 = (BIO *)0x0;
        if ((!bVar17 && !bVar16) == bVar17) {
LAB_00040b9e:
          do {
            iVar10 = BIO_gets(bp,inbuf,0x800);
            if (iVar10 < 1) goto LAB_00040ae0;
          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));
          alarm(0);
          if (pBVar9 == (BIO *)0x0) {
            pOVar8 = (OCSP_REQUEST *)
                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);
          }
          else {
            pOVar8 = (OCSP_REQUEST *)
                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);
            BIO_free_all(pBVar9);
          }
          if (pOVar8 == (OCSP_REQUEST *)0x0) {
            log_message(3,"Error parsing OCSP request");
          }
          *preq = pOVar8;
          goto LAB_00040af8;
        }
        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);
      }
LAB_00040ae0:
      if (0 < timeout) goto LAB_00040aeb;
    }
  }
  else {
    BIO_ctrl(bp,0x69,0,&acfd);
    alarm(timeout);
    iVar10 = BIO_gets(bp,reqbuf,0x800);
    if (0 < iVar10) goto LAB_000409c4;
LAB_00040aeb:
    alarm(0);
  }
LAB_00040af8:
  acfd = -1;
  iVar10 = 1;
LAB_00040b07:
  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar10;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined4 __regparm3
FUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)

{
  byte bVar1;
  byte bVar2;
  long lVar3;
  BIO *bp;
  char *pcVar4;
  int iVar5;
  byte *pbVar6;
  ushort **ppuVar7;
  void *pvVar8;
  BIO *pBVar9;
  BIO_METHOD *type;
  BIO *b;
  undefined4 uVar10;
  char *pcVar11;
  byte *pbVar12;
  char *pcVar13;
  byte *pbVar14;
  byte *pbVar15;
  int in_GS_OFFSET;
  bool bVar16;
  bool bVar17;
  bool bVar18;
  char local_1020 [2048];
  byte local_820 [4];
  char local_81c;
  char local_81b [2043];
  int local_20;
  undefined4 uStack_14;
  
  bVar2 = 0;
  uStack_14 = 0x4092d;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  *param_1 = 0;
  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);
  uVar10 = 0;
  if (lVar3 < 1) goto LAB_00040b07;
  bp = BIO_pop(param_3);
  *param_2 = bp;
  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);
  if ((int)param_4 < 1) {
    iVar5 = BIO_gets(bp,(char *)local_820,0x800);
    if (0 < iVar5) {
LAB_000409c4:
      bVar18 = iVar5 == 0;
      bVar16 = false;
      iVar5 = 4;
      pbVar14 = local_820;
      pbVar6 = &DAT_00085098;
      do {
        if (iVar5 == 0) break;
        iVar5 = iVar5 + -1;
        bVar16 = *pbVar14 < *pbVar6;
        bVar18 = *pbVar14 == *pbVar6;
        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;
        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;
      } while (bVar18);
      bVar17 = false;
      bVar16 = (!bVar16 && !bVar18) == bVar16;
      if (bVar16) {
        pcVar11 = &local_81c;
        while (local_81c == ' ') {
          pcVar11 = pcVar11 + 1;
          local_81c = *pcVar11;
        }
        if (local_81c == '/') {
          pbVar14 = (byte *)(pcVar11 + 1);
          bVar1 = pcVar11[1];
          pbVar6 = pbVar14;
          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {
            pbVar6 = pbVar6 + 1;
            bVar1 = *pbVar6;
          }
          bVar18 = false;
          iVar5 = 8;
          pbVar12 = pbVar6;
          pbVar15 = (byte *)" HTTP/1.";
          do {
            if (iVar5 == 0) break;
            iVar5 = iVar5 + -1;
            bVar18 = *pbVar12 < *pbVar15;
            bVar16 = *pbVar12 == *pbVar15;
            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;
            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;
          } while (bVar16);
          if ((!bVar18 && !bVar16) == bVar18) {
            *pbVar6 = 0;
            bVar2 = pcVar11[1];
            if (bVar2 != 0) {
              pbVar6 = pbVar14;
              pcVar11 = pcVar11 + 2;
              do {
                pcVar13 = pcVar11;
                if (bVar2 == 0x25) {
                  ppuVar7 = __ctype_b_loc();
                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||
                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))
                  goto LAB_00040d00;
                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);
                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);
                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);
                  pbVar6 = pbVar6 + 2;
                }
                else {
                  pcVar13[-1] = bVar2;
                }
                bVar2 = pbVar6[1];
                pbVar6 = pbVar6 + 1;
                pcVar11 = pcVar13 + 1;
              } while (bVar2 != 0);
              *pcVar13 = '\0';
              if ((int)pcVar13 - (int)pbVar14 < 1) {
LAB_00040d00:
                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);
              }
              else {
                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);
                if (pBVar9 != (BIO *)0x0) {
                  type = BIO_f_base64();
                  b = BIO_new(type);
                  if (b != (BIO *)0x0) {
                    BIO_set_flags(b,0x100);
                    pBVar9 = BIO_push(b,pBVar9);
                    goto LAB_00040b9e;
                  }
                }
                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);
              }
            }
          }
          else {
            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);
          }
        }
        else {
          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);
        }
      }
      else {
        iVar5 = 5;
        pbVar14 = local_820;
        pbVar6 = (byte *)"POST ";
        do {
          if (iVar5 == 0) break;
          iVar5 = iVar5 + -1;
          bVar17 = *pbVar14 < *pbVar6;
          bVar16 = *pbVar14 == *pbVar6;
          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;
          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;
        } while (bVar16);
        pBVar9 = (BIO *)0x0;
        if ((!bVar17 && !bVar16) == bVar17) {
LAB_00040b9e:
          do {
            iVar5 = BIO_gets(bp,local_1020,0x800);
            if (iVar5 < 1) goto LAB_00040ae0;
          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));
          alarm(0);
          if (pBVar9 == (BIO *)0x0) {
            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);
          }
          else {
            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);
            BIO_free_all(pBVar9);
          }
          if (pvVar8 == (void *)0x0) {
            FUN_000407f0(3,"Error parsing OCSP request");
          }
          *param_1 = pvVar8;
          goto LAB_00040af8;
        }
        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);
      }
LAB_00040ae0:
      if (0 < (int)param_4) goto LAB_00040aeb;
    }
  }
  else {
    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);
    alarm(param_4);
    iVar5 = BIO_gets(bp,(char *)local_820,0x800);
    if (0 < iVar5) goto LAB_000409c4;
LAB_00040aeb:
    alarm(0);
  }
LAB_00040af8:
  DAT_000be0a0 = 0xffffffff;
  uVar10 = 1;
LAB_00040b07:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar10;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007d010();
}


PUSH EBP
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x0002c7d0
ADD EBX,0x7c14b
SUB ESP,0x102c
MOV dword ptr [ESP],EAX
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x101c],ECX
XOR ECX,ECX
MOV dword ptr [EAX],0x0
PUSH 0x0
PUSH 0x0
PUSH 0x65
PUSH EDI
CALL 0x0002b800
ADD ESP,0x10
XOR EDX,EDX
TEST EAX,EAX
JLE 0x00040b07
SUB ESP,0xc
PUSH EDI
CALL 0x00029ca0
ADD ESP,0xc
MOV dword ptr [ESI],EAX
MOV EBP,EAX
PUSH 0x2
PUSH 0x7c
PUSH EAX
CALL 0x00029340
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
MOV EDI,dword ptr [ESP + 0x1040]
TEST EDI,EDI
JG 0x00040b30
SUB ESP,0x4
PUSH 0x800
LEA EDX,[ESP + 0x824]
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
PUSH EBP
CALL 0x00028b40
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JLE 0x00040af8
MOV ECX,0x4
LEA EDI,[EBX + 0xfffc8620]
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x00040b80
MOVZX EAX,byte ptr [ESP + 0x820]
LEA EDX,[ESP + 0x820]
CMP AL,0x20
JZ 0x00040bd0
CMP AL,0x2f
JNZ 0x00040ac8
LEA EAX,[EDX + 0x1]
MOV dword ptr [ESP + 0x8],EAX
TEST byte ptr [EDX + 0x1],0xdf
JZ 0x00040d53
ADD EAX,0x1
TEST byte ptr [EAX],0xdf
JNZ 0x00040a10
MOV ECX,0x8
LEA EDI,[EBX + 0xfffc8625]
MOV ESI,EAX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
TEST CL,CL
JNZ 0x00040cc0
MOV byte ptr [EAX],0x0
MOVZX EAX,byte ptr [EDX + 0x1]
TEST AL,AL
JZ 0x00040ae0
LEA ESI,[EDX + 0x2]
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,EDX
JMP 0x00040a71
MOV byte ptr [ESI + -0x1],AL
MOV ECX,ESI
MOV EAX,EBP
LEA EBP,[EAX + 0x1]
MOVZX EAX,byte ptr [EAX + 0x1]
ADD ESI,0x1
TEST AL,AL
JZ 0x00040c50
CMP AL,0x25
JNZ 0x00040a58
CALL 0x00029080
MOVZX ECX,byte ptr [EBP + 0x1]
MOV EAX,dword ptr [EAX]
TEST byte ptr [EAX + ECX*0x2 + 0x1],0x10
JZ 0x00040d00
MOVZX EDI,byte ptr [EBP + 0x2]
TEST byte ptr [EAX + EDI*0x2 + 0x1],0x10
JZ 0x00040d00
SUB ESP,0xc
PUSH ECX
CALL 0x0002b1c0
MOV EDI,EAX
MOVZX EAX,byte ptr [EBP + 0x2]
SHL EDI,0x4
MOV dword ptr [ESP],EAX
CALL 0x0002b1c0
MOV ECX,ESI
ADD ESP,0x10
OR EAX,EDI
MOV byte ptr [ESI + -0x1],AL
LEA EAX,[EBP + 0x2]
JMP 0x00040a5f
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc7c4c]
PUSH dword ptr [ESP + 0x8]
PUSH EAX
PUSH 0x6
CALL 0x000407f0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x1040]
TEST EAX,EAX
JLE 0x00040af8
SUB ESP,0xc
PUSH 0x0
CALL 0x00029820
ADD ESP,0x10
MOV dword ptr [EBX + 0x1628],0xffffffff
MOV EDX,0x1
MOV ECX,dword ptr [ESP + 0x101c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDX
JNZ 0x00040d5c
ADD ESP,0x102c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0x1628]
PUSH EAX
PUSH 0x0
PUSH 0x69
PUSH EBP
CALL 0x0002b800
POP ESI
PUSH dword ptr [ESP + 0x104c]
CALL 0x00029820
ADD ESP,0xc
PUSH 0x800
LEA EDX,[ESP + 0x824]
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
PUSH EBP
CALL 0x00028b40
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JG 0x000409c4
JMP 0x00040aeb
LEA EDI,[EBX + 0xfffc862e]
MOV ECX,0x5
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
XOR EDI,EDI
TEST AL,AL
JNZ 0x00040c30
LEA ESI,[ESP + 0x1c]
JMP 0x00040bb5
MOVZX EAX,byte ptr [ESP + 0x1c]
CMP AL,0xd
JZ 0x00040be0
CMP AL,0xa
JZ 0x00040be0
SUB ESP,0x4
PUSH 0x800
PUSH ESI
PUSH EBP
CALL 0x00028b40
ADD ESP,0x10
TEST EAX,EAX
JG 0x00040ba8
JMP 0x00040ae0
ADD EDX,0x1
MOVZX EAX,byte ptr [EDX]
CMP AL,0x20
JNZ 0x000409f7
JMP 0x00040bd0
SUB ESP,0xc
PUSH 0x0
CALL 0x00029820
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00040ce0
PUSH 0x0
PUSH EDI
PUSH dword ptr [EBX + 0x152c]
PUSH dword ptr [EBX + 0x149c]
CALL 0x00027390
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x0002a850
ADD ESP,0x10
TEST ESI,ESI
JZ 0x00040d3a
MOV EAX,dword ptr [ESP]
MOV dword ptr [EAX],ESI
JMP 0x00040af8
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc7ce0]
PUSH dword ptr [ESP + 0x8]
PUSH EAX
PUSH 0x6
CALL 0x000407f0
ADD ESP,0x10
JMP 0x00040ae0
MOV EAX,dword ptr [ESP + 0x8]
MOV EBP,dword ptr [ESP + 0xc]
MOV byte ptr [ECX],0x0
SUB ECX,EAX
TEST ECX,ECX
JLE 0x00040d00
SUB ESP,0x8
PUSH ECX
PUSH EAX
CALL 0x000299b0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x00040d1d
CALL 0x00029e60
SUB ESP,0xc
PUSH EAX
CALL 0x00029060
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00040d1d
SUB ESP,0x8
PUSH 0x100
PUSH EAX
CALL 0x0002ae30
POP EDX
POP ECX
PUSH EDI
PUSH ESI
CALL 0x00028540
ADD ESP,0x10
MOV EDI,EAX
JMP 0x00040b9e
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc7c6c]
PUSH dword ptr [ESP + 0x8]
PUSH EAX
PUSH 0x6
CALL 0x000407f0
ADD ESP,0x10
JMP 0x00040ae0
PUSH 0x0
PUSH EBP
PUSH dword ptr [EBX + 0x152c]
PUSH dword ptr [EBX + 0x149c]
CALL 0x00027390
ADD ESP,0x10
MOV ESI,EAX
JMP 0x00040c16
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc7c94]
PUSH dword ptr [ESP + 0x8]
PUSH EAX
PUSH 0x6
CALL 0x000407f0
ADD ESP,0x10
JMP 0x00040ae0
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc7cbc]
PUSH dword ptr [ESP + 0x8]
PUSH EAX
PUSH 0x3
CALL 0x000407f0
ADD ESP,0x10
JMP 0x00040ae0
SUB ESP,0x8
LEA EAX,[EBX + 0xfffc8634]
PUSH EAX
PUSH 0x3
CALL 0x000407f0
ADD ESP,0x10
JMP 0x00040c1e
MOV EAX,dword ptr [ESP + 0x8]
JMP 0x00040a18
CALL 0x0007d010
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3\nFUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010();\n}\n\n" comment (function_definition "undefined4 __regparm3\nFUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "BIO *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "BIO *bp;" type_identifier (pointer_declarator "*bp" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ushort **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "void *pvVar8;" primitive_type (pointer_declarator "*pvVar8" * identifier) ;) (declaration "BIO *pBVar9;" type_identifier (pointer_declarator "*pBVar9" * identifier) ;) (declaration "BIO_METHOD *type;" type_identifier (pointer_declarator "*type" * identifier) ;) (declaration "BIO *b;" type_identifier (pointer_declarator "*b" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "char local_1020 [2048];" primitive_type (array_declarator "local_1020 [2048]" identifier [ number_literal ]) ;) (declaration "byte local_820 [4];" type_identifier (array_declarator "local_820 [4]" identifier [ number_literal ]) ;) (declaration "char local_81c;" primitive_type identifier ;) (declaration "char local_81b [2043];" primitive_type (array_declarator "local_81b [2043]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x4092d;" (assignment_expression "uStack_14 = 0x4092d" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);" (assignment_expression "lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0)" identifier = (call_expression "BIO_ctrl(param_3,0x65,0,(void *)0x0)" identifier (argument_list "(param_3,0x65,0,(void *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (lVar3 < 1) goto LAB_00040b07;" if (parenthesized_expression "(lVar3 < 1)" ( (binary_expression "lVar3 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00040b07;" goto statement_identifier ;)) (expression_statement "bp = BIO_pop(param_3);" (assignment_expression "bp = BIO_pop(param_3)" identifier = (call_expression "BIO_pop(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "*param_2 = bp;" (assignment_expression "*param_2 = bp" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);" (assignment_expression "pcVar4 = BIO_ptr_ctrl(bp,0x7c,2)" identifier = (call_expression "BIO_ptr_ctrl(bp,0x7c,2)" identifier (argument_list "(bp,0x7c,2)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" if (parenthesized_expression "((int)param_4 < 1)" ( (binary_expression "(int)param_4 < 1" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }" { (expression_statement "iVar5 = BIO_gets(bp,(char *)local_820,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,(char *)local_820,0x800)" identifier = (call_expression "BIO_gets(bp,(char *)local_820,0x800)" identifier (argument_list "(bp,(char *)local_820,0x800)" ( identifier , (cast_expression "(char *)local_820" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }" { (labeled_statement "LAB_000409c4:\n      bVar18 = iVar5 == 0;" statement_identifier : (expression_statement "bVar18 = iVar5 == 0;" (assignment_expression "bVar18 = iVar5 == 0" identifier = (binary_expression "iVar5 == 0" identifier == number_literal)) ;)) (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (expression_statement "pbVar14 = local_820;" (assignment_expression "pbVar14 = local_820" identifier = identifier) ;) (expression_statement "pbVar6 = &DAT_00085098;" (assignment_expression "pbVar6 = &DAT_00085098" identifier = (pointer_expression "&DAT_00085098" & identifier)) ;) (do_statement "do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);" do (compound_statement "{\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar16 = *pbVar14 < *pbVar6;" (assignment_expression "bVar16 = *pbVar14 < *pbVar6" identifier = (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar18 = *pbVar14 == *pbVar6;" (assignment_expression "bVar18 = *pbVar14 == *pbVar6" identifier = (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar18)" ( identifier )) ;) (expression_statement "bVar17 = false;" (assignment_expression "bVar17 = false" identifier = false) ;) (expression_statement "bVar16 = (!bVar16 && !bVar18) == bVar16;" (assignment_expression "bVar16 = (!bVar16 && !bVar18) == bVar16" identifier = (binary_expression "(!bVar16 && !bVar18) == bVar16" (parenthesized_expression "(!bVar16 && !bVar18)" ( (binary_expression "!bVar16 && !bVar18" (unary_expression "!bVar16" ! identifier) && (unary_expression "!bVar18" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }" { (expression_statement "pcVar11 = &local_81c;" (assignment_expression "pcVar11 = &local_81c" identifier = (pointer_expression "&local_81c" & identifier)) ;) (while_statement "while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }" while (parenthesized_expression "(local_81c == ' ')" ( (binary_expression "local_81c == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }" { (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_81c = *pcVar11;" (assignment_expression "local_81c = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) })) (if_statement "if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" if (parenthesized_expression "(local_81c == '/')" ( (binary_expression "local_81c == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }" { (expression_statement "pbVar14 = (byte *)(pcVar11 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar11 + 1)" identifier = (cast_expression "(byte *)(pcVar11 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar11 + 1)" ( (binary_expression "pcVar11 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar1 = pcVar11[1];" (assignment_expression "bVar1 = pcVar11[1]" identifier = (subscript_expression "pcVar11[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" identifier = identifier) ;) (while_statement "while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" while (parenthesized_expression "(bVar16 = (bVar1 & 0xdf) == 0, !bVar16)" ( (comma_expression "bVar16 = (bVar1 & 0xdf) == 0, !bVar16" (assignment_expression "bVar16 = (bVar1 & 0xdf) == 0" identifier = (binary_expression "(bVar1 & 0xdf) == 0" (parenthesized_expression "(bVar1 & 0xdf)" ( (binary_expression "bVar1 & 0xdf" identifier & number_literal) )) == number_literal)) , (unary_expression "!bVar16" ! identifier)) )) (compound_statement "{\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) })) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" identifier = number_literal) ;) (expression_statement "pbVar12 = pbVar6;" (assignment_expression "pbVar12 = pbVar6" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)" HTTP/1.";" (assignment_expression "pbVar15 = (byte *)" HTTP/1."" identifier = (cast_expression "(byte *)" HTTP/1."" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal "" HTTP/1."" " string_content "))) ;) (do_statement "do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);" do (compound_statement "{\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar12 < *pbVar15;" (assignment_expression "bVar18 = *pbVar12 < *pbVar15" identifier = (binary_expression "*pbVar12 < *pbVar15" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar15;" (assignment_expression "bVar16 = *pbVar12 == *pbVar15" identifier = (binary_expression "*pbVar12 == *pbVar15" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar15 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar15 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" if (parenthesized_expression "((!bVar18 && !bVar16) == bVar18)" ( (binary_expression "(!bVar18 && !bVar16) == bVar18" (parenthesized_expression "(!bVar18 && !bVar16)" ( (binary_expression "!bVar18 && !bVar16" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }" { (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" * identifier) = number_literal) ;) (expression_statement "bVar2 = pcVar11[1];" (assignment_expression "bVar2 = pcVar11[1]" identifier = (subscript_expression "pcVar11[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }" { (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar11 + 2;" (assignment_expression "pcVar11 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (do_statement "do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);" do (compound_statement "{\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              }" { (expression_statement "pcVar13 = pcVar11;" (assignment_expression "pcVar13 = pcVar11" identifier = identifier) ;) (if_statement "if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }" if (parenthesized_expression "(bVar2 == 0x25)" ( (binary_expression "bVar2 == 0x25" identifier == number_literal) )) (compound_statement "{\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }" { (expression_statement "ppuVar7 = __ctype_b_loc();" (assignment_expression "ppuVar7 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;" if (parenthesized_expression "(((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))" ( (binary_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10)" ( (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" ( (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2" (cast_expression "(int)*ppuVar7" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar7" * identifier)) + (binary_expression "(uint)pbVar6[1] * 2" (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10)" ( (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" ( (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2" (cast_expression "(int)*ppuVar7" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar7" * identifier)) + (binary_expression "(uint)pbVar6[2] * 2" (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_00040d00;" goto statement_identifier ;)) (expression_statement "iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);" (assignment_expression "iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1])" identifier = (call_expression "OPENSSL_hexchar2int((uint)pbVar6[1])" identifier (argument_list "((uint)pbVar6[1])" ( (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) )))) ;) (expression_statement "bVar2 = OPENSSL_hexchar2int(pbVar6[2]);" (assignment_expression "bVar2 = OPENSSL_hexchar2int(pbVar6[2])" identifier = (call_expression "OPENSSL_hexchar2int(pbVar6[2])" identifier (argument_list "(pbVar6[2])" ( (subscript_expression "pbVar6[2]" identifier [ number_literal ]) )))) ;) (expression_statement "pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);" (assignment_expression "pcVar13[-1] = bVar2 | (byte)(iVar5 << 4)" (subscript_expression "pcVar13[-1]" identifier [ number_literal ]) = (binary_expression "bVar2 | (byte)(iVar5 << 4)" identifier | (call_expression "(byte)(iVar5 << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar5 << 4)" ( (binary_expression "iVar5 << 4" identifier << number_literal) ))))) ;) (expression_statement "pbVar6 = pbVar6 + 2;" (assignment_expression "pbVar6 = pbVar6 + 2" identifier = (binary_expression "pbVar6 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n                  pcVar13[-1] = bVar2;\n                }" else (compound_statement "{\n                  pcVar13[-1] = bVar2;\n                }" { (expression_statement "pcVar13[-1] = bVar2;" (assignment_expression "pcVar13[-1] = bVar2" (subscript_expression "pcVar13[-1]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "bVar2 = pbVar6[1];" (assignment_expression "bVar2 = pbVar6[1]" identifier = (subscript_expression "pbVar6[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar11 = pcVar13 + 1;" (assignment_expression "pcVar11 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) ;) (expression_statement "*pcVar13 = '\0';" (assignment_expression "*pcVar13 = '\0'" (pointer_expression "*pcVar13" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" if (parenthesized_expression "((int)pcVar13 - (int)pbVar14 < 1)" ( (binary_expression "(int)pcVar13 - (int)pbVar14 < 1" (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) < number_literal) )) (compound_statement "{\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }" { (labeled_statement "LAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);" statement_identifier : (expression_statement "FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad URL encoding: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad URL encoding: %s"" " string_content ") , identifier ))) ;)) }) (else_clause "else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" else (compound_statement "{\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" { (expression_statement "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);" (assignment_expression "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" identifier = (call_expression "BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" identifier (argument_list "(pbVar14,(int)pcVar13 - (int)pbVar14)" ( identifier , (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" if (parenthesized_expression "(pBVar9 != (BIO *)0x0)" ( (binary_expression "pBVar9 != (BIO *)0x0" identifier != (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" { (expression_statement "type = BIO_f_base64();" (assignment_expression "type = BIO_f_base64()" identifier = (call_expression "BIO_f_base64()" identifier (argument_list "()" ( )))) ;) (expression_statement "b = BIO_new(type);" (assignment_expression "b = BIO_new(type)" identifier = (call_expression "BIO_new(type)" identifier (argument_list "(type)" ( identifier )))) ;) (if_statement "if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" if (parenthesized_expression "(b != (BIO *)0x0)" ( (binary_expression "b != (BIO *)0x0" identifier != (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" { (expression_statement "BIO_set_flags(b,0x100);" (call_expression "BIO_set_flags(b,0x100)" identifier (argument_list "(b,0x100)" ( identifier , number_literal ))) ;) (expression_statement "pBVar9 = BIO_push(b,pBVar9);" (assignment_expression "pBVar9 = BIO_push(b,pBVar9)" identifier = (call_expression "BIO_push(b,pBVar9)" identifier (argument_list "(b,pBVar9)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_00040b9e;" goto statement_identifier ;) })) })) (expression_statement "FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);" (call_expression "FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4)" identifier (argument_list "(3,"Could not allocate base64 bio: %s",pcVar4)" ( number_literal , (string_literal ""Could not allocate base64 bio: %s"" " string_content ") , identifier ))) ;) }))) })) }) (else_clause "else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" else (compound_statement "{\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" { (expression_statement "FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad HTTP version: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad HTTP version: %s"" " string_content ") , identifier ))) ;) }))) }) (else_clause "else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" else (compound_statement "{\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" { (expression_statement "FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad URL: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad URL: %s"" " string_content ") , identifier ))) ;) }))) }) (else_clause "else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" else (compound_statement "{\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" { (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" identifier = number_literal) ;) (expression_statement "pbVar14 = local_820;" (assignment_expression "pbVar14 = local_820" identifier = identifier) ;) (expression_statement "pbVar6 = (byte *)"POST ";" (assignment_expression "pbVar6 = (byte *)"POST "" identifier = (cast_expression "(byte *)"POST "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""POST "" " string_content "))) ;) (do_statement "do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);" do (compound_statement "{\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar17 = *pbVar14 < *pbVar6;" (assignment_expression "bVar17 = *pbVar14 < *pbVar6" identifier = (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar16 = *pbVar14 == *pbVar6;" (assignment_expression "bVar16 = *pbVar14 == *pbVar6" identifier = (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (expression_statement "pBVar9 = (BIO *)0x0;" (assignment_expression "pBVar9 = (BIO *)0x0" identifier = (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }" if (parenthesized_expression "((!bVar17 && !bVar16) == bVar17)" ( (binary_expression "(!bVar17 && !bVar16) == bVar17" (parenthesized_expression "(!bVar17 && !bVar16)" ( (binary_expression "!bVar17 && !bVar16" (unary_expression "!bVar17" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }" { (labeled_statement "LAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));" statement_identifier : (do_statement "do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));" do (compound_statement "{\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          }" { (expression_statement "iVar5 = BIO_gets(bp,local_1020,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,local_1020,0x800)" identifier = (call_expression "BIO_gets(bp,local_1020,0x800)" identifier (argument_list "(bp,local_1020,0x800)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar5 < 1) goto LAB_00040ae0;" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00040ae0;" goto statement_identifier ;)) }) while (parenthesized_expression "((local_1020[0] != '\r') && (local_1020[0] != '\n'))" ( (binary_expression "(local_1020[0] != '\r') && (local_1020[0] != '\n')" (parenthesized_expression "(local_1020[0] != '\r')" ( (binary_expression "local_1020[0] != '\r'" (subscript_expression "local_1020[0]" identifier [ number_literal ]) != (char_literal "'\r'" ' escape_sequence ')) )) && (parenthesized_expression "(local_1020[0] != '\n')" ( (binary_expression "local_1020[0] != '\n'" (subscript_expression "local_1020[0]" identifier [ number_literal ]) != (char_literal "'\n'" ' escape_sequence ')) ))) )) ;)) (expression_statement "alarm(0);" (call_expression "alarm(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (if_statement "if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" if (parenthesized_expression "(pBVar9 == (BIO *)0x0)" ( (binary_expression "pBVar9 == (BIO *)0x0" identifier == (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }" { (expression_statement "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);" (assignment_expression "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" identifier = (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" identifier (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" ( (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" ( (type_descriptor "xnew *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(void **)0x0" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) }) (else_clause "else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" else (compound_statement "{\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" { (expression_statement "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);" (assignment_expression "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" identifier = (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" identifier (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" ( (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" ( (type_descriptor "xnew *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(void **)0x0" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "BIO_free_all(pBVar9);" (call_expression "BIO_free_all(pBVar9)" identifier (argument_list "(pBVar9)" ( identifier ))) ;) }))) (if_statement "if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }" { (expression_statement "FUN_000407f0(3,"Error parsing OCSP request");" (call_expression "FUN_000407f0(3,"Error parsing OCSP request")" identifier (argument_list "(3,"Error parsing OCSP request")" ( number_literal , (string_literal ""Error parsing OCSP request"" " string_content ") ))) ;) })) (expression_statement "*param_1 = pvVar8;" (assignment_expression "*param_1 = pvVar8" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00040af8;" goto statement_identifier ;) })) (expression_statement "FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad HTTP verb: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad HTTP verb: %s"" " string_content ") , identifier ))) ;) }))) (labeled_statement "LAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;" statement_identifier : (if_statement "if (0 < (int)param_4) goto LAB_00040aeb;" if (parenthesized_expression "(0 < (int)param_4)" ( (binary_expression "0 < (int)param_4" number_literal < (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_00040aeb;" goto statement_identifier ;))) })) }) (else_clause "else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" else (compound_statement "{\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" { (expression_statement "BIO_ctrl(bp,0x69,0,&DAT_000be0a0);" (call_expression "BIO_ctrl(bp,0x69,0,&DAT_000be0a0)" identifier (argument_list "(bp,0x69,0,&DAT_000be0a0)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_000be0a0" & identifier) ))) ;) (expression_statement "alarm(param_4);" (call_expression "alarm(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (expression_statement "iVar5 = BIO_gets(bp,(char *)local_820,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,(char *)local_820,0x800)" identifier = (call_expression "BIO_gets(bp,(char *)local_820,0x800)" identifier (argument_list "(bp,(char *)local_820,0x800)" ( identifier , (cast_expression "(char *)local_820" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (0 < iVar5) goto LAB_000409c4;" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_000409c4;" goto statement_identifier ;)) (labeled_statement "LAB_00040aeb:\n    alarm(0);" statement_identifier : (expression_statement "alarm(0);" (call_expression "alarm(0)" identifier (argument_list "(0)" ( number_literal ))) ;)) }))) (labeled_statement "LAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;" statement_identifier : (expression_statement "DAT_000be0a0 = 0xffffffff;" (assignment_expression "DAT_000be0a0 = 0xffffffff" identifier = number_literal) ;)) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar10;\n  }" { (return_statement "return uVar10;" return identifier ;) }))) comment (expression_statement "FUN_0007d010();" (call_expression "FUN_0007d010()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 do_responder(OCSP_REQUEST **preq,BIO **pcbio,BIO *acbio,int timeout)\n\n{\n  byte bVar1;\n  int iVar2;\n  byte bVar3;\n  long lVar4;\n  BIO *bp;\n  char *pcVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  OCSP_REQUEST *pOVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  int iVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char inbuf [2048];\n  char reqbuf [2048];\n  \n  bVar3 = 0;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  *preq = (OCSP_REQUEST *)0x0;\n  lVar4 = BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0);\n  iVar10 = 0;\n  if (lVar4 < 1) goto LAB_00040b07;\n  bp = BIO_pop((BIO *)acbio);\n  *pcbio = (BIO *)bp;\n  pcVar5 = BIO_ptr_ctrl(bp,0x7c,2);\n  if (timeout < 1) {\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) {\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&acfd);\n    alarm(timeout);\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  acfd = -1;\n  iVar10 = 1;\nLAB_00040b07:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int __regparm3 do_responder(OCSP_REQUEST **preq,BIO **pcbio,BIO *acbio,int timeout)\n\n{\n  byte bVar1;\n  int iVar2;\n  byte bVar3;\n  long lVar4;\n  BIO *bp;\n  char *pcVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  OCSP_REQUEST *pOVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  int iVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char inbuf [2048];\n  char reqbuf [2048];\n  \n  bVar3 = 0;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  *preq = (OCSP_REQUEST *)0x0;\n  lVar4 = BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0);\n  iVar10 = 0;\n  if (lVar4 < 1) goto LAB_00040b07;\n  bp = BIO_pop((BIO *)acbio);\n  *pcbio = (BIO *)bp;\n  pcVar5 = BIO_ptr_ctrl(bp,0x7c,2);\n  if (timeout < 1) {\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) {\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&acfd);\n    alarm(timeout);\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  acfd = -1;\n  iVar10 = 1;\nLAB_00040b07:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "do_responder(OCSP_REQUEST **preq,BIO **pcbio,BIO *acbio,int timeout)" identifier (parameter_list "(OCSP_REQUEST **preq,BIO **pcbio,BIO *acbio,int timeout)" ( (parameter_declaration "OCSP_REQUEST **preq" type_identifier (pointer_declarator "**preq" * (pointer_declarator "*preq" * identifier))) , (parameter_declaration "BIO **pcbio" type_identifier (pointer_declarator "**pcbio" * (pointer_declarator "*pcbio" * identifier))) , (parameter_declaration "BIO *acbio" type_identifier (pointer_declarator "*acbio" * identifier)) , (parameter_declaration "int timeout" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  byte bVar3;\n  long lVar4;\n  BIO *bp;\n  char *pcVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  OCSP_REQUEST *pOVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  int iVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char inbuf [2048];\n  char reqbuf [2048];\n  \n  bVar3 = 0;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  *preq = (OCSP_REQUEST *)0x0;\n  lVar4 = BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0);\n  iVar10 = 0;\n  if (lVar4 < 1) goto LAB_00040b07;\n  bp = BIO_pop((BIO *)acbio);\n  *pcbio = (BIO *)bp;\n  pcVar5 = BIO_ptr_ctrl(bp,0x7c,2);\n  if (timeout < 1) {\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) {\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&acfd);\n    alarm(timeout);\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  acfd = -1;\n  iVar10 = 1;\nLAB_00040b07:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "BIO *bp;" type_identifier (pointer_declarator "*bp" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ushort **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "OCSP_REQUEST *pOVar8;" type_identifier (pointer_declarator "*pOVar8" * identifier) ;) (declaration "BIO *pBVar9;" type_identifier (pointer_declarator "*pBVar9" * identifier) ;) (declaration "BIO_METHOD *type;" type_identifier (pointer_declarator "*type" * identifier) ;) (declaration "BIO *b;" type_identifier (pointer_declarator "*b" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "char inbuf [2048];" primitive_type (array_declarator "inbuf [2048]" identifier [ number_literal ]) ;) (declaration "char reqbuf [2048];" primitive_type (array_declarator "reqbuf [2048]" identifier [ number_literal ]) ;) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*preq = (OCSP_REQUEST *)0x0;" (assignment_expression "*preq = (OCSP_REQUEST *)0x0" (pointer_expression "*preq" * identifier) = (cast_expression "(OCSP_REQUEST *)0x0" ( (type_descriptor "OCSP_REQUEST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "lVar4 = BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0);" (assignment_expression "lVar4 = BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0)" identifier = (call_expression "BIO_ctrl((BIO *)acbio,0x65,0,(void *)0x0)" identifier (argument_list "((BIO *)acbio,0x65,0,(void *)0x0)" ( (cast_expression "(BIO *)acbio" ( (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) )))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (lVar4 < 1) goto LAB_00040b07;" if (parenthesized_expression "(lVar4 < 1)" ( (binary_expression "lVar4 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00040b07;" goto statement_identifier ;)) (expression_statement "bp = BIO_pop((BIO *)acbio);" (assignment_expression "bp = BIO_pop((BIO *)acbio)" identifier = (call_expression "BIO_pop((BIO *)acbio)" identifier (argument_list "((BIO *)acbio)" ( (cast_expression "(BIO *)acbio" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "*pcbio = (BIO *)bp;" (assignment_expression "*pcbio = (BIO *)bp" (pointer_expression "*pcbio" * identifier) = (cast_expression "(BIO *)bp" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar5 = BIO_ptr_ctrl(bp,0x7c,2);" (assignment_expression "pcVar5 = BIO_ptr_ctrl(bp,0x7c,2)" identifier = (call_expression "BIO_ptr_ctrl(bp,0x7c,2)" identifier (argument_list "(bp,0x7c,2)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (timeout < 1) {\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) {\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&acfd);\n    alarm(timeout);\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" if (parenthesized_expression "(timeout < 1)" ( (binary_expression "timeout < 1" identifier < number_literal) )) (compound_statement "{\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) {\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }\n  }" { (expression_statement "iVar10 = BIO_gets(bp,reqbuf,0x800);" (assignment_expression "iVar10 = BIO_gets(bp,reqbuf,0x800)" identifier = (call_expression "BIO_gets(bp,reqbuf,0x800)" identifier (argument_list "(bp,reqbuf,0x800)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (0 < iVar10) {\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\nLAB_000409c4:\n      bVar18 = iVar10 == 0;\n      bVar16 = false;\n      iVar10 = 4;\n      pbVar14 = (byte *)reqbuf;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }\nLAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;\n    }" { (labeled_statement "LAB_000409c4:\n      bVar18 = iVar10 == 0;" statement_identifier : (expression_statement "bVar18 = iVar10 == 0;" (assignment_expression "bVar18 = iVar10 == 0" identifier = (binary_expression "iVar10 == 0" identifier == number_literal)) ;)) (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) (expression_statement "iVar10 = 4;" (assignment_expression "iVar10 = 4" identifier = number_literal) ;) (expression_statement "pbVar14 = (byte *)reqbuf;" (assignment_expression "pbVar14 = (byte *)reqbuf" identifier = (cast_expression "(byte *)reqbuf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar6 = &DAT_00085098;" (assignment_expression "pbVar6 = &DAT_00085098" identifier = (pointer_expression "&DAT_00085098" & identifier)) ;) (do_statement "do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      } while (bVar18);" do (compound_statement "{\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n      }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar16 = *pbVar14 < *pbVar6;" (assignment_expression "bVar16 = *pbVar14 < *pbVar6" identifier = (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar18 = *pbVar14 == *pbVar6;" (assignment_expression "bVar18 = *pbVar14 == *pbVar6" identifier = (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar3 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar3 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar18)" ( identifier )) ;) (expression_statement "bVar17 = false;" (assignment_expression "bVar17 = false" identifier = false) ;) (expression_statement "bVar16 = (!bVar16 && !bVar18) == bVar16;" (assignment_expression "bVar16 = (!bVar16 && !bVar18) == bVar16" identifier = (binary_expression "(!bVar16 && !bVar18) == bVar16" (parenthesized_expression "(!bVar16 && !bVar18)" ( (binary_expression "!bVar16 && !bVar18" (unary_expression "!bVar16" ! identifier) && (unary_expression "!bVar18" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar16) {\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }\n      else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n        pcVar11 = reqbuf + 4;\n        while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }\n        if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }\n      }" { (expression_statement "pcVar11 = reqbuf + 4;" (assignment_expression "pcVar11 = reqbuf + 4" identifier = (binary_expression "reqbuf + 4" identifier + number_literal)) ;) (while_statement "while (reqbuf[4] == ' ') {\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }" while (parenthesized_expression "(reqbuf[4] == ' ')" ( (binary_expression "reqbuf[4] == ' '" (subscript_expression "reqbuf[4]" identifier [ number_literal ]) == (char_literal "' '" ' character ')) )) (compound_statement "{\n          pcVar11 = pcVar11 + 1;\n          reqbuf[4] = *pcVar11;\n        }" { (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "reqbuf[4] = *pcVar11;" (assignment_expression "reqbuf[4] = *pcVar11" (subscript_expression "reqbuf[4]" identifier [ number_literal ]) = (pointer_expression "*pcVar11" * identifier)) ;) })) (if_statement "if (reqbuf[4] == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }\n        else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }" if (parenthesized_expression "(reqbuf[4] == '/')" ( (binary_expression "reqbuf[4] == '/'" (subscript_expression "reqbuf[4]" identifier [ number_literal ]) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar10 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }\n        }" { (expression_statement "pbVar14 = (byte *)(pcVar11 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar11 + 1)" identifier = (cast_expression "(byte *)(pcVar11 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar11 + 1)" ( (binary_expression "pcVar11 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar1 = pcVar11[1];" (assignment_expression "bVar1 = pcVar11[1]" identifier = (subscript_expression "pcVar11[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" identifier = identifier) ;) (while_statement "while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" while (parenthesized_expression "(bVar16 = (bVar1 & 0xdf) == 0, !bVar16)" ( (comma_expression "bVar16 = (bVar1 & 0xdf) == 0, !bVar16" (assignment_expression "bVar16 = (bVar1 & 0xdf) == 0" identifier = (binary_expression "(bVar1 & 0xdf) == 0" (parenthesized_expression "(bVar1 & 0xdf)" ( (binary_expression "bVar1 & 0xdf" identifier & number_literal) )) == number_literal)) , (unary_expression "!bVar16" ! identifier)) )) (compound_statement "{\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) })) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "iVar10 = 8;" (assignment_expression "iVar10 = 8" identifier = number_literal) ;) (expression_statement "pbVar12 = pbVar6;" (assignment_expression "pbVar12 = pbVar6" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)" HTTP/1.";" (assignment_expression "pbVar15 = (byte *)" HTTP/1."" identifier = (cast_expression "(byte *)" HTTP/1."" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal "" HTTP/1."" " string_content "))) ;) (do_statement "do {\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          } while (bVar16);" do (compound_statement "{\n            if (iVar10 == 0) break;\n            iVar10 = iVar10 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;\n          }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar12 < *pbVar15;" (assignment_expression "bVar18 = *pbVar12 < *pbVar15" identifier = (binary_expression "*pbVar12 < *pbVar15" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar15;" (assignment_expression "bVar16 = *pbVar12 == *pbVar15" identifier = (binary_expression "*pbVar12 == *pbVar15" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar3 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "pbVar15 + (uint)bVar3 * -2 + 1" (binary_expression "pbVar15 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }\n          else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }" if (parenthesized_expression "((!bVar18 && !bVar16) == bVar18)" ( (binary_expression "(!bVar18 && !bVar16) == bVar18" (parenthesized_expression "(!bVar18 && !bVar16)" ( (binary_expression "!bVar18 && !bVar16" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n            *pbVar6 = 0;\n            bVar3 = pcVar11[1];\n            if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }\n          }" { (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" * identifier) = number_literal) ;) (expression_statement "bVar3 = pcVar11[1];" (assignment_expression "bVar3 = pcVar11[1]" identifier = (subscript_expression "pcVar11[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar3 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }" if (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }\n            }" { (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar11 + 2;" (assignment_expression "pcVar11 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (do_statement "do {\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar3 != 0);" do (compound_statement "{\n                pcVar13 = pcVar11;\n                if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }\n                bVar3 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              }" { (expression_statement "pcVar13 = pcVar11;" (assignment_expression "pcVar13 = pcVar11" identifier = identifier) ;) (if_statement "if (bVar3 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar3;\n                }" if (parenthesized_expression "(bVar3 == 0x25)" ( (binary_expression "bVar3 == 0x25" identifier == number_literal) )) (compound_statement "{\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar3 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }" { (expression_statement "ppuVar7 = __ctype_b_loc();" (assignment_expression "ppuVar7 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;" if (parenthesized_expression "(((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))" ( (binary_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10)" ( (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" ( (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2" (cast_expression "(int)*ppuVar7" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar7" * identifier)) + (binary_expression "(uint)pbVar6[1] * 2" (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10)" ( (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" ( (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2" (cast_expression "(int)*ppuVar7" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar7" * identifier)) + (binary_expression "(uint)pbVar6[2] * 2" (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_00040d00;" goto statement_identifier ;)) (expression_statement "iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1]);" (assignment_expression "iVar10 = OPENSSL_hexchar2int((uint)pbVar6[1])" identifier = (call_expression "OPENSSL_hexchar2int((uint)pbVar6[1])" identifier (argument_list "((uint)pbVar6[1])" ( (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) )))) ;) (expression_statement "bVar3 = OPENSSL_hexchar2int(pbVar6[2]);" (assignment_expression "bVar3 = OPENSSL_hexchar2int(pbVar6[2])" identifier = (call_expression "OPENSSL_hexchar2int(pbVar6[2])" identifier (argument_list "(pbVar6[2])" ( (subscript_expression "pbVar6[2]" identifier [ number_literal ]) )))) ;) (expression_statement "pcVar13[-1] = bVar3 | (byte)(iVar10 << 4);" (assignment_expression "pcVar13[-1] = bVar3 | (byte)(iVar10 << 4)" (subscript_expression "pcVar13[-1]" identifier [ number_literal ]) = (binary_expression "bVar3 | (byte)(iVar10 << 4)" identifier | (call_expression "(byte)(iVar10 << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar10 << 4)" ( (binary_expression "iVar10 << 4" identifier << number_literal) ))))) ;) (expression_statement "pbVar6 = pbVar6 + 2;" (assignment_expression "pbVar6 = pbVar6 + 2" identifier = (binary_expression "pbVar6 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n                  pcVar13[-1] = bVar3;\n                }" else (compound_statement "{\n                  pcVar13[-1] = bVar3;\n                }" { (expression_statement "pcVar13[-1] = bVar3;" (assignment_expression "pcVar13[-1] = bVar3" (subscript_expression "pcVar13[-1]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "bVar3 = pbVar6[1];" (assignment_expression "bVar3 = pbVar6[1]" identifier = (subscript_expression "pbVar6[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar11 = pcVar13 + 1;" (assignment_expression "pcVar11 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) ;) (expression_statement "*pcVar13 = '\0';" (assignment_expression "*pcVar13 = '\0'" (pointer_expression "*pcVar13" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }" if (parenthesized_expression "((int)pcVar13 - (int)pbVar14 < 1)" ( (binary_expression "(int)pcVar13 - (int)pbVar14 < 1" (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) < number_literal) )) (compound_statement "{\nLAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);\n              }" { (labeled_statement "LAB_00040d00:\n                log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);" statement_identifier : (expression_statement "log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5);" (call_expression "log_message(6,"Invalid request -- bad URL encoding: %s",pcVar5)" identifier (argument_list "(6,"Invalid request -- bad URL encoding: %s",pcVar5)" ( number_literal , (string_literal ""Invalid request -- bad URL encoding: %s"" " string_content ") , identifier ))) ;)) }) (else_clause "else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }" else (compound_statement "{\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                log_message(3,"Could not allocate base64 bio: %s",pcVar5);\n              }" { (expression_statement "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);" (assignment_expression "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" identifier = (call_expression "BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" identifier (argument_list "(pbVar14,(int)pcVar13 - (int)pbVar14)" ( identifier , (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" if (parenthesized_expression "(pBVar9 != (BIO *)0x0)" ( (binary_expression "pBVar9 != (BIO *)0x0" identifier != (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" { (expression_statement "type = BIO_f_base64();" (assignment_expression "type = BIO_f_base64()" identifier = (call_expression "BIO_f_base64()" identifier (argument_list "()" ( )))) ;) (expression_statement "b = BIO_new(type);" (assignment_expression "b = BIO_new(type)" identifier = (call_expression "BIO_new(type)" identifier (argument_list "(type)" ( identifier )))) ;) (if_statement "if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" if (parenthesized_expression "(b != (BIO *)0x0)" ( (binary_expression "b != (BIO *)0x0" identifier != (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" { (expression_statement "BIO_set_flags(b,0x100);" (call_expression "BIO_set_flags(b,0x100)" identifier (argument_list "(b,0x100)" ( identifier , number_literal ))) ;) (expression_statement "pBVar9 = BIO_push(b,pBVar9);" (assignment_expression "pBVar9 = BIO_push(b,pBVar9)" identifier = (call_expression "BIO_push(b,pBVar9)" identifier (argument_list "(b,pBVar9)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_00040b9e;" goto statement_identifier ;) })) })) (expression_statement "log_message(3,"Could not allocate base64 bio: %s",pcVar5);" (call_expression "log_message(3,"Could not allocate base64 bio: %s",pcVar5)" identifier (argument_list "(3,"Could not allocate base64 bio: %s",pcVar5)" ( number_literal , (string_literal ""Could not allocate base64 bio: %s"" " string_content ") , identifier ))) ;) }))) })) }) (else_clause "else {\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }" else (compound_statement "{\n            log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);\n          }" { (expression_statement "log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5);" (call_expression "log_message(6,"Invalid request -- bad HTTP version: %s",pcVar5)" identifier (argument_list "(6,"Invalid request -- bad HTTP version: %s",pcVar5)" ( number_literal , (string_literal ""Invalid request -- bad HTTP version: %s"" " string_content ") , identifier ))) ;) }))) }) (else_clause "else {\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }" else (compound_statement "{\n          log_message(6,"Invalid request -- bad URL: %s",pcVar5);\n        }" { (expression_statement "log_message(6,"Invalid request -- bad URL: %s",pcVar5);" (call_expression "log_message(6,"Invalid request -- bad URL: %s",pcVar5)" identifier (argument_list "(6,"Invalid request -- bad URL: %s",pcVar5)" ( number_literal , (string_literal ""Invalid request -- bad URL: %s"" " string_content ") , identifier ))) ;) }))) }) (else_clause "else {\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }" else (compound_statement "{\n        iVar10 = 5;\n        pbVar14 = (byte *)reqbuf;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }\n        log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);\n      }" { (expression_statement "iVar10 = 5;" (assignment_expression "iVar10 = 5" identifier = number_literal) ;) (expression_statement "pbVar14 = (byte *)reqbuf;" (assignment_expression "pbVar14 = (byte *)reqbuf" identifier = (cast_expression "(byte *)reqbuf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar6 = (byte *)"POST ";" (assignment_expression "pbVar6 = (byte *)"POST "" identifier = (cast_expression "(byte *)"POST "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""POST "" " string_content "))) ;) (do_statement "do {\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        } while (bVar16);" do (compound_statement "{\n          if (iVar10 == 0) break;\n          iVar10 = iVar10 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;\n        }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar17 = *pbVar14 < *pbVar6;" (assignment_expression "bVar17 = *pbVar14 < *pbVar6" identifier = (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar16 = *pbVar14 == *pbVar6;" (assignment_expression "bVar16 = *pbVar14 == *pbVar6" identifier = (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar3 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar3 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (expression_statement "pBVar9 = (BIO *)0x0;" (assignment_expression "pBVar9 = (BIO *)0x0" identifier = (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }" if (parenthesized_expression "((!bVar17 && !bVar16) == bVar17)" ( (binary_expression "(!bVar17 && !bVar16) == bVar17" (parenthesized_expression "(!bVar17 && !bVar16)" ( (binary_expression "!bVar17 && !bVar16" (unary_expression "!bVar17" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\nLAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }\n          *preq = pOVar8;\n          goto LAB_00040af8;\n        }" { (labeled_statement "LAB_00040b9e:\n          do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));" statement_identifier : (do_statement "do {\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));" do (compound_statement "{\n            iVar10 = BIO_gets(bp,inbuf,0x800);\n            if (iVar10 < 1) goto LAB_00040ae0;\n          }" { (expression_statement "iVar10 = BIO_gets(bp,inbuf,0x800);" (assignment_expression "iVar10 = BIO_gets(bp,inbuf,0x800)" identifier = (call_expression "BIO_gets(bp,inbuf,0x800)" identifier (argument_list "(bp,inbuf,0x800)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar10 < 1) goto LAB_00040ae0;" if (parenthesized_expression "(iVar10 < 1)" ( (binary_expression "iVar10 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00040ae0;" goto statement_identifier ;)) }) while (parenthesized_expression "((inbuf[0] != '\r') && (inbuf[0] != '\n'))" ( (binary_expression "(inbuf[0] != '\r') && (inbuf[0] != '\n')" (parenthesized_expression "(inbuf[0] != '\r')" ( (binary_expression "inbuf[0] != '\r'" (subscript_expression "inbuf[0]" identifier [ number_literal ]) != (char_literal "'\r'" ' escape_sequence ')) )) && (parenthesized_expression "(inbuf[0] != '\n')" ( (binary_expression "inbuf[0] != '\n'" (subscript_expression "inbuf[0]" identifier [ number_literal ]) != (char_literal "'\n'" ' escape_sequence ')) ))) )) ;)) (expression_statement "alarm(0);" (call_expression "alarm(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (if_statement "if (pBVar9 == (BIO *)0x0) {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" if (parenthesized_expression "(pBVar9 == (BIO *)0x0)" ( (binary_expression "pBVar9 == (BIO *)0x0" identifier == (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }" { (expression_statement "pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);" (assignment_expression "pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" identifier = (cast_expression "(OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" ( (type_descriptor "OCSP_REQUEST *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" identifier (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" ( (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" ( (type_descriptor "xnew *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(void **)0x0" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) ))))) ;) }) (else_clause "else {\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" else (compound_statement "{\n            pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" { (expression_statement "pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);" (assignment_expression "pOVar8 = (OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" identifier = (cast_expression "(OCSP_REQUEST *)\n                     ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" ( (type_descriptor "OCSP_REQUEST *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" identifier (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" ( (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" ( (type_descriptor "xnew *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(void **)0x0" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) ))))) ;) (expression_statement "BIO_free_all(pBVar9);" (call_expression "BIO_free_all(pBVar9)" identifier (argument_list "(pBVar9)" ( identifier ))) ;) }))) (if_statement "if (pOVar8 == (OCSP_REQUEST *)0x0) {\n            log_message(3,"Error parsing OCSP request");\n          }" if (parenthesized_expression "(pOVar8 == (OCSP_REQUEST *)0x0)" ( (binary_expression "pOVar8 == (OCSP_REQUEST *)0x0" identifier == (cast_expression "(OCSP_REQUEST *)0x0" ( (type_descriptor "OCSP_REQUEST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            log_message(3,"Error parsing OCSP request");\n          }" { (expression_statement "log_message(3,"Error parsing OCSP request");" (call_expression "log_message(3,"Error parsing OCSP request")" identifier (argument_list "(3,"Error parsing OCSP request")" ( number_literal , (string_literal ""Error parsing OCSP request"" " string_content ") ))) ;) })) (expression_statement "*preq = pOVar8;" (assignment_expression "*preq = pOVar8" (pointer_expression "*preq" * identifier) = identifier) ;) (goto_statement "goto LAB_00040af8;" goto statement_identifier ;) })) (expression_statement "log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5);" (call_expression "log_message(6,"Invalid request -- bad HTTP verb: %s",pcVar5)" identifier (argument_list "(6,"Invalid request -- bad HTTP verb: %s",pcVar5)" ( number_literal , (string_literal ""Invalid request -- bad HTTP verb: %s"" " string_content ") , identifier ))) ;) }))) (labeled_statement "LAB_00040ae0:\n      if (0 < timeout) goto LAB_00040aeb;" statement_identifier : (if_statement "if (0 < timeout) goto LAB_00040aeb;" if (parenthesized_expression "(0 < timeout)" ( (binary_expression "0 < timeout" number_literal < identifier) )) (goto_statement "goto LAB_00040aeb;" goto statement_identifier ;))) })) }) (else_clause "else {\n    BIO_ctrl(bp,0x69,0,&acfd);\n    alarm(timeout);\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" else (compound_statement "{\n    BIO_ctrl(bp,0x69,0,&acfd);\n    alarm(timeout);\n    iVar10 = BIO_gets(bp,reqbuf,0x800);\n    if (0 < iVar10) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" { (expression_statement "BIO_ctrl(bp,0x69,0,&acfd);" (call_expression "BIO_ctrl(bp,0x69,0,&acfd)" identifier (argument_list "(bp,0x69,0,&acfd)" ( identifier , number_literal , number_literal , (pointer_expression "&acfd" & identifier) ))) ;) (expression_statement "alarm(timeout);" (call_expression "alarm(timeout)" identifier (argument_list "(timeout)" ( identifier ))) ;) (expression_statement "iVar10 = BIO_gets(bp,reqbuf,0x800);" (assignment_expression "iVar10 = BIO_gets(bp,reqbuf,0x800)" identifier = (call_expression "BIO_gets(bp,reqbuf,0x800)" identifier (argument_list "(bp,reqbuf,0x800)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (0 < iVar10) goto LAB_000409c4;" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (goto_statement "goto LAB_000409c4;" goto statement_identifier ;)) (labeled_statement "LAB_00040aeb:\n    alarm(0);" statement_identifier : (expression_statement "alarm(0);" (call_expression "alarm(0)" identifier (argument_list "(0)" ( number_literal ))) ;)) }))) (labeled_statement "LAB_00040af8:\n  acfd = -1;" statement_identifier : (expression_statement "acfd = -1;" (assignment_expression "acfd = -1" identifier = number_literal) ;)) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00040b07:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }" statement_identifier : (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar10;\n  }" { (return_statement "return iVar10;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 __regparm3\nFUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    \n  FUN_0007d010();\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    \n  FUN_0007d010();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "BIO *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    \n  FUN_0007d010();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "BIO *bp;" type_identifier (pointer_declarator "*bp" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ushort **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "void *pvVar8;" primitive_type (pointer_declarator "*pvVar8" * identifier) ;) (declaration "BIO *pBVar9;" type_identifier (pointer_declarator "*pBVar9" * identifier) ;) (declaration "BIO_METHOD *type;" type_identifier (pointer_declarator "*type" * identifier) ;) (declaration "BIO *b;" type_identifier (pointer_declarator "*b" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "char local_1020 [2048];" primitive_type (array_declarator "local_1020 [2048]" identifier [ number_literal ]) ;) (declaration "byte local_820 [4];" type_identifier (array_declarator "local_820 [4]" identifier [ number_literal ]) ;) (declaration "char local_81c;" primitive_type identifier ;) (declaration "char local_81b [2043];" primitive_type (array_declarator "local_81b [2043]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x4092d;" (assignment_expression "uStack_14 = 0x4092d" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);" (assignment_expression "lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0)" identifier = (call_expression "BIO_ctrl(param_3,0x65,0,(void *)0x0)" identifier (argument_list "(param_3,0x65,0,(void *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (lVar3 < 1) goto LAB_00040b07;" if (parenthesized_expression "(lVar3 < 1)" ( (binary_expression "lVar3 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00040b07;" goto statement_identifier ;)) (expression_statement "bp = BIO_pop(param_3);" (assignment_expression "bp = BIO_pop(param_3)" identifier = (call_expression "BIO_pop(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "*param_2 = bp;" (assignment_expression "*param_2 = bp" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);" (assignment_expression "pcVar4 = BIO_ptr_ctrl(bp,0x7c,2)" identifier = (call_expression "BIO_ptr_ctrl(bp,0x7c,2)" identifier (argument_list "(bp,0x7c,2)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" if (parenthesized_expression "((int)param_4 < 1)" ( (binary_expression "(int)param_4 < 1" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }" { (expression_statement "iVar5 = BIO_gets(bp,(char *)local_820,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,(char *)local_820,0x800)" identifier = (call_expression "BIO_gets(bp,(char *)local_820,0x800)" identifier (argument_list "(bp,(char *)local_820,0x800)" ( identifier , (cast_expression "(char *)local_820" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }" { (labeled_statement "LAB_000409c4:\n      bVar18 = iVar5 == 0;" statement_identifier : (expression_statement "bVar18 = iVar5 == 0;" (assignment_expression "bVar18 = iVar5 == 0" identifier = (binary_expression "iVar5 == 0" identifier == number_literal)) ;)) (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (expression_statement "pbVar14 = local_820;" (assignment_expression "pbVar14 = local_820" identifier = identifier) ;) (expression_statement "pbVar6 = &DAT_00085098;" (assignment_expression "pbVar6 = &DAT_00085098" identifier = (pointer_expression "&DAT_00085098" & identifier)) ;) (do_statement "do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);" do (compound_statement "{\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar16 = *pbVar14 < *pbVar6;" (assignment_expression "bVar16 = *pbVar14 < *pbVar6" identifier = (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar18 = *pbVar14 == *pbVar6;" (assignment_expression "bVar18 = *pbVar14 == *pbVar6" identifier = (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar18)" ( identifier )) ;) (expression_statement "bVar17 = false;" (assignment_expression "bVar17 = false" identifier = false) ;) (expression_statement "bVar16 = (!bVar16 && !bVar18) == bVar16;" (assignment_expression "bVar16 = (!bVar16 && !bVar18) == bVar16" identifier = (binary_expression "(!bVar16 && !bVar18) == bVar16" (parenthesized_expression "(!bVar16 && !bVar18)" ( (binary_expression "!bVar16 && !bVar18" (unary_expression "!bVar16" ! identifier) && (unary_expression "!bVar18" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }" { (expression_statement "pcVar11 = &local_81c;" (assignment_expression "pcVar11 = &local_81c" identifier = (pointer_expression "&local_81c" & identifier)) ;) (while_statement "while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }" while (parenthesized_expression "(local_81c == ' ')" ( (binary_expression "local_81c == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }" { (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_81c = *pcVar11;" (assignment_expression "local_81c = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) })) (if_statement "if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" if (parenthesized_expression "(local_81c == '/')" ( (binary_expression "local_81c == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }" { (expression_statement "pbVar14 = (byte *)(pcVar11 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar11 + 1)" identifier = (cast_expression "(byte *)(pcVar11 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar11 + 1)" ( (binary_expression "pcVar11 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar1 = pcVar11[1];" (assignment_expression "bVar1 = pcVar11[1]" identifier = (subscript_expression "pcVar11[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" identifier = identifier) ;) (while_statement "while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" while (parenthesized_expression "(bVar16 = (bVar1 & 0xdf) == 0, !bVar16)" ( (comma_expression "bVar16 = (bVar1 & 0xdf) == 0, !bVar16" (assignment_expression "bVar16 = (bVar1 & 0xdf) == 0" identifier = (binary_expression "(bVar1 & 0xdf) == 0" (parenthesized_expression "(bVar1 & 0xdf)" ( (binary_expression "bVar1 & 0xdf" identifier & number_literal) )) == number_literal)) , (unary_expression "!bVar16" ! identifier)) )) (compound_statement "{\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) })) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" identifier = number_literal) ;) (expression_statement "pbVar12 = pbVar6;" (assignment_expression "pbVar12 = pbVar6" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)" HTTP/1.";" (assignment_expression "pbVar15 = (byte *)" HTTP/1."" identifier = (cast_expression "(byte *)" HTTP/1."" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal "" HTTP/1."" " string_content "))) ;) (do_statement "do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);" do (compound_statement "{\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar12 < *pbVar15;" (assignment_expression "bVar18 = *pbVar12 < *pbVar15" identifier = (binary_expression "*pbVar12 < *pbVar15" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar15;" (assignment_expression "bVar16 = *pbVar12 == *pbVar15" identifier = (binary_expression "*pbVar12 == *pbVar15" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar15 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar15 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" if (parenthesized_expression "((!bVar18 && !bVar16) == bVar18)" ( (binary_expression "(!bVar18 && !bVar16) == bVar18" (parenthesized_expression "(!bVar18 && !bVar16)" ( (binary_expression "!bVar18 && !bVar16" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }" { (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" * identifier) = number_literal) ;) (expression_statement "bVar2 = pcVar11[1];" (assignment_expression "bVar2 = pcVar11[1]" identifier = (subscript_expression "pcVar11[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }" { (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar11 + 2;" (assignment_expression "pcVar11 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (do_statement "do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);" do (compound_statement "{\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              }" { (expression_statement "pcVar13 = pcVar11;" (assignment_expression "pcVar13 = pcVar11" identifier = identifier) ;) (if_statement "if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }" if (parenthesized_expression "(bVar2 == 0x25)" ( (binary_expression "bVar2 == 0x25" identifier == number_literal) )) (compound_statement "{\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }" { (expression_statement "ppuVar7 = __ctype_b_loc();" (assignment_expression "ppuVar7 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;" if (parenthesized_expression "(((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))" ( (binary_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10)" ( (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" ( (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2" (cast_expression "(int)*ppuVar7" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar7" * identifier)) + (binary_expression "(uint)pbVar6[1] * 2" (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10)" ( (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" ( (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2" (cast_expression "(int)*ppuVar7" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar7" * identifier)) + (binary_expression "(uint)pbVar6[2] * 2" (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_00040d00;" goto statement_identifier ;)) (expression_statement "iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);" (assignment_expression "iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1])" identifier = (call_expression "OPENSSL_hexchar2int((uint)pbVar6[1])" identifier (argument_list "((uint)pbVar6[1])" ( (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) )))) ;) (expression_statement "bVar2 = OPENSSL_hexchar2int(pbVar6[2]);" (assignment_expression "bVar2 = OPENSSL_hexchar2int(pbVar6[2])" identifier = (call_expression "OPENSSL_hexchar2int(pbVar6[2])" identifier (argument_list "(pbVar6[2])" ( (subscript_expression "pbVar6[2]" identifier [ number_literal ]) )))) ;) (expression_statement "pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);" (assignment_expression "pcVar13[-1] = bVar2 | (byte)(iVar5 << 4)" (subscript_expression "pcVar13[-1]" identifier [ number_literal ]) = (binary_expression "bVar2 | (byte)(iVar5 << 4)" identifier | (call_expression "(byte)(iVar5 << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar5 << 4)" ( (binary_expression "iVar5 << 4" identifier << number_literal) ))))) ;) (expression_statement "pbVar6 = pbVar6 + 2;" (assignment_expression "pbVar6 = pbVar6 + 2" identifier = (binary_expression "pbVar6 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n                  pcVar13[-1] = bVar2;\n                }" else (compound_statement "{\n                  pcVar13[-1] = bVar2;\n                }" { (expression_statement "pcVar13[-1] = bVar2;" (assignment_expression "pcVar13[-1] = bVar2" (subscript_expression "pcVar13[-1]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "bVar2 = pbVar6[1];" (assignment_expression "bVar2 = pbVar6[1]" identifier = (subscript_expression "pbVar6[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar11 = pcVar13 + 1;" (assignment_expression "pcVar11 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) ;) (expression_statement "*pcVar13 = '\0';" (assignment_expression "*pcVar13 = '\0'" (pointer_expression "*pcVar13" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" if (parenthesized_expression "((int)pcVar13 - (int)pbVar14 < 1)" ( (binary_expression "(int)pcVar13 - (int)pbVar14 < 1" (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) < number_literal) )) (compound_statement "{\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }" { (labeled_statement "LAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);" statement_identifier : (expression_statement "FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad URL encoding: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad URL encoding: %s"" " string_content ") , identifier ))) ;)) }) (else_clause "else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" else (compound_statement "{\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" { (expression_statement "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);" (assignment_expression "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" identifier = (call_expression "BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" identifier (argument_list "(pbVar14,(int)pcVar13 - (int)pbVar14)" ( identifier , (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" if (parenthesized_expression "(pBVar9 != (BIO *)0x0)" ( (binary_expression "pBVar9 != (BIO *)0x0" identifier != (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" { (expression_statement "type = BIO_f_base64();" (assignment_expression "type = BIO_f_base64()" identifier = (call_expression "BIO_f_base64()" identifier (argument_list "()" ( )))) ;) (expression_statement "b = BIO_new(type);" (assignment_expression "b = BIO_new(type)" identifier = (call_expression "BIO_new(type)" identifier (argument_list "(type)" ( identifier )))) ;) (if_statement "if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" if (parenthesized_expression "(b != (BIO *)0x0)" ( (binary_expression "b != (BIO *)0x0" identifier != (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" { (expression_statement "BIO_set_flags(b,0x100);" (call_expression "BIO_set_flags(b,0x100)" identifier (argument_list "(b,0x100)" ( identifier , number_literal ))) ;) (expression_statement "pBVar9 = BIO_push(b,pBVar9);" (assignment_expression "pBVar9 = BIO_push(b,pBVar9)" identifier = (call_expression "BIO_push(b,pBVar9)" identifier (argument_list "(b,pBVar9)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_00040b9e;" goto statement_identifier ;) })) })) (expression_statement "FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);" (call_expression "FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4)" identifier (argument_list "(3,"Could not allocate base64 bio: %s",pcVar4)" ( number_literal , (string_literal ""Could not allocate base64 bio: %s"" " string_content ") , identifier ))) ;) }))) })) }) (else_clause "else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" else (compound_statement "{\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" { (expression_statement "FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad HTTP version: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad HTTP version: %s"" " string_content ") , identifier ))) ;) }))) }) (else_clause "else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" else (compound_statement "{\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" { (expression_statement "FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad URL: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad URL: %s"" " string_content ") , identifier ))) ;) }))) }) (else_clause "else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" else (compound_statement "{\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" { (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" identifier = number_literal) ;) (expression_statement "pbVar14 = local_820;" (assignment_expression "pbVar14 = local_820" identifier = identifier) ;) (expression_statement "pbVar6 = (byte *)"POST ";" (assignment_expression "pbVar6 = (byte *)"POST "" identifier = (cast_expression "(byte *)"POST "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""POST "" " string_content "))) ;) (do_statement "do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);" do (compound_statement "{\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar17 = *pbVar14 < *pbVar6;" (assignment_expression "bVar17 = *pbVar14 < *pbVar6" identifier = (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar16 = *pbVar14 == *pbVar6;" (assignment_expression "bVar16 = *pbVar14 == *pbVar6" identifier = (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (expression_statement "pBVar9 = (BIO *)0x0;" (assignment_expression "pBVar9 = (BIO *)0x0" identifier = (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }" if (parenthesized_expression "((!bVar17 && !bVar16) == bVar17)" ( (binary_expression "(!bVar17 && !bVar16) == bVar17" (parenthesized_expression "(!bVar17 && !bVar16)" ( (binary_expression "!bVar17 && !bVar16" (unary_expression "!bVar17" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }" { (labeled_statement "LAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));" statement_identifier : (do_statement "do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));" do (compound_statement "{\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          }" { (expression_statement "iVar5 = BIO_gets(bp,local_1020,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,local_1020,0x800)" identifier = (call_expression "BIO_gets(bp,local_1020,0x800)" identifier (argument_list "(bp,local_1020,0x800)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar5 < 1) goto LAB_00040ae0;" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00040ae0;" goto statement_identifier ;)) }) while (parenthesized_expression "((local_1020[0] != '\r') && (local_1020[0] != '\n'))" ( (binary_expression "(local_1020[0] != '\r') && (local_1020[0] != '\n')" (parenthesized_expression "(local_1020[0] != '\r')" ( (binary_expression "local_1020[0] != '\r'" (subscript_expression "local_1020[0]" identifier [ number_literal ]) != (char_literal "'\r'" ' escape_sequence ')) )) && (parenthesized_expression "(local_1020[0] != '\n')" ( (binary_expression "local_1020[0] != '\n'" (subscript_expression "local_1020[0]" identifier [ number_literal ]) != (char_literal "'\n'" ' escape_sequence ')) ))) )) ;)) (expression_statement "alarm(0);" (call_expression "alarm(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (if_statement "if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" if (parenthesized_expression "(pBVar9 == (BIO *)0x0)" ( (binary_expression "pBVar9 == (BIO *)0x0" identifier == (cast_expression "(BIO *)0x0" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }" { (expression_statement "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);" (assignment_expression "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" identifier = (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" identifier (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" ( (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" ( (type_descriptor "xnew *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(void **)0x0" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) }) (else_clause "else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" else (compound_statement "{\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" { (expression_statement "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);" (assignment_expression "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" identifier = (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" identifier (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" ( (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" ( (type_descriptor "xnew *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(void **)0x0" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "BIO_free_all(pBVar9);" (call_expression "BIO_free_all(pBVar9)" identifier (argument_list "(pBVar9)" ( identifier ))) ;) }))) (if_statement "if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }" if (parenthesized_expression "(pvVar8 == (void *)0x0)" ( (binary_expression "pvVar8 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }" { (expression_statement "FUN_000407f0(3,"Error parsing OCSP request");" (call_expression "FUN_000407f0(3,"Error parsing OCSP request")" identifier (argument_list "(3,"Error parsing OCSP request")" ( number_literal , (string_literal ""Error parsing OCSP request"" " string_content ") ))) ;) })) (expression_statement "*param_1 = pvVar8;" (assignment_expression "*param_1 = pvVar8" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00040af8;" goto statement_identifier ;) })) (expression_statement "FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4)" identifier (argument_list "(6,"Invalid request -- bad HTTP verb: %s",pcVar4)" ( number_literal , (string_literal ""Invalid request -- bad HTTP verb: %s"" " string_content ") , identifier ))) ;) }))) (labeled_statement "LAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;" statement_identifier : (if_statement "if (0 < (int)param_4) goto LAB_00040aeb;" if (parenthesized_expression "(0 < (int)param_4)" ( (binary_expression "0 < (int)param_4" number_literal < (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_00040aeb;" goto statement_identifier ;))) })) }) (else_clause "else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" else (compound_statement "{\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" { (expression_statement "BIO_ctrl(bp,0x69,0,&DAT_000be0a0);" (call_expression "BIO_ctrl(bp,0x69,0,&DAT_000be0a0)" identifier (argument_list "(bp,0x69,0,&DAT_000be0a0)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_000be0a0" & identifier) ))) ;) (expression_statement "alarm(param_4);" (call_expression "alarm(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (expression_statement "iVar5 = BIO_gets(bp,(char *)local_820,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,(char *)local_820,0x800)" identifier = (call_expression "BIO_gets(bp,(char *)local_820,0x800)" identifier (argument_list "(bp,(char *)local_820,0x800)" ( identifier , (cast_expression "(char *)local_820" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (0 < iVar5) goto LAB_000409c4;" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_000409c4;" goto statement_identifier ;)) (labeled_statement "LAB_00040aeb:\n    alarm(0);" statement_identifier : (expression_statement "alarm(0);" (call_expression "alarm(0)" identifier (argument_list "(0)" ( number_literal ))) ;)) }))) (labeled_statement "LAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;" statement_identifier : (expression_statement "DAT_000be0a0 = 0xffffffff;" (assignment_expression "DAT_000be0a0 = 0xffffffff" identifier = number_literal) ;)) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar10;\n  }" { (return_statement "return uVar10;" return identifier ;) }))) (expression_statement "FUN_0007d010();" (call_expression "FUN_0007d010()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) , (unary_expression ! IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + LIT) )))) & LIT) )) == LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT << LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT ))) ;) }))) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT ))) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;))) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3\nFUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    \n  FUN_0007d010();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00040920(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)" (identifier "FUN_00040920") (parameter_list "(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "BIO *param_3" (type_identifier "BIO") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  long lVar3;\n  BIO *bp;\n  char *pcVar4;\n  int iVar5;\n  byte *pbVar6;\n  ushort **ppuVar7;\n  void *pvVar8;\n  BIO *pBVar9;\n  BIO_METHOD *type;\n  BIO *b;\n  undefined4 uVar10;\n  char *pcVar11;\n  byte *pbVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  bool bVar17;\n  bool bVar18;\n  char local_1020 [2048];\n  byte local_820 [4];\n  char local_81c;\n  char local_81b [2043];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar2 = 0;\n  uStack_14 = 0x4092d;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  *param_1 = 0;\n  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);\n  uVar10 = 0;\n  if (lVar3 < 1) goto LAB_00040b07;\n  bp = BIO_pop(param_3);\n  *param_2 = bp;\n  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);\n  if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }\nLAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;\n  uVar10 = 1;\nLAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }\n                    \n  FUN_0007d010();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "BIO *bp;" (type_identifier "BIO") (pointer_declarator "*bp" (* "*") (identifier "bp")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "ushort **ppuVar7;" (type_identifier "ushort") (pointer_declarator "**ppuVar7" (* "*") (pointer_declarator "*ppuVar7" (* "*") (identifier "ppuVar7"))) (; ";")) (declaration "void *pvVar8;" (primitive_type "void") (pointer_declarator "*pvVar8" (* "*") (identifier "pvVar8")) (; ";")) (declaration "BIO *pBVar9;" (type_identifier "BIO") (pointer_declarator "*pBVar9" (* "*") (identifier "pBVar9")) (; ";")) (declaration "BIO_METHOD *type;" (type_identifier "BIO_METHOD") (pointer_declarator "*type" (* "*") (identifier "type")) (; ";")) (declaration "BIO *b;" (type_identifier "BIO") (pointer_declarator "*b" (* "*") (identifier "b")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "byte *pbVar15;" (type_identifier "byte") (pointer_declarator "*pbVar15" (* "*") (identifier "pbVar15")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar16;" (primitive_type "bool") (identifier "bVar16") (; ";")) (declaration "bool bVar17;" (primitive_type "bool") (identifier "bVar17") (; ";")) (declaration "bool bVar18;" (primitive_type "bool") (identifier "bVar18") (; ";")) (declaration "char local_1020 [2048];" (primitive_type "char") (array_declarator "local_1020 [2048]" (identifier "local_1020") ([ "[") (number_literal "2048") (] "]")) (; ";")) (declaration "byte local_820 [4];" (type_identifier "byte") (array_declarator "local_820 [4]" (identifier "local_820") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "char local_81c;" (primitive_type "char") (identifier "local_81c") (; ";")) (declaration "char local_81b [2043];" (primitive_type "char") (array_declarator "local_81b [2043]" (identifier "local_81b") ([ "[") (number_literal "2043") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" (identifier "bVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x4092d;" (assignment_expression "uStack_14 = 0x4092d" (identifier "uStack_14") (= "=") (number_literal "0x4092d")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);" (assignment_expression "lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0)" (identifier "lVar3") (= "=") (call_expression "BIO_ctrl(param_3,0x65,0,(void *)0x0)" (identifier "BIO_ctrl") (argument_list "(param_3,0x65,0,(void *)0x0)" (( "(") (identifier "param_3") (, ",") (number_literal "0x65") (, ",") (number_literal "0") (, ",") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")")))) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (lVar3 < 1) goto LAB_00040b07;" (if "if") (parenthesized_expression "(lVar3 < 1)" (( "(") (binary_expression "lVar3 < 1" (identifier "lVar3") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00040b07;" (goto "goto") (statement_identifier "LAB_00040b07") (; ";"))) (expression_statement "bp = BIO_pop(param_3);" (assignment_expression "bp = BIO_pop(param_3)" (identifier "bp") (= "=") (call_expression "BIO_pop(param_3)" (identifier "BIO_pop") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*param_2 = bp;" (assignment_expression "*param_2 = bp" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "bp")) (; ";")) (expression_statement "pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);" (assignment_expression "pcVar4 = BIO_ptr_ctrl(bp,0x7c,2)" (identifier "pcVar4") (= "=") (call_expression "BIO_ptr_ctrl(bp,0x7c,2)" (identifier "BIO_ptr_ctrl") (argument_list "(bp,0x7c,2)" (( "(") (identifier "bp") (, ",") (number_literal "0x7c") (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if ((int)param_4 < 1) {\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }\n  else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" (if "if") (parenthesized_expression "((int)param_4 < 1)" (( "(") (binary_expression "(int)param_4 < 1" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }\n  }" ({ "{") (expression_statement "iVar5 = BIO_gets(bp,(char *)local_820,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,(char *)local_820,0x800)" (identifier "iVar5") (= "=") (call_expression "BIO_gets(bp,(char *)local_820,0x800)" (identifier "BIO_gets") (argument_list "(bp,(char *)local_820,0x800)" (( "(") (identifier "bp") (, ",") (cast_expression "(char *)local_820" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_820")) (, ",") (number_literal "0x800") () ")")))) (; ";")) (if_statement "if (0 < iVar5) {\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\nLAB_000409c4:\n      bVar18 = iVar5 == 0;\n      bVar16 = false;\n      iVar5 = 4;\n      pbVar14 = local_820;\n      pbVar6 = &DAT_00085098;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);\n      bVar17 = false;\n      bVar16 = (!bVar16 && !bVar18) == bVar16;\n      if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }\nLAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;\n    }" ({ "{") (labeled_statement "LAB_000409c4:\n      bVar18 = iVar5 == 0;" (statement_identifier "LAB_000409c4") (: ":") (expression_statement "bVar18 = iVar5 == 0;" (assignment_expression "bVar18 = iVar5 == 0" (identifier "bVar18") (= "=") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0"))) (; ";"))) (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" (identifier "bVar16") (= "=") (false "false")) (; ";")) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" (identifier "iVar5") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar14 = local_820;" (assignment_expression "pbVar14 = local_820" (identifier "pbVar14") (= "=") (identifier "local_820")) (; ";")) (expression_statement "pbVar6 = &DAT_00085098;" (assignment_expression "pbVar6 = &DAT_00085098" (identifier "pbVar6") (= "=") (pointer_expression "&DAT_00085098" (& "&") (identifier "DAT_00085098"))) (; ";")) (do_statement "do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      } while (bVar18);" (do "do") (compound_statement "{\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar16 = *pbVar14 < *pbVar6;\n        bVar18 = *pbVar14 == *pbVar6;\n        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar5 == 0) break;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar16 = *pbVar14 < *pbVar6;" (assignment_expression "bVar16 = *pbVar14 < *pbVar6" (identifier "bVar16") (= "=") (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "bVar18 = *pbVar14 == *pbVar6;" (assignment_expression "bVar18 = *pbVar14 == *pbVar6" (identifier "bVar18") (= "=") (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar2 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar2 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar18)" (( "(") (identifier "bVar18") () ")")) (; ";")) (expression_statement "bVar17 = false;" (assignment_expression "bVar17 = false" (identifier "bVar17") (= "=") (false "false")) (; ";")) (expression_statement "bVar16 = (!bVar16 && !bVar18) == bVar16;" (assignment_expression "bVar16 = (!bVar16 && !bVar18) == bVar16" (identifier "bVar16") (= "=") (binary_expression "(!bVar16 && !bVar18) == bVar16" (parenthesized_expression "(!bVar16 && !bVar18)" (( "(") (binary_expression "!bVar16 && !bVar18" (unary_expression "!bVar16" (! "!") (identifier "bVar16")) (&& "&&") (unary_expression "!bVar18" (! "!") (identifier "bVar18"))) () ")")) (== "==") (identifier "bVar16"))) (; ";")) (if_statement "if (bVar16) {\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }\n      else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" (if "if") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (compound_statement "{\n        pcVar11 = &local_81c;\n        while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }\n        if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }\n      }" ({ "{") (expression_statement "pcVar11 = &local_81c;" (assignment_expression "pcVar11 = &local_81c" (identifier "pcVar11") (= "=") (pointer_expression "&local_81c" (& "&") (identifier "local_81c"))) (; ";")) (while_statement "while (local_81c == ' ') {\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }" (while "while") (parenthesized_expression "(local_81c == ' ')" (( "(") (binary_expression "local_81c == ' '" (identifier "local_81c") (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n          pcVar11 = pcVar11 + 1;\n          local_81c = *pcVar11;\n        }" ({ "{") (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" (identifier "pcVar11") (= "=") (binary_expression "pcVar11 + 1" (identifier "pcVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_81c = *pcVar11;" (assignment_expression "local_81c = *pcVar11" (identifier "local_81c") (= "=") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11"))) (; ";")) (} "}"))) (if_statement "if (local_81c == '/') {\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }\n        else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" (if "if") (parenthesized_expression "(local_81c == '/')" (( "(") (binary_expression "local_81c == '/'" (identifier "local_81c") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n          pbVar14 = (byte *)(pcVar11 + 1);\n          bVar1 = pcVar11[1];\n          pbVar6 = pbVar14;\n          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }\n          bVar18 = false;\n          iVar5 = 8;\n          pbVar12 = pbVar6;\n          pbVar15 = (byte *)" HTTP/1.";\n          do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);\n          if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }\n        }" ({ "{") (expression_statement "pbVar14 = (byte *)(pcVar11 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar11 + 1)" (identifier "pbVar14") (= "=") (cast_expression "(byte *)(pcVar11 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar11 + 1)" (( "(") (binary_expression "pcVar11 + 1" (identifier "pcVar11") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "bVar1 = pcVar11[1];" (assignment_expression "bVar1 = pcVar11[1]" (identifier "bVar1") (= "=") (subscript_expression "pcVar11[1]" (identifier "pcVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" (identifier "pbVar6") (= "=") (identifier "pbVar14")) (; ";")) (while_statement "while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" (while "while") (parenthesized_expression "(bVar16 = (bVar1 & 0xdf) == 0, !bVar16)" (( "(") (comma_expression "bVar16 = (bVar1 & 0xdf) == 0, !bVar16" (assignment_expression "bVar16 = (bVar1 & 0xdf) == 0" (identifier "bVar16") (= "=") (binary_expression "(bVar1 & 0xdf) == 0" (parenthesized_expression "(bVar1 & 0xdf)" (( "(") (binary_expression "bVar1 & 0xdf" (identifier "bVar1") (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0"))) (, ",") (unary_expression "!bVar16" (! "!") (identifier "bVar16"))) () ")")) (compound_statement "{\n            pbVar6 = pbVar6 + 1;\n            bVar1 = *pbVar6;\n          }" ({ "{") (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" (identifier "bVar1") (= "=") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6"))) (; ";")) (} "}"))) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" (identifier "bVar18") (= "=") (false "false")) (; ";")) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" (identifier "iVar5") (= "=") (number_literal "8")) (; ";")) (expression_statement "pbVar12 = pbVar6;" (assignment_expression "pbVar12 = pbVar6" (identifier "pbVar12") (= "=") (identifier "pbVar6")) (; ";")) (expression_statement "pbVar15 = (byte *)" HTTP/1.";" (assignment_expression "pbVar15 = (byte *)" HTTP/1."" (identifier "pbVar15") (= "=") (cast_expression "(byte *)" HTTP/1."" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal "" HTTP/1."" (" """) (string_content " HTTP/1.") (" """)))) (; ";")) (do_statement "do {\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          } while (bVar16);" (do "do") (compound_statement "{\n            if (iVar5 == 0) break;\n            iVar5 = iVar5 + -1;\n            bVar18 = *pbVar12 < *pbVar15;\n            bVar16 = *pbVar12 == *pbVar15;\n            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;\n          }" ({ "{") (if_statement "if (iVar5 == 0) break;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar18 = *pbVar12 < *pbVar15;" (assignment_expression "bVar18 = *pbVar12 < *pbVar15" (identifier "bVar18") (= "=") (binary_expression "*pbVar12 < *pbVar15" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (< "<") (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")))) (; ";")) (expression_statement "bVar16 = *pbVar12 == *pbVar15;" (assignment_expression "bVar16 = *pbVar12 == *pbVar15" (identifier "bVar16") (= "=") (binary_expression "*pbVar12 == *pbVar15" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (== "==") (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar2 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1" (identifier "pbVar15") (= "=") (binary_expression "pbVar15 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar15 + (uint)bVar2 * -2" (identifier "pbVar15") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (; ";")) (if_statement "if ((!bVar18 && !bVar16) == bVar18) {\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }\n          else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" (if "if") (parenthesized_expression "((!bVar18 && !bVar16) == bVar18)" (( "(") (binary_expression "(!bVar18 && !bVar16) == bVar18" (parenthesized_expression "(!bVar18 && !bVar16)" (( "(") (binary_expression "!bVar18 && !bVar16" (unary_expression "!bVar18" (! "!") (identifier "bVar18")) (&& "&&") (unary_expression "!bVar16" (! "!") (identifier "bVar16"))) () ")")) (== "==") (identifier "bVar18")) () ")")) (compound_statement "{\n            *pbVar6 = 0;\n            bVar2 = pcVar11[1];\n            if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }\n          }" ({ "{") (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar2 = pcVar11[1];" (assignment_expression "bVar2 = pcVar11[1]" (identifier "bVar2") (= "=") (subscript_expression "pcVar11[1]" (identifier "pcVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (bVar2 != 0) {\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }" (if "if") (parenthesized_expression "(bVar2 != 0)" (( "(") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              pbVar6 = pbVar14;\n              pcVar11 = pcVar11 + 2;\n              do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);\n              *pcVar13 = '\0';\n              if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }\n            }" ({ "{") (expression_statement "pbVar6 = pbVar14;" (assignment_expression "pbVar6 = pbVar14" (identifier "pbVar6") (= "=") (identifier "pbVar14")) (; ";")) (expression_statement "pcVar11 = pcVar11 + 2;" (assignment_expression "pcVar11 = pcVar11 + 2" (identifier "pcVar11") (= "=") (binary_expression "pcVar11 + 2" (identifier "pcVar11") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              } while (bVar2 != 0);" (do "do") (compound_statement "{\n                pcVar13 = pcVar11;\n                if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }\n                bVar2 = pbVar6[1];\n                pbVar6 = pbVar6 + 1;\n                pcVar11 = pcVar13 + 1;\n              }" ({ "{") (expression_statement "pcVar13 = pcVar11;" (assignment_expression "pcVar13 = pcVar11" (identifier "pcVar13") (= "=") (identifier "pcVar11")) (; ";")) (if_statement "if (bVar2 == 0x25) {\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }\n                else {\n                  pcVar13[-1] = bVar2;\n                }" (if "if") (parenthesized_expression "(bVar2 == 0x25)" (( "(") (binary_expression "bVar2 == 0x25" (identifier "bVar2") (== "==") (number_literal "0x25")) () ")")) (compound_statement "{\n                  ppuVar7 = __ctype_b_loc();\n                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;\n                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);\n                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);\n                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);\n                  pbVar6 = pbVar6 + 2;\n                }" ({ "{") (expression_statement "ppuVar7 = __ctype_b_loc();" (assignment_expression "ppuVar7 = __ctype_b_loc()" (identifier "ppuVar7") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))\n                  goto LAB_00040d00;" (if "if") (parenthesized_expression "(((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))" (( "(") (binary_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||\n                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10)" (( "(") (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[1] * 2" (cast_expression "(int)*ppuVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar7" (* "*") (identifier "ppuVar7"))) (+ "+") (binary_expression "(uint)pbVar6[1] * 2" (cast_expression "(uint)pbVar6[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10)" (( "(") (binary_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10" (pointer_expression "*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1" (binary_expression "(int)*ppuVar7 + (uint)pbVar6[2] * 2" (cast_expression "(int)*ppuVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar7" (* "*") (identifier "ppuVar7"))) (+ "+") (binary_expression "(uint)pbVar6[2] * 2" (cast_expression "(uint)pbVar6[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar6[2]" (identifier "pbVar6") ([ "[") (number_literal "2") (] "]"))) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00040d00;" (goto "goto") (statement_identifier "LAB_00040d00") (; ";"))) (expression_statement "iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);" (assignment_expression "iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1])" (identifier "iVar5") (= "=") (call_expression "OPENSSL_hexchar2int((uint)pbVar6[1])" (identifier "OPENSSL_hexchar2int") (argument_list "((uint)pbVar6[1])" (( "(") (cast_expression "(uint)pbVar6[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]"))) () ")")))) (; ";")) (expression_statement "bVar2 = OPENSSL_hexchar2int(pbVar6[2]);" (assignment_expression "bVar2 = OPENSSL_hexchar2int(pbVar6[2])" (identifier "bVar2") (= "=") (call_expression "OPENSSL_hexchar2int(pbVar6[2])" (identifier "OPENSSL_hexchar2int") (argument_list "(pbVar6[2])" (( "(") (subscript_expression "pbVar6[2]" (identifier "pbVar6") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (expression_statement "pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);" (assignment_expression "pcVar13[-1] = bVar2 | (byte)(iVar5 << 4)" (subscript_expression "pcVar13[-1]" (identifier "pcVar13") ([ "[") (number_literal "-1") (] "]")) (= "=") (binary_expression "bVar2 | (byte)(iVar5 << 4)" (identifier "bVar2") (| "|") (call_expression "(byte)(iVar5 << 4)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(iVar5 << 4)" (( "(") (binary_expression "iVar5 << 4" (identifier "iVar5") (<< "<<") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 2;" (assignment_expression "pbVar6 = pbVar6 + 2" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 2" (identifier "pbVar6") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n                  pcVar13[-1] = bVar2;\n                }" (else "else") (compound_statement "{\n                  pcVar13[-1] = bVar2;\n                }" ({ "{") (expression_statement "pcVar13[-1] = bVar2;" (assignment_expression "pcVar13[-1] = bVar2" (subscript_expression "pcVar13[-1]" (identifier "pcVar13") ([ "[") (number_literal "-1") (] "]")) (= "=") (identifier "bVar2")) (; ";")) (} "}")))) (expression_statement "bVar2 = pbVar6[1];" (assignment_expression "bVar2 = pbVar6[1]" (identifier "bVar2") (= "=") (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar11 = pcVar13 + 1;" (assignment_expression "pcVar11 = pcVar13 + 1" (identifier "pcVar11") (= "=") (binary_expression "pcVar13 + 1" (identifier "pcVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar2 != 0)" (( "(") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "*pcVar13 = '\0';" (assignment_expression "*pcVar13 = '\0'" (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if ((int)pcVar13 - (int)pbVar14 < 1) {\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }\n              else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" (if "if") (parenthesized_expression "((int)pcVar13 - (int)pbVar14 < 1)" (( "(") (binary_expression "(int)pcVar13 - (int)pbVar14 < 1" (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar13")) (- "-") (cast_expression "(int)pbVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar14"))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\nLAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);\n              }" ({ "{") (labeled_statement "LAB_00040d00:\n                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);" (statement_identifier "LAB_00040d00") (: ":") (expression_statement "FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4)" (identifier "FUN_000407f0") (argument_list "(6,"Invalid request -- bad URL encoding: %s",pcVar4)" (( "(") (number_literal "6") (, ",") (string_literal ""Invalid request -- bad URL encoding: %s"" (" """) (string_content "Invalid request -- bad URL encoding: %s") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";"))) (} "}")) (else_clause "else {\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" (else "else") (compound_statement "{\n                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);\n                if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }\n                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);\n              }" ({ "{") (expression_statement "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);" (assignment_expression "pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" (identifier "pBVar9") (= "=") (call_expression "BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14)" (identifier "BIO_new_mem_buf") (argument_list "(pbVar14,(int)pcVar13 - (int)pbVar14)" (( "(") (identifier "pbVar14") (, ",") (binary_expression "(int)pcVar13 - (int)pbVar14" (cast_expression "(int)pcVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar13")) (- "-") (cast_expression "(int)pbVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar14"))) () ")")))) (; ";")) (if_statement "if (pBVar9 != (BIO *)0x0) {\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" (if "if") (parenthesized_expression "(pBVar9 != (BIO *)0x0)" (( "(") (binary_expression "pBVar9 != (BIO *)0x0" (identifier "pBVar9") (!= "!=") (cast_expression "(BIO *)0x0" (( "(") (type_descriptor "BIO *" (type_identifier "BIO") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                  type = BIO_f_base64();\n                  b = BIO_new(type);\n                  if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }\n                }" ({ "{") (expression_statement "type = BIO_f_base64();" (assignment_expression "type = BIO_f_base64()" (identifier "type") (= "=") (call_expression "BIO_f_base64()" (identifier "BIO_f_base64") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "b = BIO_new(type);" (assignment_expression "b = BIO_new(type)" (identifier "b") (= "=") (call_expression "BIO_new(type)" (identifier "BIO_new") (argument_list "(type)" (( "(") (identifier "type") () ")")))) (; ";")) (if_statement "if (b != (BIO *)0x0) {\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" (if "if") (parenthesized_expression "(b != (BIO *)0x0)" (( "(") (binary_expression "b != (BIO *)0x0" (identifier "b") (!= "!=") (cast_expression "(BIO *)0x0" (( "(") (type_descriptor "BIO *" (type_identifier "BIO") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    BIO_set_flags(b,0x100);\n                    pBVar9 = BIO_push(b,pBVar9);\n                    goto LAB_00040b9e;\n                  }" ({ "{") (expression_statement "BIO_set_flags(b,0x100);" (call_expression "BIO_set_flags(b,0x100)" (identifier "BIO_set_flags") (argument_list "(b,0x100)" (( "(") (identifier "b") (, ",") (number_literal "0x100") () ")"))) (; ";")) (expression_statement "pBVar9 = BIO_push(b,pBVar9);" (assignment_expression "pBVar9 = BIO_push(b,pBVar9)" (identifier "pBVar9") (= "=") (call_expression "BIO_push(b,pBVar9)" (identifier "BIO_push") (argument_list "(b,pBVar9)" (( "(") (identifier "b") (, ",") (identifier "pBVar9") () ")")))) (; ";")) (goto_statement "goto LAB_00040b9e;" (goto "goto") (statement_identifier "LAB_00040b9e") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);" (call_expression "FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4)" (identifier "FUN_000407f0") (argument_list "(3,"Could not allocate base64 bio: %s",pcVar4)" (( "(") (number_literal "3") (, ",") (string_literal ""Could not allocate base64 bio: %s"" (" """) (string_content "Could not allocate base64 bio: %s") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")))) (} "}"))) (} "}")) (else_clause "else {\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" (else "else") (compound_statement "{\n            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);\n          }" ({ "{") (expression_statement "FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4)" (identifier "FUN_000407f0") (argument_list "(6,"Invalid request -- bad HTTP version: %s",pcVar4)" (( "(") (number_literal "6") (, ",") (string_literal ""Invalid request -- bad HTTP version: %s"" (" """) (string_content "Invalid request -- bad HTTP version: %s") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" (else "else") (compound_statement "{\n          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);\n        }" ({ "{") (expression_statement "FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4)" (identifier "FUN_000407f0") (argument_list "(6,"Invalid request -- bad URL: %s",pcVar4)" (( "(") (number_literal "6") (, ",") (string_literal ""Invalid request -- bad URL: %s"" (" """) (string_content "Invalid request -- bad URL: %s") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" (else "else") (compound_statement "{\n        iVar5 = 5;\n        pbVar14 = local_820;\n        pbVar6 = (byte *)"POST ";\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);\n        pBVar9 = (BIO *)0x0;\n        if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }\n        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);\n      }" ({ "{") (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" (identifier "iVar5") (= "=") (number_literal "5")) (; ";")) (expression_statement "pbVar14 = local_820;" (assignment_expression "pbVar14 = local_820" (identifier "pbVar14") (= "=") (identifier "local_820")) (; ";")) (expression_statement "pbVar6 = (byte *)"POST ";" (assignment_expression "pbVar6 = (byte *)"POST "" (identifier "pbVar6") (= "=") (cast_expression "(byte *)"POST "" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""POST "" (" """) (string_content "POST ") (" """)))) (; ";")) (do_statement "do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        } while (bVar16);" (do "do") (compound_statement "{\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar17 = *pbVar14 < *pbVar6;\n          bVar16 = *pbVar14 == *pbVar6;\n          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;\n          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;\n        }" ({ "{") (if_statement "if (iVar5 == 0) break;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar17 = *pbVar14 < *pbVar6;" (assignment_expression "bVar17 = *pbVar14 < *pbVar6" (identifier "bVar17") (= "=") (binary_expression "*pbVar14 < *pbVar6" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "bVar16 = *pbVar14 == *pbVar6;" (assignment_expression "bVar16 = *pbVar14 == *pbVar6" (identifier "bVar16") (= "=") (binary_expression "*pbVar14 == *pbVar6" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar2 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar2 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar2 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (; ";")) (expression_statement "pBVar9 = (BIO *)0x0;" (assignment_expression "pBVar9 = (BIO *)0x0" (identifier "pBVar9") (= "=") (cast_expression "(BIO *)0x0" (( "(") (type_descriptor "BIO *" (type_identifier "BIO") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if ((!bVar17 && !bVar16) == bVar17) {\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }" (if "if") (parenthesized_expression "((!bVar17 && !bVar16) == bVar17)" (( "(") (binary_expression "(!bVar17 && !bVar16) == bVar17" (parenthesized_expression "(!bVar17 && !bVar16)" (( "(") (binary_expression "!bVar17 && !bVar16" (unary_expression "!bVar17" (! "!") (identifier "bVar17")) (&& "&&") (unary_expression "!bVar16" (! "!") (identifier "bVar16"))) () ")")) (== "==") (identifier "bVar17")) () ")")) (compound_statement "{\nLAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));\n          alarm(0);\n          if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }\n          if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }\n          *param_1 = pvVar8;\n          goto LAB_00040af8;\n        }" ({ "{") (labeled_statement "LAB_00040b9e:\n          do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));" (statement_identifier "LAB_00040b9e") (: ":") (do_statement "do {\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));" (do "do") (compound_statement "{\n            iVar5 = BIO_gets(bp,local_1020,0x800);\n            if (iVar5 < 1) goto LAB_00040ae0;\n          }" ({ "{") (expression_statement "iVar5 = BIO_gets(bp,local_1020,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,local_1020,0x800)" (identifier "iVar5") (= "=") (call_expression "BIO_gets(bp,local_1020,0x800)" (identifier "BIO_gets") (argument_list "(bp,local_1020,0x800)" (( "(") (identifier "bp") (, ",") (identifier "local_1020") (, ",") (number_literal "0x800") () ")")))) (; ";")) (if_statement "if (iVar5 < 1) goto LAB_00040ae0;" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00040ae0;" (goto "goto") (statement_identifier "LAB_00040ae0") (; ";"))) (} "}")) (while "while") (parenthesized_expression "((local_1020[0] != '\r') && (local_1020[0] != '\n'))" (( "(") (binary_expression "(local_1020[0] != '\r') && (local_1020[0] != '\n')" (parenthesized_expression "(local_1020[0] != '\r')" (( "(") (binary_expression "local_1020[0] != '\r'" (subscript_expression "local_1020[0]" (identifier "local_1020") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\r'" (' "'") (escape_sequence "\r") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(local_1020[0] != '\n')" (( "(") (binary_expression "local_1020[0] != '\n'" (subscript_expression "local_1020[0]" (identifier "local_1020") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")"))) () ")")) (; ";"))) (expression_statement "alarm(0);" (call_expression "alarm(0)" (identifier "alarm") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (if_statement "if (pBVar9 == (BIO *)0x0) {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }\n          else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" (if "if") (parenthesized_expression "(pBVar9 == (BIO *)0x0)" (( "(") (binary_expression "pBVar9 == (BIO *)0x0" (identifier "pBVar9") (== "==") (cast_expression "(BIO *)0x0" (( "(") (type_descriptor "BIO *" (type_identifier "BIO") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);\n          }" ({ "{") (expression_statement "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);" (assignment_expression "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" (identifier "pvVar8") (= "=") (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" (identifier "ASN1_d2i_bio") (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0)" (( "(") (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" (( "(") (type_descriptor "xnew *" (type_identifier "xnew") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OCSP_REQUEST_new_000bdf14")) (, ",") (identifier "PTR_d2i_OCSP_REQUEST_000bdfa4") (, ",") (identifier "bp") (, ",") (cast_expression "(void **)0x0" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" (else "else") (compound_statement "{\n            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);\n            BIO_free_all(pBVar9);\n          }" ({ "{") (expression_statement "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);" (assignment_expression "pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" (identifier "pvVar8") (= "=") (call_expression "ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" (identifier "ASN1_d2i_bio") (argument_list "((xnew *)PTR_OCSP_REQUEST_new_000bdf14,\n                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0)" (( "(") (cast_expression "(xnew *)PTR_OCSP_REQUEST_new_000bdf14" (( "(") (type_descriptor "xnew *" (type_identifier "xnew") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OCSP_REQUEST_new_000bdf14")) (, ",") (identifier "PTR_d2i_OCSP_REQUEST_000bdfa4") (, ",") (identifier "pBVar9") (, ",") (cast_expression "(void **)0x0" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) () ")")))) (; ";")) (expression_statement "BIO_free_all(pBVar9);" (call_expression "BIO_free_all(pBVar9)" (identifier "BIO_free_all") (argument_list "(pBVar9)" (( "(") (identifier "pBVar9") () ")"))) (; ";")) (} "}")))) (if_statement "if (pvVar8 == (void *)0x0) {\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }" (if "if") (parenthesized_expression "(pvVar8 == (void *)0x0)" (( "(") (binary_expression "pvVar8 == (void *)0x0" (identifier "pvVar8") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            FUN_000407f0(3,"Error parsing OCSP request");\n          }" ({ "{") (expression_statement "FUN_000407f0(3,"Error parsing OCSP request");" (call_expression "FUN_000407f0(3,"Error parsing OCSP request")" (identifier "FUN_000407f0") (argument_list "(3,"Error parsing OCSP request")" (( "(") (number_literal "3") (, ",") (string_literal ""Error parsing OCSP request"" (" """) (string_content "Error parsing OCSP request") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = pvVar8;" (assignment_expression "*param_1 = pvVar8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "pvVar8")) (; ";")) (goto_statement "goto LAB_00040af8;" (goto "goto") (statement_identifier "LAB_00040af8") (; ";")) (} "}"))) (expression_statement "FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);" (call_expression "FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4)" (identifier "FUN_000407f0") (argument_list "(6,"Invalid request -- bad HTTP verb: %s",pcVar4)" (( "(") (number_literal "6") (, ",") (string_literal ""Invalid request -- bad HTTP verb: %s"" (" """) (string_content "Invalid request -- bad HTTP verb: %s") (" """)) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_00040ae0:\n      if (0 < (int)param_4) goto LAB_00040aeb;" (statement_identifier "LAB_00040ae0") (: ":") (if_statement "if (0 < (int)param_4) goto LAB_00040aeb;" (if "if") (parenthesized_expression "(0 < (int)param_4)" (( "(") (binary_expression "0 < (int)param_4" (number_literal "0") (< "<") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4"))) () ")")) (goto_statement "goto LAB_00040aeb;" (goto "goto") (statement_identifier "LAB_00040aeb") (; ";")))) (} "}"))) (} "}")) (else_clause "else {\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" (else "else") (compound_statement "{\n    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);\n    alarm(param_4);\n    iVar5 = BIO_gets(bp,(char *)local_820,0x800);\n    if (0 < iVar5) goto LAB_000409c4;\nLAB_00040aeb:\n    alarm(0);\n  }" ({ "{") (expression_statement "BIO_ctrl(bp,0x69,0,&DAT_000be0a0);" (call_expression "BIO_ctrl(bp,0x69,0,&DAT_000be0a0)" (identifier "BIO_ctrl") (argument_list "(bp,0x69,0,&DAT_000be0a0)" (( "(") (identifier "bp") (, ",") (number_literal "0x69") (, ",") (number_literal "0") (, ",") (pointer_expression "&DAT_000be0a0" (& "&") (identifier "DAT_000be0a0")) () ")"))) (; ";")) (expression_statement "alarm(param_4);" (call_expression "alarm(param_4)" (identifier "alarm") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (expression_statement "iVar5 = BIO_gets(bp,(char *)local_820,0x800);" (assignment_expression "iVar5 = BIO_gets(bp,(char *)local_820,0x800)" (identifier "iVar5") (= "=") (call_expression "BIO_gets(bp,(char *)local_820,0x800)" (identifier "BIO_gets") (argument_list "(bp,(char *)local_820,0x800)" (( "(") (identifier "bp") (, ",") (cast_expression "(char *)local_820" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_820")) (, ",") (number_literal "0x800") () ")")))) (; ";")) (if_statement "if (0 < iVar5) goto LAB_000409c4;" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_000409c4;" (goto "goto") (statement_identifier "LAB_000409c4") (; ";"))) (labeled_statement "LAB_00040aeb:\n    alarm(0);" (statement_identifier "LAB_00040aeb") (: ":") (expression_statement "alarm(0);" (call_expression "alarm(0)" (identifier "alarm") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";"))) (} "}")))) (labeled_statement "LAB_00040af8:\n  DAT_000be0a0 = 0xffffffff;" (statement_identifier "LAB_00040af8") (: ":") (expression_statement "DAT_000be0a0 = 0xffffffff;" (assignment_expression "DAT_000be0a0 = 0xffffffff" (identifier "DAT_000be0a0") (= "=") (number_literal "0xffffffff")) (; ";"))) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_00040b07:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }" (statement_identifier "LAB_00040b07") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar10;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return uVar10;\n  }" ({ "{") (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}")))) (expression_statement "FUN_0007d010();" (call_expression "FUN_0007d010()" (identifier "FUN_0007d010") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int __regparm3 function_1(type_1 **preq,type_2 **pcbio,type_2 *acbio,int var_6)

{
  type_3 var_14;
  int var_35;
  type_3 var_18;
  long var_3;
  type_2 *bp;
  char *pcVar5;
  type_3 *var_10;
  type_4 **ppuVar7;
  type_1 *var_34;
  type_2 *var_24;
  type_5 *type;
  type_2 *var_27;
  int var_8;
  char *var_13;
  type_3 *var_15;
  char *var_21;
  type_3 *var_9;
  type_3 *var_16;
  int var_1;
  bool var_11;
  bool var_30;
  bool var_17;
  char inbuf [2048];
  char var_12 [2048];
  
  var_18 = 0;
  var_35 = *(int *)(var_1 + 0x14);
  *preq = (type_1 *)0x0;
  var_3 = var_2((type_2 *)acbio,0x65,0,(void *)0x0);
  var_8 = 0;
  if (var_3 < 1) goto LAB_00040b07;
  bp = var_4((type_2 *)acbio);
  *pcbio = (type_2 *)bp;
  pcVar5 = var_5(bp,0x7c,2);
  if (var_6 < 1) {
    var_8 = var_7(bp,var_12,0x800);
    if (0 < var_8) {
LAB_000409c4:
      var_17 = var_8 == 0;
      var_11 = false;
      var_8 = 4;
      var_9 = (type_3 *)var_12;
      var_10 = &DAT_00085098;
      do {
        if (var_8 == 0) break;
        var_8 = var_8 + -1;
        var_11 = *var_9 < *var_10;
        var_17 = *var_9 == *var_10;
        var_9 = var_9 + (type_6)var_18 * -2 + 1;
        var_10 = var_10 + (type_6)var_18 * -2 + 1;
      } while (var_17);
      var_30 = false;
      var_11 = (!var_11 && !var_17) == var_11;
      if (var_11) {
        var_13 = var_12 + 4;
        while (var_12[4] == ' ') {
          var_13 = var_13 + 1;
          var_12[4] = *var_13;
        }
        if (var_12[4] == '/') {
          var_9 = (type_3 *)(var_13 + 1);
          var_14 = var_13[1];
          var_10 = var_9;
          while (var_11 = (var_14 & 0xdf) == 0, !var_11) {
            var_10 = var_10 + 1;
            var_14 = *var_10;
          }
          var_17 = false;
          var_8 = 8;
          var_15 = var_10;
          var_16 = (type_3 *)" HTTP/1.";
          do {
            if (var_8 == 0) break;
            var_8 = var_8 + -1;
            var_17 = *var_15 < *var_16;
            var_11 = *var_15 == *var_16;
            var_15 = var_15 + (type_6)var_18 * -2 + 1;
            var_16 = var_16 + (type_6)var_18 * -2 + 1;
          } while (var_11);
          if ((!var_17 && !var_11) == var_17) {
            *var_10 = 0;
            var_18 = var_13[1];
            if (var_18 != 0) {
              var_10 = var_9;
              var_13 = var_13 + 2;
              do {
                var_21 = var_13;
                if (var_18 == 0x25) {
                  ppuVar7 = var_19();
                  if (((*(type_3 *)((int)*ppuVar7 + (type_6)var_10[1] * 2 + 1) & 0x10) == 0) ||
                     ((*(type_3 *)((int)*ppuVar7 + (type_6)var_10[2] * 2 + 1) & 0x10) == 0))
                  goto LAB_00040d00;
                  var_8 = var_20((type_6)var_10[1]);
                  var_18 = var_20(var_10[2]);
                  var_21[-1] = var_18 | (type_3)(var_8 << 4);
                  var_10 = var_10 + 2;
                }
                else {
                  var_21[-1] = var_18;
                }
                var_18 = var_10[1];
                var_10 = var_10 + 1;
                var_13 = var_21 + 1;
              } while (var_18 != 0);
              *var_21 = '\0';
              if ((int)var_21 - (int)var_9 < 1) {
LAB_00040d00:
                var_22(6,"Invalid request -- bad URL encoding: %s",pcVar5);
              }
              else {
                var_24 = var_23(var_9,(int)var_21 - (int)var_9);
                if (var_24 != (type_2 *)0x0) {
                  type = var_25();
                  var_27 = var_26(type);
                  if (var_27 != (type_2 *)0x0) {
                    var_28(var_27,0x100);
                    var_24 = var_29(var_27,var_24);
                    goto LAB_00040b9e;
                  }
                }
                var_22(3,"Could not allocate base64 bio: %s",pcVar5);
              }
            }
          }
          else {
            var_22(6,"Invalid request -- bad HTTP version: %s",pcVar5);
          }
        }
        else {
          var_22(6,"Invalid request -- bad URL: %s",pcVar5);
        }
      }
      else {
        var_8 = 5;
        var_9 = (type_3 *)var_12;
        var_10 = (type_3 *)"POST ";
        do {
          if (var_8 == 0) break;
          var_8 = var_8 + -1;
          var_30 = *var_9 < *var_10;
          var_11 = *var_9 == *var_10;
          var_9 = var_9 + (type_6)var_18 * -2 + 1;
          var_10 = var_10 + (type_6)var_18 * -2 + 1;
        } while (var_11);
        var_24 = (type_2 *)0x0;
        if ((!var_30 && !var_11) == var_30) {
LAB_00040b9e:
          do {
            var_8 = var_7(bp,inbuf,0x800);
            if (var_8 < 1) goto LAB_00040ae0;
          } while ((inbuf[0] != '\r') && (inbuf[0] != '\n'));
          var_31(0);
          if (var_24 == (type_2 *)0x0) {
            var_34 = (type_1 *)
                     var_32((type_7 *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);
          }
          else {
            var_34 = (type_1 *)
                     var_32((type_7 *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,var_24,(void **)0x0);
            var_33(var_24);
          }
          if (var_34 == (type_1 *)0x0) {
            var_22(3,"Error parsing OCSP request");
          }
          *preq = var_34;
          goto LAB_00040af8;
        }
        var_22(6,"Invalid request -- bad HTTP verb: %s",pcVar5);
      }
LAB_00040ae0:
      if (0 < var_6) goto LAB_00040aeb;
    }
  }
  else {
    var_2(bp,0x69,0,&acfd);
    var_31(var_6);
    var_8 = var_7(bp,var_12,0x800);
    if (0 < var_8) goto LAB_000409c4;
LAB_00040aeb:
    var_31(0);
  }
LAB_00040af8:
  acfd = -1;
  var_8 = 1;
LAB_00040b07:
  if (var_35 == *(int *)(var_1 + 0x14)) {
    return var_8;
  }
                    /* WARNING: Subroutine does not return */
  var_36();
}


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

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

undefined4 __regparm3
MASKED(undefined4 *param_1,undefined4 *param_2,BIO *param_3,uint param_4)

{
  byte bVar1;
  byte bVar2;
  long lVar3;
  BIO *bp;
  char *pcVar4;
  int iVar5;
  byte *pbVar6;
  ushort **ppuVar7;
  void *pvVar8;
  BIO *pBVar9;
  BIO_METHOD *type;
  BIO *b;
  undefined4 uVar10;
  char *pcVar11;
  byte *pbVar12;
  char *pcVar13;
  byte *pbVar14;
  byte *pbVar15;
  int in_GS_OFFSET;
  bool bVar16;
  bool bVar17;
  bool bVar18;
  char local_1020 [2048];
  byte local_820 [4];
  char local_81c;
  char local_81b [2043];
  int local_20;
  undefined4 uStack_14;
  
  bVar2 = 0;
  uStack_14 = 0x4092d;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  *param_1 = 0;
  lVar3 = BIO_ctrl(param_3,0x65,0,(void *)0x0);
  uVar10 = 0;
  if (lVar3 < 1) goto LAB_00040b07;
  bp = BIO_pop(param_3);
  *param_2 = bp;
  pcVar4 = BIO_ptr_ctrl(bp,0x7c,2);
  if ((int)param_4 < 1) {
    iVar5 = BIO_gets(bp,(char *)local_820,0x800);
    if (0 < iVar5) {
LAB_000409c4:
      bVar18 = iVar5 == 0;
      bVar16 = false;
      iVar5 = 4;
      pbVar14 = local_820;
      pbVar6 = &DAT_00085098;
      do {
        if (iVar5 == 0) break;
        iVar5 = iVar5 + -1;
        bVar16 = *pbVar14 < *pbVar6;
        bVar18 = *pbVar14 == *pbVar6;
        pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;
        pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;
      } while (bVar18);
      bVar17 = false;
      bVar16 = (!bVar16 && !bVar18) == bVar16;
      if (bVar16) {
        pcVar11 = &local_81c;
        while (local_81c == ' ') {
          pcVar11 = pcVar11 + 1;
          local_81c = *pcVar11;
        }
        if (local_81c == '/') {
          pbVar14 = (byte *)(pcVar11 + 1);
          bVar1 = pcVar11[1];
          pbVar6 = pbVar14;
          while (bVar16 = (bVar1 & 0xdf) == 0, !bVar16) {
            pbVar6 = pbVar6 + 1;
            bVar1 = *pbVar6;
          }
          bVar18 = false;
          iVar5 = 8;
          pbVar12 = pbVar6;
          pbVar15 = (byte *)" HTTP/1.";
          do {
            if (iVar5 == 0) break;
            iVar5 = iVar5 + -1;
            bVar18 = *pbVar12 < *pbVar15;
            bVar16 = *pbVar12 == *pbVar15;
            pbVar12 = pbVar12 + (uint)bVar2 * -2 + 1;
            pbVar15 = pbVar15 + (uint)bVar2 * -2 + 1;
          } while (bVar16);
          if ((!bVar18 && !bVar16) == bVar18) {
            *pbVar6 = 0;
            bVar2 = pcVar11[1];
            if (bVar2 != 0) {
              pbVar6 = pbVar14;
              pcVar11 = pcVar11 + 2;
              do {
                pcVar13 = pcVar11;
                if (bVar2 == 0x25) {
                  ppuVar7 = __ctype_b_loc();
                  if (((*(byte *)((int)*ppuVar7 + (uint)pbVar6[1] * 2 + 1) & 0x10) == 0) ||
                     ((*(byte *)((int)*ppuVar7 + (uint)pbVar6[2] * 2 + 1) & 0x10) == 0))
                  goto LAB_00040d00;
                  iVar5 = OPENSSL_hexchar2int((uint)pbVar6[1]);
                  bVar2 = OPENSSL_hexchar2int(pbVar6[2]);
                  pcVar13[-1] = bVar2 | (byte)(iVar5 << 4);
                  pbVar6 = pbVar6 + 2;
                }
                else {
                  pcVar13[-1] = bVar2;
                }
                bVar2 = pbVar6[1];
                pbVar6 = pbVar6 + 1;
                pcVar11 = pcVar13 + 1;
              } while (bVar2 != 0);
              *pcVar13 = '\0';
              if ((int)pcVar13 - (int)pbVar14 < 1) {
LAB_00040d00:
                FUN_000407f0(6,"Invalid request -- bad URL encoding: %s",pcVar4);
              }
              else {
                pBVar9 = BIO_new_mem_buf(pbVar14,(int)pcVar13 - (int)pbVar14);
                if (pBVar9 != (BIO *)0x0) {
                  type = BIO_f_base64();
                  b = BIO_new(type);
                  if (b != (BIO *)0x0) {
                    BIO_set_flags(b,0x100);
                    pBVar9 = BIO_push(b,pBVar9);
                    goto LAB_00040b9e;
                  }
                }
                FUN_000407f0(3,"Could not allocate base64 bio: %s",pcVar4);
              }
            }
          }
          else {
            FUN_000407f0(6,"Invalid request -- bad HTTP version: %s",pcVar4);
          }
        }
        else {
          FUN_000407f0(6,"Invalid request -- bad URL: %s",pcVar4);
        }
      }
      else {
        iVar5 = 5;
        pbVar14 = local_820;
        pbVar6 = (byte *)"POST ";
        do {
          if (iVar5 == 0) break;
          iVar5 = iVar5 + -1;
          bVar17 = *pbVar14 < *pbVar6;
          bVar16 = *pbVar14 == *pbVar6;
          pbVar14 = pbVar14 + (uint)bVar2 * -2 + 1;
          pbVar6 = pbVar6 + (uint)bVar2 * -2 + 1;
        } while (bVar16);
        pBVar9 = (BIO *)0x0;
        if ((!bVar17 && !bVar16) == bVar17) {
LAB_00040b9e:
          do {
            iVar5 = BIO_gets(bp,local_1020,0x800);
            if (iVar5 < 1) goto LAB_00040ae0;
          } while ((local_1020[0] != '\r') && (local_1020[0] != '\n'));
          alarm(0);
          if (pBVar9 == (BIO *)0x0) {
            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,bp,(void **)0x0);
          }
          else {
            pvVar8 = ASN1_d2i_bio((xnew *)PTR_OCSP_REQUEST_new_000bdf14,
                                  PTR_d2i_OCSP_REQUEST_000bdfa4,pBVar9,(void **)0x0);
            BIO_free_all(pBVar9);
          }
          if (pvVar8 == (void *)0x0) {
            FUN_000407f0(3,"Error parsing OCSP request");
          }
          *param_1 = pvVar8;
          goto LAB_00040af8;
        }
        FUN_000407f0(6,"Invalid request -- bad HTTP verb: %s",pcVar4);
      }
LAB_00040ae0:
      if (0 < (int)param_4) goto LAB_00040aeb;
    }
  }
  else {
    BIO_ctrl(bp,0x69,0,&DAT_000be0a0);
    alarm(param_4);
    iVar5 = BIO_gets(bp,(char *)local_820,0x800);
    if (0 < iVar5) goto LAB_000409c4;
LAB_00040aeb:
    alarm(0);
  }
LAB_00040af8:
  DAT_000be0a0 = 0xffffffff;
  uVar10 = 1;
LAB_00040b07:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar10;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007d010();
}

