
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void sha1_process_bytes(void *buffer,size_t len,sha1_ctx *ctx)

{
  sha1_uint32 sVar1;
  uint uVar2;
  sha1_uint32 *psVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  sha1_uint32 *psVar8;
  sha1_uint32 *local_20;
  
  sVar1 = ctx->buflen;
  if (sVar1 != 0) {
    psVar8 = ctx->buffer;
    uVar2 = 0x80 - sVar1;
    if (len < 0x80 - sVar1) {
      uVar2 = len;
    }
    memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);
    uVar5 = ctx->buflen + uVar2;
    ctx->buflen = uVar5;
    if (0x40 < uVar5) {
      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);
      uVar5 = ctx->buflen;
      uVar6 = uVar5 & 0x3f;
      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);
      ctx->buflen = uVar6;
      if (uVar6 < 4) {
        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {
          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =
               *(undefined2 *)((int)psVar3 + (uVar6 - 2));
        }
      }
      else {
        ctx->buffer[0] = *psVar3;
        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)
        ;
        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;
        iVar4 = (int)psVar8 - uVar5;
        uVar6 = iVar4 + uVar6 & 0xfffffffc;
        if (3 < uVar6) {
          uVar7 = 0;
          do {
            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));
            uVar7 = uVar7 + 4;
          } while (uVar7 < uVar6);
        }
      }
    }
    buffer = (void *)((int)buffer + uVar2);
    len = len - uVar2;
  }
  if (0x3f < len) {
    if (((uint)buffer & 3) != 0) {
      if (len != 0x40) {
        uVar2 = len - 0x41 >> 6;
        psVar8 = (sha1_uint32 *)buffer;
        do {
          psVar3 = psVar8 + 0x10;
          ctx->buffer[0] = *psVar8;
          ctx->buffer[1] = psVar8[1];
          ctx->buffer[2] = psVar8[2];
          ctx->buffer[3] = psVar8[3];
          ctx->buffer[4] = psVar8[4];
          ctx->buffer[5] = psVar8[5];
          ctx->buffer[6] = psVar8[6];
          ctx->buffer[7] = psVar8[7];
          ctx->buffer[8] = psVar8[8];
          ctx->buffer[9] = psVar8[9];
          ctx->buffer[10] = psVar8[10];
          ctx->buffer[0xb] = psVar8[0xb];
          ctx->buffer[0xc] = psVar8[0xc];
          ctx->buffer[0xd] = psVar8[0xd];
          ctx->buffer[0xe] = psVar8[0xe];
          ctx->buffer[0xf] = psVar8[0xf];
          sha1_process_block(ctx->buffer,0x40,ctx);
          psVar8 = psVar3;
        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));
        len = (len - 0x40) + uVar2 * -0x40;
        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);
      }
      goto LAB_001e0cc1;
    }
    uVar2 = len & 0xffffffc0;
    sha1_process_block(buffer,uVar2,ctx);
    len = len & 0x3f;
    buffer = (sha1_uint32 *)((int)buffer + uVar2);
  }
  if (len == 0) {
    return;
  }
LAB_001e0cc1:
  local_20 = ctx->buffer;
  sVar1 = ctx->buflen;
  psVar8 = (sha1_uint32 *)((int)local_20 + sVar1);
  if (len < 4) {
                    /* WARNING: Load size is inaccurate */
    if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {
      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));
    }
  }
  else {
                    /* WARNING: Load size is inaccurate */
    *psVar8 = *buffer;
    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));
    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);
    uVar2 = iVar4 + len & 0xfffffffc;
    if (3 < uVar2) {
      uVar5 = 0;
      do {
        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =
             *(undefined4 *)((int)buffer + (uVar5 - iVar4));
        uVar5 = uVar5 + 4;
      } while (uVar5 < uVar2);
    }
  }
  uVar2 = sVar1 + len;
  if (0x3f < uVar2) {
    uVar2 = uVar2 - 0x40;
    sha1_process_block(local_20,0x40,ctx);
    memcpy(local_20,ctx->buffer + 0x10,uVar2);
  }
  ctx->buflen = uVar2;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)

{
  int iVar1;
  uint uVar2;
  undefined4 *puVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  undefined4 *puVar8;
  void *local_20;
  
  iVar1 = *(int *)(param_3 + 0x1c);
  if (iVar1 != 0) {
    iVar4 = param_3 + 0x20;
    uVar2 = 0x80U - iVar1;
    if (param_2 < 0x80U - iVar1) {
      uVar2 = param_2;
    }
    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);
    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;
    *(uint *)(param_3 + 0x1c) = uVar5;
    if (0x40 < uVar5) {
      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);
      uVar5 = *(uint *)(param_3 + 0x1c);
      uVar6 = uVar5 & 0x3f;
      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);
      *(uint *)(param_3 + 0x1c) = uVar6;
      if (uVar6 < 4) {
        if ((uVar6 != 0) &&
           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {
          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));
        }
      }
      else {
        *(undefined4 *)(param_3 + 0x20) = *puVar3;
        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);
        uVar5 = param_3 + 0x24U & 0xfffffffc;
        iVar4 = iVar4 - uVar5;
        uVar6 = iVar4 + uVar6 & 0xfffffffc;
        if (3 < uVar6) {
          uVar7 = 0;
          do {
            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));
            uVar7 = uVar7 + 4;
          } while (uVar7 < uVar6);
        }
      }
    }
    param_1 = (undefined4 *)((int)param_1 + uVar2);
    param_2 = param_2 - uVar2;
  }
  if (0x3f < param_2) {
    if (((uint)param_1 & 3) != 0) {
      if (param_2 != 0x40) {
        uVar2 = param_2 - 0x41 >> 6;
        puVar3 = param_1;
        do {
          puVar8 = puVar3 + 0x10;
          *(undefined4 *)(param_3 + 0x20) = *puVar3;
          *(undefined4 *)(param_3 + 0x24) = puVar3[1];
          *(undefined4 *)(param_3 + 0x28) = puVar3[2];
          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];
          *(undefined4 *)(param_3 + 0x30) = puVar3[4];
          *(undefined4 *)(param_3 + 0x34) = puVar3[5];
          *(undefined4 *)(param_3 + 0x38) = puVar3[6];
          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];
          *(undefined4 *)(param_3 + 0x40) = puVar3[8];
          *(undefined4 *)(param_3 + 0x44) = puVar3[9];
          *(undefined4 *)(param_3 + 0x48) = puVar3[10];
          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];
          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];
          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];
          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];
          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];
          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);
          puVar3 = puVar8;
        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);
        param_2 = (param_2 - 0x40) + uVar2 * -0x40;
        param_1 = param_1 + (uVar2 + 1) * 0x10;
      }
      goto LAB_001e0cc1;
    }
    uVar2 = param_2 & 0xffffffc0;
    FUN_001df990(param_1,uVar2,param_3);
    param_2 = param_2 & 0x3f;
    param_1 = (undefined4 *)((int)param_1 + uVar2);
  }
  if (param_2 == 0) {
    return;
  }
LAB_001e0cc1:
  local_20 = (void *)(param_3 + 0x20);
  iVar1 = *(int *)(param_3 + 0x1c);
  puVar3 = (undefined4 *)((int)local_20 + iVar1);
  if (param_2 < 4) {
    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {
      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));
    }
  }
  else {
    *puVar3 = *param_1;
    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));
    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);
    uVar2 = iVar4 + param_2 & 0xfffffffc;
    if (3 < uVar2) {
      uVar5 = 0;
      do {
        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =
             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));
        uVar5 = uVar5 + 4;
      } while (uVar5 < uVar2);
    }
  }
  param_2 = iVar1 + param_2;
  if (0x3f < param_2) {
    param_2 = param_2 - 0x40;
    FUN_001df990(local_20,0x40,param_3);
    memcpy(local_20,(void *)(param_3 + 0x60),param_2);
  }
  *(uint *)(param_3 + 0x1c) = param_2;
  return;
}


