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

bfd_boolean
generate_build_id(bfd *abfd,char *style,checksum_fn checksum_contents,uchar *id_bits,int size)

{
  undefined *puVar1;
  uchar uVar2;
  byte bVar3;
  ssize_t sVar4;
  int iVar5;
  byte *pbVar6;
  uint uVar7;
  byte *pbVar8;
  bool bVar9;
  bool bVar10;
  bool bVar11;
  md5_ctx ctx;
  
  puVar1 = PTR__sch_istable_001cefa0;
  iVar5 = 4;
  bVar9 = &stack0xfffffff0 < (undefined1 *)0xbc;
  bVar11 = &stack0x00000000 == (undefined1 *)0xcc;
  pbVar8 = (byte *)style;
  pbVar6 = &DAT_0007e2c4;
  do {
    if (iVar5 == 0) break;
    iVar5 = iVar5 + -1;
    bVar9 = *pbVar8 < *pbVar6;
    bVar11 = *pbVar8 == *pbVar6;
    pbVar8 = pbVar8 + 1;
    pbVar6 = pbVar6 + 1;
  } while (bVar11);
  bVar10 = false;
  bVar9 = (!bVar9 && !bVar11) == bVar9;
  if (bVar9) {
    md5_init_ctx(&ctx);
    uVar7 = (*checksum_contents)
                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,
                       &ctx);
    if (uVar7 != 0) {
      md5_finish_ctx(&ctx,id_bits);
      return 1;
    }
  }
  else {
    iVar5 = 5;
    pbVar8 = (byte *)style;
    pbVar6 = &DAT_0007e2c8;
    do {
      if (iVar5 == 0) break;
      iVar5 = iVar5 + -1;
      bVar10 = *pbVar8 < *pbVar6;
      bVar9 = *pbVar8 == *pbVar6;
      pbVar8 = pbVar8 + 1;
      pbVar6 = pbVar6 + 1;
    } while (bVar9);
    bVar11 = false;
    bVar9 = (!bVar10 && !bVar9) == bVar10;
    if (bVar9) {
      sha1_init_ctx((sha1_ctx *)&ctx);
      uVar7 = (*checksum_contents)
                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4
                         ,(sha1_ctx *)&ctx);
      if (uVar7 != 0) {
        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);
        return 1;
      }
    }
    else {
      iVar5 = 5;
      pbVar8 = (byte *)style;
      pbVar6 = &DAT_0007e2cd;
      do {
        if (iVar5 == 0) break;
        iVar5 = iVar5 + -1;
        bVar11 = *pbVar8 < *pbVar6;
        bVar9 = *pbVar8 == *pbVar6;
        pbVar8 = pbVar8 + 1;
        pbVar6 = pbVar6 + 1;
      } while (bVar9);
      bVar10 = false;
      bVar9 = (!bVar11 && !bVar9) == bVar11;
      if (bVar9) {
        iVar5 = open64("/dev/urandom",0);
        uVar7 = 0;
        if (-1 < iVar5) {
          sVar4 = read(iVar5,id_bits,size);
          close(iVar5);
          uVar7 = (uint)(size <= sVar4);
        }
      }
      else {
        iVar5 = 2;
        pbVar8 = (byte *)style;
        pbVar6 = (byte *)0x7af06;
        do {
          if (iVar5 == 0) break;
          iVar5 = iVar5 + -1;
          bVar10 = *pbVar8 < *pbVar6;
          bVar9 = *pbVar8 == *pbVar6;
          pbVar8 = pbVar8 + 1;
          pbVar6 = pbVar6 + 1;
        } while (bVar9);
        if ((!bVar10 && !bVar9) != bVar10) {
LAB_00038d1b:
                    /* WARNING: Subroutine does not return */
          abort();
        }
        iVar5 = 0;
        bVar3 = style[2];
        pbVar8 = (byte *)(style + 2);
        do {
          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&
                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {
            uVar2 = read_hex(bVar3);
            pbVar6 = id_bits + iVar5;
            iVar5 = iVar5 + 1;
            *pbVar6 = uVar2 << 4;
            bVar3 = read_hex(pbVar8[1]);
            *pbVar6 = uVar2 << 4 | bVar3;
            bVar3 = pbVar8[2];
            pbVar8 = pbVar8 + 2;
            if (bVar3 == 0) goto LAB_00038bf0;
          }
          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;
          pbVar8 = pbVar8 + 1;
          bVar3 = *pbVar8;
        } while (bVar3 != 0);
LAB_00038bf0:
        uVar7 = 1;
      }
    }
  }
  return uVar7;
}



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

uint FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)

{
  undefined *puVar1;
  byte bVar2;
  byte bVar3;
  int iVar4;
  ssize_t sVar5;
  int iVar6;
  byte *pbVar7;
  uint uVar8;
  byte *pbVar9;
  bool bVar10;
  bool bVar11;
  bool bVar12;
  undefined1 local_bc [168];
  undefined4 uStack_14;
  
  puVar1 = PTR__sch_istable_001cefa0;
  iVar6 = 4;
  uStack_14 = 0x38ade;
  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;
  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;
  pbVar9 = param_2;
  pbVar7 = &DAT_0007e2c4;
  do {
    if (iVar6 == 0) break;
    iVar6 = iVar6 + -1;
    bVar10 = *pbVar9 < *pbVar7;
    bVar12 = *pbVar9 == *pbVar7;
    pbVar9 = pbVar9 + 1;
    pbVar7 = pbVar7 + 1;
  } while (bVar12);
  bVar11 = false;
  bVar10 = (!bVar10 && !bVar12) == bVar10;
  if (bVar10) {
    FUN_00068420(local_bc);
    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);
    if (uVar8 != 0) {
      FUN_00068bf0(local_bc,param_4);
      return 1;
    }
  }
  else {
    iVar6 = 5;
    pbVar9 = param_2;
    pbVar7 = &DAT_0007e2c8;
    do {
      if (iVar6 == 0) break;
      iVar6 = iVar6 + -1;
      bVar11 = *pbVar9 < *pbVar7;
      bVar10 = *pbVar9 == *pbVar7;
      pbVar9 = pbVar9 + 1;
      pbVar7 = pbVar7 + 1;
    } while (bVar10);
    bVar12 = false;
    bVar10 = (!bVar11 && !bVar10) == bVar11;
    if (bVar10) {
      FUN_000690c0(local_bc);
      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);
      if (uVar8 != 0) {
        FUN_0006a280(local_bc,param_4);
        return 1;
      }
    }
    else {
      iVar6 = 5;
      pbVar9 = param_2;
      pbVar7 = &DAT_0007e2cd;
      do {
        if (iVar6 == 0) break;
        iVar6 = iVar6 + -1;
        bVar12 = *pbVar9 < *pbVar7;
        bVar10 = *pbVar9 == *pbVar7;
        pbVar9 = pbVar9 + 1;
        pbVar7 = pbVar7 + 1;
      } while (bVar10);
      bVar11 = false;
      bVar10 = (!bVar12 && !bVar10) == bVar12;
      if (bVar10) {
        iVar6 = open64("/dev/urandom",0);
        uVar8 = 0;
        if (-1 < iVar6) {
          sVar5 = read(iVar6,param_4,param_5);
          close(iVar6);
          uVar8 = (uint)((int)param_5 <= sVar5);
        }
      }
      else {
        iVar6 = 2;
        pbVar9 = param_2;
        pbVar7 = (byte *)0x7af06;
        do {
          if (iVar6 == 0) break;
          iVar6 = iVar6 + -1;
          bVar11 = *pbVar9 < *pbVar7;
          bVar10 = *pbVar9 == *pbVar7;
          pbVar9 = pbVar9 + 1;
          pbVar7 = pbVar7 + 1;
        } while (bVar10);
        if ((!bVar11 && !bVar10) != bVar11) {
LAB_00038d1b:
                    /* WARNING: Subroutine does not return */
          abort();
        }
        pbVar9 = param_2 + 2;
        iVar6 = 0;
        bVar2 = param_2[2];
        do {
          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&
                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {
            iVar4 = FUN_00038900();
            pbVar7 = (byte *)((int)param_4 + iVar6);
            bVar2 = (byte)(iVar4 << 4);
            iVar6 = iVar6 + 1;
            *pbVar7 = bVar2;
            pbVar9 = pbVar9 + 2;
            bVar3 = FUN_00038900();
            *pbVar7 = bVar2 | bVar3;
            bVar2 = *pbVar9;
            if (bVar2 == 0) goto LAB_00038bf0;
          }
          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;
          pbVar9 = pbVar9 + 1;
          bVar2 = *pbVar9;
        } while (bVar2 != 0);
LAB_00038bf0:
        uVar8 = 1;
      }
    }
  }
  return uVar8;
}


