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

void sha512_process_bytes(void *buffer,size_t len,sha512_ctx *ctx)

{
  size_t sVar1;
  u64 *puVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  byte bVar9;
  undefined4 *local_24;
  
  bVar9 = 0;
  sVar1 = ctx->buflen;
  if (sVar1 != 0) {
    puVar2 = ctx->buffer;
    uVar6 = 0x100 - sVar1;
    if (len < 0x100 - sVar1) {
      uVar6 = len;
    }
    memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);
    uVar5 = ctx->buflen + uVar6;
    ctx->buflen = uVar5;
    if (0x80 < uVar5) {
      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);
      uVar5 = ctx->buflen;
      uVar3 = uVar5 & 0x7f;
      ctx->buflen = uVar3;
      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);
      if (uVar3 < 4) {
        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))
        {
          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =
               *(undefined2 *)((int)puVar7 + (uVar3 - 2));
        }
      }
      else {
        *(undefined4 *)ctx->buffer = *puVar7;
        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))
        ;
        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);
        iVar4 = (int)puVar2 - (int)puVar8;
        puVar7 = (undefined4 *)((int)puVar7 - iVar4);
        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {
          *puVar8 = *puVar7;
          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
        }
      }
    }
    buffer = (void *)((int)buffer + uVar6);
    len = len - uVar6;
  }
  if (0x7f < len) {
    if (((uint)buffer & 3) != 0) {
      if (len == 0x80) {
        local_24 = (undefined4 *)buffer;
      }
      else {
        uVar6 = len - 0x81 >> 7;
        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);
        do {
          puVar2 = ctx->buffer;
                    /* WARNING: Load size is inaccurate */
          *(undefined4 *)puVar2 = *buffer;
          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);
          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);
          iVar4 = (int)puVar2 - (int)puVar8;
          puVar7 = (undefined4 *)((int)buffer - iVar4);
          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {
            *puVar8 = *puVar7;
            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
          }
          sha512_process_block(puVar2,0x80,ctx);
          buffer = (void *)((int)buffer + 0x80);
        } while (local_24 != (undefined4 *)buffer);
        len = (len - 0x80) + uVar6 * -0x80;
      }
      goto LAB_000212bf;
    }
    sha512_process_block(buffer,len & 0xffffff80,ctx);
    buffer = (void *)((int)buffer + (len & 0xffffff80));
    len = len & 0x7f;
  }
  if (len == 0) {
    return;
  }
  local_24 = (undefined4 *)buffer;
LAB_000212bf:
  puVar2 = ctx->buffer;
  sVar1 = ctx->buflen;
  puVar7 = (undefined4 *)((int)puVar2 + sVar1);
  if (len < 4) {
    if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {
      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));
    }
  }
  else {
    *puVar7 = *local_24;
    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));
    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);
    puVar8 = (undefined4 *)((int)local_24 - iVar4);
    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);
    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {
      *puVar7 = *puVar8;
      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
    }
  }
  uVar6 = sVar1 + len;
  if (0x7f < uVar6) {
    uVar6 = (sVar1 + len) - 0x80;
    sha512_process_block(puVar2,0x80,ctx);
    memcpy(puVar2,ctx->buffer + 0x10,uVar6);
  }
  ctx->buflen = uVar6;
  return;
}



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

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

{
  undefined4 *puVar1;
  void *__dest;
  uint uVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  byte bVar9;
  undefined4 *local_24;
  
  bVar9 = 0;
  iVar3 = *(int *)(param_3 + 0x50);
  if (iVar3 != 0) {
    iVar5 = param_3 + 0x54;
    uVar6 = 0x100U - iVar3;
    if (param_2 < 0x100U - iVar3) {
      uVar6 = param_2;
    }
    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);
    uVar4 = *(int *)(param_3 + 0x50) + uVar6;
    *(uint *)(param_3 + 0x50) = uVar4;
    if (0x80 < uVar4) {
      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);
      uVar4 = *(uint *)(param_3 + 0x50);
      uVar2 = uVar4 & 0x7f;
      *(uint *)(param_3 + 0x50) = uVar2;
      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);
      if (uVar2 < 4) {
        if ((uVar2 != 0) &&
           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {
          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));
        }
      }
      else {
        *(undefined4 *)(param_3 + 0x54) = *puVar7;
        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));
        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);
        iVar5 = iVar5 - (int)puVar8;
        puVar7 = (undefined4 *)((int)puVar7 - iVar5);
        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {
          *puVar8 = *puVar7;
          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
        }
      }
    }
    param_1 = (undefined4 *)((int)param_1 + uVar6);
    param_2 = param_2 - uVar6;
  }
  if (0x7f < param_2) {
    if (((uint)param_1 & 3) != 0) {
      if (param_2 == 0x80) {
        local_24 = param_1;
      }
      else {
        uVar6 = param_2 - 0x81 >> 7;
        local_24 = param_1 + (uVar6 + 1) * 0x20;
        do {
          puVar1 = (undefined4 *)(param_3 + 0x54);
          *puVar1 = *param_1;
          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];
          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);
          iVar3 = (int)puVar1 - (int)puVar8;
          puVar7 = (undefined4 *)((int)param_1 - iVar3);
          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {
            *puVar8 = *puVar7;
            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
          }
          FUN_000133b0(puVar1,0x80,param_3);
          param_1 = param_1 + 0x20;
        } while (local_24 != param_1);
        param_2 = (param_2 - 0x80) + uVar6 * -0x80;
      }
      goto LAB_000212bf;
    }
    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);
    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));
    param_2 = param_2 & 0x7f;
  }
  if (param_2 == 0) {
    return;
  }
  local_24 = param_1;
LAB_000212bf:
  __dest = (void *)(param_3 + 0x54);
  iVar3 = *(int *)(param_3 + 0x50);
  puVar7 = (undefined4 *)((int)__dest + iVar3);
  if (param_2 < 4) {
    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {
      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));
    }
  }
  else {
    *puVar7 = *local_24;
    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));
    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);
    puVar8 = (undefined4 *)((int)local_24 - iVar5);
    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);
    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {
      *puVar7 = *puVar8;
      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
    }
  }
  uVar6 = iVar3 + param_2;
  if (0x7f < uVar6) {
    uVar6 = (iVar3 + param_2) - 0x80;
    FUN_000133b0(__dest,0x80,param_3);
    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);
  }
  *(uint *)(param_3 + 0x50) = uVar6;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000128e0