CALL 0x000559e6
ADD EAX,0x1ae42b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV ESI,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x20],EAX
MOV EAX,dword ptr [ESI + 0x1c]
MOV dword ptr [EBP + -0x1c],EAX
TEST EAX,EAX
JNZ 0x001e0d58
CMP dword ptr [EBP + 0xc],0x3f
JBE 0x001e0d42
TEST EDI,0x3
JZ 0x001e0d28
LEA ECX,[ESI + 0x20]
CMP dword ptr [EBP + 0xc],0x40
MOV dword ptr [EBP + -0x1c],ECX
JZ 0x001e0ec0
MOV EAX,dword ptr [EBP + 0xc]
SUB EAX,0x41
SHR EAX,0x6
LEA EBX,[EAX + 0x1]
MOV dword ptr [EBP + -0x24],EAX
SHL EBX,0x6
ADD EBX,EDI
LEA ESI,[ESI]
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [EBP + -0x1c]
SUB ESP,0x4
ADD EDI,0x40
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [EDI + -0x3c]
MOV dword ptr [EDX + 0x4],EAX
MOV EAX,dword ptr [EDI + -0x38]
MOV dword ptr [EDX + 0x8],EAX
MOV EAX,dword ptr [EDI + -0x34]
MOV dword ptr [EDX + 0xc],EAX
MOV EAX,dword ptr [EDI + -0x30]
MOV dword ptr [EDX + 0x10],EAX
MOV EAX,dword ptr [EDI + -0x2c]
MOV dword ptr [EDX + 0x14],EAX
MOV EAX,dword ptr [EDI + -0x28]
MOV dword ptr [EDX + 0x18],EAX
MOV EAX,dword ptr [EDI + -0x24]
MOV dword ptr [EDX + 0x1c],EAX
MOV EAX,dword ptr [EDI + -0x20]
MOV dword ptr [EDX + 0x20],EAX
MOV EAX,dword ptr [EDI + -0x1c]
MOV dword ptr [EDX + 0x24],EAX
MOV EAX,dword ptr [EDI + -0x18]
MOV dword ptr [EDX + 0x28],EAX
MOV EAX,dword ptr [EDI + -0x14]
MOV dword ptr [EDX + 0x2c],EAX
MOV EAX,dword ptr [EDI + -0x10]
MOV dword ptr [EDX + 0x30],EAX
MOV EAX,dword ptr [EDI + -0xc]
MOV dword ptr [EDX + 0x34],EAX
MOV EAX,dword ptr [EDI + -0x8]
MOV dword ptr [EDX + 0x38],EAX
MOV EAX,dword ptr [EDI + -0x4]
MOV dword ptr [EDX + 0x3c],EAX
PUSH ESI
PUSH 0x40
PUSH EDX
CALL 0x001df990
ADD ESP,0x10
CMP EDI,EBX
JNZ 0x001e0c38
MOV EAX,dword ptr [EBP + -0x24]
MOV ECX,dword ptr [EBP + 0xc]
SHL EAX,0x6
NEG EAX
LEA EAX,[ECX + EAX*0x1 + -0x40]
MOV dword ptr [EBP + 0xc],EAX
MOV EAX,dword ptr [ESI + 0x1c]
MOV ECX,dword ptr [EBP + -0x1c]
CMP dword ptr [EBP + 0xc],0x4
LEA EDX,[ECX + EAX*0x1]
JNC 0x001e0da0
MOV ECX,dword ptr [EBP + 0xc]
TEST ECX,ECX
JZ 0x001e0cea
MOVZX ECX,byte ptr [EBX]
MOV byte ptr [EDX],CL
TEST byte ptr [EBP + 0xc],0x2
JNZ 0x001e0ec7
ADD EAX,dword ptr [EBP + 0xc]
MOV EDI,EAX
CMP EAX,0x3f
JBE 0x001e0d1a
MOV EBX,dword ptr [EBP + -0x1c]
SUB ESP,0x4
SUB EDI,0x40
PUSH ESI
PUSH 0x40
PUSH EBX
CALL 0x001df990
ADD ESP,0xc
LEA EDX,[ESI + 0x60]
PUSH EDI
PUSH EDX
PUSH EBX
MOV EBX,dword ptr [EBP + -0x20]
CALL 0x000295c0
ADD ESP,0x10
MOV dword ptr [ESI + 0x1c],EDI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,dword ptr [EBP + 0xc]
SUB ESP,0x4
PUSH ESI
AND EBX,0xffffffc0
PUSH EBX
PUSH EDI
ADD EDI,EBX
CALL 0x001df990
AND dword ptr [EBP + 0xc],0x3f
ADD ESP,0x10
MOV EBX,dword ptr [EBP + 0xc]
TEST EBX,EBX
JNZ 0x001e0edc
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,0x80
MOV EBX,EAX
SUB ECX,EAX
LEA EAX,[ESI + 0x20]
CMP ECX,dword ptr [EBP + 0xc]
CMOVA ECX,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x28],EAX
SUB ESP,0x4
ADD EAX,EBX
MOV EBX,dword ptr [EBP + -0x20]
PUSH ECX
PUSH EDI
PUSH EAX
MOV dword ptr [EBP + -0x24],ECX
CALL 0x000295c0
MOV EAX,dword ptr [ESI + 0x1c]
MOV ECX,dword ptr [EBP + -0x24]
ADD ESP,0x10
ADD EAX,ECX
MOV dword ptr [ESI + 0x1c],EAX
CMP EAX,0x40
JA 0x001e0df0
ADD EDI,ECX
SUB dword ptr [EBP + 0xc],ECX
JMP 0x001e0bfa
MOV ECX,dword ptr [EBX]
MOV dword ptr [EDX],ECX
MOV ECX,dword ptr [EBP + 0xc]
MOV EDI,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [EBX + ECX*0x1 + -0x4]
MOV dword ptr [EDX + EDI*0x1 + -0x4],ECX
LEA ECX,[EDX + 0x4]
AND ECX,0xfffffffc
SUB EDX,ECX
SUB EBX,EDX
ADD EDX,dword ptr [EBP + 0xc]
AND EDX,0xfffffffc
CMP EDX,0x4
JC 0x001e0cea
MOV dword ptr [EBP + -0x24],EAX
MOV EDI,EDX
XOR EDX,EDX
AND EDI,0xfffffffc
MOV EAX,dword ptr [EBX + EDX*0x1]
MOV dword ptr [ECX + EDX*0x1],EAX
ADD EDX,0x4
CMP EDX,EDI
JC 0x001e0dd5
MOV EAX,dword ptr [EBP + -0x24]
JMP 0x001e0cea
SUB ESP,0x4
AND EAX,0xffffffc0
MOV dword ptr [EBP + -0x2c],ECX
PUSH ESI
PUSH EAX
PUSH dword ptr [EBP + -0x28]
CALL 0x001df990
MOV EDX,dword ptr [ESI + 0x1c]
MOV EAX,dword ptr [EBP + -0x1c]
MOV ECX,dword ptr [EBP + -0x2c]
MOV EBX,EDX
ADD EAX,ECX
AND EBX,0x3f
AND EAX,0xffffffc0
ADD EAX,dword ptr [EBP + -0x28]
MOV dword ptr [EBP + -0x24],EBX
MOV dword ptr [ESI + 0x1c],EBX
MOV dword ptr [EBP + -0x1c],EAX
CMP EBX,0x4
JNC 0x001e0e60
TEST EBX,EBX
JZ 0x001e0e50
MOVZX EBX,byte ptr [EAX]
AND EDX,0x2
MOV byte ptr [ESI + 0x20],BL
JZ 0x001e0e50
MOV EDX,dword ptr [EBP + -0x24]
MOV EAX,dword ptr [EBP + -0x1c]
MOV EBX,dword ptr [EBP + -0x28]
MOVZX EAX,word ptr [EAX + EDX*0x1 + -0x2]
MOV word ptr [EBX + EDX*0x1 + -0x2],AX
LEA ESI,[ESI]
ADD ESP,0x10
JMP 0x001e0d94
MOV EAX,dword ptr [EBP + -0x1c]
MOV EBX,dword ptr [EAX]
MOV dword ptr [ESI + 0x20],EBX
MOV EAX,dword ptr [EBP + -0x24]
MOV EDX,dword ptr [EBP + -0x1c]
MOV EBX,dword ptr [EBP + -0x28]
MOV EDX,dword ptr [EAX + EDX*0x1 + -0x4]
MOV dword ptr [EBX + EAX*0x1 + -0x4],EDX
LEA EDX,[ESI + 0x24]
MOV EAX,dword ptr [EBP + -0x1c]
AND EDX,0xfffffffc
SUB EBX,EDX
SUB EAX,EBX
ADD EBX,dword ptr [EBP + -0x24]
AND EBX,0xfffffffc
CMP EBX,0x4
JC 0x001e0e50
MOV dword ptr [EBP + -0x24],ECX
AND EBX,0xfffffffc
MOV dword ptr [EBP + 0x10],ESI
XOR ESI,ESI
MOV ECX,dword ptr [EAX + ESI*0x1]
MOV dword ptr [EBP + -0x1c],ECX
MOV ECX,ESI
MOV ESI,dword ptr [EBP + -0x1c]
MOV dword ptr [EDX + ECX*0x1],ESI
ADD ECX,0x4
MOV ESI,ECX
CMP ECX,EBX
JC 0x001e0e9c
MOV ECX,dword ptr [EBP + -0x24]
MOV ESI,dword ptr [EBP + 0x10]
JMP 0x001e0e50
MOV EBX,EDI
JMP 0x001e0cc1
MOV ECX,dword ptr [EBP + 0xc]
MOVZX ECX,word ptr [EBX + ECX*0x1 + -0x2]
MOV EBX,dword ptr [EBP + 0xc]
MOV word ptr [EDX + EBX*0x1 + -0x2],CX
JMP 0x001e0cea
LEA EAX,[ESI + 0x20]
MOV EBX,EDI
MOV dword ptr [EBP + -0x1c],EAX
JMP 0x001e0cc1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}\n\n" comment (function_definition "void FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,uint param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "void *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }" { (expression_statement "iVar4 = param_3 + 0x20;" (assignment_expression "iVar4 = param_3 + 0x20" identifier = (binary_expression "param_3 + 0x20" identifier + number_literal)) ;) (expression_statement "uVar2 = 0x80U - iVar1;" (assignment_expression "uVar2 = 0x80U - iVar1" identifier = (binary_expression "0x80U - iVar1" number_literal - identifier)) ;) (if_statement "if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }" if (parenthesized_expression "(param_2 < 0x80U - iVar1)" ( (binary_expression "param_2 < 0x80U - iVar1" identifier < (binary_expression "0x80U - iVar1" number_literal - identifier)) )) (compound_statement "{\n      uVar2 = param_2;\n    }" { (expression_statement "uVar2 = param_2;" (assignment_expression "uVar2 = param_2" identifier = identifier) ;) })) (expression_statement "memcpy((void *)(iVar4 + iVar1),param_1,uVar2);" (call_expression "memcpy((void *)(iVar4 + iVar1),param_1,uVar2)" identifier (argument_list "((void *)(iVar4 + iVar1),param_1,uVar2)" ( (cast_expression "(void *)(iVar4 + iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar1)" ( (binary_expression "iVar4 + iVar1" identifier + identifier) ))) , identifier , identifier ))) ;) (expression_statement "uVar5 = *(int *)(param_3 + 0x1c) + uVar2;" (assignment_expression "uVar5 = *(int *)(param_3 + 0x1c) + uVar2" identifier = (binary_expression "*(int *)(param_3 + 0x1c) + uVar2" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) + identifier)) ;) (expression_statement "*(uint *)(param_3 + 0x1c) = uVar5;" (assignment_expression "*(uint *)(param_3 + 0x1c) = uVar5" (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" if (parenthesized_expression "(0x40 < uVar5)" ( (binary_expression "0x40 < uVar5" number_literal < identifier) )) (compound_statement "{\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" { (expression_statement "FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);" (call_expression "FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3)" identifier (argument_list "(iVar4,uVar5 & 0xffffffc0,param_3)" ( identifier , (binary_expression "uVar5 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "uVar5 = *(uint *)(param_3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(param_3 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = uVar5 & 0x3f;" (assignment_expression "uVar6 = uVar5 & 0x3f" identifier = (binary_expression "uVar5 & 0x3f" identifier & number_literal)) ;) (expression_statement "puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);" (assignment_expression "puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4)" identifier = (cast_expression "(undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar1 + uVar2 & 0xffffffc0) + iVar4)" ( (binary_expression "(iVar1 + uVar2 & 0xffffffc0) + iVar4" (parenthesized_expression "(iVar1 + uVar2 & 0xffffffc0)" ( (binary_expression "iVar1 + uVar2 & 0xffffffc0" (binary_expression "iVar1 + uVar2" identifier + identifier) & number_literal) )) + identifier) )))) ;) (expression_statement "*(uint *)(param_3 + 0x1c) = uVar6;" (assignment_expression "*(uint *)(param_3 + 0x1c) = uVar6" (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" if (parenthesized_expression "(uVar6 < 4)" ( (binary_expression "uVar6 < 4" identifier < number_literal) )) (compound_statement "{\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }" { (if_statement "if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }" if (parenthesized_expression "((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0))" ( (binary_expression "(uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)" (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)" ( (comma_expression "*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0" (assignment_expression "*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3" (pointer_expression "*(undefined1 *)(param_3 + 0x20)" * (cast_expression "(undefined1 *)(param_3 + 0x20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)puVar3" * (cast_expression "(undefined1 *)puVar3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }" { (expression_statement "*(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));" (assignment_expression "*(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2))" (pointer_expression "*(undefined2 *)(param_3 + 0x1e + uVar6)" * (cast_expression "(undefined2 *)(param_3 + 0x1e + uVar6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1e + uVar6)" ( (binary_expression "param_3 + 0x1e + uVar6" (binary_expression "param_3 + 0x1e" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined2 *)((int)puVar3 + (uVar6 - 2))" * (cast_expression "(undefined2 *)((int)puVar3 + (uVar6 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uVar6 - 2))" ( (binary_expression "(int)puVar3 + (uVar6 - 2)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar6 - 2)" ( (binary_expression "uVar6 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" else (compound_statement "{\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" { (expression_statement "*(undefined4 *)(param_3 + 0x20) = *puVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x20) = *puVar3" (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);" (assignment_expression "*(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3)" (pointer_expression "*(undefined4 *)(param_3 + 0x1c + uVar6)" * (cast_expression "(undefined4 *)(param_3 + 0x1c + uVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c + uVar6)" ( (binary_expression "param_3 + 0x1c + uVar6" (binary_expression "param_3 + 0x1c" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((uVar6 - 4) + (int)puVar3)" * (cast_expression "(undefined4 *)((uVar6 - 4) + (int)puVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar6 - 4) + (int)puVar3)" ( (binary_expression "(uVar6 - 4) + (int)puVar3" (parenthesized_expression "(uVar6 - 4)" ( (binary_expression "uVar6 - 4" identifier - number_literal) )) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "uVar5 = param_3 + 0x24U & 0xfffffffc;" (assignment_expression "uVar5 = param_3 + 0x24U & 0xfffffffc" identifier = (binary_expression "param_3 + 0x24U & 0xfffffffc" (binary_expression "param_3 + 0x24U" identifier + number_literal) & number_literal)) ;) (expression_statement "iVar4 = iVar4 - uVar5;" (assignment_expression "iVar4 = iVar4 - uVar5" identifier = (binary_expression "iVar4 - uVar5" identifier - identifier)) ;) (expression_statement "uVar6 = iVar4 + uVar6 & 0xfffffffc;" (assignment_expression "uVar6 = iVar4 + uVar6 & 0xfffffffc" identifier = (binary_expression "iVar4 + uVar6 & 0xfffffffc" (binary_expression "iVar4 + uVar6" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" if (parenthesized_expression "(3 < uVar6)" ( (binary_expression "3 < uVar6" number_literal < identifier) )) (compound_statement "{\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);" do (compound_statement "{\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          }" { (expression_statement "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));" (assignment_expression "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" (pointer_expression "*(undefined4 *)(uVar5 + uVar7)" * (cast_expression "(undefined4 *)(uVar5 + uVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + uVar7)" ( (binary_expression "uVar5 + uVar7" identifier + identifier) )))) = (pointer_expression "*(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" * (cast_expression "(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uVar7 - iVar4))" ( (binary_expression "(int)puVar3 + (uVar7 - iVar4)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - iVar4)" ( (binary_expression "uVar7 - iVar4" identifier - identifier) ))) ))))) ;) (expression_statement "uVar7 = uVar7 + 4;" (assignment_expression "uVar7 = uVar7 + 4" identifier = (binary_expression "uVar7 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 < uVar6)" ( (binary_expression "uVar7 < uVar6" identifier < identifier) )) ;) })) }))) })) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar2);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar2)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar2)" ( (binary_expression "(int)param_1 + uVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_2 = param_2 - uVar2;" (assignment_expression "param_2 = param_2 - uVar2" identifier = (binary_expression "param_2 - uVar2" identifier - identifier)) ;) })) (if_statement "if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }" { (if_statement "if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }" if (parenthesized_expression "(((uint)param_1 & 3) != 0)" ( (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      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }" { (if_statement "if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }" if (parenthesized_expression "(param_2 != 0x40)" ( (binary_expression "param_2 != 0x40" identifier != number_literal) )) (compound_statement "{\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }" { (expression_statement "uVar2 = param_2 - 0x41 >> 6;" (assignment_expression "uVar2 = param_2 - 0x41 >> 6" identifier = (binary_expression "param_2 - 0x41 >> 6" (binary_expression "param_2 - 0x41" identifier - number_literal) >> number_literal)) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);" do (compound_statement "{\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        }" { (expression_statement "puVar8 = puVar3 + 0x10;" (assignment_expression "puVar8 = puVar3 + 0x10" identifier = (binary_expression "puVar3 + 0x10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x20) = *puVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x20) = *puVar3" (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x24) = puVar3[1];" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = puVar3[1]" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" * (cast_expression "(undefined4 *)(param_3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x28) = puVar3[2];" (assignment_expression "*(undefined4 *)(param_3 + 0x28) = puVar3[2]" (pointer_expression "*(undefined4 *)(param_3 + 0x28)" * (cast_expression "(undefined4 *)(param_3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = puVar3[3];" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = puVar3[3]" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x30) = puVar3[4];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = puVar3[4]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x34) = puVar3[5];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = puVar3[5]" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) = (subscript_expression "puVar3[5]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x38) = puVar3[6];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = puVar3[6]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) = (subscript_expression "puVar3[6]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = puVar3[7];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = puVar3[7]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" * (cast_expression "(undefined4 *)(param_3 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) = (subscript_expression "puVar3[7]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x40) = puVar3[8];" (assignment_expression "*(undefined4 *)(param_3 + 0x40) = puVar3[8]" (pointer_expression "*(undefined4 *)(param_3 + 0x40)" * (cast_expression "(undefined4 *)(param_3 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x40)" ( (binary_expression "param_3 + 0x40" identifier + number_literal) )))) = (subscript_expression "puVar3[8]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x44) = puVar3[9];" (assignment_expression "*(undefined4 *)(param_3 + 0x44) = puVar3[9]" (pointer_expression "*(undefined4 *)(param_3 + 0x44)" * (cast_expression "(undefined4 *)(param_3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x44)" ( (binary_expression "param_3 + 0x44" identifier + number_literal) )))) = (subscript_expression "puVar3[9]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x48) = puVar3[10];" (assignment_expression "*(undefined4 *)(param_3 + 0x48) = puVar3[10]" (pointer_expression "*(undefined4 *)(param_3 + 0x48)" * (cast_expression "(undefined4 *)(param_3 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x48)" ( (binary_expression "param_3 + 0x48" identifier + number_literal) )))) = (subscript_expression "puVar3[10]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];" (assignment_expression "*(undefined4 *)(param_3 + 0x4c) = puVar3[0xb]" (pointer_expression "*(undefined4 *)(param_3 + 0x4c)" * (cast_expression "(undefined4 *)(param_3 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x4c)" ( (binary_expression "param_3 + 0x4c" identifier + number_literal) )))) = (subscript_expression "puVar3[0xb]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x50) = puVar3[0xc];" (assignment_expression "*(undefined4 *)(param_3 + 0x50) = puVar3[0xc]" (pointer_expression "*(undefined4 *)(param_3 + 0x50)" * (cast_expression "(undefined4 *)(param_3 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = (subscript_expression "puVar3[0xc]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x54) = puVar3[0xd];" (assignment_expression "*(undefined4 *)(param_3 + 0x54) = puVar3[0xd]" (pointer_expression "*(undefined4 *)(param_3 + 0x54)" * (cast_expression "(undefined4 *)(param_3 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x54)" ( (binary_expression "param_3 + 0x54" identifier + number_literal) )))) = (subscript_expression "puVar3[0xd]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x58) = puVar3[0xe];" (assignment_expression "*(undefined4 *)(param_3 + 0x58) = puVar3[0xe]" (pointer_expression "*(undefined4 *)(param_3 + 0x58)" * (cast_expression "(undefined4 *)(param_3 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x58)" ( (binary_expression "param_3 + 0x58" identifier + number_literal) )))) = (subscript_expression "puVar3[0xe]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];" (assignment_expression "*(undefined4 *)(param_3 + 0x5c) = puVar3[0xf]" (pointer_expression "*(undefined4 *)(param_3 + 0x5c)" * (cast_expression "(undefined4 *)(param_3 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x5c)" ( (binary_expression "param_3 + 0x5c" identifier + number_literal) )))) = (subscript_expression "puVar3[0xf]" identifier [ number_literal ])) ;) (expression_statement "FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);" (call_expression "FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3)" identifier (argument_list "((undefined4 *)(param_3 + 0x20),0x40,param_3)" ( (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) ))) , number_literal , identifier ))) ;) (expression_statement "puVar3 = puVar8;" (assignment_expression "puVar3 = puVar8" identifier = identifier) ;) }) while (parenthesized_expression "(puVar8 != param_1 + (uVar2 + 1) * 0x10)" ( (binary_expression "puVar8 != param_1 + (uVar2 + 1) * 0x10" identifier != (binary_expression "param_1 + (uVar2 + 1) * 0x10" identifier + (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal))) )) ;) (expression_statement "param_2 = (param_2 - 0x40) + uVar2 * -0x40;" (assignment_expression "param_2 = (param_2 - 0x40) + uVar2 * -0x40" identifier = (binary_expression "(param_2 - 0x40) + uVar2 * -0x40" (parenthesized_expression "(param_2 - 0x40)" ( (binary_expression "param_2 - 0x40" identifier - number_literal) )) + (binary_expression "uVar2 * -0x40" identifier * number_literal))) ;) (expression_statement "param_1 = param_1 + (uVar2 + 1) * 0x10;" (assignment_expression "param_1 = param_1 + (uVar2 + 1) * 0x10" identifier = (binary_expression "param_1 + (uVar2 + 1) * 0x10" identifier + (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal))) ;) })) (goto_statement "goto LAB_001e0cc1;" goto statement_identifier ;) })) (expression_statement "uVar2 = param_2 & 0xffffffc0;" (assignment_expression "uVar2 = param_2 & 0xffffffc0" identifier = (binary_expression "param_2 & 0xffffffc0" identifier & number_literal)) ;) (expression_statement "FUN_001df990(param_1,uVar2,param_3);" (call_expression "FUN_001df990(param_1,uVar2,param_3)" identifier (argument_list "(param_1,uVar2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_2 = param_2 & 0x3f;" (assignment_expression "param_2 = param_2 & 0x3f" identifier = (binary_expression "param_2 & 0x3f" identifier & number_literal)) ;) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar2);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar2)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar2)" ( (binary_expression "(int)param_1 + uVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) })) (if_statement "if (param_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);" statement_identifier : (expression_statement "local_20 = (void *)(param_3 + 0x20);" (assignment_expression "local_20 = (void *)(param_3 + 0x20)" identifier = (cast_expression "(void *)(param_3 + 0x20)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) ;)) (expression_statement "iVar1 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = (undefined4 *)((int)local_20 + iVar1);" (assignment_expression "puVar3 = (undefined4 *)((int)local_20 + iVar1)" identifier = (cast_expression "(undefined4 *)((int)local_20 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_20 + iVar1)" ( (binary_expression "(int)local_20 + iVar1" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }" { (if_statement "if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }" if (parenthesized_expression "((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0))" ( (binary_expression "(param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0" (assignment_expression "*(undefined1 *)puVar3 = *(undefined1 *)param_1" (pointer_expression "*(undefined1 *)puVar3" * (cast_expression "(undefined1 *)puVar3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)param_1" * (cast_expression "(undefined1 *)param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(param_2 & 2) != 0" (parenthesized_expression "(param_2 & 2)" ( (binary_expression "param_2 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }" { (expression_statement "*(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));" (assignment_expression "*(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2))" (pointer_expression "*(undefined2 *)((int)puVar3 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)puVar3 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (param_2 - 2))" ( (binary_expression "(int)puVar3 + (param_2 - 2)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)param_1 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)param_1 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 - 2))" ( (binary_expression "(int)param_1 + (param_2 - 2)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" else (compound_statement "{\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" { (expression_statement "*puVar3 = *param_1;" (assignment_expression "*puVar3 = *param_1" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));" (assignment_expression "*(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4))" (pointer_expression "*(undefined4 *)((int)puVar3 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)puVar3 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (param_2 - 4))" ( (binary_expression "(int)puVar3 + (param_2 - 4)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)param_1 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)param_1 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 - 4))" ( (binary_expression "(int)param_1 + (param_2 - 4)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);" (assignment_expression "iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((uint)(puVar3 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar3 + 1) & 0xfffffffc" (call_expression "(uint)(puVar3 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar2 = iVar4 + param_2 & 0xfffffffc;" (assignment_expression "uVar2 = iVar4 + param_2 & 0xfffffffc" identifier = (binary_expression "iVar4 + param_2 & 0xfffffffc" (binary_expression "iVar4 + param_2" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" if (parenthesized_expression "(3 < uVar2)" ( (binary_expression "3 < uVar2" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);" do (compound_statement "{\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      }" { (expression_statement "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));" (assignment_expression "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4))" (pointer_expression "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" * (cast_expression "(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" ( (binary_expression "((uint)(puVar3 + 1) & 0xfffffffc) + uVar5" (parenthesized_expression "((uint)(puVar3 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar3 + 1) & 0xfffffffc" (call_expression "(uint)(puVar3 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) ))) & number_literal) )) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)param_1 + (uVar5 - iVar4))" * (cast_expression "(undefined4 *)((int)param_1 + (uVar5 - iVar4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (uVar5 - iVar4))" ( (binary_expression "(int)param_1 + (uVar5 - iVar4)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar5 - iVar4)" ( (binary_expression "uVar5 - iVar4" identifier - identifier) ))) ))))) ;) (expression_statement "uVar5 = uVar5 + 4;" (assignment_expression "uVar5 = uVar5 + 4" identifier = (binary_expression "uVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < uVar2)" ( (binary_expression "uVar5 < uVar2" identifier < identifier) )) ;) })) }))) (expression_statement "param_2 = iVar1 + param_2;" (assignment_expression "param_2 = iVar1 + param_2" identifier = (binary_expression "iVar1 + param_2" identifier + identifier)) ;) (if_statement "if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }" { (expression_statement "param_2 = param_2 - 0x40;" (assignment_expression "param_2 = param_2 - 0x40" identifier = (binary_expression "param_2 - 0x40" identifier - number_literal)) ;) (expression_statement "FUN_001df990(local_20,0x40,param_3);" (call_expression "FUN_001df990(local_20,0x40,param_3)" identifier (argument_list "(local_20,0x40,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "memcpy(local_20,(void *)(param_3 + 0x60),param_2);" (call_expression "memcpy(local_20,(void *)(param_3 + 0x60),param_2)" identifier (argument_list "(local_20,(void *)(param_3 + 0x60),param_2)" ( identifier , (cast_expression "(void *)(param_3 + 0x60)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x60)" ( (binary_expression "param_3 + 0x60" identifier + number_literal) ))) , identifier ))) ;) })) (expression_statement "*(uint *)(param_3 + 0x1c) = param_2;" (assignment_expression "*(uint *)(param_3 + 0x1c) = param_2" (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid sha1_process_bytes(void *buffer,size_t len,sha1_ctx *ctx)\n\n{\n  sha1_uint32 sVar1;\n  uint uVar2;\n  sha1_uint32 *psVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  sha1_uint32 *psVar8;\n  sha1_uint32 *local_20;\n  \n  sVar1 = ctx->buflen;\n  if (sVar1 != 0) {\n    psVar8 = ctx->buffer;\n    uVar2 = 0x80 - sVar1;\n    if (len < 0x80 - sVar1) {\n      uVar2 = len;\n    }\n    memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);\n    uVar5 = ctx->buflen + uVar2;\n    ctx->buflen = uVar5;\n    if (0x40 < uVar5) {\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar2);\n    len = len - uVar2;\n  }\n  if (0x3f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = len & 0xffffffc0;\n    sha1_process_block(buffer,uVar2,ctx);\n    len = len & 0x3f;\n    buffer = (sha1_uint32 *)((int)buffer + uVar2);\n  }\n  if (len == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = ctx->buffer;\n  sVar1 = ctx->buflen;\n  psVar8 = (sha1_uint32 *)((int)local_20 + sVar1);\n  if (len < 4) {\n                    /* WARNING: Load size is inaccurate */\n    if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }\n  }\n  else {\n                    /* WARNING: Load size is inaccurate */\n    *psVar8 = *buffer;\n    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));\n    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + len & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  uVar2 = sVar1 + len;\n  if (0x3f < uVar2) {\n    uVar2 = uVar2 - 0x40;\n    sha1_process_block(local_20,0x40,ctx);\n    memcpy(local_20,ctx->buffer + 0x10,uVar2);\n  }\n  ctx->buflen = uVar2;\n  return;\n}\n\n" comment (function_definition "void sha1_process_bytes(void *buffer,size_t len,sha1_ctx *ctx)\n\n{\n  sha1_uint32 sVar1;\n  uint uVar2;\n  sha1_uint32 *psVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  sha1_uint32 *psVar8;\n  sha1_uint32 *local_20;\n  \n  sVar1 = ctx->buflen;\n  if (sVar1 != 0) {\n    psVar8 = ctx->buffer;\n    uVar2 = 0x80 - sVar1;\n    if (len < 0x80 - sVar1) {\n      uVar2 = len;\n    }\n    memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);\n    uVar5 = ctx->buflen + uVar2;\n    ctx->buflen = uVar5;\n    if (0x40 < uVar5) {\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar2);\n    len = len - uVar2;\n  }\n  if (0x3f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = len & 0xffffffc0;\n    sha1_process_block(buffer,uVar2,ctx);\n    len = len & 0x3f;\n    buffer = (sha1_uint32 *)((int)buffer + uVar2);\n  }\n  if (len == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = ctx->buffer;\n  sVar1 = ctx->buflen;\n  psVar8 = (sha1_uint32 *)((int)local_20 + sVar1);\n  if (len < 4) {\n                    /* WARNING: Load size is inaccurate */\n    if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }\n  }\n  else {\n                    /* WARNING: Load size is inaccurate */\n    *psVar8 = *buffer;\n    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));\n    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + len & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  uVar2 = sVar1 + len;\n  if (0x3f < uVar2) {\n    uVar2 = uVar2 - 0x40;\n    sha1_process_block(local_20,0x40,ctx);\n    memcpy(local_20,ctx->buffer + 0x10,uVar2);\n  }\n  ctx->buflen = uVar2;\n  return;\n}" primitive_type (function_declarator "sha1_process_bytes(void *buffer,size_t len,sha1_ctx *ctx)" identifier (parameter_list "(void *buffer,size_t len,sha1_ctx *ctx)" ( (parameter_declaration "void *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "sha1_ctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  sha1_uint32 sVar1;\n  uint uVar2;\n  sha1_uint32 *psVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  sha1_uint32 *psVar8;\n  sha1_uint32 *local_20;\n  \n  sVar1 = ctx->buflen;\n  if (sVar1 != 0) {\n    psVar8 = ctx->buffer;\n    uVar2 = 0x80 - sVar1;\n    if (len < 0x80 - sVar1) {\n      uVar2 = len;\n    }\n    memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);\n    uVar5 = ctx->buflen + uVar2;\n    ctx->buflen = uVar5;\n    if (0x40 < uVar5) {\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar2);\n    len = len - uVar2;\n  }\n  if (0x3f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = len & 0xffffffc0;\n    sha1_process_block(buffer,uVar2,ctx);\n    len = len & 0x3f;\n    buffer = (sha1_uint32 *)((int)buffer + uVar2);\n  }\n  if (len == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = ctx->buffer;\n  sVar1 = ctx->buflen;\n  psVar8 = (sha1_uint32 *)((int)local_20 + sVar1);\n  if (len < 4) {\n                    /* WARNING: Load size is inaccurate */\n    if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }\n  }\n  else {\n                    /* WARNING: Load size is inaccurate */\n    *psVar8 = *buffer;\n    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));\n    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + len & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  uVar2 = sVar1 + len;\n  if (0x3f < uVar2) {\n    uVar2 = uVar2 - 0x40;\n    sha1_process_block(local_20,0x40,ctx);\n    memcpy(local_20,ctx->buffer + 0x10,uVar2);\n  }\n  ctx->buflen = uVar2;\n  return;\n}" { (declaration "sha1_uint32 sVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "sha1_uint32 *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "sha1_uint32 *psVar8;" type_identifier (pointer_declarator "*psVar8" * identifier) ;) (declaration "sha1_uint32 *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "sVar1 = ctx->buflen;" (assignment_expression "sVar1 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;) (if_statement "if (sVar1 != 0) {\n    psVar8 = ctx->buffer;\n    uVar2 = 0x80 - sVar1;\n    if (len < 0x80 - sVar1) {\n      uVar2 = len;\n    }\n    memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);\n    uVar5 = ctx->buflen + uVar2;\n    ctx->buflen = uVar5;\n    if (0x40 < uVar5) {\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar2);\n    len = len - uVar2;\n  }" if (parenthesized_expression "(sVar1 != 0)" ( (binary_expression "sVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    psVar8 = ctx->buffer;\n    uVar2 = 0x80 - sVar1;\n    if (len < 0x80 - sVar1) {\n      uVar2 = len;\n    }\n    memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);\n    uVar5 = ctx->buflen + uVar2;\n    ctx->buflen = uVar5;\n    if (0x40 < uVar5) {\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar2);\n    len = len - uVar2;\n  }" { (expression_statement "psVar8 = ctx->buffer;" (assignment_expression "psVar8 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;) (expression_statement "uVar2 = 0x80 - sVar1;" (assignment_expression "uVar2 = 0x80 - sVar1" identifier = (binary_expression "0x80 - sVar1" number_literal - identifier)) ;) (if_statement "if (len < 0x80 - sVar1) {\n      uVar2 = len;\n    }" if (parenthesized_expression "(len < 0x80 - sVar1)" ( (binary_expression "len < 0x80 - sVar1" identifier < (binary_expression "0x80 - sVar1" number_literal - identifier)) )) (compound_statement "{\n      uVar2 = len;\n    }" { (expression_statement "uVar2 = len;" (assignment_expression "uVar2 = len" identifier = identifier) ;) })) (expression_statement "memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2);" (call_expression "memcpy((void *)((int)psVar8 + sVar1),buffer,uVar2)" identifier (argument_list "((void *)((int)psVar8 + sVar1),buffer,uVar2)" ( (cast_expression "(void *)((int)psVar8 + sVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)psVar8 + sVar1)" ( (binary_expression "(int)psVar8 + sVar1" (cast_expression "(int)psVar8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (expression_statement "uVar5 = ctx->buflen + uVar2;" (assignment_expression "uVar5 = ctx->buflen + uVar2" identifier = (binary_expression "ctx->buflen + uVar2" (field_expression "ctx->buflen" identifier -> field_identifier) + identifier)) ;) (expression_statement "ctx->buflen = uVar5;" (assignment_expression "ctx->buflen = uVar5" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) (if_statement "if (0x40 < uVar5) {\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" if (parenthesized_expression "(0x40 < uVar5)" ( (binary_expression "0x40 < uVar5" number_literal < identifier) )) (compound_statement "{\n      sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);\n      uVar5 = ctx->buflen;\n      uVar6 = uVar5 & 0x3f;\n      psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);\n      ctx->buflen = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" { (expression_statement "sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx);" (call_expression "sha1_process_block(psVar8,uVar5 & 0xffffffc0,ctx)" identifier (argument_list "(psVar8,uVar5 & 0xffffffc0,ctx)" ( identifier , (binary_expression "uVar5 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "uVar5 = ctx->buflen;" (assignment_expression "uVar5 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;) (expression_statement "uVar6 = uVar5 & 0x3f;" (assignment_expression "uVar6 = uVar5 & 0x3f" identifier = (binary_expression "uVar5 & 0x3f" identifier & number_literal)) ;) (expression_statement "psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8);" (assignment_expression "psVar3 = (sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8)" identifier = (cast_expression "(sha1_uint32 *)((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8)" ( (type_descriptor "sha1_uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((sVar1 + uVar2 & 0xffffffc0) + (int)psVar8)" ( (binary_expression "(sVar1 + uVar2 & 0xffffffc0) + (int)psVar8" (parenthesized_expression "(sVar1 + uVar2 & 0xffffffc0)" ( (binary_expression "sVar1 + uVar2 & 0xffffffc0" (binary_expression "sVar1 + uVar2" identifier + identifier) & number_literal) )) + (cast_expression "(int)psVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "ctx->buflen = uVar6;" (assignment_expression "ctx->buflen = uVar6" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) (if_statement "if (uVar6 < 4) {\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" if (parenthesized_expression "(uVar6 < 4)" ( (binary_expression "uVar6 < 4" identifier < number_literal) )) (compound_statement "{\n        if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }\n      }" { (if_statement "if ((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }" if (parenthesized_expression "((uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0))" ( (binary_expression "(uVar6 != 0) && (*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)" (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0)" ( (comma_expression "*(char *)ctx->buffer = (char)*psVar3, (uVar5 & 2) != 0" (assignment_expression "*(char *)ctx->buffer = (char)*psVar3" (pointer_expression "*(char *)ctx->buffer" * (cast_expression "(char *)ctx->buffer" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "ctx->buffer" identifier -> field_identifier))) = (cast_expression "(char)*psVar3" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*psVar3" * identifier))) , (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          *(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));\n        }" { (expression_statement "*(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2));" (assignment_expression "*(undefined2 *)((int)ctx->buffer + (uVar6 - 2)) =\n               *(undefined2 *)((int)psVar3 + (uVar6 - 2))" (pointer_expression "*(undefined2 *)((int)ctx->buffer + (uVar6 - 2))" * (cast_expression "(undefined2 *)((int)ctx->buffer + (uVar6 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ctx->buffer + (uVar6 - 2))" ( (binary_expression "(int)ctx->buffer + (uVar6 - 2)" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + (parenthesized_expression "(uVar6 - 2)" ( (binary_expression "uVar6 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)psVar3 + (uVar6 - 2))" * (cast_expression "(undefined2 *)((int)psVar3 + (uVar6 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)psVar3 + (uVar6 - 2))" ( (binary_expression "(int)psVar3 + (uVar6 - 2)" (cast_expression "(int)psVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar6 - 2)" ( (binary_expression "uVar6 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" else (compound_statement "{\n        ctx->buffer[0] = *psVar3;\n        *(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;\n        uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;\n        iVar4 = (int)psVar8 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" { (expression_statement "ctx->buffer[0] = *psVar3;" (assignment_expression "ctx->buffer[0] = *psVar3" (subscript_expression "ctx->buffer[0]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (pointer_expression "*psVar3" * identifier)) ;) (expression_statement "*(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)\n        ;" (assignment_expression "*(undefined4 *)((int)ctx->buffer + (uVar6 - 4)) = *(undefined4 *)((uVar6 - 4) + (int)psVar3)" (pointer_expression "*(undefined4 *)((int)ctx->buffer + (uVar6 - 4))" * (cast_expression "(undefined4 *)((int)ctx->buffer + (uVar6 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ctx->buffer + (uVar6 - 4))" ( (binary_expression "(int)ctx->buffer + (uVar6 - 4)" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + (parenthesized_expression "(uVar6 - 4)" ( (binary_expression "uVar6 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((uVar6 - 4) + (int)psVar3)" * (cast_expression "(undefined4 *)((uVar6 - 4) + (int)psVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar6 - 4) + (int)psVar3)" ( (binary_expression "(uVar6 - 4) + (int)psVar3" (parenthesized_expression "(uVar6 - 4)" ( (binary_expression "uVar6 - 4" identifier - number_literal) )) + (cast_expression "(int)psVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc;" (assignment_expression "uVar5 = (uint)(ctx->buffer + 1) & 0xfffffffc" identifier = (binary_expression "(uint)(ctx->buffer + 1) & 0xfffffffc" (call_expression "(uint)(ctx->buffer + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ctx->buffer + 1)" ( (binary_expression "ctx->buffer + 1" (field_expression "ctx->buffer" identifier -> field_identifier) + number_literal) ))) & number_literal)) ;) (expression_statement "iVar4 = (int)psVar8 - uVar5;" (assignment_expression "iVar4 = (int)psVar8 - uVar5" identifier = (binary_expression "(int)psVar8 - uVar5" (cast_expression "(int)psVar8" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) ;) (expression_statement "uVar6 = iVar4 + uVar6 & 0xfffffffc;" (assignment_expression "uVar6 = iVar4 + uVar6 & 0xfffffffc" identifier = (binary_expression "iVar4 + uVar6 & 0xfffffffc" (binary_expression "iVar4 + uVar6" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" if (parenthesized_expression "(3 < uVar6)" ( (binary_expression "3 < uVar6" number_literal < identifier) )) (compound_statement "{\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);" do (compound_statement "{\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          }" { (expression_statement "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4));" (assignment_expression "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)psVar3 + (uVar7 - iVar4))" (pointer_expression "*(undefined4 *)(uVar5 + uVar7)" * (cast_expression "(undefined4 *)(uVar5 + uVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + uVar7)" ( (binary_expression "uVar5 + uVar7" identifier + identifier) )))) = (pointer_expression "*(undefined4 *)((int)psVar3 + (uVar7 - iVar4))" * (cast_expression "(undefined4 *)((int)psVar3 + (uVar7 - iVar4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)psVar3 + (uVar7 - iVar4))" ( (binary_expression "(int)psVar3 + (uVar7 - iVar4)" (cast_expression "(int)psVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - iVar4)" ( (binary_expression "uVar7 - iVar4" identifier - identifier) ))) ))))) ;) (expression_statement "uVar7 = uVar7 + 4;" (assignment_expression "uVar7 = uVar7 + 4" identifier = (binary_expression "uVar7 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 < uVar6)" ( (binary_expression "uVar7 < uVar6" identifier < identifier) )) ;) })) }))) })) (expression_statement "buffer = (void *)((int)buffer + uVar2);" (assignment_expression "buffer = (void *)((int)buffer + uVar2)" identifier = (cast_expression "(void *)((int)buffer + uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + uVar2)" ( (binary_expression "(int)buffer + uVar2" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "len = len - uVar2;" (assignment_expression "len = len - uVar2" identifier = (binary_expression "len - uVar2" identifier - identifier)) ;) })) (if_statement "if (0x3f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = len & 0xffffffc0;\n    sha1_process_block(buffer,uVar2,ctx);\n    len = len & 0x3f;\n    buffer = (sha1_uint32 *)((int)buffer + uVar2);\n  }" if (parenthesized_expression "(0x3f < len)" ( (binary_expression "0x3f < len" number_literal < identifier) )) (compound_statement "{\n    if (((uint)buffer & 3) != 0) {\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = len & 0xffffffc0;\n    sha1_process_block(buffer,uVar2,ctx);\n    len = len & 0x3f;\n    buffer = (sha1_uint32 *)((int)buffer + uVar2);\n  }" { (if_statement "if (((uint)buffer & 3) != 0) {\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }" if (parenthesized_expression "(((uint)buffer & 3) != 0)" ( (binary_expression "((uint)buffer & 3) != 0" (parenthesized_expression "((uint)buffer & 3)" ( (binary_expression "(uint)buffer & 3" (cast_expression "(uint)buffer" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }\n      goto LAB_001e0cc1;\n    }" { (if_statement "if (len != 0x40) {\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }" if (parenthesized_expression "(len != 0x40)" ( (binary_expression "len != 0x40" identifier != number_literal) )) (compound_statement "{\n        uVar2 = len - 0x41 >> 6;\n        psVar8 = (sha1_uint32 *)buffer;\n        do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));\n        len = (len - 0x40) + uVar2 * -0x40;\n        buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);\n      }" { (expression_statement "uVar2 = len - 0x41 >> 6;" (assignment_expression "uVar2 = len - 0x41 >> 6" identifier = (binary_expression "len - 0x41 >> 6" (binary_expression "len - 0x41" identifier - number_literal) >> number_literal)) ;) (expression_statement "psVar8 = (sha1_uint32 *)buffer;" (assignment_expression "psVar8 = (sha1_uint32 *)buffer" identifier = (cast_expression "(sha1_uint32 *)buffer" ( (type_descriptor "sha1_uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        } while (psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4));" do (compound_statement "{\n          psVar3 = psVar8 + 0x10;\n          ctx->buffer[0] = *psVar8;\n          ctx->buffer[1] = psVar8[1];\n          ctx->buffer[2] = psVar8[2];\n          ctx->buffer[3] = psVar8[3];\n          ctx->buffer[4] = psVar8[4];\n          ctx->buffer[5] = psVar8[5];\n          ctx->buffer[6] = psVar8[6];\n          ctx->buffer[7] = psVar8[7];\n          ctx->buffer[8] = psVar8[8];\n          ctx->buffer[9] = psVar8[9];\n          ctx->buffer[10] = psVar8[10];\n          ctx->buffer[0xb] = psVar8[0xb];\n          ctx->buffer[0xc] = psVar8[0xc];\n          ctx->buffer[0xd] = psVar8[0xd];\n          ctx->buffer[0xe] = psVar8[0xe];\n          ctx->buffer[0xf] = psVar8[0xf];\n          sha1_process_block(ctx->buffer,0x40,ctx);\n          psVar8 = psVar3;\n        }" { (expression_statement "psVar3 = psVar8 + 0x10;" (assignment_expression "psVar3 = psVar8 + 0x10" identifier = (binary_expression "psVar8 + 0x10" identifier + number_literal)) ;) (expression_statement "ctx->buffer[0] = *psVar8;" (assignment_expression "ctx->buffer[0] = *psVar8" (subscript_expression "ctx->buffer[0]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (pointer_expression "*psVar8" * identifier)) ;) (expression_statement "ctx->buffer[1] = psVar8[1];" (assignment_expression "ctx->buffer[1] = psVar8[1]" (subscript_expression "ctx->buffer[1]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[1]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[2] = psVar8[2];" (assignment_expression "ctx->buffer[2] = psVar8[2]" (subscript_expression "ctx->buffer[2]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[2]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[3] = psVar8[3];" (assignment_expression "ctx->buffer[3] = psVar8[3]" (subscript_expression "ctx->buffer[3]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[3]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[4] = psVar8[4];" (assignment_expression "ctx->buffer[4] = psVar8[4]" (subscript_expression "ctx->buffer[4]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[4]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[5] = psVar8[5];" (assignment_expression "ctx->buffer[5] = psVar8[5]" (subscript_expression "ctx->buffer[5]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[5]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[6] = psVar8[6];" (assignment_expression "ctx->buffer[6] = psVar8[6]" (subscript_expression "ctx->buffer[6]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[6]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[7] = psVar8[7];" (assignment_expression "ctx->buffer[7] = psVar8[7]" (subscript_expression "ctx->buffer[7]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[7]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[8] = psVar8[8];" (assignment_expression "ctx->buffer[8] = psVar8[8]" (subscript_expression "ctx->buffer[8]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[8]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[9] = psVar8[9];" (assignment_expression "ctx->buffer[9] = psVar8[9]" (subscript_expression "ctx->buffer[9]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[9]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[10] = psVar8[10];" (assignment_expression "ctx->buffer[10] = psVar8[10]" (subscript_expression "ctx->buffer[10]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[10]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[0xb] = psVar8[0xb];" (assignment_expression "ctx->buffer[0xb] = psVar8[0xb]" (subscript_expression "ctx->buffer[0xb]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[0xb]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[0xc] = psVar8[0xc];" (assignment_expression "ctx->buffer[0xc] = psVar8[0xc]" (subscript_expression "ctx->buffer[0xc]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[0xc]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[0xd] = psVar8[0xd];" (assignment_expression "ctx->buffer[0xd] = psVar8[0xd]" (subscript_expression "ctx->buffer[0xd]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[0xd]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[0xe] = psVar8[0xe];" (assignment_expression "ctx->buffer[0xe] = psVar8[0xe]" (subscript_expression "ctx->buffer[0xe]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[0xe]" identifier [ number_literal ])) ;) (expression_statement "ctx->buffer[0xf] = psVar8[0xf];" (assignment_expression "ctx->buffer[0xf] = psVar8[0xf]" (subscript_expression "ctx->buffer[0xf]" (field_expression "ctx->buffer" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "psVar8[0xf]" identifier [ number_literal ])) ;) (expression_statement "sha1_process_block(ctx->buffer,0x40,ctx);" (call_expression "sha1_process_block(ctx->buffer,0x40,ctx)" identifier (argument_list "(ctx->buffer,0x40,ctx)" ( (field_expression "ctx->buffer" identifier -> field_identifier) , number_literal , identifier ))) ;) (expression_statement "psVar8 = psVar3;" (assignment_expression "psVar8 = psVar3" identifier = identifier) ;) }) while (parenthesized_expression "(psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4))" ( (binary_expression "psVar3 != (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4)" identifier != (cast_expression "(sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4)" ( (type_descriptor "sha1_uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (uVar2 + 1) * 0x10 * 4)" ( (binary_expression "(int)buffer + (uVar2 + 1) * 0x10 * 4" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uVar2 + 1) * 0x10 * 4" (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal) * number_literal)) )))) )) ;) (expression_statement "len = (len - 0x40) + uVar2 * -0x40;" (assignment_expression "len = (len - 0x40) + uVar2 * -0x40" identifier = (binary_expression "(len - 0x40) + uVar2 * -0x40" (parenthesized_expression "(len - 0x40)" ( (binary_expression "len - 0x40" identifier - number_literal) )) + (binary_expression "uVar2 * -0x40" identifier * number_literal))) ;) (expression_statement "buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4);" (assignment_expression "buffer = (sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4)" identifier = (cast_expression "(sha1_uint32 *)((int)buffer + (uVar2 + 1) * 0x10 * 4)" ( (type_descriptor "sha1_uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (uVar2 + 1) * 0x10 * 4)" ( (binary_expression "(int)buffer + (uVar2 + 1) * 0x10 * 4" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uVar2 + 1) * 0x10 * 4" (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal) * number_literal)) )))) ;) })) (goto_statement "goto LAB_001e0cc1;" goto statement_identifier ;) })) (expression_statement "uVar2 = len & 0xffffffc0;" (assignment_expression "uVar2 = len & 0xffffffc0" identifier = (binary_expression "len & 0xffffffc0" identifier & number_literal)) ;) (expression_statement "sha1_process_block(buffer,uVar2,ctx);" (call_expression "sha1_process_block(buffer,uVar2,ctx)" identifier (argument_list "(buffer,uVar2,ctx)" ( identifier , identifier , identifier ))) ;) (expression_statement "len = len & 0x3f;" (assignment_expression "len = len & 0x3f" identifier = (binary_expression "len & 0x3f" identifier & number_literal)) ;) (expression_statement "buffer = (sha1_uint32 *)((int)buffer + uVar2);" (assignment_expression "buffer = (sha1_uint32 *)((int)buffer + uVar2)" identifier = (cast_expression "(sha1_uint32 *)((int)buffer + uVar2)" ( (type_descriptor "sha1_uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + uVar2)" ( (binary_expression "(int)buffer + uVar2" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) })) (if_statement "if (len == 0) {\n    return;\n  }" if (parenthesized_expression "(len == 0)" ( (binary_expression "len == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_001e0cc1:\n  local_20 = ctx->buffer;" statement_identifier : (expression_statement "local_20 = ctx->buffer;" (assignment_expression "local_20 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;)) (expression_statement "sVar1 = ctx->buflen;" (assignment_expression "sVar1 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;) (expression_statement "psVar8 = (sha1_uint32 *)((int)local_20 + sVar1);" (assignment_expression "psVar8 = (sha1_uint32 *)((int)local_20 + sVar1)" identifier = (cast_expression "(sha1_uint32 *)((int)local_20 + sVar1)" ( (type_descriptor "sha1_uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_20 + sVar1)" ( (binary_expression "(int)local_20 + sVar1" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (len < 4) {\n                    /* WARNING: Load size is inaccurate */\n    if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }\n  }\n  else {\n                    /* WARNING: Load size is inaccurate */\n    *psVar8 = *buffer;\n    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));\n    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + len & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" if (parenthesized_expression "(len < 4)" ( (binary_expression "len < 4" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }\n  }" { comment (if_statement "if ((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)) {\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }" if (parenthesized_expression "((len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0))" ( (binary_expression "(len != 0) && (*(char *)psVar8 = (char)*buffer, (len & 2) != 0)" (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)psVar8 = (char)*buffer, (len & 2) != 0)" ( (comma_expression "*(char *)psVar8 = (char)*buffer, (len & 2) != 0" (assignment_expression "*(char *)psVar8 = (char)*buffer" (pointer_expression "*(char *)psVar8" * (cast_expression "(char *)psVar8" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)*buffer" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*buffer" * identifier))) , (binary_expression "(len & 2) != 0" (parenthesized_expression "(len & 2)" ( (binary_expression "len & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n      *(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));\n    }" { (expression_statement "*(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2));" (assignment_expression "*(undefined2 *)((int)psVar8 + (len - 2)) = *(undefined2 *)((int)buffer + (len - 2))" (pointer_expression "*(undefined2 *)((int)psVar8 + (len - 2))" * (cast_expression "(undefined2 *)((int)psVar8 + (len - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)psVar8 + (len - 2))" ( (binary_expression "(int)psVar8 + (len - 2)" (cast_expression "(int)psVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 2)" ( (binary_expression "len - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)buffer + (len - 2))" * (cast_expression "(undefined2 *)((int)buffer + (len - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (len - 2))" ( (binary_expression "(int)buffer + (len - 2)" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 2)" ( (binary_expression "len - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n                    /* WARNING: Load size is inaccurate */\n    *psVar8 = *buffer;\n    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));\n    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + len & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" else (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    *psVar8 = *buffer;\n    *(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));\n    iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + len & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" { comment (expression_statement "*psVar8 = *buffer;" (assignment_expression "*psVar8 = *buffer" (pointer_expression "*psVar8" * identifier) = (pointer_expression "*buffer" * identifier)) ;) (expression_statement "*(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4));" (assignment_expression "*(undefined4 *)((int)psVar8 + (len - 4)) = *(undefined4 *)((int)buffer + (len - 4))" (pointer_expression "*(undefined4 *)((int)psVar8 + (len - 4))" * (cast_expression "(undefined4 *)((int)psVar8 + (len - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)psVar8 + (len - 4))" ( (binary_expression "(int)psVar8 + (len - 4)" (cast_expression "(int)psVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 4)" ( (binary_expression "len - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)buffer + (len - 4))" * (cast_expression "(undefined4 *)((int)buffer + (len - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (len - 4))" ( (binary_expression "(int)buffer + (len - 4)" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 4)" ( (binary_expression "len - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc);" (assignment_expression "iVar4 = (int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)psVar8 - ((uint)(psVar8 + 1) & 0xfffffffc)" (cast_expression "(int)psVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((uint)(psVar8 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(psVar8 + 1) & 0xfffffffc" (call_expression "(uint)(psVar8 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar8 + 1)" ( (binary_expression "psVar8 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar2 = iVar4 + len & 0xfffffffc;" (assignment_expression "uVar2 = iVar4 + len & 0xfffffffc" identifier = (binary_expression "iVar4 + len & 0xfffffffc" (binary_expression "iVar4 + len" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" if (parenthesized_expression "(3 < uVar2)" ( (binary_expression "3 < uVar2" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);" do (compound_statement "{\n        *(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      }" { (expression_statement "*(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4));" (assignment_expression "*(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)buffer + (uVar5 - iVar4))" (pointer_expression "*(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5)" * (cast_expression "(undefined4 *)(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)(psVar8 + 1) & 0xfffffffc) + uVar5)" ( (binary_expression "((uint)(psVar8 + 1) & 0xfffffffc) + uVar5" (parenthesized_expression "((uint)(psVar8 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(psVar8 + 1) & 0xfffffffc" (call_expression "(uint)(psVar8 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar8 + 1)" ( (binary_expression "psVar8 + 1" identifier + number_literal) ))) & number_literal) )) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)buffer + (uVar5 - iVar4))" * (cast_expression "(undefined4 *)((int)buffer + (uVar5 - iVar4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (uVar5 - iVar4))" ( (binary_expression "(int)buffer + (uVar5 - iVar4)" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar5 - iVar4)" ( (binary_expression "uVar5 - iVar4" identifier - identifier) ))) ))))) ;) (expression_statement "uVar5 = uVar5 + 4;" (assignment_expression "uVar5 = uVar5 + 4" identifier = (binary_expression "uVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < uVar2)" ( (binary_expression "uVar5 < uVar2" identifier < identifier) )) ;) })) }))) (expression_statement "uVar2 = sVar1 + len;" (assignment_expression "uVar2 = sVar1 + len" identifier = (binary_expression "sVar1 + len" identifier + identifier)) ;) (if_statement "if (0x3f < uVar2) {\n    uVar2 = uVar2 - 0x40;\n    sha1_process_block(local_20,0x40,ctx);\n    memcpy(local_20,ctx->buffer + 0x10,uVar2);\n  }" if (parenthesized_expression "(0x3f < uVar2)" ( (binary_expression "0x3f < uVar2" number_literal < identifier) )) (compound_statement "{\n    uVar2 = uVar2 - 0x40;\n    sha1_process_block(local_20,0x40,ctx);\n    memcpy(local_20,ctx->buffer + 0x10,uVar2);\n  }" { (expression_statement "uVar2 = uVar2 - 0x40;" (assignment_expression "uVar2 = uVar2 - 0x40" identifier = (binary_expression "uVar2 - 0x40" identifier - number_literal)) ;) (expression_statement "sha1_process_block(local_20,0x40,ctx);" (call_expression "sha1_process_block(local_20,0x40,ctx)" identifier (argument_list "(local_20,0x40,ctx)" ( identifier , number_literal , identifier ))) ;) (expression_statement "memcpy(local_20,ctx->buffer + 0x10,uVar2);" (call_expression "memcpy(local_20,ctx->buffer + 0x10,uVar2)" identifier (argument_list "(local_20,ctx->buffer + 0x10,uVar2)" ( identifier , (binary_expression "ctx->buffer + 0x10" (field_expression "ctx->buffer" identifier -> field_identifier) + number_literal) , identifier ))) ;) })) (expression_statement "ctx->buflen = uVar2;" (assignment_expression "ctx->buflen = uVar2" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}\n\n" (function_definition "void FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,uint param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "void *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }" { (expression_statement "iVar4 = param_3 + 0x20;" (assignment_expression "iVar4 = param_3 + 0x20" identifier = (binary_expression "param_3 + 0x20" identifier + number_literal)) ;) (expression_statement "uVar2 = 0x80U - iVar1;" (assignment_expression "uVar2 = 0x80U - iVar1" identifier = (binary_expression "0x80U - iVar1" number_literal - identifier)) ;) (if_statement "if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }" if (parenthesized_expression "(param_2 < 0x80U - iVar1)" ( (binary_expression "param_2 < 0x80U - iVar1" identifier < (binary_expression "0x80U - iVar1" number_literal - identifier)) )) (compound_statement "{\n      uVar2 = param_2;\n    }" { (expression_statement "uVar2 = param_2;" (assignment_expression "uVar2 = param_2" identifier = identifier) ;) })) (expression_statement "memcpy((void *)(iVar4 + iVar1),param_1,uVar2);" (call_expression "memcpy((void *)(iVar4 + iVar1),param_1,uVar2)" identifier (argument_list "((void *)(iVar4 + iVar1),param_1,uVar2)" ( (cast_expression "(void *)(iVar4 + iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar1)" ( (binary_expression "iVar4 + iVar1" identifier + identifier) ))) , identifier , identifier ))) ;) (expression_statement "uVar5 = *(int *)(param_3 + 0x1c) + uVar2;" (assignment_expression "uVar5 = *(int *)(param_3 + 0x1c) + uVar2" identifier = (binary_expression "*(int *)(param_3 + 0x1c) + uVar2" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) + identifier)) ;) (expression_statement "*(uint *)(param_3 + 0x1c) = uVar5;" (assignment_expression "*(uint *)(param_3 + 0x1c) = uVar5" (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" if (parenthesized_expression "(0x40 < uVar5)" ( (binary_expression "0x40 < uVar5" number_literal < identifier) )) (compound_statement "{\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" { (expression_statement "FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);" (call_expression "FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3)" identifier (argument_list "(iVar4,uVar5 & 0xffffffc0,param_3)" ( identifier , (binary_expression "uVar5 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "uVar5 = *(uint *)(param_3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(param_3 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = uVar5 & 0x3f;" (assignment_expression "uVar6 = uVar5 & 0x3f" identifier = (binary_expression "uVar5 & 0x3f" identifier & number_literal)) ;) (expression_statement "puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);" (assignment_expression "puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4)" identifier = (cast_expression "(undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar1 + uVar2 & 0xffffffc0) + iVar4)" ( (binary_expression "(iVar1 + uVar2 & 0xffffffc0) + iVar4" (parenthesized_expression "(iVar1 + uVar2 & 0xffffffc0)" ( (binary_expression "iVar1 + uVar2 & 0xffffffc0" (binary_expression "iVar1 + uVar2" identifier + identifier) & number_literal) )) + identifier) )))) ;) (expression_statement "*(uint *)(param_3 + 0x1c) = uVar6;" (assignment_expression "*(uint *)(param_3 + 0x1c) = uVar6" (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" if (parenthesized_expression "(uVar6 < 4)" ( (binary_expression "uVar6 < 4" identifier < number_literal) )) (compound_statement "{\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }" { (if_statement "if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }" if (parenthesized_expression "((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0))" ( (binary_expression "(uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)" (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)" ( (comma_expression "*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0" (assignment_expression "*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3" (pointer_expression "*(undefined1 *)(param_3 + 0x20)" * (cast_expression "(undefined1 *)(param_3 + 0x20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)puVar3" * (cast_expression "(undefined1 *)puVar3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }" { (expression_statement "*(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));" (assignment_expression "*(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2))" (pointer_expression "*(undefined2 *)(param_3 + 0x1e + uVar6)" * (cast_expression "(undefined2 *)(param_3 + 0x1e + uVar6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1e + uVar6)" ( (binary_expression "param_3 + 0x1e + uVar6" (binary_expression "param_3 + 0x1e" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined2 *)((int)puVar3 + (uVar6 - 2))" * (cast_expression "(undefined2 *)((int)puVar3 + (uVar6 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uVar6 - 2))" ( (binary_expression "(int)puVar3 + (uVar6 - 2)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar6 - 2)" ( (binary_expression "uVar6 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" else (compound_statement "{\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" { (expression_statement "*(undefined4 *)(param_3 + 0x20) = *puVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x20) = *puVar3" (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);" (assignment_expression "*(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3)" (pointer_expression "*(undefined4 *)(param_3 + 0x1c + uVar6)" * (cast_expression "(undefined4 *)(param_3 + 0x1c + uVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c + uVar6)" ( (binary_expression "param_3 + 0x1c + uVar6" (binary_expression "param_3 + 0x1c" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((uVar6 - 4) + (int)puVar3)" * (cast_expression "(undefined4 *)((uVar6 - 4) + (int)puVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar6 - 4) + (int)puVar3)" ( (binary_expression "(uVar6 - 4) + (int)puVar3" (parenthesized_expression "(uVar6 - 4)" ( (binary_expression "uVar6 - 4" identifier - number_literal) )) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "uVar5 = param_3 + 0x24U & 0xfffffffc;" (assignment_expression "uVar5 = param_3 + 0x24U & 0xfffffffc" identifier = (binary_expression "param_3 + 0x24U & 0xfffffffc" (binary_expression "param_3 + 0x24U" identifier + number_literal) & number_literal)) ;) (expression_statement "iVar4 = iVar4 - uVar5;" (assignment_expression "iVar4 = iVar4 - uVar5" identifier = (binary_expression "iVar4 - uVar5" identifier - identifier)) ;) (expression_statement "uVar6 = iVar4 + uVar6 & 0xfffffffc;" (assignment_expression "uVar6 = iVar4 + uVar6 & 0xfffffffc" identifier = (binary_expression "iVar4 + uVar6 & 0xfffffffc" (binary_expression "iVar4 + uVar6" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" if (parenthesized_expression "(3 < uVar6)" ( (binary_expression "3 < uVar6" number_literal < identifier) )) (compound_statement "{\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);" do (compound_statement "{\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          }" { (expression_statement "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));" (assignment_expression "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" (pointer_expression "*(undefined4 *)(uVar5 + uVar7)" * (cast_expression "(undefined4 *)(uVar5 + uVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + uVar7)" ( (binary_expression "uVar5 + uVar7" identifier + identifier) )))) = (pointer_expression "*(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" * (cast_expression "(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uVar7 - iVar4))" ( (binary_expression "(int)puVar3 + (uVar7 - iVar4)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - iVar4)" ( (binary_expression "uVar7 - iVar4" identifier - identifier) ))) ))))) ;) (expression_statement "uVar7 = uVar7 + 4;" (assignment_expression "uVar7 = uVar7 + 4" identifier = (binary_expression "uVar7 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 < uVar6)" ( (binary_expression "uVar7 < uVar6" identifier < identifier) )) ;) })) }))) })) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar2);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar2)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar2)" ( (binary_expression "(int)param_1 + uVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_2 = param_2 - uVar2;" (assignment_expression "param_2 = param_2 - uVar2" identifier = (binary_expression "param_2 - uVar2" identifier - identifier)) ;) })) (if_statement "if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }" { (if_statement "if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }" if (parenthesized_expression "(((uint)param_1 & 3) != 0)" ( (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      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }" { (if_statement "if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }" if (parenthesized_expression "(param_2 != 0x40)" ( (binary_expression "param_2 != 0x40" identifier != number_literal) )) (compound_statement "{\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }" { (expression_statement "uVar2 = param_2 - 0x41 >> 6;" (assignment_expression "uVar2 = param_2 - 0x41 >> 6" identifier = (binary_expression "param_2 - 0x41 >> 6" (binary_expression "param_2 - 0x41" identifier - number_literal) >> number_literal)) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);" do (compound_statement "{\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        }" { (expression_statement "puVar8 = puVar3 + 0x10;" (assignment_expression "puVar8 = puVar3 + 0x10" identifier = (binary_expression "puVar3 + 0x10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x20) = *puVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x20) = *puVar3" (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x24) = puVar3[1];" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = puVar3[1]" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" * (cast_expression "(undefined4 *)(param_3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x28) = puVar3[2];" (assignment_expression "*(undefined4 *)(param_3 + 0x28) = puVar3[2]" (pointer_expression "*(undefined4 *)(param_3 + 0x28)" * (cast_expression "(undefined4 *)(param_3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = puVar3[3];" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = puVar3[3]" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x30) = puVar3[4];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = puVar3[4]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x34) = puVar3[5];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = puVar3[5]" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) = (subscript_expression "puVar3[5]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x38) = puVar3[6];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = puVar3[6]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) = (subscript_expression "puVar3[6]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = puVar3[7];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = puVar3[7]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" * (cast_expression "(undefined4 *)(param_3 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) = (subscript_expression "puVar3[7]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x40) = puVar3[8];" (assignment_expression "*(undefined4 *)(param_3 + 0x40) = puVar3[8]" (pointer_expression "*(undefined4 *)(param_3 + 0x40)" * (cast_expression "(undefined4 *)(param_3 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x40)" ( (binary_expression "param_3 + 0x40" identifier + number_literal) )))) = (subscript_expression "puVar3[8]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x44) = puVar3[9];" (assignment_expression "*(undefined4 *)(param_3 + 0x44) = puVar3[9]" (pointer_expression "*(undefined4 *)(param_3 + 0x44)" * (cast_expression "(undefined4 *)(param_3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x44)" ( (binary_expression "param_3 + 0x44" identifier + number_literal) )))) = (subscript_expression "puVar3[9]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x48) = puVar3[10];" (assignment_expression "*(undefined4 *)(param_3 + 0x48) = puVar3[10]" (pointer_expression "*(undefined4 *)(param_3 + 0x48)" * (cast_expression "(undefined4 *)(param_3 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x48)" ( (binary_expression "param_3 + 0x48" identifier + number_literal) )))) = (subscript_expression "puVar3[10]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];" (assignment_expression "*(undefined4 *)(param_3 + 0x4c) = puVar3[0xb]" (pointer_expression "*(undefined4 *)(param_3 + 0x4c)" * (cast_expression "(undefined4 *)(param_3 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x4c)" ( (binary_expression "param_3 + 0x4c" identifier + number_literal) )))) = (subscript_expression "puVar3[0xb]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x50) = puVar3[0xc];" (assignment_expression "*(undefined4 *)(param_3 + 0x50) = puVar3[0xc]" (pointer_expression "*(undefined4 *)(param_3 + 0x50)" * (cast_expression "(undefined4 *)(param_3 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = (subscript_expression "puVar3[0xc]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x54) = puVar3[0xd];" (assignment_expression "*(undefined4 *)(param_3 + 0x54) = puVar3[0xd]" (pointer_expression "*(undefined4 *)(param_3 + 0x54)" * (cast_expression "(undefined4 *)(param_3 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x54)" ( (binary_expression "param_3 + 0x54" identifier + number_literal) )))) = (subscript_expression "puVar3[0xd]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x58) = puVar3[0xe];" (assignment_expression "*(undefined4 *)(param_3 + 0x58) = puVar3[0xe]" (pointer_expression "*(undefined4 *)(param_3 + 0x58)" * (cast_expression "(undefined4 *)(param_3 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x58)" ( (binary_expression "param_3 + 0x58" identifier + number_literal) )))) = (subscript_expression "puVar3[0xe]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];" (assignment_expression "*(undefined4 *)(param_3 + 0x5c) = puVar3[0xf]" (pointer_expression "*(undefined4 *)(param_3 + 0x5c)" * (cast_expression "(undefined4 *)(param_3 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x5c)" ( (binary_expression "param_3 + 0x5c" identifier + number_literal) )))) = (subscript_expression "puVar3[0xf]" identifier [ number_literal ])) ;) (expression_statement "FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);" (call_expression "FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3)" identifier (argument_list "((undefined4 *)(param_3 + 0x20),0x40,param_3)" ( (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) ))) , number_literal , identifier ))) ;) (expression_statement "puVar3 = puVar8;" (assignment_expression "puVar3 = puVar8" identifier = identifier) ;) }) while (parenthesized_expression "(puVar8 != param_1 + (uVar2 + 1) * 0x10)" ( (binary_expression "puVar8 != param_1 + (uVar2 + 1) * 0x10" identifier != (binary_expression "param_1 + (uVar2 + 1) * 0x10" identifier + (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal))) )) ;) (expression_statement "param_2 = (param_2 - 0x40) + uVar2 * -0x40;" (assignment_expression "param_2 = (param_2 - 0x40) + uVar2 * -0x40" identifier = (binary_expression "(param_2 - 0x40) + uVar2 * -0x40" (parenthesized_expression "(param_2 - 0x40)" ( (binary_expression "param_2 - 0x40" identifier - number_literal) )) + (binary_expression "uVar2 * -0x40" identifier * number_literal))) ;) (expression_statement "param_1 = param_1 + (uVar2 + 1) * 0x10;" (assignment_expression "param_1 = param_1 + (uVar2 + 1) * 0x10" identifier = (binary_expression "param_1 + (uVar2 + 1) * 0x10" identifier + (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal))) ;) })) (goto_statement "goto LAB_001e0cc1;" goto statement_identifier ;) })) (expression_statement "uVar2 = param_2 & 0xffffffc0;" (assignment_expression "uVar2 = param_2 & 0xffffffc0" identifier = (binary_expression "param_2 & 0xffffffc0" identifier & number_literal)) ;) (expression_statement "FUN_001df990(param_1,uVar2,param_3);" (call_expression "FUN_001df990(param_1,uVar2,param_3)" identifier (argument_list "(param_1,uVar2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_2 = param_2 & 0x3f;" (assignment_expression "param_2 = param_2 & 0x3f" identifier = (binary_expression "param_2 & 0x3f" identifier & number_literal)) ;) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar2);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar2)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar2)" ( (binary_expression "(int)param_1 + uVar2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) })) (if_statement "if (param_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);" statement_identifier : (expression_statement "local_20 = (void *)(param_3 + 0x20);" (assignment_expression "local_20 = (void *)(param_3 + 0x20)" identifier = (cast_expression "(void *)(param_3 + 0x20)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) ;)) (expression_statement "iVar1 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = (undefined4 *)((int)local_20 + iVar1);" (assignment_expression "puVar3 = (undefined4 *)((int)local_20 + iVar1)" identifier = (cast_expression "(undefined4 *)((int)local_20 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_20 + iVar1)" ( (binary_expression "(int)local_20 + iVar1" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }" { (if_statement "if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }" if (parenthesized_expression "((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0))" ( (binary_expression "(param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0" (assignment_expression "*(undefined1 *)puVar3 = *(undefined1 *)param_1" (pointer_expression "*(undefined1 *)puVar3" * (cast_expression "(undefined1 *)puVar3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)param_1" * (cast_expression "(undefined1 *)param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(param_2 & 2) != 0" (parenthesized_expression "(param_2 & 2)" ( (binary_expression "param_2 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }" { (expression_statement "*(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));" (assignment_expression "*(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2))" (pointer_expression "*(undefined2 *)((int)puVar3 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)puVar3 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (param_2 - 2))" ( (binary_expression "(int)puVar3 + (param_2 - 2)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)param_1 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)param_1 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 - 2))" ( (binary_expression "(int)param_1 + (param_2 - 2)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" else (compound_statement "{\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" { (expression_statement "*puVar3 = *param_1;" (assignment_expression "*puVar3 = *param_1" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));" (assignment_expression "*(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4))" (pointer_expression "*(undefined4 *)((int)puVar3 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)puVar3 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (param_2 - 4))" ( (binary_expression "(int)puVar3 + (param_2 - 4)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)param_1 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)param_1 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 - 4))" ( (binary_expression "(int)param_1 + (param_2 - 4)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);" (assignment_expression "iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc)" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((uint)(puVar3 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar3 + 1) & 0xfffffffc" (call_expression "(uint)(puVar3 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar2 = iVar4 + param_2 & 0xfffffffc;" (assignment_expression "uVar2 = iVar4 + param_2 & 0xfffffffc" identifier = (binary_expression "iVar4 + param_2 & 0xfffffffc" (binary_expression "iVar4 + param_2" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" if (parenthesized_expression "(3 < uVar2)" ( (binary_expression "3 < uVar2" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);" do (compound_statement "{\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      }" { (expression_statement "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));" (assignment_expression "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4))" (pointer_expression "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" * (cast_expression "(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" ( (binary_expression "((uint)(puVar3 + 1) & 0xfffffffc) + uVar5" (parenthesized_expression "((uint)(puVar3 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar3 + 1) & 0xfffffffc" (call_expression "(uint)(puVar3 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) ))) & number_literal) )) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)param_1 + (uVar5 - iVar4))" * (cast_expression "(undefined4 *)((int)param_1 + (uVar5 - iVar4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (uVar5 - iVar4))" ( (binary_expression "(int)param_1 + (uVar5 - iVar4)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar5 - iVar4)" ( (binary_expression "uVar5 - iVar4" identifier - identifier) ))) ))))) ;) (expression_statement "uVar5 = uVar5 + 4;" (assignment_expression "uVar5 = uVar5 + 4" identifier = (binary_expression "uVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < uVar2)" ( (binary_expression "uVar5 < uVar2" identifier < identifier) )) ;) })) }))) (expression_statement "param_2 = iVar1 + param_2;" (assignment_expression "param_2 = iVar1 + param_2" identifier = (binary_expression "iVar1 + param_2" identifier + identifier)) ;) (if_statement "if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }" { (expression_statement "param_2 = param_2 - 0x40;" (assignment_expression "param_2 = param_2 - 0x40" identifier = (binary_expression "param_2 - 0x40" identifier - number_literal)) ;) (expression_statement "FUN_001df990(local_20,0x40,param_3);" (call_expression "FUN_001df990(local_20,0x40,param_3)" identifier (argument_list "(local_20,0x40,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "memcpy(local_20,(void *)(param_3 + 0x60),param_2);" (call_expression "memcpy(local_20,(void *)(param_3 + 0x60),param_2)" identifier (argument_list "(local_20,(void *)(param_3 + 0x60),param_2)" ( identifier , (cast_expression "(void *)(param_3 + 0x60)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x60)" ( (binary_expression "param_3 + 0x60" identifier + number_literal) ))) , identifier ))) ;) })) (expression_statement "*(uint *)(param_3 + 0x1c) = param_2;" (assignment_expression "*(uint *)(param_3 + 0x1c) = param_2" (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression LIT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) & LIT) )) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * (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 (binary_expression IDENT + LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 IDENT + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , 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 IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression 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 IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) ))) )) (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) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e0bd0(undefined4 *param_1,uint param_2,int param_3)" (identifier "FUN_001e0bd0") (parameter_list "(undefined4 *param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  void *local_20;\n  \n  iVar1 = *(int *)(param_3 + 0x1c);\n  if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);\n  iVar1 = *(int *)(param_3 + 0x1c);\n  puVar3 = (undefined4 *)((int)local_20 + iVar1);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }\n  param_2 = iVar1 + param_2;\n  if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }\n  *(uint *)(param_3 + 0x1c) = param_2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "void *local_20;" (primitive_type "void") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (expression_statement "iVar1 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_3 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = param_3 + 0x20;\n    uVar2 = 0x80U - iVar1;\n    if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }\n    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);\n    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;\n    *(uint *)(param_3 + 0x1c) = uVar5;\n    if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n    param_2 = param_2 - uVar2;\n  }" ({ "{") (expression_statement "iVar4 = param_3 + 0x20;" (assignment_expression "iVar4 = param_3 + 0x20" (identifier "iVar4") (= "=") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20"))) (; ";")) (expression_statement "uVar2 = 0x80U - iVar1;" (assignment_expression "uVar2 = 0x80U - iVar1" (identifier "uVar2") (= "=") (binary_expression "0x80U - iVar1" (number_literal "0x80U") (- "-") (identifier "iVar1"))) (; ";")) (if_statement "if (param_2 < 0x80U - iVar1) {\n      uVar2 = param_2;\n    }" (if "if") (parenthesized_expression "(param_2 < 0x80U - iVar1)" (( "(") (binary_expression "param_2 < 0x80U - iVar1" (identifier "param_2") (< "<") (binary_expression "0x80U - iVar1" (number_literal "0x80U") (- "-") (identifier "iVar1"))) () ")")) (compound_statement "{\n      uVar2 = param_2;\n    }" ({ "{") (expression_statement "uVar2 = param_2;" (assignment_expression "uVar2 = param_2" (identifier "uVar2") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "memcpy((void *)(iVar4 + iVar1),param_1,uVar2);" (call_expression "memcpy((void *)(iVar4 + iVar1),param_1,uVar2)" (identifier "memcpy") (argument_list "((void *)(iVar4 + iVar1),param_1,uVar2)" (( "(") (cast_expression "(void *)(iVar4 + iVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar1)" (( "(") (binary_expression "iVar4 + iVar1" (identifier "iVar4") (+ "+") (identifier "iVar1")) () ")"))) (, ",") (identifier "param_1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar5 = *(int *)(param_3 + 0x1c) + uVar2;" (assignment_expression "uVar5 = *(int *)(param_3 + 0x1c) + uVar2" (identifier "uVar5") (= "=") (binary_expression "*(int *)(param_3 + 0x1c) + uVar2" (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (identifier "uVar2"))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x1c) = uVar5;" (assignment_expression "*(uint *)(param_3 + 0x1c) = uVar5" (pointer_expression "*(uint *)(param_3 + 0x1c)" (* "*") (cast_expression "(uint *)(param_3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (if_statement "if (0x40 < uVar5) {\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(0x40 < uVar5)" (( "(") (binary_expression "0x40 < uVar5" (number_literal "0x40") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);\n      uVar5 = *(uint *)(param_3 + 0x1c);\n      uVar6 = uVar5 & 0x3f;\n      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);\n      *(uint *)(param_3 + 0x1c) = uVar6;\n      if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }\n    }" ({ "{") (expression_statement "FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);" (call_expression "FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3)" (identifier "FUN_001df990") (argument_list "(iVar4,uVar5 & 0xffffffc0,param_3)" (( "(") (identifier "iVar4") (, ",") (binary_expression "uVar5 & 0xffffffc0" (identifier "uVar5") (& "&") (number_literal "0xffffffc0")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(param_3 + 0x1c)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_3 + 0x1c)" (* "*") (cast_expression "(uint *)(param_3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar6 = uVar5 & 0x3f;" (assignment_expression "uVar6 = uVar5 & 0x3f" (identifier "uVar6") (= "=") (binary_expression "uVar5 & 0x3f" (identifier "uVar5") (& "&") (number_literal "0x3f"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);" (assignment_expression "puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar1 + uVar2 & 0xffffffc0) + iVar4)" (( "(") (binary_expression "(iVar1 + uVar2 & 0xffffffc0) + iVar4" (parenthesized_expression "(iVar1 + uVar2 & 0xffffffc0)" (( "(") (binary_expression "iVar1 + uVar2 & 0xffffffc0" (binary_expression "iVar1 + uVar2" (identifier "iVar1") (+ "+") (identifier "uVar2")) (& "&") (number_literal "0xffffffc0")) () ")")) (+ "+") (identifier "iVar4")) () ")")))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x1c) = uVar6;" (assignment_expression "*(uint *)(param_3 + 0x1c) = uVar6" (pointer_expression "*(uint *)(param_3 + 0x1c)" (* "*") (cast_expression "(uint *)(param_3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (if_statement "if (uVar6 < 4) {\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" (if "if") (parenthesized_expression "(uVar6 < 4)" (( "(") (binary_expression "uVar6 < 4" (identifier "uVar6") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n        if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }\n      }" ({ "{") (if_statement "if ((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }" (if "if") (parenthesized_expression "((uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0))" (( "(") (binary_expression "(uVar6 != 0) &&\n           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)" (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)" (( "(") (comma_expression "*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0" (assignment_expression "*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3" (pointer_expression "*(undefined1 *)(param_3 + 0x20)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x20)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)puVar3" (* "*") (cast_expression "(undefined1 *)puVar3" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) (, ",") (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" (( "(") (binary_expression "uVar5 & 2" (identifier "uVar5") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));\n        }" ({ "{") (expression_statement "*(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));" (assignment_expression "*(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2))" (pointer_expression "*(undefined2 *)(param_3 + 0x1e + uVar6)" (* "*") (cast_expression "(undefined2 *)(param_3 + 0x1e + uVar6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1e + uVar6)" (( "(") (binary_expression "param_3 + 0x1e + uVar6" (binary_expression "param_3 + 0x1e" (identifier "param_3") (+ "+") (number_literal "0x1e")) (+ "+") (identifier "uVar6")) () ")")))) (= "=") (pointer_expression "*(undefined2 *)((int)puVar3 + (uVar6 - 2))" (* "*") (cast_expression "(undefined2 *)((int)puVar3 + (uVar6 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + (uVar6 - 2))" (( "(") (binary_expression "(int)puVar3 + (uVar6 - 2)" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (parenthesized_expression "(uVar6 - 2)" (( "(") (binary_expression "uVar6 - 2" (identifier "uVar6") (- "-") (number_literal "2")) () ")"))) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" (else "else") (compound_statement "{\n        *(undefined4 *)(param_3 + 0x20) = *puVar3;\n        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);\n        uVar5 = param_3 + 0x24U & 0xfffffffc;\n        iVar4 = iVar4 - uVar5;\n        uVar6 = iVar4 + uVar6 & 0xfffffffc;\n        if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }\n      }" ({ "{") (expression_statement "*(undefined4 *)(param_3 + 0x20) = *puVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x20) = *puVar3" (pointer_expression "*(undefined4 *)(param_3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);" (assignment_expression "*(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3)" (pointer_expression "*(undefined4 *)(param_3 + 0x1c + uVar6)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x1c + uVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c + uVar6)" (( "(") (binary_expression "param_3 + 0x1c + uVar6" (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) (+ "+") (identifier "uVar6")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((uVar6 - 4) + (int)puVar3)" (* "*") (cast_expression "(undefined4 *)((uVar6 - 4) + (int)puVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uVar6 - 4) + (int)puVar3)" (( "(") (binary_expression "(uVar6 - 4) + (int)puVar3" (parenthesized_expression "(uVar6 - 4)" (( "(") (binary_expression "uVar6 - 4" (identifier "uVar6") (- "-") (number_literal "4")) () ")")) (+ "+") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) () ")"))))) (; ";")) (expression_statement "uVar5 = param_3 + 0x24U & 0xfffffffc;" (assignment_expression "uVar5 = param_3 + 0x24U & 0xfffffffc" (identifier "uVar5") (= "=") (binary_expression "param_3 + 0x24U & 0xfffffffc" (binary_expression "param_3 + 0x24U" (identifier "param_3") (+ "+") (number_literal "0x24U")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (expression_statement "iVar4 = iVar4 - uVar5;" (assignment_expression "iVar4 = iVar4 - uVar5" (identifier "iVar4") (= "=") (binary_expression "iVar4 - uVar5" (identifier "iVar4") (- "-") (identifier "uVar5"))) (; ";")) (expression_statement "uVar6 = iVar4 + uVar6 & 0xfffffffc;" (assignment_expression "uVar6 = iVar4 + uVar6 & 0xfffffffc" (identifier "uVar6") (= "=") (binary_expression "iVar4 + uVar6 & 0xfffffffc" (binary_expression "iVar4 + uVar6" (identifier "iVar4") (+ "+") (identifier "uVar6")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (if_statement "if (3 < uVar6) {\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" (if "if") (parenthesized_expression "(3 < uVar6)" (( "(") (binary_expression "3 < uVar6" (number_literal "3") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n          uVar7 = 0;\n          do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);\n        }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          } while (uVar7 < uVar6);" (do "do") (compound_statement "{\n            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));\n            uVar7 = uVar7 + 4;\n          }" ({ "{") (expression_statement "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));" (assignment_expression "*(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" (pointer_expression "*(undefined4 *)(uVar5 + uVar7)" (* "*") (cast_expression "(undefined4 *)(uVar5 + uVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 + uVar7)" (( "(") (binary_expression "uVar5 + uVar7" (identifier "uVar5") (+ "+") (identifier "uVar7")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" (* "*") (cast_expression "(undefined4 *)((int)puVar3 + (uVar7 - iVar4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + (uVar7 - iVar4))" (( "(") (binary_expression "(int)puVar3 + (uVar7 - iVar4)" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (parenthesized_expression "(uVar7 - iVar4)" (( "(") (binary_expression "uVar7 - iVar4" (identifier "uVar7") (- "-") (identifier "iVar4")) () ")"))) () ")"))))) (; ";")) (expression_statement "uVar7 = uVar7 + 4;" (assignment_expression "uVar7 = uVar7 + 4" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 4" (identifier "uVar7") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 < uVar6)" (( "(") (binary_expression "uVar7 < uVar6" (identifier "uVar7") (< "<") (identifier "uVar6")) () ")")) (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar2);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar2)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)((int)param_1 + uVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar2)" (( "(") (binary_expression "(int)param_1 + uVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar2")) () ")")))) (; ";")) (expression_statement "param_2 = param_2 - uVar2;" (assignment_expression "param_2 = param_2 - uVar2" (identifier "param_2") (= "=") (binary_expression "param_2 - uVar2" (identifier "param_2") (- "-") (identifier "uVar2"))) (; ";")) (} "}"))) (if_statement "if (0x3f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }" (if "if") (parenthesized_expression "(0x3f < param_2)" (( "(") (binary_expression "0x3f < param_2" (number_literal "0x3f") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }\n    uVar2 = param_2 & 0xffffffc0;\n    FUN_001df990(param_1,uVar2,param_3);\n    param_2 = param_2 & 0x3f;\n    param_1 = (undefined4 *)((int)param_1 + uVar2);\n  }" ({ "{") (if_statement "if (((uint)param_1 & 3) != 0) {\n      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }" (if "if") (parenthesized_expression "(((uint)param_1 & 3) != 0)" (( "(") (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      if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }\n      goto LAB_001e0cc1;\n    }" ({ "{") (if_statement "if (param_2 != 0x40) {\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }" (if "if") (parenthesized_expression "(param_2 != 0x40)" (( "(") (binary_expression "param_2 != 0x40" (identifier "param_2") (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n        uVar2 = param_2 - 0x41 >> 6;\n        puVar3 = param_1;\n        do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);\n        param_2 = (param_2 - 0x40) + uVar2 * -0x40;\n        param_1 = param_1 + (uVar2 + 1) * 0x10;\n      }" ({ "{") (expression_statement "uVar2 = param_2 - 0x41 >> 6;" (assignment_expression "uVar2 = param_2 - 0x41 >> 6" (identifier "uVar2") (= "=") (binary_expression "param_2 - 0x41 >> 6" (binary_expression "param_2 - 0x41" (identifier "param_2") (- "-") (number_literal "0x41")) (>> ">>") (number_literal "6"))) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);" (do "do") (compound_statement "{\n          puVar8 = puVar3 + 0x10;\n          *(undefined4 *)(param_3 + 0x20) = *puVar3;\n          *(undefined4 *)(param_3 + 0x24) = puVar3[1];\n          *(undefined4 *)(param_3 + 0x28) = puVar3[2];\n          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];\n          *(undefined4 *)(param_3 + 0x30) = puVar3[4];\n          *(undefined4 *)(param_3 + 0x34) = puVar3[5];\n          *(undefined4 *)(param_3 + 0x38) = puVar3[6];\n          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];\n          *(undefined4 *)(param_3 + 0x40) = puVar3[8];\n          *(undefined4 *)(param_3 + 0x44) = puVar3[9];\n          *(undefined4 *)(param_3 + 0x48) = puVar3[10];\n          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];\n          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];\n          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];\n          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];\n          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];\n          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);\n          puVar3 = puVar8;\n        }" ({ "{") (expression_statement "puVar8 = puVar3 + 0x10;" (assignment_expression "puVar8 = puVar3 + 0x10" (identifier "puVar8") (= "=") (binary_expression "puVar3 + 0x10" (identifier "puVar3") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x20) = *puVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x20) = *puVar3" (pointer_expression "*(undefined4 *)(param_3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x24) = puVar3[1];" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = puVar3[1]" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x28) = puVar3[2];" (assignment_expression "*(undefined4 *)(param_3 + 0x28) = puVar3[2]" (pointer_expression "*(undefined4 *)(param_3 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = puVar3[3];" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = puVar3[3]" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x2c)" (( "(") (binary_expression "param_3 + 0x2c" (identifier "param_3") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x30) = puVar3[4];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = puVar3[4]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x30)" (( "(") (binary_expression "param_3 + 0x30" (identifier "param_3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x34) = puVar3[5];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = puVar3[5]" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x34)" (( "(") (binary_expression "param_3 + 0x34" (identifier "param_3") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (subscript_expression "puVar3[5]" (identifier "puVar3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x38) = puVar3[6];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = puVar3[6]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x38)" (( "(") (binary_expression "param_3 + 0x38" (identifier "param_3") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (subscript_expression "puVar3[6]" (identifier "puVar3") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = puVar3[7];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = puVar3[7]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x3c)" (( "(") (binary_expression "param_3 + 0x3c" (identifier "param_3") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (subscript_expression "puVar3[7]" (identifier "puVar3") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x40) = puVar3[8];" (assignment_expression "*(undefined4 *)(param_3 + 0x40) = puVar3[8]" (pointer_expression "*(undefined4 *)(param_3 + 0x40)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x40)" (( "(") (binary_expression "param_3 + 0x40" (identifier "param_3") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (subscript_expression "puVar3[8]" (identifier "puVar3") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x44) = puVar3[9];" (assignment_expression "*(undefined4 *)(param_3 + 0x44) = puVar3[9]" (pointer_expression "*(undefined4 *)(param_3 + 0x44)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x44)" (( "(") (binary_expression "param_3 + 0x44" (identifier "param_3") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (subscript_expression "puVar3[9]" (identifier "puVar3") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x48) = puVar3[10];" (assignment_expression "*(undefined4 *)(param_3 + 0x48) = puVar3[10]" (pointer_expression "*(undefined4 *)(param_3 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x48)" (( "(") (binary_expression "param_3 + 0x48" (identifier "param_3") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (subscript_expression "puVar3[10]" (identifier "puVar3") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];" (assignment_expression "*(undefined4 *)(param_3 + 0x4c) = puVar3[0xb]" (pointer_expression "*(undefined4 *)(param_3 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x4c)" (( "(") (binary_expression "param_3 + 0x4c" (identifier "param_3") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (subscript_expression "puVar3[0xb]" (identifier "puVar3") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x50) = puVar3[0xc];" (assignment_expression "*(undefined4 *)(param_3 + 0x50) = puVar3[0xc]" (pointer_expression "*(undefined4 *)(param_3 + 0x50)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (subscript_expression "puVar3[0xc]" (identifier "puVar3") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x54) = puVar3[0xd];" (assignment_expression "*(undefined4 *)(param_3 + 0x54) = puVar3[0xd]" (pointer_expression "*(undefined4 *)(param_3 + 0x54)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x54)" (( "(") (binary_expression "param_3 + 0x54" (identifier "param_3") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (subscript_expression "puVar3[0xd]" (identifier "puVar3") ([ "[") (number_literal "0xd") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x58) = puVar3[0xe];" (assignment_expression "*(undefined4 *)(param_3 + 0x58) = puVar3[0xe]" (pointer_expression "*(undefined4 *)(param_3 + 0x58)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x58)" (( "(") (binary_expression "param_3 + 0x58" (identifier "param_3") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (subscript_expression "puVar3[0xe]" (identifier "puVar3") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];" (assignment_expression "*(undefined4 *)(param_3 + 0x5c) = puVar3[0xf]" (pointer_expression "*(undefined4 *)(param_3 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x5c)" (( "(") (binary_expression "param_3 + 0x5c" (identifier "param_3") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (subscript_expression "puVar3[0xf]" (identifier "puVar3") ([ "[") (number_literal "0xf") (] "]"))) (; ";")) (expression_statement "FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);" (call_expression "FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3)" (identifier "FUN_001df990") (argument_list "((undefined4 *)(param_3 + 0x20),0x40,param_3)" (( "(") (cast_expression "(undefined4 *)(param_3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")"))) (, ",") (number_literal "0x40") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "puVar3 = puVar8;" (assignment_expression "puVar3 = puVar8" (identifier "puVar3") (= "=") (identifier "puVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar8 != param_1 + (uVar2 + 1) * 0x10)" (( "(") (binary_expression "puVar8 != param_1 + (uVar2 + 1) * 0x10" (identifier "puVar8") (!= "!=") (binary_expression "param_1 + (uVar2 + 1) * 0x10" (identifier "param_1") (+ "+") (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")))) () ")")) (; ";")) (expression_statement "param_2 = (param_2 - 0x40) + uVar2 * -0x40;" (assignment_expression "param_2 = (param_2 - 0x40) + uVar2 * -0x40" (identifier "param_2") (= "=") (binary_expression "(param_2 - 0x40) + uVar2 * -0x40" (parenthesized_expression "(param_2 - 0x40)" (( "(") (binary_expression "param_2 - 0x40" (identifier "param_2") (- "-") (number_literal "0x40")) () ")")) (+ "+") (binary_expression "uVar2 * -0x40" (identifier "uVar2") (* "*") (number_literal "-0x40")))) (; ";")) (expression_statement "param_1 = param_1 + (uVar2 + 1) * 0x10;" (assignment_expression "param_1 = param_1 + (uVar2 + 1) * 0x10" (identifier "param_1") (= "=") (binary_expression "param_1 + (uVar2 + 1) * 0x10" (identifier "param_1") (+ "+") (binary_expression "(uVar2 + 1) * 0x10" (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")))) (; ";")) (} "}"))) (goto_statement "goto LAB_001e0cc1;" (goto "goto") (statement_identifier "LAB_001e0cc1") (; ";")) (} "}"))) (expression_statement "uVar2 = param_2 & 0xffffffc0;" (assignment_expression "uVar2 = param_2 & 0xffffffc0" (identifier "uVar2") (= "=") (binary_expression "param_2 & 0xffffffc0" (identifier "param_2") (& "&") (number_literal "0xffffffc0"))) (; ";")) (expression_statement "FUN_001df990(param_1,uVar2,param_3);" (call_expression "FUN_001df990(param_1,uVar2,param_3)" (identifier "FUN_001df990") (argument_list "(param_1,uVar2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "uVar2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "param_2 = param_2 & 0x3f;" (assignment_expression "param_2 = param_2 & 0x3f" (identifier "param_2") (= "=") (binary_expression "param_2 & 0x3f" (identifier "param_2") (& "&") (number_literal "0x3f"))) (; ";")) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar2);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar2)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)((int)param_1 + uVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar2)" (( "(") (binary_expression "(int)param_1 + uVar2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar2")) () ")")))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_001e0cc1:\n  local_20 = (void *)(param_3 + 0x20);" (statement_identifier "LAB_001e0cc1") (: ":") (expression_statement "local_20 = (void *)(param_3 + 0x20);" (assignment_expression "local_20 = (void *)(param_3 + 0x20)" (identifier "local_20") (= "=") (cast_expression "(void *)(param_3 + 0x20)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (; ";"))) (expression_statement "iVar1 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_3 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "puVar3 = (undefined4 *)((int)local_20 + iVar1);" (assignment_expression "puVar3 = (undefined4 *)((int)local_20 + iVar1)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)((int)local_20 + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_20 + iVar1)" (( "(") (binary_expression "(int)local_20 + iVar1" (cast_expression "(int)local_20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_20")) (+ "+") (identifier "iVar1")) () ")")))) (; ";")) (if_statement "if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 4)" (( "(") (binary_expression "param_2 < 4" (identifier "param_2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }\n  }" ({ "{") (if_statement "if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }" (if "if") (parenthesized_expression "((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0))" (( "(") (binary_expression "(param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)" (( "(") (comma_expression "*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0" (assignment_expression "*(undefined1 *)puVar3 = *(undefined1 *)param_1" (pointer_expression "*(undefined1 *)puVar3" (* "*") (cast_expression "(undefined1 *)puVar3" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (= "=") (pointer_expression "*(undefined1 *)param_1" (* "*") (cast_expression "(undefined1 *)param_1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")))) (, ",") (binary_expression "(param_2 & 2) != 0" (parenthesized_expression "(param_2 & 2)" (( "(") (binary_expression "param_2 & 2" (identifier "param_2") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));\n    }" ({ "{") (expression_statement "*(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));" (assignment_expression "*(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2))" (pointer_expression "*(undefined2 *)((int)puVar3 + (param_2 - 2))" (* "*") (cast_expression "(undefined2 *)((int)puVar3 + (param_2 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + (param_2 - 2))" (( "(") (binary_expression "(int)puVar3 + (param_2 - 2)" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (parenthesized_expression "(param_2 - 2)" (( "(") (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2")) () ")"))) () ")")))) (= "=") (pointer_expression "*(undefined2 *)((int)param_1 + (param_2 - 2))" (* "*") (cast_expression "(undefined2 *)((int)param_1 + (param_2 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (param_2 - 2))" (( "(") (binary_expression "(int)param_1 + (param_2 - 2)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(param_2 - 2)" (( "(") (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2")) () ")"))) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" (else "else") (compound_statement "{\n    *puVar3 = *param_1;\n    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));\n    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);\n    uVar2 = iVar4 + param_2 & 0xfffffffc;\n    if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }\n  }" ({ "{") (expression_statement "*puVar3 = *param_1;" (assignment_expression "*puVar3 = *param_1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));" (assignment_expression "*(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4))" (pointer_expression "*(undefined4 *)((int)puVar3 + (param_2 - 4))" (* "*") (cast_expression "(undefined4 *)((int)puVar3 + (param_2 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + (param_2 - 4))" (( "(") (binary_expression "(int)puVar3 + (param_2 - 4)" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (parenthesized_expression "(param_2 - 4)" (( "(") (binary_expression "param_2 - 4" (identifier "param_2") (- "-") (number_literal "4")) () ")"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + (param_2 - 4))" (* "*") (cast_expression "(undefined4 *)((int)param_1 + (param_2 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (param_2 - 4))" (( "(") (binary_expression "(int)param_1 + (param_2 - 4)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(param_2 - 4)" (( "(") (binary_expression "param_2 - 4" (identifier "param_2") (- "-") (number_literal "4")) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);" (assignment_expression "iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc)" (identifier "iVar4") (= "=") (binary_expression "(int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc)" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (- "-") (parenthesized_expression "((uint)(puVar3 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar3 + 1) & 0xfffffffc" (call_expression "(uint)(puVar3 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar3 + 1)" (( "(") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "uVar2 = iVar4 + param_2 & 0xfffffffc;" (assignment_expression "uVar2 = iVar4 + param_2 & 0xfffffffc" (identifier "uVar2") (= "=") (binary_expression "iVar4 + param_2 & 0xfffffffc" (binary_expression "iVar4 + param_2" (identifier "iVar4") (+ "+") (identifier "param_2")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (if_statement "if (3 < uVar2) {\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" (if "if") (parenthesized_expression "(3 < uVar2)" (( "(") (binary_expression "3 < uVar2" (number_literal "3") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n      uVar5 = 0;\n      do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);\n    }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      } while (uVar5 < uVar2);" (do "do") (compound_statement "{\n        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));\n        uVar5 = uVar5 + 4;\n      }" ({ "{") (expression_statement "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));" (assignment_expression "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =\n             *(undefined4 *)((int)param_1 + (uVar5 - iVar4))" (pointer_expression "*(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" (* "*") (cast_expression "(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5)" (( "(") (binary_expression "((uint)(puVar3 + 1) & 0xfffffffc) + uVar5" (parenthesized_expression "((uint)(puVar3 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar3 + 1) & 0xfffffffc" (call_expression "(uint)(puVar3 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar3 + 1)" (( "(") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")) (+ "+") (identifier "uVar5")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + (uVar5 - iVar4))" (* "*") (cast_expression "(undefined4 *)((int)param_1 + (uVar5 - iVar4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (uVar5 - iVar4))" (( "(") (binary_expression "(int)param_1 + (uVar5 - iVar4)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(uVar5 - iVar4)" (( "(") (binary_expression "uVar5 - iVar4" (identifier "uVar5") (- "-") (identifier "iVar4")) () ")"))) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar5 + 4;" (assignment_expression "uVar5 = uVar5 + 4" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 4" (identifier "uVar5") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < uVar2)" (( "(") (binary_expression "uVar5 < uVar2" (identifier "uVar5") (< "<") (identifier "uVar2")) () ")")) (; ";")) (} "}"))) (} "}")))) (expression_statement "param_2 = iVar1 + param_2;" (assignment_expression "param_2 = iVar1 + param_2" (identifier "param_2") (= "=") (binary_expression "iVar1 + param_2" (identifier "iVar1") (+ "+") (identifier "param_2"))) (; ";")) (if_statement "if (0x3f < param_2) {\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }" (if "if") (parenthesized_expression "(0x3f < param_2)" (( "(") (binary_expression "0x3f < param_2" (number_literal "0x3f") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    param_2 = param_2 - 0x40;\n    FUN_001df990(local_20,0x40,param_3);\n    memcpy(local_20,(void *)(param_3 + 0x60),param_2);\n  }" ({ "{") (expression_statement "param_2 = param_2 - 0x40;" (assignment_expression "param_2 = param_2 - 0x40" (identifier "param_2") (= "=") (binary_expression "param_2 - 0x40" (identifier "param_2") (- "-") (number_literal "0x40"))) (; ";")) (expression_statement "FUN_001df990(local_20,0x40,param_3);" (call_expression "FUN_001df990(local_20,0x40,param_3)" (identifier "FUN_001df990") (argument_list "(local_20,0x40,param_3)" (( "(") (identifier "local_20") (, ",") (number_literal "0x40") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "memcpy(local_20,(void *)(param_3 + 0x60),param_2);" (call_expression "memcpy(local_20,(void *)(param_3 + 0x60),param_2)" (identifier "memcpy") (argument_list "(local_20,(void *)(param_3 + 0x60),param_2)" (( "(") (identifier "local_20") (, ",") (cast_expression "(void *)(param_3 + 0x60)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x60)" (( "(") (binary_expression "param_3 + 0x60" (identifier "param_3") (+ "+") (number_literal "0x60")) () ")"))) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_3 + 0x1c) = param_2;" (assignment_expression "*(uint *)(param_3 + 0x1c) = param_2" (pointer_expression "*(uint *)(param_3 + 0x1c)" (* "*") (cast_expression "(uint *)(param_3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void function_1(void *buffer,size_t var_2,type_1 *ctx)

{
  type_2 var_1;
  type_3 var_4;
  type_2 *var_11;
  int var_8;
  type_3 var_5;
  type_3 var_7;
  type_3 var_9;
  type_2 *var_10;
  type_2 *local_20;
  
  var_1 = ctx->buflen;
  if (var_1 != 0) {
    var_10 = ctx->buffer;
    var_4 = 0x80 - var_1;
    if (var_2 < 0x80 - var_1) {
      var_4 = var_2;
    }
    var_3((void *)((int)var_10 + var_1),buffer,var_4);
    var_5 = ctx->buflen + var_4;
    ctx->buflen = var_5;
    if (0x40 < var_5) {
      var_6(var_10,var_5 & 0xffffffc0,ctx);
      var_5 = ctx->buflen;
      var_7 = var_5 & 0x3f;
      var_11 = (type_2 *)((var_1 + var_4 & 0xffffffc0) + (int)var_10);
      ctx->buflen = var_7;
      if (var_7 < 4) {
        if ((var_7 != 0) && (*(char *)ctx->buffer = (char)*var_11, (var_5 & 2) != 0)) {
          *(type_4 *)((int)ctx->buffer + (var_7 - 2)) =
               *(type_4 *)((int)var_11 + (var_7 - 2));
        }
      }
      else {
        ctx->buffer[0] = *var_11;
        *(type_5 *)((int)ctx->buffer + (var_7 - 4)) = *(type_5 *)((var_7 - 4) + (int)var_11)
        ;
        var_5 = (type_3)(ctx->buffer + 1) & 0xfffffffc;
        var_8 = (int)var_10 - var_5;
        var_7 = var_8 + var_7 & 0xfffffffc;
        if (3 < var_7) {
          var_9 = 0;
          do {
            *(type_5 *)(var_5 + var_9) = *(type_5 *)((int)var_11 + (var_9 - var_8));
            var_9 = var_9 + 4;
          } while (var_9 < var_7);
        }
      }
    }
    buffer = (void *)((int)buffer + var_4);
    var_2 = var_2 - var_4;
  }
  if (0x3f < var_2) {
    if (((type_3)buffer & 3) != 0) {
      if (var_2 != 0x40) {
        var_4 = var_2 - 0x41 >> 6;
        var_10 = (type_2 *)buffer;
        do {
          var_11 = var_10 + 0x10;
          ctx->buffer[0] = *var_10;
          ctx->buffer[1] = var_10[1];
          ctx->buffer[2] = var_10[2];
          ctx->buffer[3] = var_10[3];
          ctx->buffer[4] = var_10[4];
          ctx->buffer[5] = var_10[5];
          ctx->buffer[6] = var_10[6];
          ctx->buffer[7] = var_10[7];
          ctx->buffer[8] = var_10[8];
          ctx->buffer[9] = var_10[9];
          ctx->buffer[10] = var_10[10];
          ctx->buffer[0xb] = var_10[0xb];
          ctx->buffer[0xc] = var_10[0xc];
          ctx->buffer[0xd] = var_10[0xd];
          ctx->buffer[0xe] = var_10[0xe];
          ctx->buffer[0xf] = var_10[0xf];
          var_6(ctx->buffer,0x40,ctx);
          var_10 = var_11;
        } while (var_11 != (type_2 *)((int)buffer + (var_4 + 1) * 0x10 * 4));
        var_2 = (var_2 - 0x40) + var_4 * -0x40;
        buffer = (type_2 *)((int)buffer + (var_4 + 1) * 0x10 * 4);
      }
      goto LAB_001e0cc1;
    }
    var_4 = var_2 & 0xffffffc0;
    var_6(buffer,var_4,ctx);
    var_2 = var_2 & 0x3f;
    buffer = (type_2 *)((int)buffer + var_4);
  }
  if (var_2 == 0) {
    return;
  }
LAB_001e0cc1:
  local_20 = ctx->buffer;
  var_1 = ctx->buflen;
  var_10 = (type_2 *)((int)local_20 + var_1);
  if (var_2 < 4) {
                    /* WARNING: Load size is inaccurate */
    if ((var_2 != 0) && (*(char *)var_10 = (char)*buffer, (var_2 & 2) != 0)) {
      *(type_4 *)((int)var_10 + (var_2 - 2)) = *(type_4 *)((int)buffer + (var_2 - 2));
    }
  }
  else {
                    /* WARNING: Load size is inaccurate */
    *var_10 = *buffer;
    *(type_5 *)((int)var_10 + (var_2 - 4)) = *(type_5 *)((int)buffer + (var_2 - 4));
    var_8 = (int)var_10 - ((type_3)(var_10 + 1) & 0xfffffffc);
    var_4 = var_8 + var_2 & 0xfffffffc;
    if (3 < var_4) {
      var_5 = 0;
      do {
        *(type_5 *)(((type_3)(var_10 + 1) & 0xfffffffc) + var_5) =
             *(type_5 *)((int)buffer + (var_5 - var_8));
        var_5 = var_5 + 4;
      } while (var_5 < var_4);
    }
  }
  var_4 = var_1 + var_2;
  if (0x3f < var_4) {
    var_4 = var_4 - 0x40;
    var_6(local_20,0x40,ctx);
    var_3(local_20,ctx->buffer + 0x10,var_4);
  }
  ctx->buflen = var_4;
  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)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) consequence: (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: (binary_expression left: (identifier) right: (number_literal)) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) alternative: (else_clause (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: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (pointer_expression argument: (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: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (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: (parenthesized_expression (binary_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: (identifier))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (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: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) consequence: (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: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) 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: (parenthesized_expression (binary_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: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(undefined4 *param_1,uint param_2,int param_3)

{
  int iVar1;
  uint uVar2;
  undefined4 *puVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  undefined4 *puVar8;
  void *local_20;
  
  iVar1 = *(int *)(param_3 + 0x1c);
  if (iVar1 != 0) {
    iVar4 = param_3 + 0x20;
    uVar2 = 0x80U - iVar1;
    if (param_2 < 0x80U - iVar1) {
      uVar2 = param_2;
    }
    memcpy((void *)(iVar4 + iVar1),param_1,uVar2);
    uVar5 = *(int *)(param_3 + 0x1c) + uVar2;
    *(uint *)(param_3 + 0x1c) = uVar5;
    if (0x40 < uVar5) {
      FUN_001df990(iVar4,uVar5 & 0xffffffc0,param_3);
      uVar5 = *(uint *)(param_3 + 0x1c);
      uVar6 = uVar5 & 0x3f;
      puVar3 = (undefined4 *)((iVar1 + uVar2 & 0xffffffc0) + iVar4);
      *(uint *)(param_3 + 0x1c) = uVar6;
      if (uVar6 < 4) {
        if ((uVar6 != 0) &&
           (*(undefined1 *)(param_3 + 0x20) = *(undefined1 *)puVar3, (uVar5 & 2) != 0)) {
          *(undefined2 *)(param_3 + 0x1e + uVar6) = *(undefined2 *)((int)puVar3 + (uVar6 - 2));
        }
      }
      else {
        *(undefined4 *)(param_3 + 0x20) = *puVar3;
        *(undefined4 *)(param_3 + 0x1c + uVar6) = *(undefined4 *)((uVar6 - 4) + (int)puVar3);
        uVar5 = param_3 + 0x24U & 0xfffffffc;
        iVar4 = iVar4 - uVar5;
        uVar6 = iVar4 + uVar6 & 0xfffffffc;
        if (3 < uVar6) {
          uVar7 = 0;
          do {
            *(undefined4 *)(uVar5 + uVar7) = *(undefined4 *)((int)puVar3 + (uVar7 - iVar4));
            uVar7 = uVar7 + 4;
          } while (uVar7 < uVar6);
        }
      }
    }
    param_1 = (undefined4 *)((int)param_1 + uVar2);
    param_2 = param_2 - uVar2;
  }
  if (0x3f < param_2) {
    if (((uint)param_1 & 3) != 0) {
      if (param_2 != 0x40) {
        uVar2 = param_2 - 0x41 >> 6;
        puVar3 = param_1;
        do {
          puVar8 = puVar3 + 0x10;
          *(undefined4 *)(param_3 + 0x20) = *puVar3;
          *(undefined4 *)(param_3 + 0x24) = puVar3[1];
          *(undefined4 *)(param_3 + 0x28) = puVar3[2];
          *(undefined4 *)(param_3 + 0x2c) = puVar3[3];
          *(undefined4 *)(param_3 + 0x30) = puVar3[4];
          *(undefined4 *)(param_3 + 0x34) = puVar3[5];
          *(undefined4 *)(param_3 + 0x38) = puVar3[6];
          *(undefined4 *)(param_3 + 0x3c) = puVar3[7];
          *(undefined4 *)(param_3 + 0x40) = puVar3[8];
          *(undefined4 *)(param_3 + 0x44) = puVar3[9];
          *(undefined4 *)(param_3 + 0x48) = puVar3[10];
          *(undefined4 *)(param_3 + 0x4c) = puVar3[0xb];
          *(undefined4 *)(param_3 + 0x50) = puVar3[0xc];
          *(undefined4 *)(param_3 + 0x54) = puVar3[0xd];
          *(undefined4 *)(param_3 + 0x58) = puVar3[0xe];
          *(undefined4 *)(param_3 + 0x5c) = puVar3[0xf];
          FUN_001df990((undefined4 *)(param_3 + 0x20),0x40,param_3);
          puVar3 = puVar8;
        } while (puVar8 != param_1 + (uVar2 + 1) * 0x10);
        param_2 = (param_2 - 0x40) + uVar2 * -0x40;
        param_1 = param_1 + (uVar2 + 1) * 0x10;
      }
      goto LAB_001e0cc1;
    }
    uVar2 = param_2 & 0xffffffc0;
    FUN_001df990(param_1,uVar2,param_3);
    param_2 = param_2 & 0x3f;
    param_1 = (undefined4 *)((int)param_1 + uVar2);
  }
  if (param_2 == 0) {
    return;
  }
LAB_001e0cc1:
  local_20 = (void *)(param_3 + 0x20);
  iVar1 = *(int *)(param_3 + 0x1c);
  puVar3 = (undefined4 *)((int)local_20 + iVar1);
  if (param_2 < 4) {
    if ((param_2 != 0) && (*(undefined1 *)puVar3 = *(undefined1 *)param_1, (param_2 & 2) != 0)) {
      *(undefined2 *)((int)puVar3 + (param_2 - 2)) = *(undefined2 *)((int)param_1 + (param_2 - 2));
    }
  }
  else {
    *puVar3 = *param_1;
    *(undefined4 *)((int)puVar3 + (param_2 - 4)) = *(undefined4 *)((int)param_1 + (param_2 - 4));
    iVar4 = (int)puVar3 - ((uint)(puVar3 + 1) & 0xfffffffc);
    uVar2 = iVar4 + param_2 & 0xfffffffc;
    if (3 < uVar2) {
      uVar5 = 0;
      do {
        *(undefined4 *)(((uint)(puVar3 + 1) & 0xfffffffc) + uVar5) =
             *(undefined4 *)((int)param_1 + (uVar5 - iVar4));
        uVar5 = uVar5 + 4;
      } while (uVar5 < uVar2);
    }
  }
  param_2 = iVar1 + param_2;
  if (0x3f < param_2) {
    param_2 = param_2 - 0x40;
    FUN_001df990(local_20,0x40,param_3);
    memcpy(local_20,(void *)(param_3 + 0x60),param_2);
  }
  *(uint *)(param_3 + 0x1c) = param_2;
  return;
}