PUSH EBP
MOV ECX,0x4
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x196522
SUB ESP,0xbc
MOV EDX,dword ptr [ESP + 0xd4]
MOV ESI,EDX
LEA EDI,[EBX + 0xffeaf2c4]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x00038c60
MOV ECX,0x5
LEA EDI,[EBX + 0xffeaf2c8]
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x00038c08
MOV ECX,0x5
LEA EDI,[EBX + 0xffeaf2cd]
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
MOVSX ECX,CL
TEST ECX,ECX
JZ 0x00038cc0
MOV ECX,0x2
LEA EDI,[EBX + 0xffeabf06]
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x00038d1b
LEA ESI,[EDX + 0x2]
XOR EBP,EBP
MOVZX EDX,byte ptr [EDX + 0x2]
MOV EDI,dword ptr [EBX + 0xffffffa0]
JMP 0x00038b90
CMP DL,0x2d
JZ 0x00038b86
CMP DL,0x3a
JNZ 0x00038d1b
ADD ESI,0x1
MOVZX EDX,byte ptr [ESI]
TEST DL,DL
JZ 0x00038bf0
MOVZX ECX,DL
MOVSX EAX,DL
TEST byte ptr [EDI + ECX*0x2 + 0x1],0x1
JZ 0x00038b78
MOVZX ECX,byte ptr [ESI + 0x1]
TEST byte ptr [EDI + ECX*0x2 + 0x1],0x1
JZ 0x00038b78
CALL 0x00038900
MOV ECX,dword ptr [ESP + 0xdc]
SHL EAX,0x4
ADD ECX,EBP
MOV byte ptr [ESP + 0xf],AL
ADD EBP,0x1
MOV byte ptr [ECX],AL
LEA EAX,[ESI + 0x2]
MOV dword ptr [ESP + 0x4],EAX
MOVSX EAX,byte ptr [ESI + 0x1]
MOV dword ptr [ESP + 0x8],ECX
CALL 0x00038900
MOVZX EDX,byte ptr [ESP + 0xf]
MOV ECX,dword ptr [ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x4]
OR EDX,EAX
MOV byte ptr [ECX],DL
MOVZX EDX,byte ptr [ESI]
TEST DL,DL
JNZ 0x00038b90
NOP
MOV ECX,0x1
ADD ESP,0xbc
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA ESI,[ESP + 0x1c]
PUSH ESI
CALL 0x000690c0
ADD ESP,0xc
PUSH ESI
PUSH dword ptr [EBX + 0xffffffe4]
PUSH dword ptr [ESP + 0xdc]
CALL dword ptr [ESP + 0xe8]
MOV ECX,EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00038bf5
SUB ESP,0x8
PUSH dword ptr [ESP + 0xe4]
PUSH ESI
CALL 0x0006a280
ADD ESP,0x10
MOV ECX,0x1
ADD ESP,0xbc
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA ESI,[ESP + 0x1c]
PUSH ESI
CALL 0x00068420
ADD ESP,0xc
PUSH ESI
PUSH dword ptr [EBX + 0xffffffac]
PUSH dword ptr [ESP + 0xdc]
CALL dword ptr [ESP + 0xe8]
MOV ECX,EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00038bf5
SUB ESP,0x8
PUSH dword ptr [ESP + 0xe4]
PUSH ESI
CALL 0x00068bf0
ADD ESP,0x10
MOV ECX,0x1
ADD ESP,0xbc
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x4],ECX
LEA EAX,[EBX + 0xffeaf2d2]
SUB ESP,0x8
PUSH 0x0
PUSH EAX
CALL 0x000160d0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x4]
TEST EAX,EAX
MOV ESI,EAX
JS 0x00038bf5
SUB ESP,0x4
PUSH dword ptr [ESP + 0xe4]
PUSH dword ptr [ESP + 0xe4]
PUSH EAX
CALL 0x000160e0
MOV dword ptr [ESP],ESI
MOV EDI,EAX
CALL 0x00016d40
ADD ESP,0x10
XOR ECX,ECX
CMP dword ptr [ESP + 0xe0],EDI
SETLE CL
JMP 0x00038bf5
CALL 0x00016c80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}\n\n" comment (function_definition "uint FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}" type_identifier (function_declarator "FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)" identifier (parameter_list "(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "void *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "size_t param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ssize_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "undefined1 local_bc [168];" type_identifier (array_declarator "local_bc [168]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar1 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar1 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x38ade;" (assignment_expression "uStack_14 = 0x38ade" identifier = number_literal) ;) (expression_statement "bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;" (assignment_expression "bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0xbc" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0xbc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar12 = &stack0x00000000 == (undefined1 *)0xcc;" (assignment_expression "bVar12 = &stack0x00000000 == (undefined1 *)0xcc" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0xcc" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0xcc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = &DAT_0007e2c4;" (assignment_expression "pbVar7 = &DAT_0007e2c4" identifier = (pointer_expression "&DAT_0007e2c4" & identifier)) ;) (do_statement "do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);" do (compound_statement "{\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar10 = *pbVar9 < *pbVar7;" (assignment_expression "bVar10 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar12 = *pbVar9 == *pbVar7;" (assignment_expression "bVar12 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar12)" ( identifier )) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "bVar10 = (!bVar10 && !bVar12) == bVar10;" (assignment_expression "bVar10 = (!bVar10 && !bVar12) == bVar10" identifier = (binary_expression "(!bVar10 && !bVar12) == bVar10" (parenthesized_expression "(!bVar10 && !bVar12)" ( (binary_expression "!bVar10 && !bVar12" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar12" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }" { (expression_statement "FUN_00068420(local_bc);" (call_expression "FUN_00068420(local_bc)" identifier (argument_list "(local_bc)" ( identifier ))) ;) (expression_statement "uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);" (assignment_expression "uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc)" identifier = (call_expression "(*param_3)(param_1,PTR_FUN_001cefac,local_bc)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_1,PTR_FUN_001cefac,local_bc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }" { (expression_statement "FUN_00068bf0(local_bc,param_4);" (call_expression "FUN_00068bf0(local_bc,param_4)" identifier (argument_list "(local_bc,param_4)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" else (compound_statement "{\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" { (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" identifier = number_literal) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = &DAT_0007e2c8;" (assignment_expression "pbVar7 = &DAT_0007e2c8" identifier = (pointer_expression "&DAT_0007e2c8" & identifier)) ;) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);" do (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar11 = *pbVar9 < *pbVar7;" (assignment_expression "bVar11 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) (expression_statement "bVar10 = (!bVar11 && !bVar10) == bVar11;" (assignment_expression "bVar10 = (!bVar11 && !bVar10) == bVar11" identifier = (binary_expression "(!bVar11 && !bVar10) == bVar11" (parenthesized_expression "(!bVar11 && !bVar10)" ( (binary_expression "!bVar11 && !bVar10" (unary_expression "!bVar11" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }" { (expression_statement "FUN_000690c0(local_bc);" (call_expression "FUN_000690c0(local_bc)" identifier (argument_list "(local_bc)" ( identifier ))) ;) (expression_statement "uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);" (assignment_expression "uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc)" identifier = (call_expression "(*param_3)(param_1,PTR_FUN_001cefe4,local_bc)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_1,PTR_FUN_001cefe4,local_bc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }" { (expression_statement "FUN_0006a280(local_bc,param_4);" (call_expression "FUN_0006a280(local_bc,param_4)" identifier (argument_list "(local_bc,param_4)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" else (compound_statement "{\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" { (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" identifier = number_literal) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = &DAT_0007e2cd;" (assignment_expression "pbVar7 = &DAT_0007e2cd" identifier = (pointer_expression "&DAT_0007e2cd" & identifier)) ;) (do_statement "do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar9 < *pbVar7;" (assignment_expression "bVar12 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "bVar10 = (!bVar12 && !bVar10) == bVar12;" (assignment_expression "bVar10 = (!bVar12 && !bVar10) == bVar12" identifier = (binary_expression "(!bVar12 && !bVar10) == bVar12" (parenthesized_expression "(!bVar12 && !bVar10)" ( (binary_expression "!bVar12 && !bVar10" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }" { (expression_statement "iVar6 = open64("/dev/urandom",0);" (assignment_expression "iVar6 = open64("/dev/urandom",0)" identifier = (call_expression "open64("/dev/urandom",0)" identifier (argument_list "("/dev/urandom",0)" ( (string_literal ""/dev/urandom"" " string_content ") , number_literal )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }" { (expression_statement "sVar5 = read(iVar6,param_4,param_5);" (assignment_expression "sVar5 = read(iVar6,param_4,param_5)" identifier = (call_expression "read(iVar6,param_4,param_5)" identifier (argument_list "(iVar6,param_4,param_5)" ( identifier , identifier , identifier )))) ;) (expression_statement "close(iVar6);" (call_expression "close(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar8 = (uint)((int)param_5 <= sVar5);" (assignment_expression "uVar8 = (uint)((int)param_5 <= sVar5)" identifier = (call_expression "(uint)((int)param_5 <= sVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_5 <= sVar5)" ( (binary_expression "(int)param_5 <= sVar5" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )))) ;) })) }) (else_clause "else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" else (compound_statement "{\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" { (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)0x7af06;" (assignment_expression "pbVar7 = (byte *)0x7af06" identifier = (cast_expression "(byte *)0x7af06" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);" do (compound_statement "{\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar11 = *pbVar9 < *pbVar7;" (assignment_expression "bVar11 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (if_statement "if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }" if (parenthesized_expression "((!bVar11 && !bVar10) != bVar11)" ( (binary_expression "(!bVar11 && !bVar10) != bVar11" (parenthesized_expression "(!bVar11 && !bVar10)" ( (binary_expression "!bVar11 && !bVar10" (unary_expression "!bVar11" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) != identifier) )) (compound_statement "{\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }" { (labeled_statement "LAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "pbVar9 = param_2 + 2;" (assignment_expression "pbVar9 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = param_2[2];" (assignment_expression "bVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (do_statement "do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);" do (compound_statement "{\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        }" { (while_statement "while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }" while (parenthesized_expression "(((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)))" ( (parenthesized_expression "((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))" ( (binary_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)" (binary_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1)" ( (binary_expression "puVar1[(uint)bVar2 * 2 + 1] & 1" (subscript_expression "puVar1[(uint)bVar2 * 2 + 1]" identifier [ (binary_expression "(uint)bVar2 * 2 + 1" (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) ]) & number_literal) )) != number_literal) && (parenthesized_expression "((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)" ( (binary_expression "(puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)pbVar9[1] * 2 + 1] & 1)" ( (binary_expression "puVar1[(uint)pbVar9[1] * 2 + 1] & 1" (subscript_expression "puVar1[(uint)pbVar9[1] * 2 + 1]" identifier [ (binary_expression "(uint)pbVar9[1] * 2 + 1" (binary_expression "(uint)pbVar9[1] * 2" (cast_expression "(uint)pbVar9[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar9[1]" identifier [ number_literal ])) * number_literal) + number_literal) ]) & number_literal) )) != number_literal) ))) )) )) (compound_statement "{\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }" { (expression_statement "iVar4 = FUN_00038900();" (assignment_expression "iVar4 = FUN_00038900()" identifier = (call_expression "FUN_00038900()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar7 = (byte *)((int)param_4 + iVar6);" (assignment_expression "pbVar7 = (byte *)((int)param_4 + iVar6)" identifier = (cast_expression "(byte *)((int)param_4 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + iVar6)" ( (binary_expression "(int)param_4 + iVar6" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "bVar2 = (byte)(iVar4 << 4);" (assignment_expression "bVar2 = (byte)(iVar4 << 4)" identifier = (call_expression "(byte)(iVar4 << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar4 << 4)" ( (binary_expression "iVar4 << 4" identifier << number_literal) )))) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar7 = bVar2;" (assignment_expression "*pbVar7 = bVar2" (pointer_expression "*pbVar7" * identifier) = identifier) ;) (expression_statement "pbVar9 = pbVar9 + 2;" (assignment_expression "pbVar9 = pbVar9 + 2" identifier = (binary_expression "pbVar9 + 2" identifier + number_literal)) ;) (expression_statement "bVar3 = FUN_00038900();" (assignment_expression "bVar3 = FUN_00038900()" identifier = (call_expression "FUN_00038900()" identifier (argument_list "()" ( )))) ;) (expression_statement "*pbVar7 = bVar2 | bVar3;" (assignment_expression "*pbVar7 = bVar2 | bVar3" (pointer_expression "*pbVar7" * identifier) = (binary_expression "bVar2 | bVar3" identifier | identifier)) ;) (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (if_statement "if (bVar2 == 0) goto LAB_00038bf0;" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00038bf0;" goto statement_identifier ;)) })) (if_statement "if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;" if (parenthesized_expression "((bVar2 != 0x2d) && (bVar2 != 0x3a))" ( (binary_expression "(bVar2 != 0x2d) && (bVar2 != 0x3a)" (parenthesized_expression "(bVar2 != 0x2d)" ( (binary_expression "bVar2 != 0x2d" identifier != number_literal) )) && (parenthesized_expression "(bVar2 != 0x3a)" ( (binary_expression "bVar2 != 0x3a" identifier != number_literal) ))) )) (goto_statement "goto LAB_00038d1b;" goto statement_identifier ;)) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) }) while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) ;) (labeled_statement "LAB_00038bf0:\n        uVar8 = 1;" statement_identifier : (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;)) }))) }))) }))) (return_statement "return uVar8;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean\ngenerate_build_id(bfd *abfd,char *style,checksum_fn checksum_contents,uchar *id_bits,int size)\n\n{\n  undefined *puVar1;\n  uchar uVar2;\n  byte bVar3;\n  ssize_t sVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint uVar7;\n  byte *pbVar8;\n  bool bVar9;\n  bool bVar10;\n  bool bVar11;\n  md5_ctx ctx;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar5 = 4;\n  bVar9 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar11 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar8 = (byte *)style;\n  pbVar6 = &DAT_0007e2c4;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar9 = *pbVar8 < *pbVar6;\n    bVar11 = *pbVar8 == *pbVar6;\n    pbVar8 = pbVar8 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar11);\n  bVar10 = false;\n  bVar9 = (!bVar9 && !bVar11) == bVar9;\n  if (bVar9) {\n    md5_init_ctx(&ctx);\n    uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx);\n    if (uVar7 != 0) {\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }\n  }\n  else {\n    iVar5 = 5;\n    pbVar8 = (byte *)style;\n    pbVar6 = &DAT_0007e2c8;\n    do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    bVar11 = false;\n    bVar9 = (!bVar10 && !bVar9) == bVar10;\n    if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }\n  }\n  return uVar7;\n}\n\n" comment (function_definition "bfd_boolean\ngenerate_build_id(bfd *abfd,char *style,checksum_fn checksum_contents,uchar *id_bits,int size)\n\n{\n  undefined *puVar1;\n  uchar uVar2;\n  byte bVar3;\n  ssize_t sVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint uVar7;\n  byte *pbVar8;\n  bool bVar9;\n  bool bVar10;\n  bool bVar11;\n  md5_ctx ctx;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar5 = 4;\n  bVar9 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar11 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar8 = (byte *)style;\n  pbVar6 = &DAT_0007e2c4;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar9 = *pbVar8 < *pbVar6;\n    bVar11 = *pbVar8 == *pbVar6;\n    pbVar8 = pbVar8 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar11);\n  bVar10 = false;\n  bVar9 = (!bVar9 && !bVar11) == bVar9;\n  if (bVar9) {\n    md5_init_ctx(&ctx);\n    uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx);\n    if (uVar7 != 0) {\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }\n  }\n  else {\n    iVar5 = 5;\n    pbVar8 = (byte *)style;\n    pbVar6 = &DAT_0007e2c8;\n    do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    bVar11 = false;\n    bVar9 = (!bVar10 && !bVar9) == bVar10;\n    if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }\n  }\n  return uVar7;\n}" type_identifier (function_declarator "generate_build_id(bfd *abfd,char *style,checksum_fn checksum_contents,uchar *id_bits,int size)" identifier (parameter_list "(bfd *abfd,char *style,checksum_fn checksum_contents,uchar *id_bits,int size)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "char *style" primitive_type (pointer_declarator "*style" * identifier)) , (parameter_declaration "checksum_fn checksum_contents" type_identifier identifier) , (parameter_declaration "uchar *id_bits" type_identifier (pointer_declarator "*id_bits" * identifier)) , (parameter_declaration "int size" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uchar uVar2;\n  byte bVar3;\n  ssize_t sVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint uVar7;\n  byte *pbVar8;\n  bool bVar9;\n  bool bVar10;\n  bool bVar11;\n  md5_ctx ctx;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar5 = 4;\n  bVar9 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar11 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar8 = (byte *)style;\n  pbVar6 = &DAT_0007e2c4;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar9 = *pbVar8 < *pbVar6;\n    bVar11 = *pbVar8 == *pbVar6;\n    pbVar8 = pbVar8 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar11);\n  bVar10 = false;\n  bVar9 = (!bVar9 && !bVar11) == bVar9;\n  if (bVar9) {\n    md5_init_ctx(&ctx);\n    uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx);\n    if (uVar7 != 0) {\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }\n  }\n  else {\n    iVar5 = 5;\n    pbVar8 = (byte *)style;\n    pbVar6 = &DAT_0007e2c8;\n    do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    bVar11 = false;\n    bVar9 = (!bVar10 && !bVar9) == bVar10;\n    if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }\n  }\n  return uVar7;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uchar uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "ssize_t sVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "md5_ctx ctx;" type_identifier identifier ;) (expression_statement "puVar1 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar1 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (expression_statement "bVar9 = &stack0xfffffff0 < (undefined1 *)0xbc;" (assignment_expression "bVar9 = &stack0xfffffff0 < (undefined1 *)0xbc" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0xbc" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0xbc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar11 = &stack0x00000000 == (undefined1 *)0xcc;" (assignment_expression "bVar11 = &stack0x00000000 == (undefined1 *)0xcc" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0xcc" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0xcc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar8 = (byte *)style;" (assignment_expression "pbVar8 = (byte *)style" identifier = (cast_expression "(byte *)style" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar6 = &DAT_0007e2c4;" (assignment_expression "pbVar6 = &DAT_0007e2c4" identifier = (pointer_expression "&DAT_0007e2c4" & identifier)) ;) (do_statement "do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar9 = *pbVar8 < *pbVar6;\n    bVar11 = *pbVar8 == *pbVar6;\n    pbVar8 = pbVar8 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar11);" do (compound_statement "{\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar9 = *pbVar8 < *pbVar6;\n    bVar11 = *pbVar8 == *pbVar6;\n    pbVar8 = pbVar8 + 1;\n    pbVar6 = pbVar6 + 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 "bVar9 = *pbVar8 < *pbVar6;" (assignment_expression "bVar9 = *pbVar8 < *pbVar6" identifier = (binary_expression "*pbVar8 < *pbVar6" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar11 = *pbVar8 == *pbVar6;" (assignment_expression "bVar11 = *pbVar8 == *pbVar6" identifier = (binary_expression "*pbVar8 == *pbVar6" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar11)" ( identifier )) ;) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) (expression_statement "bVar9 = (!bVar9 && !bVar11) == bVar9;" (assignment_expression "bVar9 = (!bVar9 && !bVar11) == bVar9" identifier = (binary_expression "(!bVar9 && !bVar11) == bVar9" (parenthesized_expression "(!bVar9 && !bVar11)" ( (binary_expression "!bVar9 && !bVar11" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar11" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar9) {\n    md5_init_ctx(&ctx);\n    uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx);\n    if (uVar7 != 0) {\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }\n  }\n  else {\n    iVar5 = 5;\n    pbVar8 = (byte *)style;\n    pbVar6 = &DAT_0007e2c8;\n    do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    bVar11 = false;\n    bVar9 = (!bVar10 && !bVar9) == bVar10;\n    if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }\n  }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n    md5_init_ctx(&ctx);\n    uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx);\n    if (uVar7 != 0) {\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }\n  }" { (expression_statement "md5_init_ctx(&ctx);" (call_expression "md5_init_ctx(&ctx)" identifier (argument_list "(&ctx)" ( (pointer_expression "&ctx" & identifier) ))) ;) (expression_statement "uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx);" (assignment_expression "uVar7 = (*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx)" identifier = (call_expression "(*checksum_contents)\n                      (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx)" (parenthesized_expression "(*checksum_contents)" ( (pointer_expression "*checksum_contents" * identifier) )) (argument_list "(abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac,\n                       &ctx)" ( identifier , (cast_expression "(_func_void_void_ptr_size_t_void_ptr *)PTR_md5_process_bytes_001cefac" ( (type_descriptor "_func_void_void_ptr_size_t_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&ctx" & identifier) )))) ;) (if_statement "if (uVar7 != 0) {\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      md5_finish_ctx(&ctx,id_bits);\n      return 1;\n    }" { (expression_statement "md5_finish_ctx(&ctx,id_bits);" (call_expression "md5_finish_ctx(&ctx,id_bits)" identifier (argument_list "(&ctx,id_bits)" ( (pointer_expression "&ctx" & identifier) , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    iVar5 = 5;\n    pbVar8 = (byte *)style;\n    pbVar6 = &DAT_0007e2c8;\n    do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    bVar11 = false;\n    bVar9 = (!bVar10 && !bVar9) == bVar10;\n    if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }\n  }" else (compound_statement "{\n    iVar5 = 5;\n    pbVar8 = (byte *)style;\n    pbVar6 = &DAT_0007e2c8;\n    do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    bVar11 = false;\n    bVar9 = (!bVar10 && !bVar9) == bVar10;\n    if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }\n  }" { (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" identifier = number_literal) ;) (expression_statement "pbVar8 = (byte *)style;" (assignment_expression "pbVar8 = (byte *)style" identifier = (cast_expression "(byte *)style" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar6 = &DAT_0007e2c8;" (assignment_expression "pbVar6 = &DAT_0007e2c8" identifier = (pointer_expression "&DAT_0007e2c8" & identifier)) ;) (do_statement "do {\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (iVar5 == 0) break;\n      iVar5 = iVar5 + -1;\n      bVar10 = *pbVar8 < *pbVar6;\n      bVar9 = *pbVar8 == *pbVar6;\n      pbVar8 = pbVar8 + 1;\n      pbVar6 = pbVar6 + 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 "bVar10 = *pbVar8 < *pbVar6;" (assignment_expression "bVar10 = *pbVar8 < *pbVar6" identifier = (binary_expression "*pbVar8 < *pbVar6" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar8 == *pbVar6;" (assignment_expression "bVar9 = *pbVar8 == *pbVar6" identifier = (binary_expression "*pbVar8 == *pbVar6" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "bVar9 = (!bVar10 && !bVar9) == bVar10;" (assignment_expression "bVar9 = (!bVar10 && !bVar9) == bVar10" identifier = (binary_expression "(!bVar10 && !bVar9) == bVar10" (parenthesized_expression "(!bVar10 && !bVar9)" ( (binary_expression "!bVar10 && !bVar9" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar9) {\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }\n    else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n      sha1_init_ctx((sha1_ctx *)&ctx);\n      uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);\n      if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }\n    }" { (expression_statement "sha1_init_ctx((sha1_ctx *)&ctx);" (call_expression "sha1_init_ctx((sha1_ctx *)&ctx)" identifier (argument_list "((sha1_ctx *)&ctx)" ( (cast_expression "(sha1_ctx *)&ctx" ( (type_descriptor "sha1_ctx *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&ctx" & identifier)) ))) ;) (expression_statement "uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx);" (assignment_expression "uVar7 = (*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx)" identifier = (call_expression "(*checksum_contents)\n                        (abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx)" (parenthesized_expression "(*checksum_contents)" ( (pointer_expression "*checksum_contents" * identifier) )) (argument_list "(abfd,(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4\n                         ,(sha1_ctx *)&ctx)" ( identifier , (cast_expression "(_func_void_void_ptr_size_t_void_ptr *)PTR_sha1_process_bytes_001cefe4" ( (type_descriptor "_func_void_void_ptr_size_t_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(sha1_ctx *)&ctx" ( (type_descriptor "sha1_ctx *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&ctx" & identifier)) )))) ;) (if_statement "if (uVar7 != 0) {\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);\n        return 1;\n      }" { (expression_statement "sha1_finish_ctx((sha1_ctx *)&ctx,id_bits);" (call_expression "sha1_finish_ctx((sha1_ctx *)&ctx,id_bits)" identifier (argument_list "((sha1_ctx *)&ctx,id_bits)" ( (cast_expression "(sha1_ctx *)&ctx" ( (type_descriptor "sha1_ctx *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&ctx" & identifier)) , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }" else (compound_statement "{\n      iVar5 = 5;\n      pbVar8 = (byte *)style;\n      pbVar6 = &DAT_0007e2cd;\n      do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);\n      bVar10 = false;\n      bVar9 = (!bVar11 && !bVar9) == bVar11;\n      if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }\n    }" { (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" identifier = number_literal) ;) (expression_statement "pbVar8 = (byte *)style;" (assignment_expression "pbVar8 = (byte *)style" identifier = (cast_expression "(byte *)style" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar6 = &DAT_0007e2cd;" (assignment_expression "pbVar6 = &DAT_0007e2cd" identifier = (pointer_expression "&DAT_0007e2cd" & identifier)) ;) (do_statement "do {\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while (bVar9);" do (compound_statement "{\n        if (iVar5 == 0) break;\n        iVar5 = iVar5 + -1;\n        bVar11 = *pbVar8 < *pbVar6;\n        bVar9 = *pbVar8 == *pbVar6;\n        pbVar8 = pbVar8 + 1;\n        pbVar6 = pbVar6 + 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 "bVar11 = *pbVar8 < *pbVar6;" (assignment_expression "bVar11 = *pbVar8 < *pbVar6" identifier = (binary_expression "*pbVar8 < *pbVar6" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar8 == *pbVar6;" (assignment_expression "bVar9 = *pbVar8 == *pbVar6" identifier = (binary_expression "*pbVar8 == *pbVar6" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) (expression_statement "bVar9 = (!bVar11 && !bVar9) == bVar11;" (assignment_expression "bVar9 = (!bVar11 && !bVar9) == bVar11" identifier = (binary_expression "(!bVar11 && !bVar9) == bVar11" (parenthesized_expression "(!bVar11 && !bVar9)" ( (binary_expression "!bVar11 && !bVar9" (unary_expression "!bVar11" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar9) {\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }\n      else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n        iVar5 = open64("/dev/urandom",0);\n        uVar7 = 0;\n        if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }\n      }" { (expression_statement "iVar5 = open64("/dev/urandom",0);" (assignment_expression "iVar5 = open64("/dev/urandom",0)" identifier = (call_expression "open64("/dev/urandom",0)" identifier (argument_list "("/dev/urandom",0)" ( (string_literal ""/dev/urandom"" " string_content ") , number_literal )))) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar5) {\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n          sVar4 = read(iVar5,id_bits,size);\n          close(iVar5);\n          uVar7 = (uint)(size <= sVar4);\n        }" { (expression_statement "sVar4 = read(iVar5,id_bits,size);" (assignment_expression "sVar4 = read(iVar5,id_bits,size)" identifier = (call_expression "read(iVar5,id_bits,size)" identifier (argument_list "(iVar5,id_bits,size)" ( identifier , identifier , identifier )))) ;) (expression_statement "close(iVar5);" (call_expression "close(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar7 = (uint)(size <= sVar4);" (assignment_expression "uVar7 = (uint)(size <= sVar4)" identifier = (call_expression "(uint)(size <= sVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(size <= sVar4)" ( (binary_expression "size <= sVar4" identifier <= identifier) )))) ;) })) }) (else_clause "else {\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }" else (compound_statement "{\n        iVar5 = 2;\n        pbVar8 = (byte *)style;\n        pbVar6 = (byte *)0x7af06;\n        do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);\n        if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }\n        iVar5 = 0;\n        bVar3 = style[2];\n        pbVar8 = (byte *)(style + 2);\n        do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);\nLAB_00038bf0:\n        uVar7 = 1;\n      }" { (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (expression_statement "pbVar8 = (byte *)style;" (assignment_expression "pbVar8 = (byte *)style" identifier = (cast_expression "(byte *)style" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar6 = (byte *)0x7af06;" (assignment_expression "pbVar6 = (byte *)0x7af06" identifier = (cast_expression "(byte *)0x7af06" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 1;\n        } while (bVar9);" do (compound_statement "{\n          if (iVar5 == 0) break;\n          iVar5 = iVar5 + -1;\n          bVar10 = *pbVar8 < *pbVar6;\n          bVar9 = *pbVar8 == *pbVar6;\n          pbVar8 = pbVar8 + 1;\n          pbVar6 = pbVar6 + 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 "bVar10 = *pbVar8 < *pbVar6;" (assignment_expression "bVar10 = *pbVar8 < *pbVar6" identifier = (binary_expression "*pbVar8 < *pbVar6" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar8 == *pbVar6;" (assignment_expression "bVar9 = *pbVar8 == *pbVar6" identifier = (binary_expression "*pbVar8 == *pbVar6" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if ((!bVar10 && !bVar9) != bVar10) {\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }" if (parenthesized_expression "((!bVar10 && !bVar9) != bVar10)" ( (binary_expression "(!bVar10 && !bVar9) != bVar10" (parenthesized_expression "(!bVar10 && !bVar9)" ( (binary_expression "!bVar10 && !bVar9" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) != identifier) )) (compound_statement "{\nLAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();\n        }" { (labeled_statement "LAB_00038d1b:\n                    /* WARNING: Subroutine does not return */\n          abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "bVar3 = style[2];" (assignment_expression "bVar3 = style[2]" identifier = (subscript_expression "style[2]" identifier [ number_literal ])) ;) (expression_statement "pbVar8 = (byte *)(style + 2);" (assignment_expression "pbVar8 = (byte *)(style + 2)" identifier = (cast_expression "(byte *)(style + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(style + 2)" ( (binary_expression "style + 2" identifier + number_literal) )))) ;) (do_statement "do {\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        } while (bVar3 != 0);" do (compound_statement "{\n          while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;\n          pbVar8 = pbVar8 + 1;\n          bVar3 = *pbVar8;\n        }" { (while_statement "while (((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))) {\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }" while (parenthesized_expression "(((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0)))" ( (parenthesized_expression "((puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0))" ( (binary_expression "(puVar1[(uint)bVar3 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0)" (binary_expression "(puVar1[(uint)bVar3 * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)bVar3 * 2 + 1] & 1)" ( (binary_expression "puVar1[(uint)bVar3 * 2 + 1] & 1" (subscript_expression "puVar1[(uint)bVar3 * 2 + 1]" identifier [ (binary_expression "(uint)bVar3 * 2 + 1" (binary_expression "(uint)bVar3 * 2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) ]) & number_literal) )) != number_literal) && (parenthesized_expression "((puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0)" ( (binary_expression "(puVar1[(uint)pbVar8[1] * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)pbVar8[1] * 2 + 1] & 1)" ( (binary_expression "puVar1[(uint)pbVar8[1] * 2 + 1] & 1" (subscript_expression "puVar1[(uint)pbVar8[1] * 2 + 1]" identifier [ (binary_expression "(uint)pbVar8[1] * 2 + 1" (binary_expression "(uint)pbVar8[1] * 2" (cast_expression "(uint)pbVar8[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[1]" identifier [ number_literal ])) * number_literal) + number_literal) ]) & number_literal) )) != number_literal) ))) )) )) (compound_statement "{\n            uVar2 = read_hex(bVar3);\n            pbVar6 = id_bits + iVar5;\n            iVar5 = iVar5 + 1;\n            *pbVar6 = uVar2 << 4;\n            bVar3 = read_hex(pbVar8[1]);\n            *pbVar6 = uVar2 << 4 | bVar3;\n            bVar3 = pbVar8[2];\n            pbVar8 = pbVar8 + 2;\n            if (bVar3 == 0) goto LAB_00038bf0;\n          }" { (expression_statement "uVar2 = read_hex(bVar3);" (assignment_expression "uVar2 = read_hex(bVar3)" identifier = (call_expression "read_hex(bVar3)" identifier (argument_list "(bVar3)" ( identifier )))) ;) (expression_statement "pbVar6 = id_bits + iVar5;" (assignment_expression "pbVar6 = id_bits + iVar5" identifier = (binary_expression "id_bits + iVar5" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar6 = uVar2 << 4;" (assignment_expression "*pbVar6 = uVar2 << 4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "uVar2 << 4" identifier << number_literal)) ;) (expression_statement "bVar3 = read_hex(pbVar8[1]);" (assignment_expression "bVar3 = read_hex(pbVar8[1])" identifier = (call_expression "read_hex(pbVar8[1])" identifier (argument_list "(pbVar8[1])" ( (subscript_expression "pbVar8[1]" identifier [ number_literal ]) )))) ;) (expression_statement "*pbVar6 = uVar2 << 4 | bVar3;" (assignment_expression "*pbVar6 = uVar2 << 4 | bVar3" (pointer_expression "*pbVar6" * identifier) = (binary_expression "uVar2 << 4 | bVar3" (binary_expression "uVar2 << 4" identifier << number_literal) | identifier)) ;) (expression_statement "bVar3 = pbVar8[2];" (assignment_expression "bVar3 = pbVar8[2]" identifier = (subscript_expression "pbVar8[2]" identifier [ number_literal ])) ;) (expression_statement "pbVar8 = pbVar8 + 2;" (assignment_expression "pbVar8 = pbVar8 + 2" identifier = (binary_expression "pbVar8 + 2" identifier + number_literal)) ;) (if_statement "if (bVar3 == 0) goto LAB_00038bf0;" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00038bf0;" goto statement_identifier ;)) })) (if_statement "if ((bVar3 != 0x2d) && (bVar3 != 0x3a)) goto LAB_00038d1b;" if (parenthesized_expression "((bVar3 != 0x2d) && (bVar3 != 0x3a))" ( (binary_expression "(bVar3 != 0x2d) && (bVar3 != 0x3a)" (parenthesized_expression "(bVar3 != 0x2d)" ( (binary_expression "bVar3 != 0x2d" identifier != number_literal) )) && (parenthesized_expression "(bVar3 != 0x3a)" ( (binary_expression "bVar3 != 0x3a" identifier != number_literal) ))) )) (goto_statement "goto LAB_00038d1b;" goto statement_identifier ;)) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = *pbVar8;" (assignment_expression "bVar3 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) }) while (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) ;) (labeled_statement "LAB_00038bf0:\n        uVar7 = 1;" statement_identifier : (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;)) }))) }))) }))) (return_statement "return uVar7;" return identifier ;) })))
(translation_unit "uint FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}\n\n" (function_definition "uint FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}" type_identifier (function_declarator "FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)" identifier (parameter_list "(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "void *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "size_t param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ssize_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "undefined1 local_bc [168];" type_identifier (array_declarator "local_bc [168]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar1 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar1 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x38ade;" (assignment_expression "uStack_14 = 0x38ade" identifier = number_literal) ;) (expression_statement "bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;" (assignment_expression "bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0xbc" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0xbc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar12 = &stack0x00000000 == (undefined1 *)0xcc;" (assignment_expression "bVar12 = &stack0x00000000 == (undefined1 *)0xcc" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0xcc" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0xcc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = &DAT_0007e2c4;" (assignment_expression "pbVar7 = &DAT_0007e2c4" identifier = (pointer_expression "&DAT_0007e2c4" & identifier)) ;) (do_statement "do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);" do (compound_statement "{\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar10 = *pbVar9 < *pbVar7;" (assignment_expression "bVar10 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar12 = *pbVar9 == *pbVar7;" (assignment_expression "bVar12 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar12)" ( identifier )) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "bVar10 = (!bVar10 && !bVar12) == bVar10;" (assignment_expression "bVar10 = (!bVar10 && !bVar12) == bVar10" identifier = (binary_expression "(!bVar10 && !bVar12) == bVar10" (parenthesized_expression "(!bVar10 && !bVar12)" ( (binary_expression "!bVar10 && !bVar12" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar12" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }" { (expression_statement "FUN_00068420(local_bc);" (call_expression "FUN_00068420(local_bc)" identifier (argument_list "(local_bc)" ( identifier ))) ;) (expression_statement "uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);" (assignment_expression "uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc)" identifier = (call_expression "(*param_3)(param_1,PTR_FUN_001cefac,local_bc)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_1,PTR_FUN_001cefac,local_bc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }" { (expression_statement "FUN_00068bf0(local_bc,param_4);" (call_expression "FUN_00068bf0(local_bc,param_4)" identifier (argument_list "(local_bc,param_4)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" else (compound_statement "{\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" { (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" identifier = number_literal) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = &DAT_0007e2c8;" (assignment_expression "pbVar7 = &DAT_0007e2c8" identifier = (pointer_expression "&DAT_0007e2c8" & identifier)) ;) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);" do (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar11 = *pbVar9 < *pbVar7;" (assignment_expression "bVar11 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) (expression_statement "bVar10 = (!bVar11 && !bVar10) == bVar11;" (assignment_expression "bVar10 = (!bVar11 && !bVar10) == bVar11" identifier = (binary_expression "(!bVar11 && !bVar10) == bVar11" (parenthesized_expression "(!bVar11 && !bVar10)" ( (binary_expression "!bVar11 && !bVar10" (unary_expression "!bVar11" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }" { (expression_statement "FUN_000690c0(local_bc);" (call_expression "FUN_000690c0(local_bc)" identifier (argument_list "(local_bc)" ( identifier ))) ;) (expression_statement "uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);" (assignment_expression "uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc)" identifier = (call_expression "(*param_3)(param_1,PTR_FUN_001cefe4,local_bc)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_1,PTR_FUN_001cefe4,local_bc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }" { (expression_statement "FUN_0006a280(local_bc,param_4);" (call_expression "FUN_0006a280(local_bc,param_4)" identifier (argument_list "(local_bc,param_4)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" else (compound_statement "{\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" { (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" identifier = number_literal) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = &DAT_0007e2cd;" (assignment_expression "pbVar7 = &DAT_0007e2cd" identifier = (pointer_expression "&DAT_0007e2cd" & identifier)) ;) (do_statement "do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar9 < *pbVar7;" (assignment_expression "bVar12 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "bVar10 = (!bVar12 && !bVar10) == bVar12;" (assignment_expression "bVar10 = (!bVar12 && !bVar10) == bVar12" identifier = (binary_expression "(!bVar12 && !bVar10) == bVar12" (parenthesized_expression "(!bVar12 && !bVar10)" ( (binary_expression "!bVar12 && !bVar10" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }" { (expression_statement "iVar6 = open64("/dev/urandom",0);" (assignment_expression "iVar6 = open64("/dev/urandom",0)" identifier = (call_expression "open64("/dev/urandom",0)" identifier (argument_list "("/dev/urandom",0)" ( (string_literal ""/dev/urandom"" " string_content ") , number_literal )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }" { (expression_statement "sVar5 = read(iVar6,param_4,param_5);" (assignment_expression "sVar5 = read(iVar6,param_4,param_5)" identifier = (call_expression "read(iVar6,param_4,param_5)" identifier (argument_list "(iVar6,param_4,param_5)" ( identifier , identifier , identifier )))) ;) (expression_statement "close(iVar6);" (call_expression "close(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar8 = (uint)((int)param_5 <= sVar5);" (assignment_expression "uVar8 = (uint)((int)param_5 <= sVar5)" identifier = (call_expression "(uint)((int)param_5 <= sVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_5 <= sVar5)" ( (binary_expression "(int)param_5 <= sVar5" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )))) ;) })) }) (else_clause "else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" else (compound_statement "{\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" { (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)0x7af06;" (assignment_expression "pbVar7 = (byte *)0x7af06" identifier = (cast_expression "(byte *)0x7af06" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);" do (compound_statement "{\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar11 = *pbVar9 < *pbVar7;" (assignment_expression "bVar11 = *pbVar9 < *pbVar7" identifier = (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" identifier = (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (if_statement "if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }" if (parenthesized_expression "((!bVar11 && !bVar10) != bVar11)" ( (binary_expression "(!bVar11 && !bVar10) != bVar11" (parenthesized_expression "(!bVar11 && !bVar10)" ( (binary_expression "!bVar11 && !bVar10" (unary_expression "!bVar11" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) != identifier) )) (compound_statement "{\nLAB_00038d1b:\n                    \n          abort();\n        }" { (labeled_statement "LAB_00038d1b:\n                    \n          abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "pbVar9 = param_2 + 2;" (assignment_expression "pbVar9 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = param_2[2];" (assignment_expression "bVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (do_statement "do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);" do (compound_statement "{\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        }" { (while_statement "while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }" while (parenthesized_expression "(((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)))" ( (parenthesized_expression "((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))" ( (binary_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)" (binary_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1)" ( (binary_expression "puVar1[(uint)bVar2 * 2 + 1] & 1" (subscript_expression "puVar1[(uint)bVar2 * 2 + 1]" identifier [ (binary_expression "(uint)bVar2 * 2 + 1" (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) ]) & number_literal) )) != number_literal) && (parenthesized_expression "((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)" ( (binary_expression "(puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)pbVar9[1] * 2 + 1] & 1)" ( (binary_expression "puVar1[(uint)pbVar9[1] * 2 + 1] & 1" (subscript_expression "puVar1[(uint)pbVar9[1] * 2 + 1]" identifier [ (binary_expression "(uint)pbVar9[1] * 2 + 1" (binary_expression "(uint)pbVar9[1] * 2" (cast_expression "(uint)pbVar9[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar9[1]" identifier [ number_literal ])) * number_literal) + number_literal) ]) & number_literal) )) != number_literal) ))) )) )) (compound_statement "{\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }" { (expression_statement "iVar4 = FUN_00038900();" (assignment_expression "iVar4 = FUN_00038900()" identifier = (call_expression "FUN_00038900()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar7 = (byte *)((int)param_4 + iVar6);" (assignment_expression "pbVar7 = (byte *)((int)param_4 + iVar6)" identifier = (cast_expression "(byte *)((int)param_4 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_4 + iVar6)" ( (binary_expression "(int)param_4 + iVar6" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "bVar2 = (byte)(iVar4 << 4);" (assignment_expression "bVar2 = (byte)(iVar4 << 4)" identifier = (call_expression "(byte)(iVar4 << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar4 << 4)" ( (binary_expression "iVar4 << 4" identifier << number_literal) )))) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar7 = bVar2;" (assignment_expression "*pbVar7 = bVar2" (pointer_expression "*pbVar7" * identifier) = identifier) ;) (expression_statement "pbVar9 = pbVar9 + 2;" (assignment_expression "pbVar9 = pbVar9 + 2" identifier = (binary_expression "pbVar9 + 2" identifier + number_literal)) ;) (expression_statement "bVar3 = FUN_00038900();" (assignment_expression "bVar3 = FUN_00038900()" identifier = (call_expression "FUN_00038900()" identifier (argument_list "()" ( )))) ;) (expression_statement "*pbVar7 = bVar2 | bVar3;" (assignment_expression "*pbVar7 = bVar2 | bVar3" (pointer_expression "*pbVar7" * identifier) = (binary_expression "bVar2 | bVar3" identifier | identifier)) ;) (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (if_statement "if (bVar2 == 0) goto LAB_00038bf0;" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00038bf0;" goto statement_identifier ;)) })) (if_statement "if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;" if (parenthesized_expression "((bVar2 != 0x2d) && (bVar2 != 0x3a))" ( (binary_expression "(bVar2 != 0x2d) && (bVar2 != 0x3a)" (parenthesized_expression "(bVar2 != 0x2d)" ( (binary_expression "bVar2 != 0x2d" identifier != number_literal) )) && (parenthesized_expression "(bVar2 != 0x3a)" ( (binary_expression "bVar2 != 0x3a" identifier != number_literal) ))) )) (goto_statement "goto LAB_00038d1b;" goto statement_identifier ;)) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) }) while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) ;) (labeled_statement "LAB_00038bf0:\n        uVar8 = 1;" statement_identifier : (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;)) }))) }))) }))) (return_statement "return uVar8;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (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 IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (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 IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 = (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= 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 *)) ) LIT)) ;) (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 IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + LIT) ]) & LIT) )) != LIT) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + LIT) ]) & LIT) )) != LIT) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) }))) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}" (type_identifier "uint") (function_declarator "FUN_00038ad0(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)" (identifier "FUN_00038ad0") (parameter_list "(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "code *param_3" (type_identifier "code") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "void *param_4" (primitive_type "void") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "size_t param_5" (primitive_type "size_t") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  byte bVar3;\n  int iVar4;\n  ssize_t sVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 local_bc [168];\n  undefined4 uStack_14;\n  \n  puVar1 = PTR__sch_istable_001cefa0;\n  iVar6 = 4;\n  uStack_14 = 0x38ade;\n  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;\n  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;\n  pbVar9 = param_2;\n  pbVar7 = &DAT_0007e2c4;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);\n  bVar11 = false;\n  bVar10 = (!bVar10 && !bVar12) == bVar10;\n  if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }\n  return uVar8;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "ssize_t sVar5;" (primitive_type "ssize_t") (identifier "sVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "bool bVar11;" (primitive_type "bool") (identifier "bVar11") (; ";")) (declaration "bool bVar12;" (primitive_type "bool") (identifier "bVar12") (; ";")) (declaration "undefined1 local_bc [168];" (type_identifier "undefined1") (array_declarator "local_bc [168]" (identifier "local_bc") ([ "[") (number_literal "168") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "puVar1 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar1 = PTR__sch_istable_001cefa0" (identifier "puVar1") (= "=") (identifier "PTR__sch_istable_001cefa0")) (; ";")) (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" (identifier "iVar6") (= "=") (number_literal "4")) (; ";")) (expression_statement "uStack_14 = 0x38ade;" (assignment_expression "uStack_14 = 0x38ade" (identifier "uStack_14") (= "=") (number_literal "0x38ade")) (; ";")) (expression_statement "bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;" (assignment_expression "bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc" (identifier "bVar10") (= "=") (binary_expression "&stack0xfffffff0 < (undefined1 *)0xbc" (pointer_expression "&stack0xfffffff0" (& "&") (identifier "stack0xfffffff0")) (< "<") (cast_expression "(undefined1 *)0xbc" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xbc")))) (; ";")) (expression_statement "bVar12 = &stack0x00000000 == (undefined1 *)0xcc;" (assignment_expression "bVar12 = &stack0x00000000 == (undefined1 *)0xcc" (identifier "bVar12") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0xcc" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0xcc" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xcc")))) (; ";")) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" (identifier "pbVar9") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar7 = &DAT_0007e2c4;" (assignment_expression "pbVar7 = &DAT_0007e2c4" (identifier "pbVar7") (= "=") (pointer_expression "&DAT_0007e2c4" (& "&") (identifier "DAT_0007e2c4"))) (; ";")) (do_statement "do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while (bVar12);" (do "do") (compound_statement "{\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar10 = *pbVar9 < *pbVar7;\n    bVar12 = *pbVar9 == *pbVar7;\n    pbVar9 = pbVar9 + 1;\n    pbVar7 = pbVar7 + 1;\n  }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar10 = *pbVar9 < *pbVar7;" (assignment_expression "bVar10 = *pbVar9 < *pbVar7" (identifier "bVar10") (= "=") (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "bVar12 = *pbVar9 == *pbVar7;" (assignment_expression "bVar12 = *pbVar9 == *pbVar7" (identifier "bVar12") (= "=") (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar12)" (( "(") (identifier "bVar12") () ")")) (; ";")) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" (identifier "bVar11") (= "=") (false "false")) (; ";")) (expression_statement "bVar10 = (!bVar10 && !bVar12) == bVar10;" (assignment_expression "bVar10 = (!bVar10 && !bVar12) == bVar10" (identifier "bVar10") (= "=") (binary_expression "(!bVar10 && !bVar12) == bVar10" (parenthesized_expression "(!bVar10 && !bVar12)" (( "(") (binary_expression "!bVar10 && !bVar12" (unary_expression "!bVar10" (! "!") (identifier "bVar10")) (&& "&&") (unary_expression "!bVar12" (! "!") (identifier "bVar12"))) () ")")) (== "==") (identifier "bVar10"))) (; ";")) (if_statement "if (bVar10) {\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }\n  else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (compound_statement "{\n    FUN_00068420(local_bc);\n    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);\n    if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }\n  }" ({ "{") (expression_statement "FUN_00068420(local_bc);" (call_expression "FUN_00068420(local_bc)" (identifier "FUN_00068420") (argument_list "(local_bc)" (( "(") (identifier "local_bc") () ")"))) (; ";")) (expression_statement "uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);" (assignment_expression "uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc)" (identifier "uVar8") (= "=") (call_expression "(*param_3)(param_1,PTR_FUN_001cefac,local_bc)" (parenthesized_expression "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")) (argument_list "(param_1,PTR_FUN_001cefac,local_bc)" (( "(") (identifier "param_1") (, ",") (identifier "PTR_FUN_001cefac") (, ",") (identifier "local_bc") () ")")))) (; ";")) (if_statement "if (uVar8 != 0) {\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00068bf0(local_bc,param_4);\n      return 1;\n    }" ({ "{") (expression_statement "FUN_00068bf0(local_bc,param_4);" (call_expression "FUN_00068bf0(local_bc,param_4)" (identifier "FUN_00068bf0") (argument_list "(local_bc,param_4)" (( "(") (identifier "local_bc") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar6 = 5;\n    pbVar9 = param_2;\n    pbVar7 = &DAT_0007e2c8;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    bVar12 = false;\n    bVar10 = (!bVar11 && !bVar10) == bVar11;\n    if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" (identifier "iVar6") (= "=") (number_literal "5")) (; ";")) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" (identifier "pbVar9") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar7 = &DAT_0007e2c8;" (assignment_expression "pbVar7 = &DAT_0007e2c8" (identifier "pbVar7") (= "=") (pointer_expression "&DAT_0007e2c8" (& "&") (identifier "DAT_0007e2c8"))) (; ";")) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);" (do "do") (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar11 = *pbVar9 < *pbVar7;\n      bVar10 = *pbVar9 == *pbVar7;\n      pbVar9 = pbVar9 + 1;\n      pbVar7 = pbVar7 + 1;\n    }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar11 = *pbVar9 < *pbVar7;" (assignment_expression "bVar11 = *pbVar9 < *pbVar7" (identifier "bVar11") (= "=") (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" (identifier "bVar10") (= "=") (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (; ";")) (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" (identifier "bVar12") (= "=") (false "false")) (; ";")) (expression_statement "bVar10 = (!bVar11 && !bVar10) == bVar11;" (assignment_expression "bVar10 = (!bVar11 && !bVar10) == bVar11" (identifier "bVar10") (= "=") (binary_expression "(!bVar11 && !bVar10) == bVar11" (parenthesized_expression "(!bVar11 && !bVar10)" (( "(") (binary_expression "!bVar11 && !bVar10" (unary_expression "!bVar11" (! "!") (identifier "bVar11")) (&& "&&") (unary_expression "!bVar10" (! "!") (identifier "bVar10"))) () ")")) (== "==") (identifier "bVar11"))) (; ";")) (if_statement "if (bVar10) {\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }\n    else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" (if "if") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (compound_statement "{\n      FUN_000690c0(local_bc);\n      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);\n      if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }\n    }" ({ "{") (expression_statement "FUN_000690c0(local_bc);" (call_expression "FUN_000690c0(local_bc)" (identifier "FUN_000690c0") (argument_list "(local_bc)" (( "(") (identifier "local_bc") () ")"))) (; ";")) (expression_statement "uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);" (assignment_expression "uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc)" (identifier "uVar8") (= "=") (call_expression "(*param_3)(param_1,PTR_FUN_001cefe4,local_bc)" (parenthesized_expression "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")) (argument_list "(param_1,PTR_FUN_001cefe4,local_bc)" (( "(") (identifier "param_1") (, ",") (identifier "PTR_FUN_001cefe4") (, ",") (identifier "local_bc") () ")")))) (; ";")) (if_statement "if (uVar8 != 0) {\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0006a280(local_bc,param_4);\n        return 1;\n      }" ({ "{") (expression_statement "FUN_0006a280(local_bc,param_4);" (call_expression "FUN_0006a280(local_bc,param_4)" (identifier "FUN_0006a280") (argument_list "(local_bc,param_4)" (( "(") (identifier "local_bc") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" (else "else") (compound_statement "{\n      iVar6 = 5;\n      pbVar9 = param_2;\n      pbVar7 = &DAT_0007e2cd;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);\n      bVar11 = false;\n      bVar10 = (!bVar12 && !bVar10) == bVar12;\n      if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }\n    }" ({ "{") (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" (identifier "iVar6") (= "=") (number_literal "5")) (; ";")) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" (identifier "pbVar9") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar7 = &DAT_0007e2cd;" (assignment_expression "pbVar7 = &DAT_0007e2cd" (identifier "pbVar7") (= "=") (pointer_expression "&DAT_0007e2cd" (& "&") (identifier "DAT_0007e2cd"))) (; ";")) (do_statement "do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      } while (bVar10);" (do "do") (compound_statement "{\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar12 = *pbVar9 < *pbVar7;\n        bVar10 = *pbVar9 == *pbVar7;\n        pbVar9 = pbVar9 + 1;\n        pbVar7 = pbVar7 + 1;\n      }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar12 = *pbVar9 < *pbVar7;" (assignment_expression "bVar12 = *pbVar9 < *pbVar7" (identifier "bVar12") (= "=") (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" (identifier "bVar10") (= "=") (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (; ";")) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" (identifier "bVar11") (= "=") (false "false")) (; ";")) (expression_statement "bVar10 = (!bVar12 && !bVar10) == bVar12;" (assignment_expression "bVar10 = (!bVar12 && !bVar10) == bVar12" (identifier "bVar10") (= "=") (binary_expression "(!bVar12 && !bVar10) == bVar12" (parenthesized_expression "(!bVar12 && !bVar10)" (( "(") (binary_expression "!bVar12 && !bVar10" (unary_expression "!bVar12" (! "!") (identifier "bVar12")) (&& "&&") (unary_expression "!bVar10" (! "!") (identifier "bVar10"))) () ")")) (== "==") (identifier "bVar12"))) (; ";")) (if_statement "if (bVar10) {\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }\n      else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" (if "if") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (compound_statement "{\n        iVar6 = open64("/dev/urandom",0);\n        uVar8 = 0;\n        if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }\n      }" ({ "{") (expression_statement "iVar6 = open64("/dev/urandom",0);" (assignment_expression "iVar6 = open64("/dev/urandom",0)" (identifier "iVar6") (= "=") (call_expression "open64("/dev/urandom",0)" (identifier "open64") (argument_list "("/dev/urandom",0)" (( "(") (string_literal ""/dev/urandom"" (" """) (string_content "/dev/urandom") (" """)) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if (-1 < iVar6) {\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }" (if "if") (parenthesized_expression "(-1 < iVar6)" (( "(") (binary_expression "-1 < iVar6" (number_literal "-1") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n          sVar5 = read(iVar6,param_4,param_5);\n          close(iVar6);\n          uVar8 = (uint)((int)param_5 <= sVar5);\n        }" ({ "{") (expression_statement "sVar5 = read(iVar6,param_4,param_5);" (assignment_expression "sVar5 = read(iVar6,param_4,param_5)" (identifier "sVar5") (= "=") (call_expression "read(iVar6,param_4,param_5)" (identifier "read") (argument_list "(iVar6,param_4,param_5)" (( "(") (identifier "iVar6") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "close(iVar6);" (call_expression "close(iVar6)" (identifier "close") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "uVar8 = (uint)((int)param_5 <= sVar5);" (assignment_expression "uVar8 = (uint)((int)param_5 <= sVar5)" (identifier "uVar8") (= "=") (call_expression "(uint)((int)param_5 <= sVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)param_5 <= sVar5)" (( "(") (binary_expression "(int)param_5 <= sVar5" (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (<= "<=") (identifier "sVar5")) () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" (else "else") (compound_statement "{\n        iVar6 = 2;\n        pbVar9 = param_2;\n        pbVar7 = (byte *)0x7af06;\n        do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);\n        if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }\n        pbVar9 = param_2 + 2;\n        iVar6 = 0;\n        bVar2 = param_2[2];\n        do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);\nLAB_00038bf0:\n        uVar8 = 1;\n      }" ({ "{") (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" (identifier "iVar6") (= "=") (number_literal "2")) (; ";")) (expression_statement "pbVar9 = param_2;" (assignment_expression "pbVar9 = param_2" (identifier "pbVar9") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar7 = (byte *)0x7af06;" (assignment_expression "pbVar7 = (byte *)0x7af06" (identifier "pbVar7") (= "=") (cast_expression "(byte *)0x7af06" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7af06"))) (; ";")) (do_statement "do {\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        } while (bVar10);" (do "do") (compound_statement "{\n          if (iVar6 == 0) break;\n          iVar6 = iVar6 + -1;\n          bVar11 = *pbVar9 < *pbVar7;\n          bVar10 = *pbVar9 == *pbVar7;\n          pbVar9 = pbVar9 + 1;\n          pbVar7 = pbVar7 + 1;\n        }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar11 = *pbVar9 < *pbVar7;" (assignment_expression "bVar11 = *pbVar9 < *pbVar7" (identifier "bVar11") (= "=") (binary_expression "*pbVar9 < *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "bVar10 = *pbVar9 == *pbVar7;" (assignment_expression "bVar10 = *pbVar9 == *pbVar7" (identifier "bVar10") (= "=") (binary_expression "*pbVar9 == *pbVar7" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (; ";")) (if_statement "if ((!bVar11 && !bVar10) != bVar11) {\nLAB_00038d1b:\n                    \n          abort();\n        }" (if "if") (parenthesized_expression "((!bVar11 && !bVar10) != bVar11)" (( "(") (binary_expression "(!bVar11 && !bVar10) != bVar11" (parenthesized_expression "(!bVar11 && !bVar10)" (( "(") (binary_expression "!bVar11 && !bVar10" (unary_expression "!bVar11" (! "!") (identifier "bVar11")) (&& "&&") (unary_expression "!bVar10" (! "!") (identifier "bVar10"))) () ")")) (!= "!=") (identifier "bVar11")) () ")")) (compound_statement "{\nLAB_00038d1b:\n                    \n          abort();\n        }" ({ "{") (labeled_statement "LAB_00038d1b:\n                    \n          abort();" (statement_identifier "LAB_00038d1b") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))) (expression_statement "pbVar9 = param_2 + 2;" (assignment_expression "pbVar9 = param_2 + 2" (identifier "pbVar9") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar2 = param_2[2];" (assignment_expression "bVar2 = param_2[2]" (identifier "bVar2") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (do_statement "do {\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        } while (bVar2 != 0);" (do "do") (compound_statement "{\n          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }\n          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;\n          pbVar9 = pbVar9 + 1;\n          bVar2 = *pbVar9;\n        }" ({ "{") (while_statement "while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }" (while "while") (parenthesized_expression "(((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)))" (( "(") (parenthesized_expression "((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))" (( "(") (binary_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&\n                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)" (binary_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)bVar2 * 2 + 1] & 1)" (( "(") (binary_expression "puVar1[(uint)bVar2 * 2 + 1] & 1" (subscript_expression "puVar1[(uint)bVar2 * 2 + 1]" (identifier "puVar1") ([ "[") (binary_expression "(uint)bVar2 * 2 + 1" (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0)" (( "(") (binary_expression "(puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0" (parenthesized_expression "(puVar1[(uint)pbVar9[1] * 2 + 1] & 1)" (( "(") (binary_expression "puVar1[(uint)pbVar9[1] * 2 + 1] & 1" (subscript_expression "puVar1[(uint)pbVar9[1] * 2 + 1]" (identifier "puVar1") ([ "[") (binary_expression "(uint)pbVar9[1] * 2 + 1" (binary_expression "(uint)pbVar9[1] * 2" (cast_expression "(uint)pbVar9[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar9[1]" (identifier "pbVar9") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")")) (compound_statement "{\n            iVar4 = FUN_00038900();\n            pbVar7 = (byte *)((int)param_4 + iVar6);\n            bVar2 = (byte)(iVar4 << 4);\n            iVar6 = iVar6 + 1;\n            *pbVar7 = bVar2;\n            pbVar9 = pbVar9 + 2;\n            bVar3 = FUN_00038900();\n            *pbVar7 = bVar2 | bVar3;\n            bVar2 = *pbVar9;\n            if (bVar2 == 0) goto LAB_00038bf0;\n          }" ({ "{") (expression_statement "iVar4 = FUN_00038900();" (assignment_expression "iVar4 = FUN_00038900()" (identifier "iVar4") (= "=") (call_expression "FUN_00038900()" (identifier "FUN_00038900") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pbVar7 = (byte *)((int)param_4 + iVar6);" (assignment_expression "pbVar7 = (byte *)((int)param_4 + iVar6)" (identifier "pbVar7") (= "=") (cast_expression "(byte *)((int)param_4 + iVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_4 + iVar6)" (( "(") (binary_expression "(int)param_4 + iVar6" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "bVar2 = (byte)(iVar4 << 4);" (assignment_expression "bVar2 = (byte)(iVar4 << 4)" (identifier "bVar2") (= "=") (call_expression "(byte)(iVar4 << 4)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(iVar4 << 4)" (( "(") (binary_expression "iVar4 << 4" (identifier "iVar4") (<< "<<") (number_literal "4")) () ")")))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar7 = bVar2;" (assignment_expression "*pbVar7 = bVar2" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (= "=") (identifier "bVar2")) (; ";")) (expression_statement "pbVar9 = pbVar9 + 2;" (assignment_expression "pbVar9 = pbVar9 + 2" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 2" (identifier "pbVar9") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "bVar3 = FUN_00038900();" (assignment_expression "bVar3 = FUN_00038900()" (identifier "bVar3") (= "=") (call_expression "FUN_00038900()" (identifier "FUN_00038900") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*pbVar7 = bVar2 | bVar3;" (assignment_expression "*pbVar7 = bVar2 | bVar3" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (= "=") (binary_expression "bVar2 | bVar3" (identifier "bVar2") (| "|") (identifier "bVar3"))) (; ";")) (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" (identifier "bVar2") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (if_statement "if (bVar2 == 0) goto LAB_00038bf0;" (if "if") (parenthesized_expression "(bVar2 == 0)" (( "(") (binary_expression "bVar2 == 0" (identifier "bVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00038bf0;" (goto "goto") (statement_identifier "LAB_00038bf0") (; ";"))) (} "}"))) (if_statement "if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;" (if "if") (parenthesized_expression "((bVar2 != 0x2d) && (bVar2 != 0x3a))" (( "(") (binary_expression "(bVar2 != 0x2d) && (bVar2 != 0x3a)" (parenthesized_expression "(bVar2 != 0x2d)" (( "(") (binary_expression "bVar2 != 0x2d" (identifier "bVar2") (!= "!=") (number_literal "0x2d")) () ")")) (&& "&&") (parenthesized_expression "(bVar2 != 0x3a)" (( "(") (binary_expression "bVar2 != 0x3a" (identifier "bVar2") (!= "!=") (number_literal "0x3a")) () ")"))) () ")")) (goto_statement "goto LAB_00038d1b;" (goto "goto") (statement_identifier "LAB_00038d1b") (; ";"))) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar2 = *pbVar9;" (assignment_expression "bVar2 = *pbVar9" (identifier "bVar2") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar2 != 0)" (( "(") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_00038bf0:\n        uVar8 = 1;" (statement_identifier "LAB_00038bf0") (: ":") (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" (identifier "uVar8") (= "=") (number_literal "1")) (; ";"))) (} "}")))) (} "}")))) (} "}")))) (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}")))

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

type_1
function_1(type_2 *abfd,char *var_18,type_3 checksum_contents,type_4 *var_20,int var_15)

{
  type_5 *puVar1;
  type_4 var_21;
  type_6 var_22;
  ssize_t var_16;
  int var_1;
  type_6 *var_3;
  type_7 var_6;
  type_6 *var_2;
  bool var_4;
  bool var_8;
  bool var_11;
  type_8 ctx;
  
  puVar1 = PTR__sch_istable_001cefa0;
  var_1 = 4;
  var_4 = &stack0xfffffff0 < (type_9 *)0xbc;
  var_11 = &stack0x00000000 == (type_9 *)0xcc;
  var_2 = (type_6 *)var_18;
  var_3 = &DAT_0007e2c4;
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_4 = *var_2 < *var_3;
    var_11 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (var_11);
  var_8 = false;
  var_4 = (!var_4 && !var_11) == var_4;
  if (var_4) {
    var_5(&ctx);
    var_6 = (*checksum_contents)
                      (abfd,(type_10 *)PTR_md5_process_bytes_001cefac,
                       &ctx);
    if (var_6 != 0) {
      var_7(&ctx,var_20);
      return 1;
    }
  }
  else {
    var_1 = 5;
    var_2 = (type_6 *)var_18;
    var_3 = &DAT_0007e2c8;
    do {
      if (var_1 == 0) break;
      var_1 = var_1 + -1;
      var_8 = *var_2 < *var_3;
      var_4 = *var_2 == *var_3;
      var_2 = var_2 + 1;
      var_3 = var_3 + 1;
    } while (var_4);
    var_11 = false;
    var_4 = (!var_8 && !var_4) == var_8;
    if (var_4) {
      var_9((type_11 *)&ctx);
      var_6 = (*checksum_contents)
                        (abfd,(type_10 *)PTR_sha1_process_bytes_001cefe4
                         ,(type_11 *)&ctx);
      if (var_6 != 0) {
        var_10((type_11 *)&ctx,var_20);
        return 1;
      }
    }
    else {
      var_1 = 5;
      var_2 = (type_6 *)var_18;
      var_3 = &DAT_0007e2cd;
      do {
        if (var_1 == 0) break;
        var_1 = var_1 + -1;
        var_11 = *var_2 < *var_3;
        var_4 = *var_2 == *var_3;
        var_2 = var_2 + 1;
        var_3 = var_3 + 1;
      } while (var_4);
      var_8 = false;
      var_4 = (!var_11 && !var_4) == var_11;
      if (var_4) {
        var_1 = var_12("/dev/urandom",0);
        var_6 = 0;
        if (-1 < var_1) {
          var_16 = var_13(var_1,var_20,var_15);
          var_14(var_1);
          var_6 = (type_7)(var_15 <= var_16);
        }
      }
      else {
        var_1 = 2;
        var_2 = (type_6 *)var_18;
        var_3 = (type_6 *)0x7af06;
        do {
          if (var_1 == 0) break;
          var_1 = var_1 + -1;
          var_8 = *var_2 < *var_3;
          var_4 = *var_2 == *var_3;
          var_2 = var_2 + 1;
          var_3 = var_3 + 1;
        } while (var_4);
        if ((!var_8 && !var_4) != var_8) {
LAB_00038d1b:
                    /* WARNING: Subroutine does not return */
          var_17();
        }
        var_1 = 0;
        var_22 = var_18[2];
        var_2 = (type_6 *)(var_18 + 2);
        do {
          while (((puVar1[(type_7)var_22 * 2 + 1] & 1) != 0 &&
                 ((puVar1[(type_7)var_2[1] * 2 + 1] & 1) != 0))) {
            var_21 = var_19(var_22);
            var_3 = var_20 + var_1;
            var_1 = var_1 + 1;
            *var_3 = var_21 << 4;
            var_22 = var_19(var_2[1]);
            *var_3 = var_21 << 4 | var_22;
            var_22 = var_2[2];
            var_2 = var_2 + 2;
            if (var_22 == 0) goto LAB_00038bf0;
          }
          if ((var_22 != 0x2d) && (var_22 != 0x3a)) goto LAB_00038d1b;
          var_2 = var_2 + 1;
          var_22 = *var_2;
        } while (var_22 != 0);
LAB_00038bf0:
        var_6 = 1;
      }
    }
  }
  return var_6;
}


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

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

uint MASKED(undefined4 param_1,byte *param_2,code *param_3,void *param_4,size_t param_5)

{
  undefined *puVar1;
  byte bVar2;
  byte bVar3;
  int iVar4;
  ssize_t sVar5;
  int iVar6;
  byte *pbVar7;
  uint uVar8;
  byte *pbVar9;
  bool bVar10;
  bool bVar11;
  bool bVar12;
  undefined1 local_bc [168];
  undefined4 uStack_14;
  
  puVar1 = PTR__sch_istable_001cefa0;
  iVar6 = 4;
  uStack_14 = 0x38ade;
  bVar10 = &stack0xfffffff0 < (undefined1 *)0xbc;
  bVar12 = &stack0x00000000 == (undefined1 *)0xcc;
  pbVar9 = param_2;
  pbVar7 = &DAT_0007e2c4;
  do {
    if (iVar6 == 0) break;
    iVar6 = iVar6 + -1;
    bVar10 = *pbVar9 < *pbVar7;
    bVar12 = *pbVar9 == *pbVar7;
    pbVar9 = pbVar9 + 1;
    pbVar7 = pbVar7 + 1;
  } while (bVar12);
  bVar11 = false;
  bVar10 = (!bVar10 && !bVar12) == bVar10;
  if (bVar10) {
    FUN_00068420(local_bc);
    uVar8 = (*param_3)(param_1,PTR_FUN_001cefac,local_bc);
    if (uVar8 != 0) {
      FUN_00068bf0(local_bc,param_4);
      return 1;
    }
  }
  else {
    iVar6 = 5;
    pbVar9 = param_2;
    pbVar7 = &DAT_0007e2c8;
    do {
      if (iVar6 == 0) break;
      iVar6 = iVar6 + -1;
      bVar11 = *pbVar9 < *pbVar7;
      bVar10 = *pbVar9 == *pbVar7;
      pbVar9 = pbVar9 + 1;
      pbVar7 = pbVar7 + 1;
    } while (bVar10);
    bVar12 = false;
    bVar10 = (!bVar11 && !bVar10) == bVar11;
    if (bVar10) {
      FUN_000690c0(local_bc);
      uVar8 = (*param_3)(param_1,PTR_FUN_001cefe4,local_bc);
      if (uVar8 != 0) {
        FUN_0006a280(local_bc,param_4);
        return 1;
      }
    }
    else {
      iVar6 = 5;
      pbVar9 = param_2;
      pbVar7 = &DAT_0007e2cd;
      do {
        if (iVar6 == 0) break;
        iVar6 = iVar6 + -1;
        bVar12 = *pbVar9 < *pbVar7;
        bVar10 = *pbVar9 == *pbVar7;
        pbVar9 = pbVar9 + 1;
        pbVar7 = pbVar7 + 1;
      } while (bVar10);
      bVar11 = false;
      bVar10 = (!bVar12 && !bVar10) == bVar12;
      if (bVar10) {
        iVar6 = open64("/dev/urandom",0);
        uVar8 = 0;
        if (-1 < iVar6) {
          sVar5 = read(iVar6,param_4,param_5);
          close(iVar6);
          uVar8 = (uint)((int)param_5 <= sVar5);
        }
      }
      else {
        iVar6 = 2;
        pbVar9 = param_2;
        pbVar7 = (byte *)0x7af06;
        do {
          if (iVar6 == 0) break;
          iVar6 = iVar6 + -1;
          bVar11 = *pbVar9 < *pbVar7;
          bVar10 = *pbVar9 == *pbVar7;
          pbVar9 = pbVar9 + 1;
          pbVar7 = pbVar7 + 1;
        } while (bVar10);
        if ((!bVar11 && !bVar10) != bVar11) {
LAB_00038d1b:
                    /* WARNING: Subroutine does not return */
          abort();
        }
        pbVar9 = param_2 + 2;
        iVar6 = 0;
        bVar2 = param_2[2];
        do {
          while (((puVar1[(uint)bVar2 * 2 + 1] & 1) != 0 &&
                 ((puVar1[(uint)pbVar9[1] * 2 + 1] & 1) != 0))) {
            iVar4 = FUN_00038900();
            pbVar7 = (byte *)((int)param_4 + iVar6);
            bVar2 = (byte)(iVar4 << 4);
            iVar6 = iVar6 + 1;
            *pbVar7 = bVar2;
            pbVar9 = pbVar9 + 2;
            bVar3 = FUN_00038900();
            *pbVar7 = bVar2 | bVar3;
            bVar2 = *pbVar9;
            if (bVar2 == 0) goto LAB_00038bf0;
          }
          if ((bVar2 != 0x2d) && (bVar2 != 0x3a)) goto LAB_00038d1b;
          pbVar9 = pbVar9 + 1;
          bVar2 = *pbVar9;
        } while (bVar2 != 0);
LAB_00038bf0:
        uVar8 = 1;
      }
    }
  }
  return uVar8;
}

