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

void random_add_heavynoise(void *noise,int length)

{
  uchar *puVar1;
  RandPool *pRVar2;
  uint uVar3;
  uint *puVar4;
  int iVar5;
  byte *pbVar6;
  uint *puVar7;
  RandPool *local_28;
  int local_24;
  
  local_24 = pool.stir_pending;
  if (0x4af < length) {
    do {
      while( true ) {
        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||
           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {
          iVar5 = 0;
          do {
            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);
            iVar5 = iVar5 + 1;
          } while (iVar5 != 0x4b0);
        }
        else {
          do {
            puVar1 = pRVar2->pool;
            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;
            pRVar2 = (RandPool *)(puVar1 + 4);
            puVar4 = puVar4 + 1;
          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);
        }
        noise = (void *)((int)noise + 0x4b0);
        if (local_24 != 0) break;
        random_stir();
        local_24 = pool.stir_pending;
        length = length - 0x4b0;
        if (length < 0x4b0) goto LAB_0003bba8;
      }
      length = length - 0x4b0;
    } while (0x4af < length);
  }
LAB_0003bba8:
  if (0 < length) {
    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&
       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {
      puVar4 = (uint *)noise;
      do {
        uVar3 = *puVar4;
        puVar4 = puVar4 + 1;
        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;
        pRVar2 = (RandPool *)(pRVar2->pool + 4);
      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));
      uVar3 = length & 0xfffffffc;
      pbVar6 = (byte *)((int)noise + uVar3);
      if (((length != uVar3) &&
          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&
         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {
        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];
      }
    }
    else {
      local_28 = &pool;
      puVar4 = (uint *)noise;
      do {
        puVar7 = (uint *)((int)puVar4 + 1);
        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;
        local_28 = (RandPool *)(local_28->pool + 1);
        puVar4 = puVar7;
      } while (puVar7 != (uint *)(length + (int)noise));
    }
  }
  if (local_24 == 0) {
    random_stir();
    return;
  }
  return;
}



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

void FUN_0003baf0(uint *param_1,uint param_2)

{
  byte *pbVar1;
  uint *puVar2;
  uint *puVar3;
  uint uVar4;
  int iVar5;
  byte *pbVar6;
  uint *puVar7;
  byte *local_28;
  int local_24;
  
  local_24 = DAT_000706ec;
  if (0x4af < (int)param_2) {
    do {
      while( true ) {
        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||
           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {
          iVar5 = 0;
          do {
            *(byte *)((int)&DAT_000701e0 + iVar5) =
                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);
            iVar5 = iVar5 + 1;
          } while (iVar5 != 0x4b0);
        }
        else {
          do {
            puVar2 = puVar3 + 1;
            *puVar3 = *puVar3 ^ *puVar7;
            puVar3 = puVar2;
            puVar7 = puVar7 + 1;
          } while (puVar2 != &DAT_00070690);
        }
        param_1 = param_1 + 300;
        if (local_24 != 0) break;
        FUN_0003b310();
        local_24 = DAT_000706ec;
        param_2 = param_2 - 0x4b0;
        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;
      }
      param_2 = param_2 - 0x4b0;
    } while (0x4af < (int)param_2);
  }