ADD EBX,0x9e05
SUB ESP,0x1c
MOV EAX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EAX + 0x50]
TEST EDI,EDI
JNZ 0x00021348
CMP dword ptr [EBP + 0xc],0x7f
JBE 0x0002132f
TEST byte ptr [EBP + 0x8],0x3
JZ 0x00021310
MOV EAX,dword ptr [EBP + 0x10]
ADD EAX,0x54
CMP dword ptr [EBP + 0xc],0x80
JZ 0x00021490
MOV EDI,dword ptr [EBP + 0xc]
LEA EDX,[EDI + 0xffffff7f]
MOV EDI,dword ptr [EBP + 0x10]
SHR EDX,0x7
LEA ESI,[EDX + 0x1]
ADD EDI,0x58
MOV dword ptr [EBP + -0x28],EDX
SHL ESI,0x7
ADD ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x24],EDI
MOV dword ptr [EBP + -0x20],ESI
LEA ESI,[ESI]
MOV EDX,dword ptr [EBP + 0x8]
MOV ECX,EAX
SUB ESP,0x4
MOV EDX,dword ptr [EDX]
MOV dword ptr [EAX],EDX
MOV ESI,dword ptr [EBP + 0x8]
MOV EDX,dword ptr [ESI + 0x7c]
MOV dword ptr [EAX + 0x7c],EDX
MOV EDI,dword ptr [EBP + -0x24]
MOV ESI,dword ptr [EBP + 0x8]
AND EDI,0xfffffffc
SUB ECX,EDI
SUB ESI,ECX
SUB ECX,-0x80
SHR ECX,0x2
MOVSD.REP ES:EDI,ESI
MOV dword ptr [EBP + -0x1c],EAX
PUSH dword ptr [EBP + 0x10]
PUSH 0x80
PUSH EAX
CALL 0x000133b0
MOV EAX,dword ptr [EBP + -0x20]
SUB dword ptr [EBP + 0x8],-0x80
ADD ESP,0x10
CMP EAX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EBP + -0x1c]
JNZ 0x00021260
MOV EDX,dword ptr [EBP + -0x28]
MOV EDI,dword ptr [EBP + 0xc]
SHL EDX,0x7
NEG EDX
LEA EDI,[EDI + EDX*0x1 + -0x80]
MOV dword ptr [EBP + 0xc],EDI
MOV EDI,dword ptr [EBP + 0x10]
CMP dword ptr [EBP + 0xc],0x4
MOV EDI,dword ptr [EDI + 0x50]
MOV dword ptr [EBP + -0x1c],EDI
LEA ECX,[EAX + EDI*0x1]
JNC 0x00021390
MOV EDX,dword ptr [EBP + 0xc]
TEST EDX,EDX
JZ 0x000212ee
MOV EDI,dword ptr [EBP + -0x20]
MOVZX EDX,byte ptr [EDI]
MOV byte ptr [ECX],DL
TEST byte ptr [EBP + 0xc],0x2
JNZ 0x0002149b
MOV ESI,dword ptr [EBP + -0x1c]
ADD ESI,dword ptr [EBP + 0xc]
CMP ESI,0x7f
JA 0x000213c5
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [EAX + 0x50],ESI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [EBP + 0xc]
SUB ESP,0x4
PUSH dword ptr [EBP + 0x10]
AND ESI,0xffffff80
PUSH ESI
PUSH dword ptr [EBP + 0x8]
CALL 0x000133b0
ADD dword ptr [EBP + 0x8],ESI
ADD ESP,0x10
AND dword ptr [EBP + 0xc],0x7f
MOV ECX,dword ptr [EBP + 0xc]
TEST ECX,ECX
JNZ 0x000214b3
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,0x100
LEA ESI,[EAX + 0x54]
SUB EDX,EDI
CMP EDX,dword ptr [EBP + 0xc]
LEA EAX,[ESI + EDI*0x1]
CMOVA EDX,dword ptr [EBP + 0xc]
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [EBP + 0x8]
PUSH EAX
MOV dword ptr [EBP + -0x1c],EDX
CALL 0x00011080
MOV ECX,dword ptr [EBP + 0x10]
MOV EDX,dword ptr [EBP + -0x1c]
ADD ESP,0x10
MOV EAX,dword ptr [ECX + 0x50]
ADD EAX,EDX
MOV dword ptr [ECX + 0x50],EAX
CMP EAX,0x80
JA 0x00021400
ADD dword ptr [EBP + 0x8],EDX
SUB dword ptr [EBP + 0xc],EDX
JMP 0x00021212
MOV EDX,dword ptr [EBP + -0x20]
MOV ESI,dword ptr [EDX]
MOV dword ptr [ECX],ESI
MOV EDI,dword ptr [EBP + 0xc]
MOV ESI,dword ptr [EDX + EDI*0x1 + -0x4]
MOV dword ptr [ECX + EDI*0x1 + -0x4],ESI
LEA EDI,[ECX + 0x4]
MOV ESI,EDX
AND EDI,0xfffffffc
SUB ECX,EDI
SUB ESI,ECX
ADD ECX,dword ptr [EBP + 0xc]
SHR ECX,0x2
MOVSD.REP ES:EDI,ESI
MOV ESI,dword ptr [EBP + -0x1c]
ADD ESI,dword ptr [EBP + 0xc]
CMP ESI,0x7f
JBE 0x000212fd
SUB ESP,0x4
PUSH dword ptr [EBP + 0x10]
ADD ESI,-0x80
PUSH 0x80
PUSH EAX
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x000133b0
MOV EAX,dword ptr [EBP + 0x10]
ADD ESP,0xc
PUSH ESI
LEA EDX,[EAX + 0xd4]
MOV EAX,dword ptr [EBP + -0x1c]
PUSH EDX
PUSH EAX
CALL 0x00011080
ADD ESP,0x10
JMP 0x000212fd
SUB ESP,0x4
AND EAX,0xffffff80
PUSH ECX
PUSH EAX
PUSH ESI
CALL 0x000133b0
MOV EAX,dword ptr [EBP + 0x10]
MOV EDX,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EAX + 0x50]
MOV dword ptr [EBP + -0x20],EAX
AND EAX,0x7f
MOV dword ptr [EDX + 0x50],EAX
MOV EDX,dword ptr [EBP + -0x1c]
ADD EDI,EDX
AND EDI,0xffffff80
LEA ECX,[EDI + ESI*0x1]
MOV dword ptr [EBP + -0x1c],ECX
CMP EAX,0x4
JNC 0x00021460
TEST EAX,EAX
JZ 0x00021458
MOV EDI,dword ptr [EBP + 0x10]
MOVZX ECX,byte ptr [ECX]
MOV byte ptr [EDI + 0x54],CL
TEST byte ptr [EBP + -0x20],0x2
JZ 0x00021458
MOV EDI,dword ptr [EBP + -0x1c]
MOVZX ECX,word ptr [EDI + EAX*0x1 + -0x2]
MOV word ptr [ESI + EAX*0x1 + -0x2],CX
LEA ESI,[ESI]
NOP
ADD ESP,0x10
JMP 0x00021384
MOV ECX,dword ptr [ECX]
MOV EDI,dword ptr [EBP + 0x10]
MOV dword ptr [EDI + 0x54],ECX
MOV EDI,dword ptr [EBP + -0x1c]
MOV ECX,dword ptr [EDI + EAX*0x1 + -0x4]
MOV dword ptr [ESI + EAX*0x1 + -0x4],ECX
MOV EDI,dword ptr [EBP + 0x10]
LEA ECX,[EDI + 0x58]
AND ECX,0xfffffffc
SUB ESI,ECX
MOV EDI,ECX
MOV ECX,ESI
MOV ESI,dword ptr [EBP + -0x1c]
SUB ESI,ECX
ADD ECX,EAX
SHR ECX,0x2
MOVSD.REP ES:EDI,ESI
JMP 0x00021458
MOV EDI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x20],EDI
JMP 0x000212bf
MOV EDI,dword ptr [EBP + -0x20]
MOV ESI,dword ptr [EBP + 0xc]
MOVZX ESI,word ptr [EDI + ESI*0x1 + -0x2]
MOV EDI,dword ptr [EBP + 0xc]
MOV word ptr [ECX + EDI*0x1 + -0x2],SI
JMP 0x000212ee
MOV EAX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBP + 0x8]
ADD EAX,0x54
MOV dword ptr [EBP + -0x20],EDI
JMP 0x000212bf
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000211f0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}\n\n" comment (function_definition "void FUN_000211f0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}" primitive_type (function_declarator "FUN_000211f0(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  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined4 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x50);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x50)" identifier = (pointer_expression "*(int *)(param_3 + 0x50)" * (cast_expression "(int *)(param_3 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }" { (expression_statement "iVar5 = param_3 + 0x54;" (assignment_expression "iVar5 = param_3 + 0x54" identifier = (binary_expression "param_3 + 0x54" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x100U - iVar3;" (assignment_expression "uVar6 = 0x100U - iVar3" identifier = (binary_expression "0x100U - iVar3" number_literal - identifier)) ;) (if_statement "if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }" if (parenthesized_expression "(param_2 < 0x100U - iVar3)" ( (binary_expression "param_2 < 0x100U - iVar3" identifier < (binary_expression "0x100U - iVar3" number_literal - identifier)) )) (compound_statement "{\n      uVar6 = param_2;\n    }" { (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) })) (expression_statement "memcpy((void *)(iVar5 + iVar3),param_1,uVar6);" (call_expression "memcpy((void *)(iVar5 + iVar3),param_1,uVar6)" identifier (argument_list "((void *)(iVar5 + iVar3),param_1,uVar6)" ( (cast_expression "(void *)(iVar5 + iVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar3)" ( (binary_expression "iVar5 + iVar3" identifier + identifier) ))) , identifier , identifier ))) ;) (expression_statement "uVar4 = *(int *)(param_3 + 0x50) + uVar6;" (assignment_expression "uVar4 = *(int *)(param_3 + 0x50) + uVar6" identifier = (binary_expression "*(int *)(param_3 + 0x50) + uVar6" (pointer_expression "*(int *)(param_3 + 0x50)" * (cast_expression "(int *)(param_3 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) + identifier)) ;) (expression_statement "*(uint *)(param_3 + 0x50) = uVar4;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar4" (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = identifier) ;) (if_statement "if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" if (parenthesized_expression "(0x80 < uVar4)" ( (binary_expression "0x80 < uVar4" number_literal < identifier) )) (compound_statement "{\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" { (expression_statement "FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);" (call_expression "FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3)" identifier (argument_list "(iVar5,uVar4 & 0xffffff80,param_3)" ( identifier , (binary_expression "uVar4 & 0xffffff80" identifier & number_literal) , identifier ))) ;) (expression_statement "uVar4 = *(uint *)(param_3 + 0x50);" (assignment_expression "uVar4 = *(uint *)(param_3 + 0x50)" identifier = (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = uVar4 & 0x7f;" (assignment_expression "uVar2 = uVar4 & 0x7f" identifier = (binary_expression "uVar4 & 0x7f" identifier & number_literal)) ;) (expression_statement "*(uint *)(param_3 + 0x50) = uVar2;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar2" (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);" (assignment_expression "puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5)" identifier = (cast_expression "(undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar3 + uVar6 & 0xffffff80) + iVar5)" ( (binary_expression "(iVar3 + uVar6 & 0xffffff80) + iVar5" (parenthesized_expression "(iVar3 + uVar6 & 0xffffff80)" ( (binary_expression "iVar3 + uVar6 & 0xffffff80" (binary_expression "iVar3 + uVar6" identifier + identifier) & number_literal) )) + identifier) )))) ;) (if_statement "if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" if (parenthesized_expression "(uVar2 < 4)" ( (binary_expression "uVar2 < 4" identifier < number_literal) )) (compound_statement "{\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }" { (if_statement "if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }" if (parenthesized_expression "((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0))" ( (binary_expression "(uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)" (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)" ( (comma_expression "*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0" (assignment_expression "*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7" (pointer_expression "*(undefined1 *)(param_3 + 0x54)" * (cast_expression "(undefined1 *)(param_3 + 0x54)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x54)" ( (binary_expression "param_3 + 0x54" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)puVar7" * (cast_expression "(undefined1 *)puVar7" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(uVar4 & 2) != 0" (parenthesized_expression "(uVar4 & 2)" ( (binary_expression "uVar4 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }" { (expression_statement "*(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));" (assignment_expression "*(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2))" (pointer_expression "*(undefined2 *)(param_3 + 0x52 + uVar2)" * (cast_expression "(undefined2 *)(param_3 + 0x52 + uVar2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x52 + uVar2)" ( (binary_expression "param_3 + 0x52 + uVar2" (binary_expression "param_3 + 0x52" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined2 *)((int)puVar7 + (uVar2 - 2))" * (cast_expression "(undefined2 *)((int)puVar7 + (uVar2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (uVar2 - 2))" ( (binary_expression "(int)puVar7 + (uVar2 - 2)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar2 - 2)" ( (binary_expression "uVar2 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" else (compound_statement "{\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" { (expression_statement "*(undefined4 *)(param_3 + 0x54) = *puVar7;" (assignment_expression "*(undefined4 *)(param_3 + 0x54) = *puVar7" (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) )))) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));" (assignment_expression "*(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4))" (pointer_expression "*(undefined4 *)(param_3 + 0x50 + uVar2)" * (cast_expression "(undefined4 *)(param_3 + 0x50 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50 + uVar2)" ( (binary_expression "param_3 + 0x50 + uVar2" (binary_expression "param_3 + 0x50" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)puVar7 + (uVar2 - 4))" * (cast_expression "(undefined4 *)((int)puVar7 + (uVar2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (uVar2 - 4))" ( (binary_expression "(int)puVar7 + (uVar2 - 4)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar2 - 4)" ( (binary_expression "uVar2 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(param_3 + 0x58U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x58U & 0xfffffffc)" ( (binary_expression "param_3 + 0x58U & 0xfffffffc" (binary_expression "param_3 + 0x58U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "iVar5 = iVar5 - (int)puVar8;" (assignment_expression "iVar5 = iVar5 - (int)puVar8" identifier = (binary_expression "iVar5 - (int)puVar8" identifier - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 - iVar5);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)puVar7 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 - iVar5)" ( (binary_expression "(int)puVar7 - iVar5" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (for_statement "for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" for ( (assignment_expression "uVar4 = iVar5 + uVar2 >> 2" identifier = (binary_expression "iVar5 + uVar2 >> 2" (binary_expression "iVar5 + uVar2" identifier + identifier) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" { (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }))) })) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar6);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar6)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar6)" ( (binary_expression "(int)param_1 + uVar6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_2 = param_2 - uVar6;" (assignment_expression "param_2 = param_2 - uVar6" identifier = (binary_expression "param_2 - uVar6" identifier - identifier)) ;) })) (if_statement "if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }" if (parenthesized_expression "(0x7f < param_2)" ( (binary_expression "0x7f < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }" { (if_statement "if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\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 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }" { (if_statement "if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" if (parenthesized_expression "(param_2 == 0x80)" ( (binary_expression "param_2 == 0x80" identifier == number_literal) )) (compound_statement "{\n        local_24 = param_1;\n      }" { (expression_statement "local_24 = param_1;" (assignment_expression "local_24 = param_1" identifier = identifier) ;) }) (else_clause "else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" else (compound_statement "{\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" { (expression_statement "uVar6 = param_2 - 0x81 >> 7;" (assignment_expression "uVar6 = param_2 - 0x81 >> 7" identifier = (binary_expression "param_2 - 0x81 >> 7" (binary_expression "param_2 - 0x81" identifier - number_literal) >> number_literal)) ;) (expression_statement "local_24 = param_1 + (uVar6 + 1) * 0x20;" (assignment_expression "local_24 = param_1 + (uVar6 + 1) * 0x20" identifier = (binary_expression "param_1 + (uVar6 + 1) * 0x20" identifier + (binary_expression "(uVar6 + 1) * 0x20" (parenthesized_expression "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )) * number_literal))) ;) (do_statement "do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);" do (compound_statement "{\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        }" { (expression_statement "puVar1 = (undefined4 *)(param_3 + 0x54);" (assignment_expression "puVar1 = (undefined4 *)(param_3 + 0x54)" identifier = (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) )))) ;) (expression_statement "*puVar1 = *param_1;" (assignment_expression "*puVar1 = *param_1" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];" (assignment_expression "*(undefined4 *)(param_3 + 0xd0) = param_1[0x1f]" (pointer_expression "*(undefined4 *)(param_3 + 0xd0)" * (cast_expression "(undefined4 *)(param_3 + 0xd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xd0)" ( (binary_expression "param_3 + 0xd0" identifier + number_literal) )))) = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(param_3 + 0x58U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x58U & 0xfffffffc)" ( (binary_expression "param_3 + 0x58U & 0xfffffffc" (binary_expression "param_3 + 0x58U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "iVar3 = (int)puVar1 - (int)puVar8;" (assignment_expression "iVar3 = (int)puVar1 - (int)puVar8" identifier = (binary_expression "(int)puVar1 - (int)puVar8" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7 = (undefined4 *)((int)param_1 - iVar3);" (assignment_expression "puVar7 = (undefined4 *)((int)param_1 - iVar3)" identifier = (cast_expression "(undefined4 *)((int)param_1 - iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 - iVar3)" ( (binary_expression "(int)param_1 - iVar3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (for_statement "for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" for ( (assignment_expression "uVar4 = iVar3 + 0x80U >> 2" identifier = (binary_expression "iVar3 + 0x80U >> 2" (binary_expression "iVar3 + 0x80U" identifier + number_literal) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" { (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "FUN_000133b0(puVar1,0x80,param_3);" (call_expression "FUN_000133b0(puVar1,0x80,param_3)" identifier (argument_list "(puVar1,0x80,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "param_1 = param_1 + 0x20;" (assignment_expression "param_1 = param_1 + 0x20" identifier = (binary_expression "param_1 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_24 != param_1)" ( (binary_expression "local_24 != param_1" identifier != identifier) )) ;) (expression_statement "param_2 = (param_2 - 0x80) + uVar6 * -0x80;" (assignment_expression "param_2 = (param_2 - 0x80) + uVar6 * -0x80" identifier = (binary_expression "(param_2 - 0x80) + uVar6 * -0x80" (parenthesized_expression "(param_2 - 0x80)" ( (binary_expression "param_2 - 0x80" identifier - number_literal) )) + (binary_expression "uVar6 * -0x80" identifier * number_literal))) ;) }))) (goto_statement "goto LAB_000212bf;" goto statement_identifier ;) })) (expression_statement "FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);" (call_expression "FUN_000133b0(param_1,param_2 & 0xffffff80,param_3)" identifier (argument_list "(param_1,param_2 & 0xffffff80,param_3)" ( identifier , (binary_expression "param_2 & 0xffffff80" identifier & number_literal) , identifier ))) ;) (expression_statement "param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80))" identifier = (cast_expression "(undefined4 *)((int)param_1 + (param_2 & 0xffffff80))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 & 0xffffff80))" ( (binary_expression "(int)param_1 + (param_2 & 0xffffff80)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 & 0xffffff80)" ( (binary_expression "param_2 & 0xffffff80" identifier & number_literal) ))) )))) ;) (expression_statement "param_2 = param_2 & 0x7f;" (assignment_expression "param_2 = param_2 & 0x7f" identifier = (binary_expression "param_2 & 0x7f" identifier & number_literal)) ;) })) (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 ;) })) (expression_statement "local_24 = param_1;" (assignment_expression "local_24 = param_1" identifier = identifier) ;) (labeled_statement "LAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);" statement_identifier : (expression_statement "__dest = (void *)(param_3 + 0x54);" (assignment_expression "__dest = (void *)(param_3 + 0x54)" identifier = (cast_expression "(void *)(param_3 + 0x54)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x54)" ( (binary_expression "param_3 + 0x54" identifier + number_literal) )))) ;)) (expression_statement "iVar3 = *(int *)(param_3 + 0x50);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x50)" identifier = (pointer_expression "*(int *)(param_3 + 0x50)" * (cast_expression "(int *)(param_3 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = (undefined4 *)((int)__dest + iVar3);" (assignment_expression "puVar7 = (undefined4 *)((int)__dest + iVar3)" identifier = (cast_expression "(undefined4 *)((int)__dest + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + iVar3)" ( (binary_expression "(int)__dest + iVar3" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }" { (if_statement "if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }" if (parenthesized_expression "((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0))" ( (binary_expression "(param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0" (assignment_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24" (pointer_expression "*(undefined1 *)puVar7" * (cast_expression "(undefined1 *)puVar7" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)local_24" * (cast_expression "(undefined1 *)local_24" ( (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)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }" { (expression_statement "*(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));" (assignment_expression "*(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2))" (pointer_expression "*(undefined2 *)((int)puVar7 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)puVar7 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (param_2 - 2))" ( (binary_expression "(int)puVar7 + (param_2 - 2)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)local_24 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)local_24 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + (param_2 - 2))" ( (binary_expression "(int)local_24 + (param_2 - 2)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" else (compound_statement "{\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" { (expression_statement "*puVar7 = *local_24;" (assignment_expression "*puVar7 = *local_24" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));" (assignment_expression "*(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4))" (pointer_expression "*(undefined4 *)((int)puVar7 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)puVar7 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (param_2 - 4))" ( (binary_expression "(int)puVar7 + (param_2 - 4)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)local_24 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)local_24 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + (param_2 - 4))" ( (binary_expression "(int)local_24 + (param_2 - 4)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((int)local_24 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)local_24 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)local_24 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 - iVar5)" ( (binary_expression "(int)local_24 - iVar5" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "uVar6 = iVar5 + param_2 >> 2" identifier = (binary_expression "iVar5 + param_2 >> 2" (binary_expression "iVar5 + param_2" identifier + identifier) >> number_literal)) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*puVar7 = *puVar8;" (assignment_expression "*puVar7 = *puVar8" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }))) (expression_statement "uVar6 = iVar3 + param_2;" (assignment_expression "uVar6 = iVar3 + param_2" identifier = (binary_expression "iVar3 + param_2" identifier + identifier)) ;) (if_statement "if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }" if (parenthesized_expression "(0x7f < uVar6)" ( (binary_expression "0x7f < uVar6" number_literal < identifier) )) (compound_statement "{\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }" { (expression_statement "uVar6 = (iVar3 + param_2) - 0x80;" (assignment_expression "uVar6 = (iVar3 + param_2) - 0x80" identifier = (binary_expression "(iVar3 + param_2) - 0x80" (parenthesized_expression "(iVar3 + param_2)" ( (binary_expression "iVar3 + param_2" identifier + identifier) )) - number_literal)) ;) (expression_statement "FUN_000133b0(__dest,0x80,param_3);" (call_expression "FUN_000133b0(__dest,0x80,param_3)" identifier (argument_list "(__dest,0x80,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);" (call_expression "memcpy(__dest,(void *)(param_3 + 0xd4),uVar6)" identifier (argument_list "(__dest,(void *)(param_3 + 0xd4),uVar6)" ( identifier , (cast_expression "(void *)(param_3 + 0xd4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xd4)" ( (binary_expression "param_3 + 0xd4" identifier + number_literal) ))) , identifier ))) ;) })) (expression_statement "*(uint *)(param_3 + 0x50) = uVar6;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar6" (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid sha512_process_bytes(void *buffer,size_t len,sha512_ctx *ctx)\n\n{\n  size_t sVar1;\n  u64 *puVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  sVar1 = ctx->buflen;\n  if (sVar1 != 0) {\n    puVar2 = ctx->buffer;\n    uVar6 = 0x100 - sVar1;\n    if (len < 0x100 - sVar1) {\n      uVar6 = len;\n    }\n    memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);\n    uVar5 = ctx->buflen + uVar6;\n    ctx->buflen = uVar5;\n    if (0x80 < uVar5) {\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar6);\n    len = len - uVar6;\n  }\n  if (0x7f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    sha512_process_block(buffer,len & 0xffffff80,ctx);\n    buffer = (void *)((int)buffer + (len & 0xffffff80));\n    len = len & 0x7f;\n  }\n  if (len == 0) {\n    return;\n  }\n  local_24 = (undefined4 *)buffer;\nLAB_000212bf:\n  puVar2 = ctx->buffer;\n  sVar1 = ctx->buflen;\n  puVar7 = (undefined4 *)((int)puVar2 + sVar1);\n  if (len < 4) {\n    if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));\n    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar4);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = sVar1 + len;\n  if (0x7f < uVar6) {\n    uVar6 = (sVar1 + len) - 0x80;\n    sha512_process_block(puVar2,0x80,ctx);\n    memcpy(puVar2,ctx->buffer + 0x10,uVar6);\n  }\n  ctx->buflen = uVar6;\n  return;\n}\n\n" comment (function_definition "void sha512_process_bytes(void *buffer,size_t len,sha512_ctx *ctx)\n\n{\n  size_t sVar1;\n  u64 *puVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  sVar1 = ctx->buflen;\n  if (sVar1 != 0) {\n    puVar2 = ctx->buffer;\n    uVar6 = 0x100 - sVar1;\n    if (len < 0x100 - sVar1) {\n      uVar6 = len;\n    }\n    memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);\n    uVar5 = ctx->buflen + uVar6;\n    ctx->buflen = uVar5;\n    if (0x80 < uVar5) {\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar6);\n    len = len - uVar6;\n  }\n  if (0x7f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    sha512_process_block(buffer,len & 0xffffff80,ctx);\n    buffer = (void *)((int)buffer + (len & 0xffffff80));\n    len = len & 0x7f;\n  }\n  if (len == 0) {\n    return;\n  }\n  local_24 = (undefined4 *)buffer;\nLAB_000212bf:\n  puVar2 = ctx->buffer;\n  sVar1 = ctx->buflen;\n  puVar7 = (undefined4 *)((int)puVar2 + sVar1);\n  if (len < 4) {\n    if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));\n    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar4);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = sVar1 + len;\n  if (0x7f < uVar6) {\n    uVar6 = (sVar1 + len) - 0x80;\n    sha512_process_block(puVar2,0x80,ctx);\n    memcpy(puVar2,ctx->buffer + 0x10,uVar6);\n  }\n  ctx->buflen = uVar6;\n  return;\n}" primitive_type (function_declarator "sha512_process_bytes(void *buffer,size_t len,sha512_ctx *ctx)" identifier (parameter_list "(void *buffer,size_t len,sha512_ctx *ctx)" ( (parameter_declaration "void *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "sha512_ctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  u64 *puVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  sVar1 = ctx->buflen;\n  if (sVar1 != 0) {\n    puVar2 = ctx->buffer;\n    uVar6 = 0x100 - sVar1;\n    if (len < 0x100 - sVar1) {\n      uVar6 = len;\n    }\n    memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);\n    uVar5 = ctx->buflen + uVar6;\n    ctx->buflen = uVar5;\n    if (0x80 < uVar5) {\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar6);\n    len = len - uVar6;\n  }\n  if (0x7f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    sha512_process_block(buffer,len & 0xffffff80,ctx);\n    buffer = (void *)((int)buffer + (len & 0xffffff80));\n    len = len & 0x7f;\n  }\n  if (len == 0) {\n    return;\n  }\n  local_24 = (undefined4 *)buffer;\nLAB_000212bf:\n  puVar2 = ctx->buffer;\n  sVar1 = ctx->buflen;\n  puVar7 = (undefined4 *)((int)puVar2 + sVar1);\n  if (len < 4) {\n    if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));\n    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar4);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = sVar1 + len;\n  if (0x7f < uVar6) {\n    uVar6 = (sVar1 + len) - 0x80;\n    sha512_process_block(puVar2,0x80,ctx);\n    memcpy(puVar2,ctx->buffer + 0x10,uVar6);\n  }\n  ctx->buflen = uVar6;\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "u64 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined4 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "sVar1 = ctx->buflen;" (assignment_expression "sVar1 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;) (if_statement "if (sVar1 != 0) {\n    puVar2 = ctx->buffer;\n    uVar6 = 0x100 - sVar1;\n    if (len < 0x100 - sVar1) {\n      uVar6 = len;\n    }\n    memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);\n    uVar5 = ctx->buflen + uVar6;\n    ctx->buflen = uVar5;\n    if (0x80 < uVar5) {\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar6);\n    len = len - uVar6;\n  }" if (parenthesized_expression "(sVar1 != 0)" ( (binary_expression "sVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = ctx->buffer;\n    uVar6 = 0x100 - sVar1;\n    if (len < 0x100 - sVar1) {\n      uVar6 = len;\n    }\n    memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);\n    uVar5 = ctx->buflen + uVar6;\n    ctx->buflen = uVar5;\n    if (0x80 < uVar5) {\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    buffer = (void *)((int)buffer + uVar6);\n    len = len - uVar6;\n  }" { (expression_statement "puVar2 = ctx->buffer;" (assignment_expression "puVar2 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;) (expression_statement "uVar6 = 0x100 - sVar1;" (assignment_expression "uVar6 = 0x100 - sVar1" identifier = (binary_expression "0x100 - sVar1" number_literal - identifier)) ;) (if_statement "if (len < 0x100 - sVar1) {\n      uVar6 = len;\n    }" if (parenthesized_expression "(len < 0x100 - sVar1)" ( (binary_expression "len < 0x100 - sVar1" identifier < (binary_expression "0x100 - sVar1" number_literal - identifier)) )) (compound_statement "{\n      uVar6 = len;\n    }" { (expression_statement "uVar6 = len;" (assignment_expression "uVar6 = len" identifier = identifier) ;) })) (expression_statement "memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6);" (call_expression "memcpy((void *)((int)puVar2 + sVar1),buffer,uVar6)" identifier (argument_list "((void *)((int)puVar2 + sVar1),buffer,uVar6)" ( (cast_expression "(void *)((int)puVar2 + sVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + sVar1)" ( (binary_expression "(int)puVar2 + sVar1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , identifier , identifier ))) ;) (expression_statement "uVar5 = ctx->buflen + uVar6;" (assignment_expression "uVar5 = ctx->buflen + uVar6" identifier = (binary_expression "ctx->buflen + uVar6" (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 (0x80 < uVar5) {\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" if (parenthesized_expression "(0x80 < uVar5)" ( (binary_expression "0x80 < uVar5" number_literal < identifier) )) (compound_statement "{\n      sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);\n      uVar5 = ctx->buflen;\n      uVar3 = uVar5 & 0x7f;\n      ctx->buflen = uVar3;\n      puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);\n      if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" { (expression_statement "sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx);" (call_expression "sha512_process_block(puVar2,uVar5 & 0xffffff80,ctx)" identifier (argument_list "(puVar2,uVar5 & 0xffffff80,ctx)" ( identifier , (binary_expression "uVar5 & 0xffffff80" identifier & number_literal) , identifier ))) ;) (expression_statement "uVar5 = ctx->buflen;" (assignment_expression "uVar5 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;) (expression_statement "uVar3 = uVar5 & 0x7f;" (assignment_expression "uVar3 = uVar5 & 0x7f" identifier = (binary_expression "uVar5 & 0x7f" identifier & number_literal)) ;) (expression_statement "ctx->buflen = uVar3;" (assignment_expression "ctx->buflen = uVar3" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2);" (assignment_expression "puVar7 = (undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2)" identifier = (cast_expression "(undefined4 *)((sVar1 + uVar6 & 0xffffff80) + (int)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((sVar1 + uVar6 & 0xffffff80) + (int)puVar2)" ( (binary_expression "(sVar1 + uVar6 & 0xffffff80) + (int)puVar2" (parenthesized_expression "(sVar1 + uVar6 & 0xffffff80)" ( (binary_expression "sVar1 + uVar6 & 0xffffff80" (binary_expression "sVar1 + uVar6" identifier + identifier) & number_literal) )) + (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (uVar3 < 4) {\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" if (parenthesized_expression "(uVar3 < 4)" ( (binary_expression "uVar3 < 4" identifier < number_literal) )) (compound_statement "{\n        if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }\n      }" { (if_statement "if ((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))\n        {\n          *(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }" if (parenthesized_expression "((uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0))" ( (binary_expression "(uVar3 != 0) && (*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0)" ( (comma_expression "*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7, (uVar5 & 2) != 0" (assignment_expression "*(undefined1 *)ctx->buffer = *(undefined1 *)puVar7" (pointer_expression "*(undefined1 *)ctx->buffer" * (cast_expression "(undefined1 *)ctx->buffer" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "ctx->buffer" identifier -> field_identifier))) = (pointer_expression "*(undefined1 *)puVar7" * (cast_expression "(undefined1 *)puVar7" ( (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 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));\n        }" { (expression_statement "*(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2));" (assignment_expression "*(undefined2 *)((int)ctx->buffer + (uVar3 - 2)) =\n               *(undefined2 *)((int)puVar7 + (uVar3 - 2))" (pointer_expression "*(undefined2 *)((int)ctx->buffer + (uVar3 - 2))" * (cast_expression "(undefined2 *)((int)ctx->buffer + (uVar3 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ctx->buffer + (uVar3 - 2))" ( (binary_expression "(int)ctx->buffer + (uVar3 - 2)" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + (parenthesized_expression "(uVar3 - 2)" ( (binary_expression "uVar3 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)puVar7 + (uVar3 - 2))" * (cast_expression "(undefined2 *)((int)puVar7 + (uVar3 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (uVar3 - 2))" ( (binary_expression "(int)puVar7 + (uVar3 - 2)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar3 - 2)" ( (binary_expression "uVar3 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" else (compound_statement "{\n        *(undefined4 *)ctx->buffer = *puVar7;\n        *(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;\n        puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n        iVar4 = (int)puVar2 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar4);\n        for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" { (expression_statement "*(undefined4 *)ctx->buffer = *puVar7;" (assignment_expression "*(undefined4 *)ctx->buffer = *puVar7" (pointer_expression "*(undefined4 *)ctx->buffer" * (cast_expression "(undefined4 *)ctx->buffer" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "ctx->buffer" identifier -> field_identifier))) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))\n        ;" (assignment_expression "*(undefined4 *)((int)ctx->buffer + (uVar3 - 4)) = *(undefined4 *)((int)puVar7 + (uVar3 - 4))" (pointer_expression "*(undefined4 *)((int)ctx->buffer + (uVar3 - 4))" * (cast_expression "(undefined4 *)((int)ctx->buffer + (uVar3 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ctx->buffer + (uVar3 - 4))" ( (binary_expression "(int)ctx->buffer + (uVar3 - 4)" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + (parenthesized_expression "(uVar3 - 4)" ( (binary_expression "uVar3 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)puVar7 + (uVar3 - 4))" * (cast_expression "(undefined4 *)((int)puVar7 + (uVar3 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (uVar3 - 4))" ( (binary_expression "(int)puVar7 + (uVar3 - 4)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar3 - 4)" ( (binary_expression "uVar3 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)((int)ctx->buffer + 4U) & 0xfffffffc)" ( (binary_expression "(uint)((int)ctx->buffer + 4U) & 0xfffffffc" (call_expression "(uint)((int)ctx->buffer + 4U)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)ctx->buffer + 4U)" ( (binary_expression "(int)ctx->buffer + 4U" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + number_literal) ))) & number_literal) )))) ;) (expression_statement "iVar4 = (int)puVar2 - (int)puVar8;" (assignment_expression "iVar4 = (int)puVar2 - (int)puVar8" identifier = (binary_expression "(int)puVar2 - (int)puVar8" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 - iVar4);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 - iVar4)" identifier = (cast_expression "(undefined4 *)((int)puVar7 - iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 - iVar4)" ( (binary_expression "(int)puVar7 - iVar4" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (for_statement "for (uVar5 = iVar4 + uVar3 >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" for ( (assignment_expression "uVar5 = iVar4 + uVar3 >> 2" identifier = (binary_expression "iVar4 + uVar3 >> 2" (binary_expression "iVar4 + uVar3" identifier + identifier) >> number_literal)) ; (binary_expression "uVar5 != 0" identifier != number_literal) ; (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ) (compound_statement "{\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" { (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }))) })) (expression_statement "buffer = (void *)((int)buffer + uVar6);" (assignment_expression "buffer = (void *)((int)buffer + uVar6)" identifier = (cast_expression "(void *)((int)buffer + uVar6)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + uVar6)" ( (binary_expression "(int)buffer + uVar6" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "len = len - uVar6;" (assignment_expression "len = len - uVar6" identifier = (binary_expression "len - uVar6" identifier - identifier)) ;) })) (if_statement "if (0x7f < len) {\n    if (((uint)buffer & 3) != 0) {\n      if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    sha512_process_block(buffer,len & 0xffffff80,ctx);\n    buffer = (void *)((int)buffer + (len & 0xffffff80));\n    len = len & 0x7f;\n  }" if (parenthesized_expression "(0x7f < len)" ( (binary_expression "0x7f < len" number_literal < identifier) )) (compound_statement "{\n    if (((uint)buffer & 3) != 0) {\n      if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    sha512_process_block(buffer,len & 0xffffff80,ctx);\n    buffer = (void *)((int)buffer + (len & 0xffffff80));\n    len = len & 0x7f;\n  }" { (if_statement "if (((uint)buffer & 3) != 0) {\n      if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\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 == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }" { (if_statement "if (len == 0x80) {\n        local_24 = (undefined4 *)buffer;\n      }\n      else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }" if (parenthesized_expression "(len == 0x80)" ( (binary_expression "len == 0x80" identifier == number_literal) )) (compound_statement "{\n        local_24 = (undefined4 *)buffer;\n      }" { (expression_statement "local_24 = (undefined4 *)buffer;" (assignment_expression "local_24 = (undefined4 *)buffer" identifier = (cast_expression "(undefined4 *)buffer" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }" else (compound_statement "{\n        uVar6 = len - 0x81 >> 7;\n        local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);\n        do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);\n        len = (len - 0x80) + uVar6 * -0x80;\n      }" { (expression_statement "uVar6 = len - 0x81 >> 7;" (assignment_expression "uVar6 = len - 0x81 >> 7" identifier = (binary_expression "len - 0x81 >> 7" (binary_expression "len - 0x81" identifier - number_literal) >> number_literal)) ;) (expression_statement "local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer);" (assignment_expression "local_24 = (undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer)" identifier = (cast_expression "(undefined4 *)((uVar6 + 1) * 0x80 + (int)buffer)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar6 + 1) * 0x80 + (int)buffer)" ( (binary_expression "(uVar6 + 1) * 0x80 + (int)buffer" (binary_expression "(uVar6 + 1) * 0x80" (parenthesized_expression "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )) * number_literal) + (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        } while (local_24 != (undefined4 *)buffer);" do (compound_statement "{\n          puVar2 = ctx->buffer;\n                    /* WARNING: Load size is inaccurate */\n          *(undefined4 *)puVar2 = *buffer;\n          *(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);\n          puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);\n          iVar4 = (int)puVar2 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)buffer - iVar4);\n          for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          sha512_process_block(puVar2,0x80,ctx);\n          buffer = (void *)((int)buffer + 0x80);\n        }" { (expression_statement "puVar2 = ctx->buffer;" (assignment_expression "puVar2 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;) comment (expression_statement "*(undefined4 *)puVar2 = *buffer;" (assignment_expression "*(undefined4 *)puVar2 = *buffer" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*buffer" * identifier)) ;) (expression_statement "*(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c);" (assignment_expression "*(undefined4 *)((int)ctx->buffer + 0x7c) = *(undefined4 *)((int)buffer + 0x7c)" (pointer_expression "*(undefined4 *)((int)ctx->buffer + 0x7c)" * (cast_expression "(undefined4 *)((int)ctx->buffer + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ctx->buffer + 0x7c)" ( (binary_expression "(int)ctx->buffer + 0x7c" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)buffer + 0x7c)" * (cast_expression "(undefined4 *)((int)buffer + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + 0x7c)" ( (binary_expression "(int)buffer + 0x7c" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)((int)ctx->buffer + 4U) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)((int)ctx->buffer + 4U) & 0xfffffffc)" ( (binary_expression "(uint)((int)ctx->buffer + 4U) & 0xfffffffc" (call_expression "(uint)((int)ctx->buffer + 4U)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)ctx->buffer + 4U)" ( (binary_expression "(int)ctx->buffer + 4U" (cast_expression "(int)ctx->buffer" ( (type_descriptor "int" primitive_type) ) (field_expression "ctx->buffer" identifier -> field_identifier)) + number_literal) ))) & number_literal) )))) ;) (expression_statement "iVar4 = (int)puVar2 - (int)puVar8;" (assignment_expression "iVar4 = (int)puVar2 - (int)puVar8" identifier = (binary_expression "(int)puVar2 - (int)puVar8" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7 = (undefined4 *)((int)buffer - iVar4);" (assignment_expression "puVar7 = (undefined4 *)((int)buffer - iVar4)" identifier = (cast_expression "(undefined4 *)((int)buffer - iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer - iVar4)" ( (binary_expression "(int)buffer - iVar4" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (for_statement "for (uVar5 = iVar4 + 0x80U >> 2; uVar5 != 0; uVar5 = uVar5 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" for ( (assignment_expression "uVar5 = iVar4 + 0x80U >> 2" identifier = (binary_expression "iVar4 + 0x80U >> 2" (binary_expression "iVar4 + 0x80U" identifier + number_literal) >> number_literal)) ; (binary_expression "uVar5 != 0" identifier != number_literal) ; (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ) (compound_statement "{\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" { (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "sha512_process_block(puVar2,0x80,ctx);" (call_expression "sha512_process_block(puVar2,0x80,ctx)" identifier (argument_list "(puVar2,0x80,ctx)" ( identifier , number_literal , identifier ))) ;) (expression_statement "buffer = (void *)((int)buffer + 0x80);" (assignment_expression "buffer = (void *)((int)buffer + 0x80)" identifier = (cast_expression "(void *)((int)buffer + 0x80)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + 0x80)" ( (binary_expression "(int)buffer + 0x80" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(local_24 != (undefined4 *)buffer)" ( (binary_expression "local_24 != (undefined4 *)buffer" identifier != (cast_expression "(undefined4 *)buffer" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) ;) (expression_statement "len = (len - 0x80) + uVar6 * -0x80;" (assignment_expression "len = (len - 0x80) + uVar6 * -0x80" identifier = (binary_expression "(len - 0x80) + uVar6 * -0x80" (parenthesized_expression "(len - 0x80)" ( (binary_expression "len - 0x80" identifier - number_literal) )) + (binary_expression "uVar6 * -0x80" identifier * number_literal))) ;) }))) (goto_statement "goto LAB_000212bf;" goto statement_identifier ;) })) (expression_statement "sha512_process_block(buffer,len & 0xffffff80,ctx);" (call_expression "sha512_process_block(buffer,len & 0xffffff80,ctx)" identifier (argument_list "(buffer,len & 0xffffff80,ctx)" ( identifier , (binary_expression "len & 0xffffff80" identifier & number_literal) , identifier ))) ;) (expression_statement "buffer = (void *)((int)buffer + (len & 0xffffff80));" (assignment_expression "buffer = (void *)((int)buffer + (len & 0xffffff80))" identifier = (cast_expression "(void *)((int)buffer + (len & 0xffffff80))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (len & 0xffffff80))" ( (binary_expression "(int)buffer + (len & 0xffffff80)" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len & 0xffffff80)" ( (binary_expression "len & 0xffffff80" identifier & number_literal) ))) )))) ;) (expression_statement "len = len & 0x7f;" (assignment_expression "len = len & 0x7f" identifier = (binary_expression "len & 0x7f" identifier & number_literal)) ;) })) (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 ;) })) (expression_statement "local_24 = (undefined4 *)buffer;" (assignment_expression "local_24 = (undefined4 *)buffer" identifier = (cast_expression "(undefined4 *)buffer" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_000212bf:\n  puVar2 = ctx->buffer;" statement_identifier : (expression_statement "puVar2 = ctx->buffer;" (assignment_expression "puVar2 = 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 "puVar7 = (undefined4 *)((int)puVar2 + sVar1);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar2 + sVar1)" identifier = (cast_expression "(undefined4 *)((int)puVar2 + sVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + sVar1)" ( (binary_expression "(int)puVar2 + sVar1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (len < 4) {\n    if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));\n    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar4);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" if (parenthesized_expression "(len < 4)" ( (binary_expression "len < 4" identifier < number_literal) )) (compound_statement "{\n    if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }\n  }" { (if_statement "if ((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }" if (parenthesized_expression "((len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0))" ( (binary_expression "(len != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)" (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24, (len & 2) != 0" (assignment_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24" (pointer_expression "*(undefined1 *)puVar7" * (cast_expression "(undefined1 *)puVar7" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)local_24" * (cast_expression "(undefined1 *)local_24" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(len & 2) != 0" (parenthesized_expression "(len & 2)" ( (binary_expression "len & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n      *(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));\n    }" { (expression_statement "*(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2));" (assignment_expression "*(undefined2 *)((int)puVar7 + (len - 2)) = *(undefined2 *)((int)local_24 + (len - 2))" (pointer_expression "*(undefined2 *)((int)puVar7 + (len - 2))" * (cast_expression "(undefined2 *)((int)puVar7 + (len - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (len - 2))" ( (binary_expression "(int)puVar7 + (len - 2)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 2)" ( (binary_expression "len - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)local_24 + (len - 2))" * (cast_expression "(undefined2 *)((int)local_24 + (len - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + (len - 2))" ( (binary_expression "(int)local_24 + (len - 2)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 2)" ( (binary_expression "len - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));\n    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar4);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" else (compound_statement "{\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));\n    iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar4);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" { (expression_statement "*puVar7 = *local_24;" (assignment_expression "*puVar7 = *local_24" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4));" (assignment_expression "*(undefined4 *)((int)puVar7 + (len - 4)) = *(undefined4 *)((int)local_24 + (len - 4))" (pointer_expression "*(undefined4 *)((int)puVar7 + (len - 4))" * (cast_expression "(undefined4 *)((int)puVar7 + (len - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (len - 4))" ( (binary_expression "(int)puVar7 + (len - 4)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 4)" ( (binary_expression "len - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)local_24 + (len - 4))" * (cast_expression "(undefined4 *)((int)local_24 + (len - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + (len - 4))" ( (binary_expression "(int)local_24 + (len - 4)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len - 4)" ( (binary_expression "len - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "iVar4 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((int)local_24 - iVar4);" (assignment_expression "puVar8 = (undefined4 *)((int)local_24 - iVar4)" identifier = (cast_expression "(undefined4 *)((int)local_24 - iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 - iVar4)" ( (binary_expression "(int)local_24 - iVar4" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar6 = iVar4 + len >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "uVar6 = iVar4 + len >> 2" identifier = (binary_expression "iVar4 + len >> 2" (binary_expression "iVar4 + len" identifier + identifier) >> number_literal)) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*puVar7 = *puVar8;" (assignment_expression "*puVar7 = *puVar8" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }))) (expression_statement "uVar6 = sVar1 + len;" (assignment_expression "uVar6 = sVar1 + len" identifier = (binary_expression "sVar1 + len" identifier + identifier)) ;) (if_statement "if (0x7f < uVar6) {\n    uVar6 = (sVar1 + len) - 0x80;\n    sha512_process_block(puVar2,0x80,ctx);\n    memcpy(puVar2,ctx->buffer + 0x10,uVar6);\n  }" if (parenthesized_expression "(0x7f < uVar6)" ( (binary_expression "0x7f < uVar6" number_literal < identifier) )) (compound_statement "{\n    uVar6 = (sVar1 + len) - 0x80;\n    sha512_process_block(puVar2,0x80,ctx);\n    memcpy(puVar2,ctx->buffer + 0x10,uVar6);\n  }" { (expression_statement "uVar6 = (sVar1 + len) - 0x80;" (assignment_expression "uVar6 = (sVar1 + len) - 0x80" identifier = (binary_expression "(sVar1 + len) - 0x80" (parenthesized_expression "(sVar1 + len)" ( (binary_expression "sVar1 + len" identifier + identifier) )) - number_literal)) ;) (expression_statement "sha512_process_block(puVar2,0x80,ctx);" (call_expression "sha512_process_block(puVar2,0x80,ctx)" identifier (argument_list "(puVar2,0x80,ctx)" ( identifier , number_literal , identifier ))) ;) (expression_statement "memcpy(puVar2,ctx->buffer + 0x10,uVar6);" (call_expression "memcpy(puVar2,ctx->buffer + 0x10,uVar6)" identifier (argument_list "(puVar2,ctx->buffer + 0x10,uVar6)" ( identifier , (binary_expression "ctx->buffer + 0x10" (field_expression "ctx->buffer" identifier -> field_identifier) + number_literal) , identifier ))) ;) })) (expression_statement "ctx->buflen = uVar6;" (assignment_expression "ctx->buflen = uVar6" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000211f0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}\n\n" (function_definition "void FUN_000211f0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}" primitive_type (function_declarator "FUN_000211f0(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  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined4 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x50);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x50)" identifier = (pointer_expression "*(int *)(param_3 + 0x50)" * (cast_expression "(int *)(param_3 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }" { (expression_statement "iVar5 = param_3 + 0x54;" (assignment_expression "iVar5 = param_3 + 0x54" identifier = (binary_expression "param_3 + 0x54" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x100U - iVar3;" (assignment_expression "uVar6 = 0x100U - iVar3" identifier = (binary_expression "0x100U - iVar3" number_literal - identifier)) ;) (if_statement "if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }" if (parenthesized_expression "(param_2 < 0x100U - iVar3)" ( (binary_expression "param_2 < 0x100U - iVar3" identifier < (binary_expression "0x100U - iVar3" number_literal - identifier)) )) (compound_statement "{\n      uVar6 = param_2;\n    }" { (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) })) (expression_statement "memcpy((void *)(iVar5 + iVar3),param_1,uVar6);" (call_expression "memcpy((void *)(iVar5 + iVar3),param_1,uVar6)" identifier (argument_list "((void *)(iVar5 + iVar3),param_1,uVar6)" ( (cast_expression "(void *)(iVar5 + iVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar3)" ( (binary_expression "iVar5 + iVar3" identifier + identifier) ))) , identifier , identifier ))) ;) (expression_statement "uVar4 = *(int *)(param_3 + 0x50) + uVar6;" (assignment_expression "uVar4 = *(int *)(param_3 + 0x50) + uVar6" identifier = (binary_expression "*(int *)(param_3 + 0x50) + uVar6" (pointer_expression "*(int *)(param_3 + 0x50)" * (cast_expression "(int *)(param_3 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) + identifier)) ;) (expression_statement "*(uint *)(param_3 + 0x50) = uVar4;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar4" (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = identifier) ;) (if_statement "if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" if (parenthesized_expression "(0x80 < uVar4)" ( (binary_expression "0x80 < uVar4" number_literal < identifier) )) (compound_statement "{\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" { (expression_statement "FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);" (call_expression "FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3)" identifier (argument_list "(iVar5,uVar4 & 0xffffff80,param_3)" ( identifier , (binary_expression "uVar4 & 0xffffff80" identifier & number_literal) , identifier ))) ;) (expression_statement "uVar4 = *(uint *)(param_3 + 0x50);" (assignment_expression "uVar4 = *(uint *)(param_3 + 0x50)" identifier = (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = uVar4 & 0x7f;" (assignment_expression "uVar2 = uVar4 & 0x7f" identifier = (binary_expression "uVar4 & 0x7f" identifier & number_literal)) ;) (expression_statement "*(uint *)(param_3 + 0x50) = uVar2;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar2" (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);" (assignment_expression "puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5)" identifier = (cast_expression "(undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar3 + uVar6 & 0xffffff80) + iVar5)" ( (binary_expression "(iVar3 + uVar6 & 0xffffff80) + iVar5" (parenthesized_expression "(iVar3 + uVar6 & 0xffffff80)" ( (binary_expression "iVar3 + uVar6 & 0xffffff80" (binary_expression "iVar3 + uVar6" identifier + identifier) & number_literal) )) + identifier) )))) ;) (if_statement "if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" if (parenthesized_expression "(uVar2 < 4)" ( (binary_expression "uVar2 < 4" identifier < number_literal) )) (compound_statement "{\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }" { (if_statement "if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }" if (parenthesized_expression "((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0))" ( (binary_expression "(uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)" (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)" ( (comma_expression "*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0" (assignment_expression "*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7" (pointer_expression "*(undefined1 *)(param_3 + 0x54)" * (cast_expression "(undefined1 *)(param_3 + 0x54)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x54)" ( (binary_expression "param_3 + 0x54" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)puVar7" * (cast_expression "(undefined1 *)puVar7" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(uVar4 & 2) != 0" (parenthesized_expression "(uVar4 & 2)" ( (binary_expression "uVar4 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }" { (expression_statement "*(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));" (assignment_expression "*(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2))" (pointer_expression "*(undefined2 *)(param_3 + 0x52 + uVar2)" * (cast_expression "(undefined2 *)(param_3 + 0x52 + uVar2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x52 + uVar2)" ( (binary_expression "param_3 + 0x52 + uVar2" (binary_expression "param_3 + 0x52" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined2 *)((int)puVar7 + (uVar2 - 2))" * (cast_expression "(undefined2 *)((int)puVar7 + (uVar2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (uVar2 - 2))" ( (binary_expression "(int)puVar7 + (uVar2 - 2)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar2 - 2)" ( (binary_expression "uVar2 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" else (compound_statement "{\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" { (expression_statement "*(undefined4 *)(param_3 + 0x54) = *puVar7;" (assignment_expression "*(undefined4 *)(param_3 + 0x54) = *puVar7" (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) )))) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));" (assignment_expression "*(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4))" (pointer_expression "*(undefined4 *)(param_3 + 0x50 + uVar2)" * (cast_expression "(undefined4 *)(param_3 + 0x50 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50 + uVar2)" ( (binary_expression "param_3 + 0x50 + uVar2" (binary_expression "param_3 + 0x50" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)puVar7 + (uVar2 - 4))" * (cast_expression "(undefined4 *)((int)puVar7 + (uVar2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (uVar2 - 4))" ( (binary_expression "(int)puVar7 + (uVar2 - 4)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar2 - 4)" ( (binary_expression "uVar2 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(param_3 + 0x58U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x58U & 0xfffffffc)" ( (binary_expression "param_3 + 0x58U & 0xfffffffc" (binary_expression "param_3 + 0x58U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "iVar5 = iVar5 - (int)puVar8;" (assignment_expression "iVar5 = iVar5 - (int)puVar8" identifier = (binary_expression "iVar5 - (int)puVar8" identifier - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 - iVar5);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)puVar7 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 - iVar5)" ( (binary_expression "(int)puVar7 - iVar5" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (for_statement "for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" for ( (assignment_expression "uVar4 = iVar5 + uVar2 >> 2" identifier = (binary_expression "iVar5 + uVar2 >> 2" (binary_expression "iVar5 + uVar2" identifier + identifier) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" { (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }))) })) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar6);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar6)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar6)" ( (binary_expression "(int)param_1 + uVar6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_2 = param_2 - uVar6;" (assignment_expression "param_2 = param_2 - uVar6" identifier = (binary_expression "param_2 - uVar6" identifier - identifier)) ;) })) (if_statement "if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }" if (parenthesized_expression "(0x7f < param_2)" ( (binary_expression "0x7f < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }" { (if_statement "if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\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 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }" { (if_statement "if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" if (parenthesized_expression "(param_2 == 0x80)" ( (binary_expression "param_2 == 0x80" identifier == number_literal) )) (compound_statement "{\n        local_24 = param_1;\n      }" { (expression_statement "local_24 = param_1;" (assignment_expression "local_24 = param_1" identifier = identifier) ;) }) (else_clause "else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" else (compound_statement "{\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" { (expression_statement "uVar6 = param_2 - 0x81 >> 7;" (assignment_expression "uVar6 = param_2 - 0x81 >> 7" identifier = (binary_expression "param_2 - 0x81 >> 7" (binary_expression "param_2 - 0x81" identifier - number_literal) >> number_literal)) ;) (expression_statement "local_24 = param_1 + (uVar6 + 1) * 0x20;" (assignment_expression "local_24 = param_1 + (uVar6 + 1) * 0x20" identifier = (binary_expression "param_1 + (uVar6 + 1) * 0x20" identifier + (binary_expression "(uVar6 + 1) * 0x20" (parenthesized_expression "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )) * number_literal))) ;) (do_statement "do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);" do (compound_statement "{\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        }" { (expression_statement "puVar1 = (undefined4 *)(param_3 + 0x54);" (assignment_expression "puVar1 = (undefined4 *)(param_3 + 0x54)" identifier = (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) )))) ;) (expression_statement "*puVar1 = *param_1;" (assignment_expression "*puVar1 = *param_1" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];" (assignment_expression "*(undefined4 *)(param_3 + 0xd0) = param_1[0x1f]" (pointer_expression "*(undefined4 *)(param_3 + 0xd0)" * (cast_expression "(undefined4 *)(param_3 + 0xd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xd0)" ( (binary_expression "param_3 + 0xd0" identifier + number_literal) )))) = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(param_3 + 0x58U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x58U & 0xfffffffc)" ( (binary_expression "param_3 + 0x58U & 0xfffffffc" (binary_expression "param_3 + 0x58U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "iVar3 = (int)puVar1 - (int)puVar8;" (assignment_expression "iVar3 = (int)puVar1 - (int)puVar8" identifier = (binary_expression "(int)puVar1 - (int)puVar8" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7 = (undefined4 *)((int)param_1 - iVar3);" (assignment_expression "puVar7 = (undefined4 *)((int)param_1 - iVar3)" identifier = (cast_expression "(undefined4 *)((int)param_1 - iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 - iVar3)" ( (binary_expression "(int)param_1 - iVar3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (for_statement "for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" for ( (assignment_expression "uVar4 = iVar3 + 0x80U >> 2" identifier = (binary_expression "iVar3 + 0x80U >> 2" (binary_expression "iVar3 + 0x80U" identifier + number_literal) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" { (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "FUN_000133b0(puVar1,0x80,param_3);" (call_expression "FUN_000133b0(puVar1,0x80,param_3)" identifier (argument_list "(puVar1,0x80,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "param_1 = param_1 + 0x20;" (assignment_expression "param_1 = param_1 + 0x20" identifier = (binary_expression "param_1 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_24 != param_1)" ( (binary_expression "local_24 != param_1" identifier != identifier) )) ;) (expression_statement "param_2 = (param_2 - 0x80) + uVar6 * -0x80;" (assignment_expression "param_2 = (param_2 - 0x80) + uVar6 * -0x80" identifier = (binary_expression "(param_2 - 0x80) + uVar6 * -0x80" (parenthesized_expression "(param_2 - 0x80)" ( (binary_expression "param_2 - 0x80" identifier - number_literal) )) + (binary_expression "uVar6 * -0x80" identifier * number_literal))) ;) }))) (goto_statement "goto LAB_000212bf;" goto statement_identifier ;) })) (expression_statement "FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);" (call_expression "FUN_000133b0(param_1,param_2 & 0xffffff80,param_3)" identifier (argument_list "(param_1,param_2 & 0xffffff80,param_3)" ( identifier , (binary_expression "param_2 & 0xffffff80" identifier & number_literal) , identifier ))) ;) (expression_statement "param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80))" identifier = (cast_expression "(undefined4 *)((int)param_1 + (param_2 & 0xffffff80))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 & 0xffffff80))" ( (binary_expression "(int)param_1 + (param_2 & 0xffffff80)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 & 0xffffff80)" ( (binary_expression "param_2 & 0xffffff80" identifier & number_literal) ))) )))) ;) (expression_statement "param_2 = param_2 & 0x7f;" (assignment_expression "param_2 = param_2 & 0x7f" identifier = (binary_expression "param_2 & 0x7f" identifier & number_literal)) ;) })) (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 ;) })) (expression_statement "local_24 = param_1;" (assignment_expression "local_24 = param_1" identifier = identifier) ;) (labeled_statement "LAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);" statement_identifier : (expression_statement "__dest = (void *)(param_3 + 0x54);" (assignment_expression "__dest = (void *)(param_3 + 0x54)" identifier = (cast_expression "(void *)(param_3 + 0x54)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x54)" ( (binary_expression "param_3 + 0x54" identifier + number_literal) )))) ;)) (expression_statement "iVar3 = *(int *)(param_3 + 0x50);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x50)" identifier = (pointer_expression "*(int *)(param_3 + 0x50)" * (cast_expression "(int *)(param_3 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = (undefined4 *)((int)__dest + iVar3);" (assignment_expression "puVar7 = (undefined4 *)((int)__dest + iVar3)" identifier = (cast_expression "(undefined4 *)((int)__dest + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + iVar3)" ( (binary_expression "(int)__dest + iVar3" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }" { (if_statement "if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }" if (parenthesized_expression "((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0))" ( (binary_expression "(param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0" (assignment_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24" (pointer_expression "*(undefined1 *)puVar7" * (cast_expression "(undefined1 *)puVar7" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)local_24" * (cast_expression "(undefined1 *)local_24" ( (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)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }" { (expression_statement "*(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));" (assignment_expression "*(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2))" (pointer_expression "*(undefined2 *)((int)puVar7 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)puVar7 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (param_2 - 2))" ( (binary_expression "(int)puVar7 + (param_2 - 2)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)local_24 + (param_2 - 2))" * (cast_expression "(undefined2 *)((int)local_24 + (param_2 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + (param_2 - 2))" ( (binary_expression "(int)local_24 + (param_2 - 2)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 2)" ( (binary_expression "param_2 - 2" identifier - number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" else (compound_statement "{\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" { (expression_statement "*puVar7 = *local_24;" (assignment_expression "*puVar7 = *local_24" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));" (assignment_expression "*(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4))" (pointer_expression "*(undefined4 *)((int)puVar7 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)puVar7 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (param_2 - 4))" ( (binary_expression "(int)puVar7 + (param_2 - 4)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)local_24 + (param_2 - 4))" * (cast_expression "(undefined4 *)((int)local_24 + (param_2 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 + (param_2 - 4))" ( (binary_expression "(int)local_24 + (param_2 - 4)" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 - 4)" ( (binary_expression "param_2 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((int)local_24 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)local_24 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)local_24 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24 - iVar5)" ( (binary_expression "(int)local_24 - iVar5" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "uVar6 = iVar5 + param_2 >> 2" identifier = (binary_expression "iVar5 + param_2 >> 2" (binary_expression "iVar5 + param_2" identifier + identifier) >> number_literal)) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*puVar7 = *puVar8;" (assignment_expression "*puVar7 = *puVar8" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }))) (expression_statement "uVar6 = iVar3 + param_2;" (assignment_expression "uVar6 = iVar3 + param_2" identifier = (binary_expression "iVar3 + param_2" identifier + identifier)) ;) (if_statement "if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }" if (parenthesized_expression "(0x7f < uVar6)" ( (binary_expression "0x7f < uVar6" number_literal < identifier) )) (compound_statement "{\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }" { (expression_statement "uVar6 = (iVar3 + param_2) - 0x80;" (assignment_expression "uVar6 = (iVar3 + param_2) - 0x80" identifier = (binary_expression "(iVar3 + param_2) - 0x80" (parenthesized_expression "(iVar3 + param_2)" ( (binary_expression "iVar3 + param_2" identifier + identifier) )) - number_literal)) ;) (expression_statement "FUN_000133b0(__dest,0x80,param_3);" (call_expression "FUN_000133b0(__dest,0x80,param_3)" identifier (argument_list "(__dest,0x80,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);" (call_expression "memcpy(__dest,(void *)(param_3 + 0xd4),uVar6)" identifier (argument_list "(__dest,(void *)(param_3 + 0xd4),uVar6)" ( identifier , (cast_expression "(void *)(param_3 + 0xd4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xd4)" ( (binary_expression "param_3 + 0xd4" identifier + number_literal) ))) , identifier ))) ;) })) (expression_statement "*(uint *)(param_3 + 0x50) = uVar6;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar6" (pointer_expression "*(uint *)(param_3 + 0x50)" * (cast_expression "(uint *)(param_3 + 0x50)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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) )))) ;) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) 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) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) }))) })) (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 = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) 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) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + (binary_expression IDENT * LIT))) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (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 IDENT & LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (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) - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & 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) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) }))) (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 (parenthesized_expression ( (binary_expression IDENT + 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_000211f0(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000211f0(undefined4 *param_1,uint param_2,int param_3)" (identifier "FUN_000211f0") (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  undefined4 *puVar1;\n  void *__dest;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  byte bVar9;\n  undefined4 *local_24;\n  \n  bVar9 = 0;\n  iVar3 = *(int *)(param_3 + 0x50);\n  if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }\n  if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }\n  if (param_2 == 0) {\n    return;\n  }\n  local_24 = param_1;\nLAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);\n  iVar3 = *(int *)(param_3 + 0x50);\n  puVar7 = (undefined4 *)((int)__dest + iVar3);\n  if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }\n  uVar6 = iVar3 + param_2;\n  if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }\n  *(uint *)(param_3 + 0x50) = uVar6;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "byte bVar9;" (type_identifier "byte") (identifier "bVar9") (; ";")) (declaration "undefined4 *local_24;" (type_identifier "undefined4") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" (identifier "bVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = *(int *)(param_3 + 0x50);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x50)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_3 + 0x50)" (* "*") (cast_expression "(int *)(param_3 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = param_3 + 0x54;\n    uVar6 = 0x100U - iVar3;\n    if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }\n    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);\n    uVar4 = *(int *)(param_3 + 0x50) + uVar6;\n    *(uint *)(param_3 + 0x50) = uVar4;\n    if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar6);\n    param_2 = param_2 - uVar6;\n  }" ({ "{") (expression_statement "iVar5 = param_3 + 0x54;" (assignment_expression "iVar5 = param_3 + 0x54" (identifier "iVar5") (= "=") (binary_expression "param_3 + 0x54" (identifier "param_3") (+ "+") (number_literal "0x54"))) (; ";")) (expression_statement "uVar6 = 0x100U - iVar3;" (assignment_expression "uVar6 = 0x100U - iVar3" (identifier "uVar6") (= "=") (binary_expression "0x100U - iVar3" (number_literal "0x100U") (- "-") (identifier "iVar3"))) (; ";")) (if_statement "if (param_2 < 0x100U - iVar3) {\n      uVar6 = param_2;\n    }" (if "if") (parenthesized_expression "(param_2 < 0x100U - iVar3)" (( "(") (binary_expression "param_2 < 0x100U - iVar3" (identifier "param_2") (< "<") (binary_expression "0x100U - iVar3" (number_literal "0x100U") (- "-") (identifier "iVar3"))) () ")")) (compound_statement "{\n      uVar6 = param_2;\n    }" ({ "{") (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" (identifier "uVar6") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "memcpy((void *)(iVar5 + iVar3),param_1,uVar6);" (call_expression "memcpy((void *)(iVar5 + iVar3),param_1,uVar6)" (identifier "memcpy") (argument_list "((void *)(iVar5 + iVar3),param_1,uVar6)" (( "(") (cast_expression "(void *)(iVar5 + iVar3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar3)" (( "(") (binary_expression "iVar5 + iVar3" (identifier "iVar5") (+ "+") (identifier "iVar3")) () ")"))) (, ",") (identifier "param_1") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "uVar4 = *(int *)(param_3 + 0x50) + uVar6;" (assignment_expression "uVar4 = *(int *)(param_3 + 0x50) + uVar6" (identifier "uVar4") (= "=") (binary_expression "*(int *)(param_3 + 0x50) + uVar6" (pointer_expression "*(int *)(param_3 + 0x50)" (* "*") (cast_expression "(int *)(param_3 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x50) = uVar4;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar4" (pointer_expression "*(uint *)(param_3 + 0x50)" (* "*") (cast_expression "(uint *)(param_3 + 0x50)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (0x80 < uVar4) {\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(0x80 < uVar4)" (( "(") (binary_expression "0x80 < uVar4" (number_literal "0x80") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);\n      uVar4 = *(uint *)(param_3 + 0x50);\n      uVar2 = uVar4 & 0x7f;\n      *(uint *)(param_3 + 0x50) = uVar2;\n      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);\n      if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }\n    }" ({ "{") (expression_statement "FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);" (call_expression "FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3)" (identifier "FUN_000133b0") (argument_list "(iVar5,uVar4 & 0xffffff80,param_3)" (( "(") (identifier "iVar5") (, ",") (binary_expression "uVar4 & 0xffffff80" (identifier "uVar4") (& "&") (number_literal "0xffffff80")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(param_3 + 0x50);" (assignment_expression "uVar4 = *(uint *)(param_3 + 0x50)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(param_3 + 0x50)" (* "*") (cast_expression "(uint *)(param_3 + 0x50)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "uVar2 = uVar4 & 0x7f;" (assignment_expression "uVar2 = uVar4 & 0x7f" (identifier "uVar2") (= "=") (binary_expression "uVar4 & 0x7f" (identifier "uVar4") (& "&") (number_literal "0x7f"))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x50) = uVar2;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar2" (pointer_expression "*(uint *)(param_3 + 0x50)" (* "*") (cast_expression "(uint *)(param_3 + 0x50)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);" (assignment_expression "puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar3 + uVar6 & 0xffffff80) + iVar5)" (( "(") (binary_expression "(iVar3 + uVar6 & 0xffffff80) + iVar5" (parenthesized_expression "(iVar3 + uVar6 & 0xffffff80)" (( "(") (binary_expression "iVar3 + uVar6 & 0xffffff80" (binary_expression "iVar3 + uVar6" (identifier "iVar3") (+ "+") (identifier "uVar6")) (& "&") (number_literal "0xffffff80")) () ")")) (+ "+") (identifier "iVar5")) () ")")))) (; ";")) (if_statement "if (uVar2 < 4) {\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }\n      else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(uVar2 < 4)" (( "(") (binary_expression "uVar2 < 4" (identifier "uVar2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n        if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }\n      }" ({ "{") (if_statement "if ((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }" (if "if") (parenthesized_expression "((uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0))" (( "(") (binary_expression "(uVar2 != 0) &&\n           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)" (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)" (( "(") (comma_expression "*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0" (assignment_expression "*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7" (pointer_expression "*(undefined1 *)(param_3 + 0x54)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x54)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x54)" (( "(") (binary_expression "param_3 + 0x54" (identifier "param_3") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)puVar7" (* "*") (cast_expression "(undefined1 *)puVar7" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7")))) (, ",") (binary_expression "(uVar4 & 2) != 0" (parenthesized_expression "(uVar4 & 2)" (( "(") (binary_expression "uVar4 & 2" (identifier "uVar4") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));\n        }" ({ "{") (expression_statement "*(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));" (assignment_expression "*(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2))" (pointer_expression "*(undefined2 *)(param_3 + 0x52 + uVar2)" (* "*") (cast_expression "(undefined2 *)(param_3 + 0x52 + uVar2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x52 + uVar2)" (( "(") (binary_expression "param_3 + 0x52 + uVar2" (binary_expression "param_3 + 0x52" (identifier "param_3") (+ "+") (number_literal "0x52")) (+ "+") (identifier "uVar2")) () ")")))) (= "=") (pointer_expression "*(undefined2 *)((int)puVar7 + (uVar2 - 2))" (* "*") (cast_expression "(undefined2 *)((int)puVar7 + (uVar2 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + (uVar2 - 2))" (( "(") (binary_expression "(int)puVar7 + (uVar2 - 2)" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (parenthesized_expression "(uVar2 - 2)" (( "(") (binary_expression "uVar2 - 2" (identifier "uVar2") (- "-") (number_literal "2")) () ")"))) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" (else "else") (compound_statement "{\n        *(undefined4 *)(param_3 + 0x54) = *puVar7;\n        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));\n        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n        iVar5 = iVar5 - (int)puVar8;\n        puVar7 = (undefined4 *)((int)puVar7 - iVar5);\n        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }\n      }" ({ "{") (expression_statement "*(undefined4 *)(param_3 + 0x54) = *puVar7;" (assignment_expression "*(undefined4 *)(param_3 + 0x54) = *puVar7" (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")) () ")")))) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));" (assignment_expression "*(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4))" (pointer_expression "*(undefined4 *)(param_3 + 0x50 + uVar2)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x50 + uVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50 + uVar2)" (( "(") (binary_expression "param_3 + 0x50 + uVar2" (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) (+ "+") (identifier "uVar2")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar7 + (uVar2 - 4))" (* "*") (cast_expression "(undefined4 *)((int)puVar7 + (uVar2 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + (uVar2 - 4))" (( "(") (binary_expression "(int)puVar7 + (uVar2 - 4)" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (parenthesized_expression "(uVar2 - 4)" (( "(") (binary_expression "uVar2 - 4" (identifier "uVar2") (- "-") (number_literal "4")) () ")"))) () ")"))))) (; ";")) (expression_statement "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(param_3 + 0x58U & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x58U & 0xfffffffc)" (( "(") (binary_expression "param_3 + 0x58U & 0xfffffffc" (binary_expression "param_3 + 0x58U" (identifier "param_3") (+ "+") (number_literal "0x58U")) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "iVar5 = iVar5 - (int)puVar8;" (assignment_expression "iVar5 = iVar5 - (int)puVar8" (identifier "iVar5") (= "=") (binary_expression "iVar5 - (int)puVar8" (identifier "iVar5") (- "-") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 - iVar5);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 - iVar5)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((int)puVar7 - iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 - iVar5)" (( "(") (binary_expression "(int)puVar7 - iVar5" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (- "-") (identifier "iVar5")) () ")")))) (; ";")) (for_statement "for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" (for "for") (( "(") (assignment_expression "uVar4 = iVar5 + uVar2 >> 2" (identifier "uVar4") (= "=") (binary_expression "iVar5 + uVar2 >> 2" (binary_expression "iVar5 + uVar2" (identifier "iVar5") (+ "+") (identifier "uVar2")) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar4 = uVar4 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 1" (identifier "uVar4") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n          *puVar8 = *puVar7;\n          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n        }" ({ "{") (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" (identifier "puVar7") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" (identifier "puVar8") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar6);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar6)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)((int)param_1 + uVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar6)" (( "(") (binary_expression "(int)param_1 + uVar6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar6")) () ")")))) (; ";")) (expression_statement "param_2 = param_2 - uVar6;" (assignment_expression "param_2 = param_2 - uVar6" (identifier "param_2") (= "=") (binary_expression "param_2 - uVar6" (identifier "param_2") (- "-") (identifier "uVar6"))) (; ";")) (} "}"))) (if_statement "if (0x7f < param_2) {\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }" (if "if") (parenthesized_expression "(0x7f < param_2)" (( "(") (binary_expression "0x7f < param_2" (number_literal "0x7f") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }\n    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);\n    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));\n    param_2 = param_2 & 0x7f;\n  }" ({ "{") (if_statement "if (((uint)param_1 & 3) != 0) {\n      if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\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 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }\n      goto LAB_000212bf;\n    }" ({ "{") (if_statement "if (param_2 == 0x80) {\n        local_24 = param_1;\n      }\n      else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x80)" (( "(") (binary_expression "param_2 == 0x80" (identifier "param_2") (== "==") (number_literal "0x80")) () ")")) (compound_statement "{\n        local_24 = param_1;\n      }" ({ "{") (expression_statement "local_24 = param_1;" (assignment_expression "local_24 = param_1" (identifier "local_24") (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else {\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" (else "else") (compound_statement "{\n        uVar6 = param_2 - 0x81 >> 7;\n        local_24 = param_1 + (uVar6 + 1) * 0x20;\n        do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);\n        param_2 = (param_2 - 0x80) + uVar6 * -0x80;\n      }" ({ "{") (expression_statement "uVar6 = param_2 - 0x81 >> 7;" (assignment_expression "uVar6 = param_2 - 0x81 >> 7" (identifier "uVar6") (= "=") (binary_expression "param_2 - 0x81 >> 7" (binary_expression "param_2 - 0x81" (identifier "param_2") (- "-") (number_literal "0x81")) (>> ">>") (number_literal "7"))) (; ";")) (expression_statement "local_24 = param_1 + (uVar6 + 1) * 0x20;" (assignment_expression "local_24 = param_1 + (uVar6 + 1) * 0x20" (identifier "local_24") (= "=") (binary_expression "param_1 + (uVar6 + 1) * 0x20" (identifier "param_1") (+ "+") (binary_expression "(uVar6 + 1) * 0x20" (parenthesized_expression "(uVar6 + 1)" (( "(") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x20")))) (; ";")) (do_statement "do {\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        } while (local_24 != param_1);" (do "do") (compound_statement "{\n          puVar1 = (undefined4 *)(param_3 + 0x54);\n          *puVar1 = *param_1;\n          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];\n          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);\n          iVar3 = (int)puVar1 - (int)puVar8;\n          puVar7 = (undefined4 *)((int)param_1 - iVar3);\n          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }\n          FUN_000133b0(puVar1,0x80,param_3);\n          param_1 = param_1 + 0x20;\n        }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(param_3 + 0x54);" (assignment_expression "puVar1 = (undefined4 *)(param_3 + 0x54)" (identifier "puVar1") (= "=") (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")) () ")")))) (; ";")) (expression_statement "*puVar1 = *param_1;" (assignment_expression "*puVar1 = *param_1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];" (assignment_expression "*(undefined4 *)(param_3 + 0xd0) = param_1[0x1f]" (pointer_expression "*(undefined4 *)(param_3 + 0xd0)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0xd0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xd0)" (( "(") (binary_expression "param_3 + 0xd0" (identifier "param_3") (+ "+") (number_literal "0xd0")) () ")")))) (= "=") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (; ";")) (expression_statement "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);" (assignment_expression "puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(param_3 + 0x58U & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x58U & 0xfffffffc)" (( "(") (binary_expression "param_3 + 0x58U & 0xfffffffc" (binary_expression "param_3 + 0x58U" (identifier "param_3") (+ "+") (number_literal "0x58U")) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "iVar3 = (int)puVar1 - (int)puVar8;" (assignment_expression "iVar3 = (int)puVar1 - (int)puVar8" (identifier "iVar3") (= "=") (binary_expression "(int)puVar1 - (int)puVar8" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((int)param_1 - iVar3);" (assignment_expression "puVar7 = (undefined4 *)((int)param_1 - iVar3)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((int)param_1 - iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 - iVar3)" (( "(") (binary_expression "(int)param_1 - iVar3" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (- "-") (identifier "iVar3")) () ")")))) (; ";")) (for_statement "for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" (for "for") (( "(") (assignment_expression "uVar4 = iVar3 + 0x80U >> 2" (identifier "uVar4") (= "=") (binary_expression "iVar3 + 0x80U >> 2" (binary_expression "iVar3 + 0x80U" (identifier "iVar3") (+ "+") (number_literal "0x80U")) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar4 = uVar4 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 1" (identifier "uVar4") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n            *puVar8 = *puVar7;\n            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n          }" ({ "{") (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" (identifier "puVar7") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" (identifier "puVar8") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_000133b0(puVar1,0x80,param_3);" (call_expression "FUN_000133b0(puVar1,0x80,param_3)" (identifier "FUN_000133b0") (argument_list "(puVar1,0x80,param_3)" (( "(") (identifier "puVar1") (, ",") (number_literal "0x80") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "param_1 = param_1 + 0x20;" (assignment_expression "param_1 = param_1 + 0x20" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_24 != param_1)" (( "(") (binary_expression "local_24 != param_1" (identifier "local_24") (!= "!=") (identifier "param_1")) () ")")) (; ";")) (expression_statement "param_2 = (param_2 - 0x80) + uVar6 * -0x80;" (assignment_expression "param_2 = (param_2 - 0x80) + uVar6 * -0x80" (identifier "param_2") (= "=") (binary_expression "(param_2 - 0x80) + uVar6 * -0x80" (parenthesized_expression "(param_2 - 0x80)" (( "(") (binary_expression "param_2 - 0x80" (identifier "param_2") (- "-") (number_literal "0x80")) () ")")) (+ "+") (binary_expression "uVar6 * -0x80" (identifier "uVar6") (* "*") (number_literal "-0x80")))) (; ";")) (} "}")))) (goto_statement "goto LAB_000212bf;" (goto "goto") (statement_identifier "LAB_000212bf") (; ";")) (} "}"))) (expression_statement "FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);" (call_expression "FUN_000133b0(param_1,param_2 & 0xffffff80,param_3)" (identifier "FUN_000133b0") (argument_list "(param_1,param_2 & 0xffffff80,param_3)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 & 0xffffff80" (identifier "param_2") (& "&") (number_literal "0xffffff80")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80))" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)((int)param_1 + (param_2 & 0xffffff80))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (param_2 & 0xffffff80))" (( "(") (binary_expression "(int)param_1 + (param_2 & 0xffffff80)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(param_2 & 0xffffff80)" (( "(") (binary_expression "param_2 & 0xffffff80" (identifier "param_2") (& "&") (number_literal "0xffffff80")) () ")"))) () ")")))) (; ";")) (expression_statement "param_2 = param_2 & 0x7f;" (assignment_expression "param_2 = param_2 & 0x7f" (identifier "param_2") (= "=") (binary_expression "param_2 & 0x7f" (identifier "param_2") (& "&") (number_literal "0x7f"))) (; ";")) (} "}"))) (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") (; ";")) (} "}"))) (expression_statement "local_24 = param_1;" (assignment_expression "local_24 = param_1" (identifier "local_24") (= "=") (identifier "param_1")) (; ";")) (labeled_statement "LAB_000212bf:\n  __dest = (void *)(param_3 + 0x54);" (statement_identifier "LAB_000212bf") (: ":") (expression_statement "__dest = (void *)(param_3 + 0x54);" (assignment_expression "__dest = (void *)(param_3 + 0x54)" (identifier "__dest") (= "=") (cast_expression "(void *)(param_3 + 0x54)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x54)" (( "(") (binary_expression "param_3 + 0x54" (identifier "param_3") (+ "+") (number_literal "0x54")) () ")")))) (; ";"))) (expression_statement "iVar3 = *(int *)(param_3 + 0x50);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x50)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_3 + 0x50)" (* "*") (cast_expression "(int *)(param_3 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((int)__dest + iVar3);" (assignment_expression "puVar7 = (undefined4 *)((int)__dest + iVar3)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((int)__dest + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + iVar3)" (( "(") (binary_expression "(int)__dest + iVar3" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "iVar3")) () ")")))) (; ";")) (if_statement "if (param_2 < 4) {\n    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }\n  else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\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 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }\n  }" ({ "{") (if_statement "if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {\n      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }" (if "if") (parenthesized_expression "((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0))" (( "(") (binary_expression "(param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)" (( "(") (comma_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0" (assignment_expression "*(undefined1 *)puVar7 = *(undefined1 *)local_24" (pointer_expression "*(undefined1 *)puVar7" (* "*") (cast_expression "(undefined1 *)puVar7" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7"))) (= "=") (pointer_expression "*(undefined1 *)local_24" (* "*") (cast_expression "(undefined1 *)local_24" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_24")))) (, ",") (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)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));\n    }" ({ "{") (expression_statement "*(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));" (assignment_expression "*(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2))" (pointer_expression "*(undefined2 *)((int)puVar7 + (param_2 - 2))" (* "*") (cast_expression "(undefined2 *)((int)puVar7 + (param_2 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + (param_2 - 2))" (( "(") (binary_expression "(int)puVar7 + (param_2 - 2)" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (parenthesized_expression "(param_2 - 2)" (( "(") (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2")) () ")"))) () ")")))) (= "=") (pointer_expression "*(undefined2 *)((int)local_24 + (param_2 - 2))" (* "*") (cast_expression "(undefined2 *)((int)local_24 + (param_2 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_24 + (param_2 - 2))" (( "(") (binary_expression "(int)local_24 + (param_2 - 2)" (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")) (+ "+") (parenthesized_expression "(param_2 - 2)" (( "(") (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2")) () ")"))) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" (else "else") (compound_statement "{\n    *puVar7 = *local_24;\n    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));\n    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)local_24 - iVar5);\n    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }\n  }" ({ "{") (expression_statement "*puVar7 = *local_24;" (assignment_expression "*puVar7 = *local_24" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));" (assignment_expression "*(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4))" (pointer_expression "*(undefined4 *)((int)puVar7 + (param_2 - 4))" (* "*") (cast_expression "(undefined4 *)((int)puVar7 + (param_2 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + (param_2 - 4))" (( "(") (binary_expression "(int)puVar7 + (param_2 - 4)" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (parenthesized_expression "(param_2 - 4)" (( "(") (binary_expression "param_2 - 4" (identifier "param_2") (- "-") (number_literal "4")) () ")"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)local_24 + (param_2 - 4))" (* "*") (cast_expression "(undefined4 *)((int)local_24 + (param_2 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_24 + (param_2 - 4))" (( "(") (binary_expression "(int)local_24 + (param_2 - 4)" (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")) (+ "+") (parenthesized_expression "(param_2 - 4)" (( "(") (binary_expression "param_2 - 4" (identifier "param_2") (- "-") (number_literal "4")) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" (identifier "iVar5") (= "=") (binary_expression "(int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (- "-") (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")"))))) (; ";")) (expression_statement "puVar8 = (undefined4 *)((int)local_24 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)local_24 - iVar5)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)local_24 - iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_24 - iVar5)" (( "(") (binary_expression "(int)local_24 - iVar5" (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")) (- "-") (identifier "iVar5")) () ")")))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "uVar6 = iVar5 + param_2 >> 2" (identifier "uVar6") (= "=") (binary_expression "iVar5 + param_2 >> 2" (binary_expression "iVar5 + param_2" (identifier "iVar5") (+ "+") (identifier "param_2")) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar6 = uVar6 - 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      *puVar7 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar7 = *puVar8;" (assignment_expression "*puVar7 = *puVar8" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" (identifier "puVar8") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = puVar7 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar7 = puVar7 + (uint)bVar9 * -2 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + (uint)bVar9 * -2 + 1" (binary_expression "puVar7 + (uint)bVar9 * -2" (identifier "puVar7") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar6 = iVar3 + param_2;" (assignment_expression "uVar6 = iVar3 + param_2" (identifier "uVar6") (= "=") (binary_expression "iVar3 + param_2" (identifier "iVar3") (+ "+") (identifier "param_2"))) (; ";")) (if_statement "if (0x7f < uVar6) {\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }" (if "if") (parenthesized_expression "(0x7f < uVar6)" (( "(") (binary_expression "0x7f < uVar6" (number_literal "0x7f") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n    uVar6 = (iVar3 + param_2) - 0x80;\n    FUN_000133b0(__dest,0x80,param_3);\n    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);\n  }" ({ "{") (expression_statement "uVar6 = (iVar3 + param_2) - 0x80;" (assignment_expression "uVar6 = (iVar3 + param_2) - 0x80" (identifier "uVar6") (= "=") (binary_expression "(iVar3 + param_2) - 0x80" (parenthesized_expression "(iVar3 + param_2)" (( "(") (binary_expression "iVar3 + param_2" (identifier "iVar3") (+ "+") (identifier "param_2")) () ")")) (- "-") (number_literal "0x80"))) (; ";")) (expression_statement "FUN_000133b0(__dest,0x80,param_3);" (call_expression "FUN_000133b0(__dest,0x80,param_3)" (identifier "FUN_000133b0") (argument_list "(__dest,0x80,param_3)" (( "(") (identifier "__dest") (, ",") (number_literal "0x80") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);" (call_expression "memcpy(__dest,(void *)(param_3 + 0xd4),uVar6)" (identifier "memcpy") (argument_list "(__dest,(void *)(param_3 + 0xd4),uVar6)" (( "(") (identifier "__dest") (, ",") (cast_expression "(void *)(param_3 + 0xd4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xd4)" (( "(") (binary_expression "param_3 + 0xd4" (identifier "param_3") (+ "+") (number_literal "0xd4")) () ")"))) (, ",") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_3 + 0x50) = uVar6;" (assignment_expression "*(uint *)(param_3 + 0x50) = uVar6" (pointer_expression "*(uint *)(param_3 + 0x50)" (* "*") (cast_expression "(uint *)(param_3 + 0x50)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  size_t var_1;
  type_2 *puVar2;
  type_3 var_7;
  int var_8;
  type_3 var_5;
  type_3 var_4;
  type_4 *var_9;
  type_4 *var_10;
  type_5 bVar9;
  type_4 *var_11;
  
  bVar9 = 0;
  var_1 = ctx->buflen;
  if (var_1 != 0) {
    puVar2 = ctx->buffer;
    var_4 = 0x100 - var_1;
    if (var_2 < 0x100 - var_1) {
      var_4 = var_2;
    }
    var_3((void *)((int)puVar2 + var_1),buffer,var_4);
    var_5 = ctx->buflen + var_4;
    ctx->buflen = var_5;
    if (0x80 < var_5) {
      var_6(puVar2,var_5 & 0xffffff80,ctx);
      var_5 = ctx->buflen;
      var_7 = var_5 & 0x7f;
      ctx->buflen = var_7;
      var_9 = (type_4 *)((var_1 + var_4 & 0xffffff80) + (int)puVar2);
      if (var_7 < 4) {
        if ((var_7 != 0) && (*(type_6 *)ctx->buffer = *(type_6 *)var_9, (var_5 & 2) != 0))
        {
          *(type_7 *)((int)ctx->buffer + (var_7 - 2)) =
               *(type_7 *)((int)var_9 + (var_7 - 2));
        }
      }
      else {
        *(type_4 *)ctx->buffer = *var_9;
        *(type_4 *)((int)ctx->buffer + (var_7 - 4)) = *(type_4 *)((int)var_9 + (var_7 - 4))
        ;
        var_10 = (type_4 *)((type_3)((int)ctx->buffer + 4U) & 0xfffffffc);
        var_8 = (int)puVar2 - (int)var_10;
        var_9 = (type_4 *)((int)var_9 - var_8);
        for (var_5 = var_8 + var_7 >> 2; var_5 != 0; var_5 = var_5 - 1) {
          *var_10 = *var_9;
          var_9 = var_9 + (type_3)bVar9 * -2 + 1;
          var_10 = var_10 + (type_3)bVar9 * -2 + 1;
        }
      }
    }
    buffer = (void *)((int)buffer + var_4);
    var_2 = var_2 - var_4;
  }
  if (0x7f < var_2) {
    if (((type_3)buffer & 3) != 0) {
      if (var_2 == 0x80) {
        var_11 = (type_4 *)buffer;
      }
      else {
        var_4 = var_2 - 0x81 >> 7;
        var_11 = (type_4 *)((var_4 + 1) * 0x80 + (int)buffer);
        do {
          puVar2 = ctx->buffer;
                    /* WARNING: Load size is inaccurate */
          *(type_4 *)puVar2 = *buffer;
          *(type_4 *)((int)ctx->buffer + 0x7c) = *(type_4 *)((int)buffer + 0x7c);
          var_10 = (type_4 *)((type_3)((int)ctx->buffer + 4U) & 0xfffffffc);
          var_8 = (int)puVar2 - (int)var_10;
          var_9 = (type_4 *)((int)buffer - var_8);
          for (var_5 = var_8 + 0x80U >> 2; var_5 != 0; var_5 = var_5 - 1) {
            *var_10 = *var_9;
            var_9 = var_9 + (type_3)bVar9 * -2 + 1;
            var_10 = var_10 + (type_3)bVar9 * -2 + 1;
          }
          var_6(puVar2,0x80,ctx);
          buffer = (void *)((int)buffer + 0x80);
        } while (var_11 != (type_4 *)buffer);
        var_2 = (var_2 - 0x80) + var_4 * -0x80;
      }
      goto LAB_000212bf;
    }
    var_6(buffer,var_2 & 0xffffff80,ctx);
    buffer = (void *)((int)buffer + (var_2 & 0xffffff80));
    var_2 = var_2 & 0x7f;
  }
  if (var_2 == 0) {
    return;
  }
  var_11 = (type_4 *)buffer;
LAB_000212bf:
  puVar2 = ctx->buffer;
  var_1 = ctx->buflen;
  var_9 = (type_4 *)((int)puVar2 + var_1);
  if (var_2 < 4) {
    if ((var_2 != 0) && (*(type_6 *)var_9 = *(type_6 *)var_11, (var_2 & 2) != 0)) {
      *(type_7 *)((int)var_9 + (var_2 - 2)) = *(type_7 *)((int)var_11 + (var_2 - 2));
    }
  }
  else {
    *var_9 = *var_11;
    *(type_4 *)((int)var_9 + (var_2 - 4)) = *(type_4 *)((int)var_11 + (var_2 - 4));
    var_8 = (int)var_9 - (int)((type_3)(var_9 + 1) & 0xfffffffc);
    var_10 = (type_4 *)((int)var_11 - var_8);
    var_9 = (type_4 *)((type_3)(var_9 + 1) & 0xfffffffc);
    for (var_4 = var_8 + var_2 >> 2; var_4 != 0; var_4 = var_4 - 1) {
      *var_9 = *var_10;
      var_10 = var_10 + (type_3)bVar9 * -2 + 1;
      var_9 = var_9 + (type_3)bVar9 * -2 + 1;
    }
  }
  var_4 = var_1 + var_2;
  if (0x7f < var_4) {
    var_4 = (var_1 + var_2) - 0x80;
    var_6(puVar2,0x80,ctx);
    var_3(puVar2,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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (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))) (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)))))) (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: (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: (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: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))))))))) (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: (identifier)))) alternative: (else_clause (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: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (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: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (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: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (goto_statement label: (statement_identifier)))) (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: (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: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (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.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 *puVar1;
  void *__dest;
  uint uVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  byte bVar9;
  undefined4 *local_24;
  
  bVar9 = 0;
  iVar3 = *(int *)(param_3 + 0x50);
  if (iVar3 != 0) {
    iVar5 = param_3 + 0x54;
    uVar6 = 0x100U - iVar3;
    if (param_2 < 0x100U - iVar3) {
      uVar6 = param_2;
    }
    memcpy((void *)(iVar5 + iVar3),param_1,uVar6);
    uVar4 = *(int *)(param_3 + 0x50) + uVar6;
    *(uint *)(param_3 + 0x50) = uVar4;
    if (0x80 < uVar4) {
      FUN_000133b0(iVar5,uVar4 & 0xffffff80,param_3);
      uVar4 = *(uint *)(param_3 + 0x50);
      uVar2 = uVar4 & 0x7f;
      *(uint *)(param_3 + 0x50) = uVar2;
      puVar7 = (undefined4 *)((iVar3 + uVar6 & 0xffffff80) + iVar5);
      if (uVar2 < 4) {
        if ((uVar2 != 0) &&
           (*(undefined1 *)(param_3 + 0x54) = *(undefined1 *)puVar7, (uVar4 & 2) != 0)) {
          *(undefined2 *)(param_3 + 0x52 + uVar2) = *(undefined2 *)((int)puVar7 + (uVar2 - 2));
        }
      }
      else {
        *(undefined4 *)(param_3 + 0x54) = *puVar7;
        *(undefined4 *)(param_3 + 0x50 + uVar2) = *(undefined4 *)((int)puVar7 + (uVar2 - 4));
        puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);
        iVar5 = iVar5 - (int)puVar8;
        puVar7 = (undefined4 *)((int)puVar7 - iVar5);
        for (uVar4 = iVar5 + uVar2 >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {
          *puVar8 = *puVar7;
          puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
          puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
        }
      }
    }
    param_1 = (undefined4 *)((int)param_1 + uVar6);
    param_2 = param_2 - uVar6;
  }
  if (0x7f < param_2) {
    if (((uint)param_1 & 3) != 0) {
      if (param_2 == 0x80) {
        local_24 = param_1;
      }
      else {
        uVar6 = param_2 - 0x81 >> 7;
        local_24 = param_1 + (uVar6 + 1) * 0x20;
        do {
          puVar1 = (undefined4 *)(param_3 + 0x54);
          *puVar1 = *param_1;
          *(undefined4 *)(param_3 + 0xd0) = param_1[0x1f];
          puVar8 = (undefined4 *)(param_3 + 0x58U & 0xfffffffc);
          iVar3 = (int)puVar1 - (int)puVar8;
          puVar7 = (undefined4 *)((int)param_1 - iVar3);
          for (uVar4 = iVar3 + 0x80U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {
            *puVar8 = *puVar7;
            puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
            puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
          }
          FUN_000133b0(puVar1,0x80,param_3);
          param_1 = param_1 + 0x20;
        } while (local_24 != param_1);
        param_2 = (param_2 - 0x80) + uVar6 * -0x80;
      }
      goto LAB_000212bf;
    }
    FUN_000133b0(param_1,param_2 & 0xffffff80,param_3);
    param_1 = (undefined4 *)((int)param_1 + (param_2 & 0xffffff80));
    param_2 = param_2 & 0x7f;
  }
  if (param_2 == 0) {
    return;
  }
  local_24 = param_1;
LAB_000212bf:
  __dest = (void *)(param_3 + 0x54);
  iVar3 = *(int *)(param_3 + 0x50);
  puVar7 = (undefined4 *)((int)__dest + iVar3);
  if (param_2 < 4) {
    if ((param_2 != 0) && (*(undefined1 *)puVar7 = *(undefined1 *)local_24, (param_2 & 2) != 0)) {
      *(undefined2 *)((int)puVar7 + (param_2 - 2)) = *(undefined2 *)((int)local_24 + (param_2 - 2));
    }
  }
  else {
    *puVar7 = *local_24;
    *(undefined4 *)((int)puVar7 + (param_2 - 4)) = *(undefined4 *)((int)local_24 + (param_2 - 4));
    iVar5 = (int)puVar7 - (int)((uint)(puVar7 + 1) & 0xfffffffc);
    puVar8 = (undefined4 *)((int)local_24 - iVar5);
    puVar7 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);
    for (uVar6 = iVar5 + param_2 >> 2; uVar6 != 0; uVar6 = uVar6 - 1) {
      *puVar7 = *puVar8;
      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
      puVar7 = puVar7 + (uint)bVar9 * -2 + 1;
    }
  }
  uVar6 = iVar3 + param_2;
  if (0x7f < uVar6) {
    uVar6 = (iVar3 + param_2) - 0x80;
    FUN_000133b0(__dest,0x80,param_3);
    memcpy(__dest,(void *)(param_3 + 0xd4),uVar6);
  }
  *(uint *)(param_3 + 0x50) = uVar6;
  return;
}