LAB_0003bba8:
  if (0 < (int)param_2) {
    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&
       (puVar3 = &DAT_000701e0,
       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)
       ) {
      puVar7 = param_1;
      do {
        uVar4 = *puVar7;
        puVar7 = puVar7 + 1;
        *puVar3 = *puVar3 ^ uVar4;
        puVar3 = puVar3 + 1;
      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));
      uVar4 = param_2 & 0xfffffffc;
      pbVar6 = (byte *)((int)param_1 + uVar4);
      if (((param_2 != uVar4) &&
          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,
          (int)(uVar4 + 1) < (int)param_2)) &&
         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =
               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],
         (int)(uVar4 + 2) < (int)param_2)) {
        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);
        *pbVar1 = *pbVar1 ^ pbVar6[2];
      }
    }
    else {
      local_28 = (byte *)&DAT_000701e0;
      puVar3 = param_1;
      do {
        puVar7 = (uint *)((int)puVar3 + 1);
        *local_28 = *local_28 ^ (byte)*puVar3;
        local_28 = local_28 + 1;
        puVar3 = puVar7;
      } while (puVar7 != (uint *)(param_2 + (int)param_1));
    }
  }
  if (local_24 == 0) {
    FUN_0003b310();
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014560
ADD EBX,0x3436b
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EBX + 0x888]
LEA EDI,[EBX + 0x82c]
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0x37c]
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[EBX + 0x380]
MOV dword ptr [ESP + 0xc],EAX
CMP EBP,0x4af
JLE 0x0003bba8
LEA EAX,[ESI + 0x4]
CMP EAX,dword ptr [ESP + 0x4]
MOV ECX,ESI
SETBE DL
CMP ESI,dword ptr [ESP + 0xc]
SETNC AL
OR DL,AL
JZ 0x0003bc77
TEST ESI,0x3
JNZ 0x0003bc77
MOV EAX,dword ptr [ESP + 0x4]
LEA ESI,[ESI]
MOV EDX,dword ptr [EAX]
XOR EDX,dword ptr [ECX]
ADD EAX,0x4
ADD ECX,0x4
MOV dword ptr [EAX + -0x4],EDX
CMP EAX,EDI
JNZ 0x0003bb68
MOV EDX,dword ptr [ESP + 0x8]
ADD ESI,0x4b0
TEST EDX,EDX
JNZ 0x0003bc60
CALL 0x0003b310
MOV EAX,dword ptr [EBX + 0x888]
SUB EBP,0x4b0
MOV dword ptr [ESP + 0x8],EAX
CMP EBP,0x4af
JG 0x0003bb36
TEST EBP,EBP
JLE 0x0003bc50
TEST ESI,0x3
LEA EAX,[EBP + -0x1]
SETZ DL
CMP EAX,0x2
SETA AL
TEST DL,AL
JZ 0x0003bca7
LEA EAX,[ESI + 0x4]
LEA EDI,[EBX + 0x37c]
CMP EAX,EDI
LEA EAX,[EBX + 0x380]
MOV dword ptr [ESP + 0x4],EDI
SETBE DL
CMP ESI,EAX
SETNC AL
OR DL,AL
JZ 0x0003bcb1
MOV ECX,EBP
MOV EDX,ESI
MOV EAX,EDI
AND ECX,0xfffffffc
ADD ECX,ESI
MOV EDI,dword ptr [EDX]
ADD EDX,0x4
XOR dword ptr [EAX],EDI
ADD EAX,0x4
CMP EDX,ECX
JNZ 0x0003bbfa
MOV EAX,EBP
AND EAX,0xfffffffc
ADD ESI,EAX
CMP EBP,EAX
JZ 0x0003bc50
MOVZX EDX,byte ptr [EBX + EAX*0x1 + 0x37c]
XOR DL,byte ptr [ESI]
MOV byte ptr [EBX + EAX*0x1 + 0x37c],DL
LEA EDX,[EAX + 0x1]
CMP EDX,EBP
JGE 0x0003bc50
MOVZX EDX,byte ptr [EBX + EAX*0x1 + 0x37d]
XOR DL,byte ptr [ESI + 0x1]
MOV byte ptr [EBX + EAX*0x1 + 0x37d],DL
LEA EDX,[EAX + 0x2]
CMP EBP,EDX
JLE 0x0003bc50
MOV EBX,dword ptr [ESP + 0x4]
MOVZX EDX,byte ptr [ESI + 0x2]
XOR byte ptr [EAX + EBX*0x1 + 0x2],DL
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x0003bc9b
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB EBP,0x4b0
CMP EBP,0x4af
JG 0x0003bb36
JMP 0x0003bba8
XOR EDX,EDX
LEA ESI,[ESI]
MOVZX EAX,byte ptr [ESI + EDX*0x1]
XOR byte ptr [EDX + EBX*0x1 + 0x37c],AL
ADD EDX,0x1
CMP EDX,0x4b0
JNZ 0x0003bc80
JMP 0x0003bb79
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0003b310
LEA EAX,[EBX + 0x37c]
MOV dword ptr [ESP + 0x4],EAX
MOV EDX,dword ptr [ESP + 0x4]
ADD EBP,ESI
ADD ESI,0x1
MOVZX EAX,byte ptr [ESI + -0x1]
XOR byte ptr [EDX],AL
ADD EDX,0x1
CMP ESI,EBP
JNZ 0x0003bcb7
JMP 0x0003bc50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003baf0(uint *param_1,uint param_2)\n\n{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0003baf0(uint *param_1,uint param_2)\n\n{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003baf0(uint *param_1,uint param_2)" identifier (parameter_list "(uint *param_1,uint param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = DAT_000706ec;" (assignment_expression "local_24 = DAT_000706ec" identifier = identifier) ;) (if_statement "if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }" if (parenthesized_expression "(0x4af < (int)param_2)" ( (binary_expression "0x4af < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }" { (do_statement "do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);" do (compound_statement "{\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    }" { (while_statement "while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }" { (if_statement "if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" if (parenthesized_expression "((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0))" ( (binary_expression "(&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)" (parenthesized_expression "(&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4)" ( (binary_expression "&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4" (binary_expression "&DAT_000701e0 < param_1 + 1" (pointer_expression "&DAT_000701e0" & identifier) < (binary_expression "param_1 + 1" identifier + number_literal)) && (binary_expression "param_1 < &DAT_000701e4" identifier < (pointer_expression "&DAT_000701e4" & identifier))) )) || (parenthesized_expression "(puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)" ( (comma_expression "puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0" (assignment_expression "puVar3 = &DAT_000701e0" identifier = (pointer_expression "&DAT_000701e0" & identifier)) , (comma_expression "puVar7 = param_1, ((uint)param_1 & 3) != 0" (assignment_expression "puVar7 = param_1" identifier = identifier) , (binary_expression "((uint)param_1 & 3) != 0" (parenthesized_expression "((uint)param_1 & 3)" ( (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);" do (compound_statement "{\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          }" { (expression_statement "*(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);" (assignment_expression "*(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5)" (pointer_expression "*(byte *)((int)&DAT_000701e0 + iVar5)" * (cast_expression "(byte *)((int)&DAT_000701e0 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + iVar5)" ( (binary_expression "(int)&DAT_000701e0 + iVar5" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) = (binary_expression "*(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5)" (pointer_expression "*(byte *)((int)&DAT_000701e0 + iVar5)" * (cast_expression "(byte *)((int)&DAT_000701e0 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + iVar5)" ( (binary_expression "(int)&DAT_000701e0 + iVar5" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) ^ (pointer_expression "*(byte *)((int)param_1 + iVar5)" * (cast_expression "(byte *)((int)param_1 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar5)" ( (binary_expression "(int)param_1 + iVar5" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x4b0)" ( (binary_expression "iVar5 != 0x4b0" identifier != number_literal) )) ;) }) (else_clause "else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" else (compound_statement "{\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" { (do_statement "do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);" do (compound_statement "{\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "puVar2 = puVar3 + 1;" (assignment_expression "puVar2 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *puVar3 ^ *puVar7;" (assignment_expression "*puVar3 = *puVar3 ^ *puVar7" (pointer_expression "*puVar3" * identifier) = (binary_expression "*puVar3 ^ *puVar7" (pointer_expression "*puVar3" * identifier) ^ (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" identifier = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != &DAT_00070690)" ( (binary_expression "puVar2 != &DAT_00070690" identifier != (pointer_expression "&DAT_00070690" & identifier)) )) ;) }))) (expression_statement "param_1 = param_1 + 300;" (assignment_expression "param_1 = param_1 + 300" identifier = (binary_expression "param_1 + 300" identifier + number_literal)) ;) (if_statement "if (local_24 != 0) break;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_0003b310();" (call_expression "FUN_0003b310()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = DAT_000706ec;" (assignment_expression "local_24 = DAT_000706ec" identifier = identifier) ;) (expression_statement "param_2 = param_2 - 0x4b0;" (assignment_expression "param_2 = param_2 - 0x4b0" identifier = (binary_expression "param_2 - 0x4b0" identifier - number_literal)) ;) (if_statement "if ((int)param_2 < 0x4b0) goto LAB_0003bba8;" if (parenthesized_expression "((int)param_2 < 0x4b0)" ( (binary_expression "(int)param_2 < 0x4b0" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0003bba8;" goto statement_identifier ;)) })) (expression_statement "param_2 = param_2 - 0x4b0;" (assignment_expression "param_2 = param_2 - 0x4b0" identifier = (binary_expression "param_2 - 0x4b0" identifier - number_literal)) ;) }) while (parenthesized_expression "(0x4af < (int)param_2)" ( (binary_expression "0x4af < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (labeled_statement "LAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" statement_identifier : (if_statement "if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" if (parenthesized_expression "(0 < (int)param_2)" ( (binary_expression "0 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" { (if_statement "if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" if (parenthesized_expression "((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       )" ( (binary_expression "(((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)" (parenthesized_expression "(((uint)param_1 & 3) == 0 && 2 < param_2 - 1)" ( (binary_expression "((uint)param_1 & 3) == 0 && 2 < param_2 - 1" (binary_expression "((uint)param_1 & 3) == 0" (parenthesized_expression "((uint)param_1 & 3)" ( (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) && (binary_expression "2 < param_2 - 1" number_literal < (binary_expression "param_2 - 1" identifier - number_literal))) )) && (parenthesized_expression "(puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)" ( (comma_expression "puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1" (assignment_expression "puVar3 = &DAT_000701e0" identifier = (pointer_expression "&DAT_000701e0" & identifier)) , (binary_expression "param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1" (binary_expression "param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1)" (binary_expression "param_1 + 1" identifier + number_literal) < (cast_expression "(uint *)((int)&DAT_000701e0 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + 1)" ( (binary_expression "(int)&DAT_000701e0 + 1" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + number_literal) )))) || (binary_expression "(uint *)((int)&DAT_000701e0 + 3) < param_1" (cast_expression "(uint *)((int)&DAT_000701e0 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + 3)" ( (binary_expression "(int)&DAT_000701e0 + 3" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + number_literal) ))) < identifier))) ))) )) (compound_statement "{\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }" { (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (do_statement "do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));" do (compound_statement "{\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      }" { (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *puVar3 ^ uVar4;" (assignment_expression "*puVar3 = *puVar3 ^ uVar4" (pointer_expression "*puVar3" * identifier) = (binary_expression "*puVar3 ^ uVar4" (pointer_expression "*puVar3" * identifier) ^ identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1))" ( (binary_expression "puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1)" identifier != (cast_expression "(uint *)((param_2 & 0xfffffffc) + (int)param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((param_2 & 0xfffffffc) + (int)param_1)" ( (binary_expression "(param_2 & 0xfffffffc) + (int)param_1" (parenthesized_expression "(param_2 & 0xfffffffc)" ( (binary_expression "param_2 & 0xfffffffc" identifier & number_literal) )) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) ;) (expression_statement "uVar4 = param_2 & 0xfffffffc;" (assignment_expression "uVar4 = param_2 & 0xfffffffc" identifier = (binary_expression "param_2 & 0xfffffffc" identifier & number_literal)) ;) (expression_statement "pbVar6 = (byte *)((int)param_1 + uVar4);" (assignment_expression "pbVar6 = (byte *)((int)param_1 + uVar4)" identifier = (cast_expression "(byte *)((int)param_1 + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar4)" ( (binary_expression "(int)param_1 + uVar4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }" if (parenthesized_expression "(((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2))" ( (binary_expression "((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)" (parenthesized_expression "((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2))" ( (binary_expression "(param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)" (parenthesized_expression "(param_2 != uVar4)" ( (binary_expression "param_2 != uVar4" identifier != identifier) )) && (parenthesized_expression "(*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)" ( (comma_expression "*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2" (assignment_expression "*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4)" ( (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) = (binary_expression "*(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4)" ( (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) ^ (pointer_expression "*pbVar6" * identifier))) , (binary_expression "(int)(uVar4 + 1) < (int)param_2" (cast_expression "(int)(uVar4 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))) < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) && (parenthesized_expression "(*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)" ( (comma_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2" (assignment_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1]" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 1)" ( (binary_expression "(int)&DAT_000701e0 + uVar4 + 1" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1]" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 1)" ( (binary_expression "(int)&DAT_000701e0 + uVar4 + 1" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) + number_literal) )))) ^ (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) , (binary_expression "(int)(uVar4 + 2) < (int)param_2" (cast_expression "(int)(uVar4 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) ))) < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }" { (expression_statement "pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);" (assignment_expression "pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2)" identifier = (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 2)" ( (binary_expression "(int)&DAT_000701e0 + uVar4 + 2" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) + number_literal) )))) ;) (expression_statement "*pbVar1 = *pbVar1 ^ pbVar6[2];" (assignment_expression "*pbVar1 = *pbVar1 ^ pbVar6[2]" (pointer_expression "*pbVar1" * identifier) = (binary_expression "*pbVar1 ^ pbVar6[2]" (pointer_expression "*pbVar1" * identifier) ^ (subscript_expression "pbVar6[2]" identifier [ number_literal ]))) ;) })) }) (else_clause "else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" else (compound_statement "{\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" { (expression_statement "local_28 = (byte *)&DAT_000701e0;" (assignment_expression "local_28 = (byte *)&DAT_000701e0" identifier = (cast_expression "(byte *)&DAT_000701e0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_000701e0" & identifier))) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));" do (compound_statement "{\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      }" { (expression_statement "puVar7 = (uint *)((int)puVar3 + 1);" (assignment_expression "puVar7 = (uint *)((int)puVar3 + 1)" identifier = (cast_expression "(uint *)((int)puVar3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 1)" ( (binary_expression "(int)puVar3 + 1" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*local_28 = *local_28 ^ (byte)*puVar3;" (assignment_expression "*local_28 = *local_28 ^ (byte)*puVar3" (pointer_expression "*local_28" * identifier) = (binary_expression "*local_28 ^ (byte)*puVar3" (pointer_expression "*local_28" * identifier) ^ (binary_expression "(byte)*puVar3" (parenthesized_expression "(byte)" ( identifier )) * identifier))) ;) (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" identifier = identifier) ;) }) while (parenthesized_expression "(puVar7 != (uint *)(param_2 + (int)param_1))" ( (binary_expression "puVar7 != (uint *)(param_2 + (int)param_1)" identifier != (cast_expression "(uint *)(param_2 + (int)param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (int)param_1)" ( (binary_expression "param_2 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) ;) }))) }))) (if_statement "if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0003b310();\n    return;\n  }" { (expression_statement "FUN_0003b310();" (call_expression "FUN_0003b310()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid random_add_heavynoise(void *noise,int length)\n\n{\n  uchar *puVar1;\n  RandPool *pRVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  RandPool *local_28;\n  int local_24;\n  \n  local_24 = pool.stir_pending;\n  if (0x4af < length) {\n    do {\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    } while (0x4af < length);\n  }\nLAB_0003bba8:\n  if (0 < length) {\n    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }\n  }\n  if (local_24 == 0) {\n    random_stir();\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void random_add_heavynoise(void *noise,int length)\n\n{\n  uchar *puVar1;\n  RandPool *pRVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  RandPool *local_28;\n  int local_24;\n  \n  local_24 = pool.stir_pending;\n  if (0x4af < length) {\n    do {\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    } while (0x4af < length);\n  }\nLAB_0003bba8:\n  if (0 < length) {\n    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }\n  }\n  if (local_24 == 0) {\n    random_stir();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "random_add_heavynoise(void *noise,int length)" identifier (parameter_list "(void *noise,int length)" ( (parameter_declaration "void *noise" primitive_type (pointer_declarator "*noise" * identifier)) , (parameter_declaration "int length" primitive_type identifier) ))) (compound_statement "{\n  uchar *puVar1;\n  RandPool *pRVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  RandPool *local_28;\n  int local_24;\n  \n  local_24 = pool.stir_pending;\n  if (0x4af < length) {\n    do {\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    } while (0x4af < length);\n  }\nLAB_0003bba8:\n  if (0 < length) {\n    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }\n  }\n  if (local_24 == 0) {\n    random_stir();\n    return;\n  }\n  return;\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "RandPool *pRVar2;" type_identifier (pointer_declarator "*pRVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "RandPool *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = pool.stir_pending;" (assignment_expression "local_24 = pool.stir_pending" identifier = (field_expression "pool.stir_pending" identifier . field_identifier)) ;) (if_statement "if (0x4af < length) {\n    do {\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    } while (0x4af < length);\n  }" if (parenthesized_expression "(0x4af < length)" ( (binary_expression "0x4af < length" number_literal < identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    } while (0x4af < length);\n  }" { (do_statement "do {\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    } while (0x4af < length);" do (compound_statement "{\n      while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }\n      length = length - 0x4b0;\n    }" { (while_statement "while( true ) {\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }\n        noise = (void *)((int)noise + 0x4b0);\n        if (local_24 != 0) break;\n        random_stir();\n        local_24 = pool.stir_pending;\n        length = length - 0x4b0;\n        if (length < 0x4b0) goto LAB_0003bba8;\n      }" { (if_statement "if ((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }" if (parenthesized_expression "((&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0))" ( (binary_expression "(&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4) ||\n           (pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)" (parenthesized_expression "(&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4)" ( (binary_expression "&pool < (RandPool *)((int)noise + 4) && noise < pool.pool + 4" (binary_expression "&pool < (RandPool *)((int)noise + 4)" (pointer_expression "&pool" & identifier) < (cast_expression "(RandPool *)((int)noise + 4)" ( (type_descriptor "RandPool *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)noise + 4)" ( (binary_expression "(int)noise + 4" (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) && (binary_expression "noise < pool.pool + 4" identifier < (binary_expression "pool.pool + 4" (field_expression "pool.pool" identifier . field_identifier) + number_literal))) )) || (parenthesized_expression "(pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0)" ( (comma_expression "pRVar2 = &pool, puVar4 = (uint *)noise, ((uint)noise & 3) != 0" (assignment_expression "pRVar2 = &pool" identifier = (pointer_expression "&pool" & identifier)) , (comma_expression "puVar4 = (uint *)noise, ((uint)noise & 3) != 0" (assignment_expression "puVar4 = (uint *)noise" identifier = (cast_expression "(uint *)noise" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "((uint)noise & 3) != 0" (parenthesized_expression "((uint)noise & 3)" ( (binary_expression "(uint)noise & 3" (cast_expression "(uint)noise" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n          iVar5 = 0;\n          do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);" do (compound_statement "{\n            pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);\n            iVar5 = iVar5 + 1;\n          }" { (expression_statement "pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5);" (assignment_expression "pool.pool[iVar5] = pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5)" (subscript_expression "pool.pool[iVar5]" (field_expression "pool.pool" identifier . field_identifier) [ identifier ]) = (binary_expression "pool.pool[iVar5] ^ *(byte *)((int)noise + iVar5)" (subscript_expression "pool.pool[iVar5]" (field_expression "pool.pool" identifier . field_identifier) [ identifier ]) ^ (pointer_expression "*(byte *)((int)noise + iVar5)" * (cast_expression "(byte *)((int)noise + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)noise + iVar5)" ( (binary_expression "(int)noise + iVar5" (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x4b0)" ( (binary_expression "iVar5 != 0x4b0" identifier != number_literal) )) ;) }) (else_clause "else {\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }" else (compound_statement "{\n          do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);\n        }" { (do_statement "do {\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          } while ((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos);" do (compound_statement "{\n            puVar1 = pRVar2->pool;\n            *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;\n            pRVar2 = (RandPool *)(puVar1 + 4);\n            puVar4 = puVar4 + 1;\n          }" { (expression_statement "puVar1 = pRVar2->pool;" (assignment_expression "puVar1 = pRVar2->pool" identifier = (field_expression "pRVar2->pool" identifier -> field_identifier)) ;) (expression_statement "*(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4;" (assignment_expression "*(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ *puVar4" (pointer_expression "*(uint *)pRVar2->pool" * (cast_expression "(uint *)pRVar2->pool" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pRVar2->pool" identifier -> field_identifier))) = (binary_expression "*(uint *)pRVar2->pool ^ *puVar4" (pointer_expression "*(uint *)pRVar2->pool" * (cast_expression "(uint *)pRVar2->pool" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pRVar2->pool" identifier -> field_identifier))) ^ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "pRVar2 = (RandPool *)(puVar1 + 4);" (assignment_expression "pRVar2 = (RandPool *)(puVar1 + 4)" identifier = (cast_expression "(RandPool *)(puVar1 + 4)" ( (type_descriptor "RandPool *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos)" ( (binary_expression "(RandPool *)(puVar1 + 4) != (RandPool *)&pool.poolpos" (cast_expression "(RandPool *)(puVar1 + 4)" ( (type_descriptor "RandPool *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))) != (cast_expression "(RandPool *)&pool.poolpos" ( (type_descriptor "RandPool *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pool.poolpos" & (field_expression "pool.poolpos" identifier . field_identifier)))) )) ;) }))) (expression_statement "noise = (void *)((int)noise + 0x4b0);" (assignment_expression "noise = (void *)((int)noise + 0x4b0)" identifier = (cast_expression "(void *)((int)noise + 0x4b0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)noise + 0x4b0)" ( (binary_expression "(int)noise + 0x4b0" (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (local_24 != 0) break;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "random_stir();" (call_expression "random_stir()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = pool.stir_pending;" (assignment_expression "local_24 = pool.stir_pending" identifier = (field_expression "pool.stir_pending" identifier . field_identifier)) ;) (expression_statement "length = length - 0x4b0;" (assignment_expression "length = length - 0x4b0" identifier = (binary_expression "length - 0x4b0" identifier - number_literal)) ;) (if_statement "if (length < 0x4b0) goto LAB_0003bba8;" if (parenthesized_expression "(length < 0x4b0)" ( (binary_expression "length < 0x4b0" identifier < number_literal) )) (goto_statement "goto LAB_0003bba8;" goto statement_identifier ;)) })) (expression_statement "length = length - 0x4b0;" (assignment_expression "length = length - 0x4b0" identifier = (binary_expression "length - 0x4b0" identifier - number_literal)) ;) }) while (parenthesized_expression "(0x4af < length)" ( (binary_expression "0x4af < length" number_literal < identifier) )) ;) })) (labeled_statement "LAB_0003bba8:\n  if (0 < length) {\n    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }\n  }" statement_identifier : (if_statement "if (0 < length) {\n    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }\n  }" if (parenthesized_expression "(0 < length)" ( (binary_expression "0 < length" number_literal < identifier) )) (compound_statement "{\n    if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }\n  }" { (if_statement "if ((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)) {\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }" if (parenthesized_expression "((((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise))" ( (binary_expression "(((uint)noise & 3) == 0 && 2 < length - 1U) &&\n       (pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)" (parenthesized_expression "(((uint)noise & 3) == 0 && 2 < length - 1U)" ( (binary_expression "((uint)noise & 3) == 0 && 2 < length - 1U" (binary_expression "((uint)noise & 3) == 0" (parenthesized_expression "((uint)noise & 3)" ( (binary_expression "(uint)noise & 3" (cast_expression "(uint)noise" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) && (binary_expression "2 < length - 1U" number_literal < (binary_expression "length - 1U" identifier - number_literal))) )) && (parenthesized_expression "(pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise)" ( (comma_expression "pRVar2 = &pool, (uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise" (assignment_expression "pRVar2 = &pool" identifier = (pointer_expression "&pool" & identifier)) , (binary_expression "(uint *)((int)noise + 4) < pool.pool + 1 || pool.pool + 3 < noise" (binary_expression "(uint *)((int)noise + 4) < pool.pool + 1" (cast_expression "(uint *)((int)noise + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)noise + 4)" ( (binary_expression "(int)noise + 4" (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < (binary_expression "pool.pool + 1" (field_expression "pool.pool" identifier . field_identifier) + number_literal)) || (binary_expression "pool.pool + 3 < noise" (binary_expression "pool.pool + 3" (field_expression "pool.pool" identifier . field_identifier) + number_literal) < identifier))) ))) )) (compound_statement "{\n      puVar4 = (uint *)noise;\n      do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));\n      uVar3 = length & 0xfffffffc;\n      pbVar6 = (byte *)((int)noise + uVar3);\n      if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }\n    }" { (expression_statement "puVar4 = (uint *)noise;" (assignment_expression "puVar4 = (uint *)noise" identifier = (cast_expression "(uint *)noise" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      } while (puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise));" do (compound_statement "{\n        uVar3 = *puVar4;\n        puVar4 = puVar4 + 1;\n        *(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;\n        pRVar2 = (RandPool *)(pRVar2->pool + 4);\n      }" { (expression_statement "uVar3 = *puVar4;" (assignment_expression "uVar3 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3;" (assignment_expression "*(uint *)pRVar2->pool = *(uint *)pRVar2->pool ^ uVar3" (pointer_expression "*(uint *)pRVar2->pool" * (cast_expression "(uint *)pRVar2->pool" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pRVar2->pool" identifier -> field_identifier))) = (binary_expression "*(uint *)pRVar2->pool ^ uVar3" (pointer_expression "*(uint *)pRVar2->pool" * (cast_expression "(uint *)pRVar2->pool" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pRVar2->pool" identifier -> field_identifier))) ^ identifier)) ;) (expression_statement "pRVar2 = (RandPool *)(pRVar2->pool + 4);" (assignment_expression "pRVar2 = (RandPool *)(pRVar2->pool + 4)" identifier = (cast_expression "(RandPool *)(pRVar2->pool + 4)" ( (type_descriptor "RandPool *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pRVar2->pool + 4)" ( (binary_expression "pRVar2->pool + 4" (field_expression "pRVar2->pool" identifier -> field_identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise))" ( (binary_expression "puVar4 != (uint *)((length & 0xfffffffcU) + (int)noise)" identifier != (cast_expression "(uint *)((length & 0xfffffffcU) + (int)noise)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((length & 0xfffffffcU) + (int)noise)" ( (binary_expression "(length & 0xfffffffcU) + (int)noise" (parenthesized_expression "(length & 0xfffffffcU)" ( (binary_expression "length & 0xfffffffcU" identifier & number_literal) )) + (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) ;) (expression_statement "uVar3 = length & 0xfffffffc;" (assignment_expression "uVar3 = length & 0xfffffffc" identifier = (binary_expression "length & 0xfffffffc" identifier & number_literal)) ;) (expression_statement "pbVar6 = (byte *)((int)noise + uVar3);" (assignment_expression "pbVar6 = (byte *)((int)noise + uVar3)" identifier = (cast_expression "(byte *)((int)noise + uVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)noise + uVar3)" ( (binary_expression "(int)noise + uVar3" (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)) {\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }" if (parenthesized_expression "(((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length))" ( (binary_expression "((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)) &&\n         (pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)" (parenthesized_expression "((length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length))" ( (binary_expression "(length != uVar3) &&\n          (pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)" (parenthesized_expression "(length != uVar3)" ( (binary_expression "length != uVar3" identifier != identifier) )) && (parenthesized_expression "(pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length)" ( (comma_expression "pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6, (int)(uVar3 + 1) < length" (assignment_expression "pool.pool[uVar3] = pool.pool[uVar3] ^ *pbVar6" (subscript_expression "pool.pool[uVar3]" (field_expression "pool.pool" identifier . field_identifier) [ identifier ]) = (binary_expression "pool.pool[uVar3] ^ *pbVar6" (subscript_expression "pool.pool[uVar3]" (field_expression "pool.pool" identifier . field_identifier) [ identifier ]) ^ (pointer_expression "*pbVar6" * identifier))) , (binary_expression "(int)(uVar3 + 1) < length" (cast_expression "(int)(uVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar3 + 1)" ( (binary_expression "uVar3 + 1" identifier + number_literal) ))) < identifier)) ))) )) && (parenthesized_expression "(pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length)" ( (comma_expression "pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1], (int)(uVar3 + 2) < length" (assignment_expression "pool.pool[uVar3 + 1] = pool.pool[uVar3 + 1] ^ pbVar6[1]" (subscript_expression "pool.pool[uVar3 + 1]" (field_expression "pool.pool" identifier . field_identifier) [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (binary_expression "pool.pool[uVar3 + 1] ^ pbVar6[1]" (subscript_expression "pool.pool[uVar3 + 1]" (field_expression "pool.pool" identifier . field_identifier) [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) ^ (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) , (binary_expression "(int)(uVar3 + 2) < length" (cast_expression "(int)(uVar3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar3 + 2)" ( (binary_expression "uVar3 + 2" identifier + number_literal) ))) < identifier)) ))) )) (compound_statement "{\n        pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];\n      }" { (expression_statement "pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2];" (assignment_expression "pool.pool[uVar3 + 2] = pool.pool[uVar3 + 2] ^ pbVar6[2]" (subscript_expression "pool.pool[uVar3 + 2]" (field_expression "pool.pool" identifier . field_identifier) [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (binary_expression "pool.pool[uVar3 + 2] ^ pbVar6[2]" (subscript_expression "pool.pool[uVar3 + 2]" (field_expression "pool.pool" identifier . field_identifier) [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) ^ (subscript_expression "pbVar6[2]" identifier [ number_literal ]))) ;) })) }) (else_clause "else {\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }" else (compound_statement "{\n      local_28 = &pool;\n      puVar4 = (uint *)noise;\n      do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));\n    }" { (expression_statement "local_28 = &pool;" (assignment_expression "local_28 = &pool" identifier = (pointer_expression "&pool" & identifier)) ;) (expression_statement "puVar4 = (uint *)noise;" (assignment_expression "puVar4 = (uint *)noise" identifier = (cast_expression "(uint *)noise" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      } while (puVar7 != (uint *)(length + (int)noise));" do (compound_statement "{\n        puVar7 = (uint *)((int)puVar4 + 1);\n        local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;\n        local_28 = (RandPool *)(local_28->pool + 1);\n        puVar4 = puVar7;\n      }" { (expression_statement "puVar7 = (uint *)((int)puVar4 + 1);" (assignment_expression "puVar7 = (uint *)((int)puVar4 + 1)" identifier = (cast_expression "(uint *)((int)puVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + 1)" ( (binary_expression "(int)puVar4 + 1" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4;" (assignment_expression "local_28->pool[0] = local_28->pool[0] ^ (byte)*puVar4" (subscript_expression "local_28->pool[0]" (field_expression "local_28->pool" identifier -> field_identifier) [ number_literal ]) = (binary_expression "local_28->pool[0] ^ (byte)*puVar4" (subscript_expression "local_28->pool[0]" (field_expression "local_28->pool" identifier -> field_identifier) [ number_literal ]) ^ (binary_expression "(byte)*puVar4" (parenthesized_expression "(byte)" ( identifier )) * identifier))) ;) (expression_statement "local_28 = (RandPool *)(local_28->pool + 1);" (assignment_expression "local_28 = (RandPool *)(local_28->pool + 1)" identifier = (cast_expression "(RandPool *)(local_28->pool + 1)" ( (type_descriptor "RandPool *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28->pool + 1)" ( (binary_expression "local_28->pool + 1" (field_expression "local_28->pool" identifier -> field_identifier) + number_literal) )))) ;) (expression_statement "puVar4 = puVar7;" (assignment_expression "puVar4 = puVar7" identifier = identifier) ;) }) while (parenthesized_expression "(puVar7 != (uint *)(length + (int)noise))" ( (binary_expression "puVar7 != (uint *)(length + (int)noise)" identifier != (cast_expression "(uint *)(length + (int)noise)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(length + (int)noise)" ( (binary_expression "length + (int)noise" identifier + (cast_expression "(int)noise" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) ;) }))) }))) (if_statement "if (local_24 == 0) {\n    random_stir();\n    return;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    random_stir();\n    return;\n  }" { (expression_statement "random_stir();" (call_expression "random_stir()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003baf0(uint *param_1,uint param_2)\n\n{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003baf0(uint *param_1,uint param_2)\n\n{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003baf0(uint *param_1,uint param_2)" identifier (parameter_list "(uint *param_1,uint param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = DAT_000706ec;" (assignment_expression "local_24 = DAT_000706ec" identifier = identifier) ;) (if_statement "if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }" if (parenthesized_expression "(0x4af < (int)param_2)" ( (binary_expression "0x4af < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }" { (do_statement "do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);" do (compound_statement "{\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    }" { (while_statement "while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }" { (if_statement "if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" if (parenthesized_expression "((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0))" ( (binary_expression "(&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)" (parenthesized_expression "(&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4)" ( (binary_expression "&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4" (binary_expression "&DAT_000701e0 < param_1 + 1" (pointer_expression "&DAT_000701e0" & identifier) < (binary_expression "param_1 + 1" identifier + number_literal)) && (binary_expression "param_1 < &DAT_000701e4" identifier < (pointer_expression "&DAT_000701e4" & identifier))) )) || (parenthesized_expression "(puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)" ( (comma_expression "puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0" (assignment_expression "puVar3 = &DAT_000701e0" identifier = (pointer_expression "&DAT_000701e0" & identifier)) , (comma_expression "puVar7 = param_1, ((uint)param_1 & 3) != 0" (assignment_expression "puVar7 = param_1" identifier = identifier) , (binary_expression "((uint)param_1 & 3) != 0" (parenthesized_expression "((uint)param_1 & 3)" ( (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);" do (compound_statement "{\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          }" { (expression_statement "*(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);" (assignment_expression "*(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5)" (pointer_expression "*(byte *)((int)&DAT_000701e0 + iVar5)" * (cast_expression "(byte *)((int)&DAT_000701e0 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + iVar5)" ( (binary_expression "(int)&DAT_000701e0 + iVar5" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) = (binary_expression "*(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5)" (pointer_expression "*(byte *)((int)&DAT_000701e0 + iVar5)" * (cast_expression "(byte *)((int)&DAT_000701e0 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + iVar5)" ( (binary_expression "(int)&DAT_000701e0 + iVar5" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) ^ (pointer_expression "*(byte *)((int)param_1 + iVar5)" * (cast_expression "(byte *)((int)param_1 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar5)" ( (binary_expression "(int)param_1 + iVar5" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x4b0)" ( (binary_expression "iVar5 != 0x4b0" identifier != number_literal) )) ;) }) (else_clause "else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" else (compound_statement "{\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" { (do_statement "do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);" do (compound_statement "{\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "puVar2 = puVar3 + 1;" (assignment_expression "puVar2 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *puVar3 ^ *puVar7;" (assignment_expression "*puVar3 = *puVar3 ^ *puVar7" (pointer_expression "*puVar3" * identifier) = (binary_expression "*puVar3 ^ *puVar7" (pointer_expression "*puVar3" * identifier) ^ (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" identifier = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != &DAT_00070690)" ( (binary_expression "puVar2 != &DAT_00070690" identifier != (pointer_expression "&DAT_00070690" & identifier)) )) ;) }))) (expression_statement "param_1 = param_1 + 300;" (assignment_expression "param_1 = param_1 + 300" identifier = (binary_expression "param_1 + 300" identifier + number_literal)) ;) (if_statement "if (local_24 != 0) break;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_0003b310();" (call_expression "FUN_0003b310()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = DAT_000706ec;" (assignment_expression "local_24 = DAT_000706ec" identifier = identifier) ;) (expression_statement "param_2 = param_2 - 0x4b0;" (assignment_expression "param_2 = param_2 - 0x4b0" identifier = (binary_expression "param_2 - 0x4b0" identifier - number_literal)) ;) (if_statement "if ((int)param_2 < 0x4b0) goto LAB_0003bba8;" if (parenthesized_expression "((int)param_2 < 0x4b0)" ( (binary_expression "(int)param_2 < 0x4b0" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0003bba8;" goto statement_identifier ;)) })) (expression_statement "param_2 = param_2 - 0x4b0;" (assignment_expression "param_2 = param_2 - 0x4b0" identifier = (binary_expression "param_2 - 0x4b0" identifier - number_literal)) ;) }) while (parenthesized_expression "(0x4af < (int)param_2)" ( (binary_expression "0x4af < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (labeled_statement "LAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" statement_identifier : (if_statement "if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" if (parenthesized_expression "(0 < (int)param_2)" ( (binary_expression "0 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" { (if_statement "if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" if (parenthesized_expression "((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       )" ( (binary_expression "(((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)" (parenthesized_expression "(((uint)param_1 & 3) == 0 && 2 < param_2 - 1)" ( (binary_expression "((uint)param_1 & 3) == 0 && 2 < param_2 - 1" (binary_expression "((uint)param_1 & 3) == 0" (parenthesized_expression "((uint)param_1 & 3)" ( (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) && (binary_expression "2 < param_2 - 1" number_literal < (binary_expression "param_2 - 1" identifier - number_literal))) )) && (parenthesized_expression "(puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)" ( (comma_expression "puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1" (assignment_expression "puVar3 = &DAT_000701e0" identifier = (pointer_expression "&DAT_000701e0" & identifier)) , (binary_expression "param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1" (binary_expression "param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1)" (binary_expression "param_1 + 1" identifier + number_literal) < (cast_expression "(uint *)((int)&DAT_000701e0 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + 1)" ( (binary_expression "(int)&DAT_000701e0 + 1" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + number_literal) )))) || (binary_expression "(uint *)((int)&DAT_000701e0 + 3) < param_1" (cast_expression "(uint *)((int)&DAT_000701e0 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + 3)" ( (binary_expression "(int)&DAT_000701e0 + 3" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + number_literal) ))) < identifier))) ))) )) (compound_statement "{\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }" { (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (do_statement "do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));" do (compound_statement "{\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      }" { (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *puVar3 ^ uVar4;" (assignment_expression "*puVar3 = *puVar3 ^ uVar4" (pointer_expression "*puVar3" * identifier) = (binary_expression "*puVar3 ^ uVar4" (pointer_expression "*puVar3" * identifier) ^ identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1))" ( (binary_expression "puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1)" identifier != (cast_expression "(uint *)((param_2 & 0xfffffffc) + (int)param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((param_2 & 0xfffffffc) + (int)param_1)" ( (binary_expression "(param_2 & 0xfffffffc) + (int)param_1" (parenthesized_expression "(param_2 & 0xfffffffc)" ( (binary_expression "param_2 & 0xfffffffc" identifier & number_literal) )) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) ;) (expression_statement "uVar4 = param_2 & 0xfffffffc;" (assignment_expression "uVar4 = param_2 & 0xfffffffc" identifier = (binary_expression "param_2 & 0xfffffffc" identifier & number_literal)) ;) (expression_statement "pbVar6 = (byte *)((int)param_1 + uVar4);" (assignment_expression "pbVar6 = (byte *)((int)param_1 + uVar4)" identifier = (cast_expression "(byte *)((int)param_1 + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar4)" ( (binary_expression "(int)param_1 + uVar4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }" if (parenthesized_expression "(((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2))" ( (binary_expression "((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)" (parenthesized_expression "((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2))" ( (binary_expression "(param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)" (parenthesized_expression "(param_2 != uVar4)" ( (binary_expression "param_2 != uVar4" identifier != identifier) )) && (parenthesized_expression "(*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)" ( (comma_expression "*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2" (assignment_expression "*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4)" ( (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) = (binary_expression "*(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4)" ( (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) )))) ^ (pointer_expression "*pbVar6" * identifier))) , (binary_expression "(int)(uVar4 + 1) < (int)param_2" (cast_expression "(int)(uVar4 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))) < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) && (parenthesized_expression "(*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)" ( (comma_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2" (assignment_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1]" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 1)" ( (binary_expression "(int)&DAT_000701e0 + uVar4 + 1" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1]" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1)" * (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 1)" ( (binary_expression "(int)&DAT_000701e0 + uVar4 + 1" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) + number_literal) )))) ^ (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) , (binary_expression "(int)(uVar4 + 2) < (int)param_2" (cast_expression "(int)(uVar4 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) ))) < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }" { (expression_statement "pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);" (assignment_expression "pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2)" identifier = (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 2)" ( (binary_expression "(int)&DAT_000701e0 + uVar4 + 2" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_000701e0" & identifier)) + identifier) + number_literal) )))) ;) (expression_statement "*pbVar1 = *pbVar1 ^ pbVar6[2];" (assignment_expression "*pbVar1 = *pbVar1 ^ pbVar6[2]" (pointer_expression "*pbVar1" * identifier) = (binary_expression "*pbVar1 ^ pbVar6[2]" (pointer_expression "*pbVar1" * identifier) ^ (subscript_expression "pbVar6[2]" identifier [ number_literal ]))) ;) })) }) (else_clause "else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" else (compound_statement "{\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" { (expression_statement "local_28 = (byte *)&DAT_000701e0;" (assignment_expression "local_28 = (byte *)&DAT_000701e0" identifier = (cast_expression "(byte *)&DAT_000701e0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_000701e0" & identifier))) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));" do (compound_statement "{\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      }" { (expression_statement "puVar7 = (uint *)((int)puVar3 + 1);" (assignment_expression "puVar7 = (uint *)((int)puVar3 + 1)" identifier = (cast_expression "(uint *)((int)puVar3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 1)" ( (binary_expression "(int)puVar3 + 1" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*local_28 = *local_28 ^ (byte)*puVar3;" (assignment_expression "*local_28 = *local_28 ^ (byte)*puVar3" (pointer_expression "*local_28" * identifier) = (binary_expression "*local_28 ^ (byte)*puVar3" (pointer_expression "*local_28" * identifier) ^ (binary_expression "(byte)*puVar3" (parenthesized_expression "(byte)" ( identifier )) * identifier))) ;) (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" identifier = identifier) ;) }) while (parenthesized_expression "(puVar7 != (uint *)(param_2 + (int)param_1))" ( (binary_expression "puVar7 != (uint *)(param_2 + (int)param_1)" identifier != (cast_expression "(uint *)(param_2 + (int)param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (int)param_1)" ( (binary_expression "param_2 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) ;) }))) }))) (if_statement "if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0003b310();\n    return;\n  }" { (expression_statement "FUN_0003b310();" (call_expression "FUN_0003b310()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression & IDENT) < (binary_expression IDENT + LIT)) && (binary_expression IDENT < (pointer_expression & IDENT))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) && (binary_expression LIT < (binary_expression IDENT - LIT))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + LIT) )))) || (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + LIT) ))) < IDENT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) ^ (pointer_expression * IDENT))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) < (cast_expression ( (type_descriptor TYPE) ) IDENT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) ^ (subscript_expression IDENT [ LIT ]))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) < (cast_expression ( (type_descriptor TYPE) ) IDENT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (subscript_expression IDENT [ LIT ]))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (binary_expression (parenthesized_expression ( IDENT )) * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) )) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0003baf0(uint *param_1,uint param_2)\n\n{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003baf0(uint *param_1,uint param_2)" (identifier "FUN_0003baf0") (parameter_list "(uint *param_1,uint param_2)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  uint *puVar2;\n  uint *puVar3;\n  uint uVar4;\n  int iVar5;\n  byte *pbVar6;\n  uint *puVar7;\n  byte *local_28;\n  int local_24;\n  \n  local_24 = DAT_000706ec;\n  if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }\nLAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }\n  if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "byte *local_28;" (type_identifier "byte") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "local_24 = DAT_000706ec;" (assignment_expression "local_24 = DAT_000706ec" (identifier "local_24") (= "=") (identifier "DAT_000706ec")) (; ";")) (if_statement "if (0x4af < (int)param_2) {\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }" (if "if") (parenthesized_expression "(0x4af < (int)param_2)" (( "(") (binary_expression "0x4af < (int)param_2" (number_literal "0x4af") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n    do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    } while (0x4af < (int)param_2);" (do "do") (compound_statement "{\n      while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }\n      param_2 = param_2 - 0x4b0;\n    }" ({ "{") (while_statement "while( true ) {\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }\n        param_1 = param_1 + 300;\n        if (local_24 != 0) break;\n        FUN_0003b310();\n        local_24 = DAT_000706ec;\n        param_2 = param_2 - 0x4b0;\n        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;\n      }" ({ "{") (if_statement "if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }\n        else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" (if "if") (parenthesized_expression "((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0))" (( "(") (binary_expression "(&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||\n           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)" (parenthesized_expression "(&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4)" (( "(") (binary_expression "&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4" (binary_expression "&DAT_000701e0 < param_1 + 1" (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0")) (< "<") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (&& "&&") (binary_expression "param_1 < &DAT_000701e4" (identifier "param_1") (< "<") (pointer_expression "&DAT_000701e4" (& "&") (identifier "DAT_000701e4")))) () ")")) (|| "||") (parenthesized_expression "(puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)" (( "(") (comma_expression "puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0" (assignment_expression "puVar3 = &DAT_000701e0" (identifier "puVar3") (= "=") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (, ",") (comma_expression "puVar7 = param_1, ((uint)param_1 & 3) != 0" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (, ",") (binary_expression "((uint)param_1 & 3) != 0" (parenthesized_expression "((uint)param_1 & 3)" (( "(") (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_1")) (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n          iVar5 = 0;\n          do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);\n        }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          } while (iVar5 != 0x4b0);" (do "do") (compound_statement "{\n            *(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);\n            iVar5 = iVar5 + 1;\n          }" ({ "{") (expression_statement "*(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);" (assignment_expression "*(byte *)((int)&DAT_000701e0 + iVar5) =\n                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5)" (pointer_expression "*(byte *)((int)&DAT_000701e0 + iVar5)" (* "*") (cast_expression "(byte *)((int)&DAT_000701e0 + iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + iVar5)" (( "(") (binary_expression "(int)&DAT_000701e0 + iVar5" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "iVar5")) () ")")))) (= "=") (binary_expression "*(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5)" (pointer_expression "*(byte *)((int)&DAT_000701e0 + iVar5)" (* "*") (cast_expression "(byte *)((int)&DAT_000701e0 + iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + iVar5)" (( "(") (binary_expression "(int)&DAT_000701e0 + iVar5" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "iVar5")) () ")")))) (^ "^") (pointer_expression "*(byte *)((int)param_1 + iVar5)" (* "*") (cast_expression "(byte *)((int)param_1 + iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar5)" (( "(") (binary_expression "(int)param_1 + iVar5" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar5")) () ")")))))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0x4b0)" (( "(") (binary_expression "iVar5 != 0x4b0" (identifier "iVar5") (!= "!=") (number_literal "0x4b0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" (else "else") (compound_statement "{\n          do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);\n        }" ({ "{") (do_statement "do {\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          } while (puVar2 != &DAT_00070690);" (do "do") (compound_statement "{\n            puVar2 = puVar3 + 1;\n            *puVar3 = *puVar3 ^ *puVar7;\n            puVar3 = puVar2;\n            puVar7 = puVar7 + 1;\n          }" ({ "{") (expression_statement "puVar2 = puVar3 + 1;" (assignment_expression "puVar2 = puVar3 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = *puVar3 ^ *puVar7;" (assignment_expression "*puVar3 = *puVar3 ^ *puVar7" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "*puVar3 ^ *puVar7" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (^ "^") (pointer_expression "*puVar7" (* "*") (identifier "puVar7")))) (; ";")) (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" (identifier "puVar3") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != &DAT_00070690)" (( "(") (binary_expression "puVar2 != &DAT_00070690" (identifier "puVar2") (!= "!=") (pointer_expression "&DAT_00070690" (& "&") (identifier "DAT_00070690"))) () ")")) (; ";")) (} "}")))) (expression_statement "param_1 = param_1 + 300;" (assignment_expression "param_1 = param_1 + 300" (identifier "param_1") (= "=") (binary_expression "param_1 + 300" (identifier "param_1") (+ "+") (number_literal "300"))) (; ";")) (if_statement "if (local_24 != 0) break;" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_0003b310();" (call_expression "FUN_0003b310()" (identifier "FUN_0003b310") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_24 = DAT_000706ec;" (assignment_expression "local_24 = DAT_000706ec" (identifier "local_24") (= "=") (identifier "DAT_000706ec")) (; ";")) (expression_statement "param_2 = param_2 - 0x4b0;" (assignment_expression "param_2 = param_2 - 0x4b0" (identifier "param_2") (= "=") (binary_expression "param_2 - 0x4b0" (identifier "param_2") (- "-") (number_literal "0x4b0"))) (; ";")) (if_statement "if ((int)param_2 < 0x4b0) goto LAB_0003bba8;" (if "if") (parenthesized_expression "((int)param_2 < 0x4b0)" (( "(") (binary_expression "(int)param_2 < 0x4b0" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (< "<") (number_literal "0x4b0")) () ")")) (goto_statement "goto LAB_0003bba8;" (goto "goto") (statement_identifier "LAB_0003bba8") (; ";"))) (} "}"))) (expression_statement "param_2 = param_2 - 0x4b0;" (assignment_expression "param_2 = param_2 - 0x4b0" (identifier "param_2") (= "=") (binary_expression "param_2 - 0x4b0" (identifier "param_2") (- "-") (number_literal "0x4b0"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0x4af < (int)param_2)" (( "(") (binary_expression "0x4af < (int)param_2" (number_literal "0x4af") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0003bba8:\n  if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" (statement_identifier "LAB_0003bba8") (: ":") (if_statement "if (0 < (int)param_2) {\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" (if "if") (parenthesized_expression "(0 < (int)param_2)" (( "(") (binary_expression "0 < (int)param_2" (number_literal "0") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }\n  }" ({ "{") (if_statement "if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       ) {\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }\n    else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" (if "if") (parenthesized_expression "((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)\n       )" (( "(") (binary_expression "(((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&\n       (puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)" (parenthesized_expression "(((uint)param_1 & 3) == 0 && 2 < param_2 - 1)" (( "(") (binary_expression "((uint)param_1 & 3) == 0 && 2 < param_2 - 1" (binary_expression "((uint)param_1 & 3) == 0" (parenthesized_expression "((uint)param_1 & 3)" (( "(") (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_1")) (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "2 < param_2 - 1" (number_literal "2") (< "<") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")))) () ")")) (&& "&&") (parenthesized_expression "(puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)" (( "(") (comma_expression "puVar3 = &DAT_000701e0,\n       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1" (assignment_expression "puVar3 = &DAT_000701e0" (identifier "puVar3") (= "=") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (, ",") (binary_expression "param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1" (binary_expression "param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1)" (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (< "<") (cast_expression "(uint *)((int)&DAT_000701e0 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + 1)" (( "(") (binary_expression "(int)&DAT_000701e0 + 1" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (number_literal "1")) () ")")))) (|| "||") (binary_expression "(uint *)((int)&DAT_000701e0 + 3) < param_1" (cast_expression "(uint *)((int)&DAT_000701e0 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + 3)" (( "(") (binary_expression "(int)&DAT_000701e0 + 3" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (number_literal "3")) () ")"))) (< "<") (identifier "param_1")))) () ")"))) () ")")) (compound_statement "{\n      puVar7 = param_1;\n      do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));\n      uVar4 = param_2 & 0xfffffffc;\n      pbVar6 = (byte *)((int)param_1 + uVar4);\n      if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }\n    }" ({ "{") (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));" (do "do") (compound_statement "{\n        uVar4 = *puVar7;\n        puVar7 = puVar7 + 1;\n        *puVar3 = *puVar3 ^ uVar4;\n        puVar3 = puVar3 + 1;\n      }" ({ "{") (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" (identifier "uVar4") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = *puVar3 ^ uVar4;" (assignment_expression "*puVar3 = *puVar3 ^ uVar4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "*puVar3 ^ uVar4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (^ "^") (identifier "uVar4"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1))" (( "(") (binary_expression "puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1)" (identifier "puVar7") (!= "!=") (cast_expression "(uint *)((param_2 & 0xfffffffc) + (int)param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((param_2 & 0xfffffffc) + (int)param_1)" (( "(") (binary_expression "(param_2 & 0xfffffffc) + (int)param_1" (parenthesized_expression "(param_2 & 0xfffffffc)" (( "(") (binary_expression "param_2 & 0xfffffffc" (identifier "param_2") (& "&") (number_literal "0xfffffffc")) () ")")) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")")))) () ")")) (; ";")) (expression_statement "uVar4 = param_2 & 0xfffffffc;" (assignment_expression "uVar4 = param_2 & 0xfffffffc" (identifier "uVar4") (= "=") (binary_expression "param_2 & 0xfffffffc" (identifier "param_2") (& "&") (number_literal "0xfffffffc"))) (; ";")) (expression_statement "pbVar6 = (byte *)((int)param_1 + uVar4);" (assignment_expression "pbVar6 = (byte *)((int)param_1 + uVar4)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)((int)param_1 + uVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar4)" (( "(") (binary_expression "(int)param_1 + uVar4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar4")) () ")")))) (; ";")) (if_statement "if (((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)) {\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }" (if "if") (parenthesized_expression "(((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2))" (( "(") (binary_expression "((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)) &&\n         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)" (parenthesized_expression "((param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2))" (( "(") (binary_expression "(param_2 != uVar4) &&\n          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)" (parenthesized_expression "(param_2 != uVar4)" (( "(") (binary_expression "param_2 != uVar4" (identifier "param_2") (!= "!=") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "(*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2)" (( "(") (comma_expression "*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,\n          (int)(uVar4 + 1) < (int)param_2" (assignment_expression "*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4)" (* "*") (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + uVar4)" (( "(") (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "uVar4")) () ")")))) (= "=") (binary_expression "*(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4)" (* "*") (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + uVar4)" (( "(") (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "uVar4")) () ")")))) (^ "^") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (, ",") (binary_expression "(int)(uVar4 + 1) < (int)param_2" (cast_expression "(int)(uVar4 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar4 + 1)" (( "(") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) () ")"))) (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2)" (( "(") (comma_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],\n         (int)(uVar4 + 2) < (int)param_2" (assignment_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =\n               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1]" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1)" (* "*") (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 1)" (( "(") (binary_expression "(int)&DAT_000701e0 + uVar4 + 1" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "uVar4")) (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1]" (pointer_expression "*(byte *)((int)&DAT_000701e0 + uVar4 + 1)" (* "*") (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 1)" (( "(") (binary_expression "(int)&DAT_000701e0 + uVar4 + 1" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "uVar4")) (+ "+") (number_literal "1")) () ")")))) (^ "^") (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]")))) (, ",") (binary_expression "(int)(uVar4 + 2) < (int)param_2" (cast_expression "(int)(uVar4 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar4 + 2)" (( "(") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) () ")"))) (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) () ")"))) () ")")) (compound_statement "{\n        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);\n        *pbVar1 = *pbVar1 ^ pbVar6[2];\n      }" ({ "{") (expression_statement "pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);" (assignment_expression "pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2)" (identifier "pbVar1") (= "=") (cast_expression "(byte *)((int)&DAT_000701e0 + uVar4 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_000701e0 + uVar4 + 2)" (( "(") (binary_expression "(int)&DAT_000701e0 + uVar4 + 2" (binary_expression "(int)&DAT_000701e0 + uVar4" (cast_expression "(int)&DAT_000701e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0"))) (+ "+") (identifier "uVar4")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*pbVar1 = *pbVar1 ^ pbVar6[2];" (assignment_expression "*pbVar1 = *pbVar1 ^ pbVar6[2]" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (= "=") (binary_expression "*pbVar1 ^ pbVar6[2]" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (^ "^") (subscript_expression "pbVar6[2]" (identifier "pbVar6") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" (else "else") (compound_statement "{\n      local_28 = (byte *)&DAT_000701e0;\n      puVar3 = param_1;\n      do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));\n    }" ({ "{") (expression_statement "local_28 = (byte *)&DAT_000701e0;" (assignment_expression "local_28 = (byte *)&DAT_000701e0" (identifier "local_28") (= "=") (cast_expression "(byte *)&DAT_000701e0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_000701e0" (& "&") (identifier "DAT_000701e0")))) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      } while (puVar7 != (uint *)(param_2 + (int)param_1));" (do "do") (compound_statement "{\n        puVar7 = (uint *)((int)puVar3 + 1);\n        *local_28 = *local_28 ^ (byte)*puVar3;\n        local_28 = local_28 + 1;\n        puVar3 = puVar7;\n      }" ({ "{") (expression_statement "puVar7 = (uint *)((int)puVar3 + 1);" (assignment_expression "puVar7 = (uint *)((int)puVar3 + 1)" (identifier "puVar7") (= "=") (cast_expression "(uint *)((int)puVar3 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 1)" (( "(") (binary_expression "(int)puVar3 + 1" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*local_28 = *local_28 ^ (byte)*puVar3;" (assignment_expression "*local_28 = *local_28 ^ (byte)*puVar3" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (= "=") (binary_expression "*local_28 ^ (byte)*puVar3" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (^ "^") (binary_expression "(byte)*puVar3" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" (identifier "local_28") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" (identifier "puVar3") (= "=") (identifier "puVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar7 != (uint *)(param_2 + (int)param_1))" (( "(") (binary_expression "puVar7 != (uint *)(param_2 + (int)param_1)" (identifier "puVar7") (!= "!=") (cast_expression "(uint *)(param_2 + (int)param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + (int)param_1)" (( "(") (binary_expression "param_2 + (int)param_1" (identifier "param_2") (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")")))) () ")")) (; ";")) (} "}")))) (} "}")))) (if_statement "if (local_24 == 0) {\n    FUN_0003b310();\n    return;\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0003b310();\n    return;\n  }" ({ "{") (expression_statement "FUN_0003b310();" (call_expression "FUN_0003b310()" (identifier "FUN_0003b310") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void *var_2,int var_1)

{
  type_1 *var_4;
  type_2 *pRVar2;
  type_3 var_8;
  type_3 *var_5;
  int var_3;
  type_4 *pbVar6;
  type_3 *var_9;
  type_2 *local_28;
  int var_6;
  
  var_6 = pool.stir_pending;
  if (0x4af < var_1) {
    do {
      while( true ) {
        if ((&pool < (type_2 *)((int)var_2 + 4) && var_2 < pool.pool + 4) ||
           (pRVar2 = &pool, var_5 = (type_3 *)var_2, ((type_3)var_2 & 3) != 0)) {
          var_3 = 0;
          do {
            pool.pool[var_3] = pool.pool[var_3] ^ *(type_4 *)((int)var_2 + var_3);
            var_3 = var_3 + 1;
          } while (var_3 != 0x4b0);
        }
        else {
          do {
            var_4 = pRVar2->pool;
            *(type_3 *)pRVar2->pool = *(type_3 *)pRVar2->pool ^ *var_5;
            pRVar2 = (type_2 *)(var_4 + 4);
            var_5 = var_5 + 1;
          } while ((type_2 *)(var_4 + 4) != (type_2 *)&pool.poolpos);
        }
        var_2 = (void *)((int)var_2 + 0x4b0);
        if (var_6 != 0) break;
        var_7();
        var_6 = pool.stir_pending;
        var_1 = var_1 - 0x4b0;
        if (var_1 < 0x4b0) goto LAB_0003bba8;
      }
      var_1 = var_1 - 0x4b0;
    } while (0x4af < var_1);
  }
LAB_0003bba8:
  if (0 < var_1) {
    if ((((type_3)var_2 & 3) == 0 && 2 < var_1 - 1U) &&
       (pRVar2 = &pool, (type_3 *)((int)var_2 + 4) < pool.pool + 1 || pool.pool + 3 < var_2)) {
      var_5 = (type_3 *)var_2;
      do {
        var_8 = *var_5;
        var_5 = var_5 + 1;
        *(type_3 *)pRVar2->pool = *(type_3 *)pRVar2->pool ^ var_8;
        pRVar2 = (type_2 *)(pRVar2->pool + 4);
      } while (var_5 != (type_3 *)((var_1 & 0xfffffffcU) + (int)var_2));
      var_8 = var_1 & 0xfffffffc;
      pbVar6 = (type_4 *)((int)var_2 + var_8);
      if (((var_1 != var_8) &&
          (pool.pool[var_8] = pool.pool[var_8] ^ *pbVar6, (int)(var_8 + 1) < var_1)) &&
         (pool.pool[var_8 + 1] = pool.pool[var_8 + 1] ^ pbVar6[1], (int)(var_8 + 2) < var_1)) {
        pool.pool[var_8 + 2] = pool.pool[var_8 + 2] ^ pbVar6[2];
      }
    }
    else {
      local_28 = &pool;
      var_5 = (type_3 *)var_2;
      do {
        var_9 = (type_3 *)((int)var_5 + 1);
        local_28->pool[0] = local_28->pool[0] ^ (type_4)*var_5;
        local_28 = (type_2 *)(local_28->pool + 1);
        var_5 = var_9;
      } while (var_9 != (type_3 *)(var_1 + (int)var_2));
    }
  }
  if (var_6 == 0) {
    var_7();
    return;
  }
  return;
}


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

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

void MASKED(uint *param_1,uint param_2)

{
  byte *pbVar1;
  uint *puVar2;
  uint *puVar3;
  uint uVar4;
  int iVar5;
  byte *pbVar6;
  uint *puVar7;
  byte *local_28;
  int local_24;
  
  local_24 = DAT_000706ec;
  if (0x4af < (int)param_2) {
    do {
      while( true ) {
        if ((&DAT_000701e0 < param_1 + 1 && param_1 < &DAT_000701e4) ||
           (puVar3 = &DAT_000701e0, puVar7 = param_1, ((uint)param_1 & 3) != 0)) {
          iVar5 = 0;
          do {
            *(byte *)((int)&DAT_000701e0 + iVar5) =
                 *(byte *)((int)&DAT_000701e0 + iVar5) ^ *(byte *)((int)param_1 + iVar5);
            iVar5 = iVar5 + 1;
          } while (iVar5 != 0x4b0);
        }
        else {
          do {
            puVar2 = puVar3 + 1;
            *puVar3 = *puVar3 ^ *puVar7;
            puVar3 = puVar2;
            puVar7 = puVar7 + 1;
          } while (puVar2 != &DAT_00070690);
        }
        param_1 = param_1 + 300;
        if (local_24 != 0) break;
        FUN_0003b310();
        local_24 = DAT_000706ec;
        param_2 = param_2 - 0x4b0;
        if ((int)param_2 < 0x4b0) goto LAB_0003bba8;
      }
      param_2 = param_2 - 0x4b0;
    } while (0x4af < (int)param_2);
  }
LAB_0003bba8:
  if (0 < (int)param_2) {
    if ((((uint)param_1 & 3) == 0 && 2 < param_2 - 1) &&
       (puVar3 = &DAT_000701e0,
       param_1 + 1 < (uint *)((int)&DAT_000701e0 + 1) || (uint *)((int)&DAT_000701e0 + 3) < param_1)
       ) {
      puVar7 = param_1;
      do {
        uVar4 = *puVar7;
        puVar7 = puVar7 + 1;
        *puVar3 = *puVar3 ^ uVar4;
        puVar3 = puVar3 + 1;
      } while (puVar7 != (uint *)((param_2 & 0xfffffffc) + (int)param_1));
      uVar4 = param_2 & 0xfffffffc;
      pbVar6 = (byte *)((int)param_1 + uVar4);
      if (((param_2 != uVar4) &&
          (*(byte *)((int)&DAT_000701e0 + uVar4) = *(byte *)((int)&DAT_000701e0 + uVar4) ^ *pbVar6,
          (int)(uVar4 + 1) < (int)param_2)) &&
         (*(byte *)((int)&DAT_000701e0 + uVar4 + 1) =
               *(byte *)((int)&DAT_000701e0 + uVar4 + 1) ^ pbVar6[1],
         (int)(uVar4 + 2) < (int)param_2)) {
        pbVar1 = (byte *)((int)&DAT_000701e0 + uVar4 + 2);
        *pbVar1 = *pbVar1 ^ pbVar6[2];
      }
    }
    else {
      local_28 = (byte *)&DAT_000701e0;
      puVar3 = param_1;
      do {
        puVar7 = (uint *)((int)puVar3 + 1);
        *local_28 = *local_28 ^ (byte)*puVar3;
        local_28 = local_28 + 1;
        puVar3 = puVar7;
      } while (puVar7 != (uint *)(param_2 + (int)param_1));
    }
  }
  if (local_24 == 0) {
    FUN_0003b310();
    return;
  }
  return;
}

