
void md5_process_bytes(void *buffer,size_t len,md5_ctx *ctx)

{
  uint32_t *puVar1;
  uint32_t *puVar2;
  uint32_t uVar3;
  uint uVar4;
  uint32_t uVar5;
  uint32_t *puVar6;
  uint32_t uVar7;
  uint uVar8;
  
  uVar7 = ctx->buflen;
  if (uVar7 != 0) {
    uVar8 = 0x80 - uVar7;
    if (len < 0x80 - uVar7) {
      uVar8 = len;
    }
    puVar6 = ctx->buffer;
    (*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);
    uVar4 = uVar8 + ctx->buflen;
    ctx->buflen = uVar4;
    if (0x40 < uVar4) {
      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);
      ctx->buflen = ctx->buflen & 0x3f;
      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));
    }
    buffer = (void *)((int)buffer + uVar8);
    len = len - uVar8;
  }
  puVar6 = (uint32_t *)buffer;
  if (0x3f < len) {
    if (((uint)buffer & 3) == 0) {
      md5_process_block(buffer,len & 0xffffffc0,ctx);
      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));
      len = len & 0x3f;
    }
    else {
      if (len < 0x41) goto LAB_0001513c;
      uVar8 = len - 0x41 >> 6;
      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);
      do {
        puVar1 = ctx->buffer;
        puVar2 = (uint32_t *)buffer;
        do {
          uVar5 = puVar2[1];
          uVar3 = puVar2[2];
          uVar7 = puVar2[3];
          *puVar1 = *puVar2;
          puVar1[1] = uVar5;
          puVar1[2] = uVar3;
          puVar1[3] = uVar7;
          puVar2 = puVar2 + 4;
          puVar1 = puVar1 + 4;
        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));
        md5_process_block(ctx->buffer,0x40,ctx);
        buffer = (void *)((int)buffer + 0x40);
      } while ((uint32_t *)buffer != puVar6);
      len = (len - 0x40) + uVar8 * -0x40;
    }
  }
  if (len == 0) {
    return;
  }
LAB_0001513c:
  uVar7 = ctx->buflen;
  puVar1 = ctx->buffer;
  (*(code *)PTR_memcpy_0002d2e4)((int)puVar1 + uVar7,puVar6,len);
  uVar8 = uVar7 + len;
  if (uVar8 < 0x40) {
    ctx->buflen = uVar8;
  }
  else {
    md5_process_block(puVar1,0x40,ctx);
    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);
    ctx->buflen = uVar8 - 0x40;
  }
  return;
}



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

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  uint uVar5;
  undefined4 uVar6;
  undefined4 *puVar7;
  int iVar8;
  int iVar9;
  uint uVar10;
  
  iVar8 = *(int *)(param_3 + 0x18);
  if (iVar8 != 0) {
    uVar10 = 0x80U - iVar8;
    if (param_2 < 0x80U - iVar8) {
      uVar10 = param_2;
    }
    iVar9 = param_3 + 0x1c;
    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);
    uVar5 = uVar10 + *(int *)(param_3 + 0x18);
    *(uint *)(param_3 + 0x18) = uVar5;
    if (0x40 < uVar5) {
      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);
      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;
      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));
    }
    param_1 = (undefined4 *)((int)param_1 + uVar10);
    param_2 = param_2 - uVar10;
  }
  puVar7 = param_1;
  if (0x3f < param_2) {
    if (((uint)param_1 & 3) == 0) {
      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);
      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));
      param_2 = param_2 & 0x3f;
    }
    else {
      if (param_2 < 0x41) goto LAB_0001513c;
      uVar10 = param_2 - 0x41 >> 6;
      puVar7 = param_1 + (uVar10 + 1) * 0x10;
      do {
        puVar1 = (undefined4 *)(param_3 + 0x1c);
        puVar2 = param_1;
        do {
          uVar6 = puVar2[1];
          uVar4 = puVar2[2];
          uVar3 = puVar2[3];
          *puVar1 = *puVar2;
          puVar1[1] = uVar6;
          puVar1[2] = uVar4;
          puVar1[3] = uVar3;
          puVar2 = puVar2 + 4;
          puVar1 = puVar1 + 4;
        } while (puVar2 != param_1 + 0x10);
        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);
        param_1 = param_1 + 0x10;
      } while (param_1 != puVar7);
      param_2 = (param_2 - 0x40) + uVar10 * -0x40;
    }
  }
  if (param_2 == 0) {
    return;
  }
LAB_0001513c:
  iVar8 = *(int *)(param_3 + 0x18);
  iVar9 = param_3 + 0x1c;
  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);
  param_2 = iVar8 + param_2;
  if (param_2 < 0x40) {
    *(uint *)(param_3 + 0x18) = param_2;
  }
  else {
    md5_process_block(iVar9,0x40,param_3);
    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);
    *(uint *)(param_3 + 0x18) = param_2 - 0x40;
  }
  return;
}


lui gp,0x2
addiu gp,gp,0x1a8
addu gp,gp,t9
addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
or s2,a1,zero
lw s3,0x18(a2)
bne s3,zero,0x00015064
_or s1,a2,zero
sltiu v0,s2,0x40
bne v0,zero,0x00015034
_andi v0,s0,0x3
beq v0,zero,0x0001510c
_sltiu v0,s2,0x41
bne v0,zero,0x0001513c
_addiu s6,s2,-0x41
srl s6,s6,0x6
addiu s4,s6,0x1
sll s4,s4,0x6
addu s4,s0,s4
addiu s3,s1,0x1c
lw s5,-0x7f7c(gp)
or v1,s0,zero
or v0,s3,zero
addiu t0,s0,0x40
lwl a3,0x0(v1)
lwr a3,0x3(v1)
lwl a2,0x4(v1)
lwr a2,0x7(v1)
lwl a1,0x8(v1)
lwr a1,0xb(v1)
lwl a0,0xc(v1)
lwr a0,0xf(v1)
swl a3,0x0(v0)
swr a3,0x3(v0)
swl a2,0x4(v0)
swr a2,0x7(v0)
swl a1,0x8(v0)
swr a1,0xb(v0)
swl a0,0xc(v0)
swr a0,0xf(v0)
addiu v1,v1,0x10
bne v1,t0,0x00014fb0
_addiu v0,v0,0x10
or a2,s1,zero
li a1,0x40
or a0,s3,zero
or t9,s5,zero
bal 0x000141ec
_nop
lw gp,0x10(sp)
addiu s0,s0,0x40
bne s0,s4,0x00014fa8
_or v1,s0,zero
addiu s2,s2,-0x40
sll s6,s6,0x6
subu s2,s2,s6
or s0,s4,zero
bne s2,zero,0x0001513c
_nop
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
li s4,0x80
subu v0,s4,s3
sltu s4,a1,v0
movn v0,a1,s4
or s4,v0,zero
addiu s5,a2,0x1c
or a2,v0,zero
or a1,a0,zero
addu a0,s5,s3
lw t9,-0x7dec(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw a1,0x18(s1)
addu a1,s4,a1
sltiu v0,a1,0x41
beq v0,zero,0x000150b8
_sw a1,0x18(s1)
addu s0,s0,s4
b 0x00014f70
_subu s2,s2,s4
li s6,-0x40
or a2,s1,zero
and a1,a1,s6
or a0,s5,zero
lw t9,-0x7f7c(gp)
bal 0x000141ec
_nop
lw gp,0x10(sp)
lw a2,0x18(s1)
andi a2,a2,0x3f
sw a2,0x18(s1)
addu a1,s3,s4
and a1,a1,s6
addu a1,s5,a1
or a0,s5,zero
lw t9,-0x7dec(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000150b0
_addu s0,s0,s4
li s3,-0x40
and s3,s2,s3
or a2,s1,zero
or a1,s3,zero
or a0,s0,zero
lw t9,-0x7f7c(gp)
bal 0x000141ec
_nop
lw gp,0x10(sp)
addu s0,s0,s3
b 0x00015034
_andi s2,s2,0x3f
lw s3,0x18(s1)
addiu s4,s1,0x1c
or a2,s2,zero
or a1,s0,zero
addu a0,s4,s3
lw t9,-0x7dec(gp)
jalr t9
_nop
lw gp,0x10(sp)
addu s2,s3,s2
sltiu v0,s2,0x40
beq v0,zero,0x00015178
_or a2,s1,zero
b 0x0001503c
_sw s2,0x18(s1)
li a1,0x40
or a0,s4,zero
lw t9,-0x7f7c(gp)
bal 0x000141ec
_nop
lw gp,0x10(sp)
addiu s2,s2,-0x40
or a2,s2,zero
addiu a1,s1,0x5c
or a0,s4,zero
lw t9,-0x7dec(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0001503c
_sw s2,0x18(s1)
(translation_unit "void md5_process_bytes(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}\n\n" (function_definition "void md5_process_bytes(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}" primitive_type (function_declarator "md5_process_bytes(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  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (expression_statement "iVar8 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }" { (expression_statement "uVar10 = 0x80U - iVar8;" (assignment_expression "uVar10 = 0x80U - iVar8" identifier = (binary_expression "0x80U - iVar8" number_literal - identifier)) ;) (if_statement "if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }" if (parenthesized_expression "(param_2 < 0x80U - iVar8)" ( (binary_expression "param_2 < 0x80U - iVar8" identifier < (binary_expression "0x80U - iVar8" number_literal - identifier)) )) (compound_statement "{\n      uVar10 = param_2;\n    }" { (expression_statement "uVar10 = param_2;" (assignment_expression "uVar10 = param_2" identifier = identifier) ;) })) (expression_statement "iVar9 = param_3 + 0x1c;" (assignment_expression "iVar9 = param_3 + 0x1c" identifier = (binary_expression "param_3 + 0x1c" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + iVar8,param_1,uVar10)" ( (binary_expression "iVar9 + iVar8" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "uVar5 = uVar10 + *(int *)(param_3 + 0x18);" (assignment_expression "uVar5 = uVar10 + *(int *)(param_3 + 0x18)" identifier = (binary_expression "uVar10 + *(int *)(param_3 + 0x18)" identifier + (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(param_3 + 0x18) = uVar5;" (assignment_expression "*(uint *)(param_3 + 0x18) = uVar5" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }" if (parenthesized_expression "(0x40 < uVar5)" ( (binary_expression "0x40 < uVar5" number_literal < identifier) )) (compound_statement "{\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }" { (expression_statement "md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);" (call_expression "md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3)" identifier (argument_list "(iVar9,uVar5 & 0xffffffc0,param_3)" ( identifier , (binary_expression "uVar5 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "*(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;" (assignment_expression "*(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_3 + 0x18) & 0x3f" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0))" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0))" ( identifier , (binary_expression "iVar9 + (iVar8 + uVar10 & 0xffffffc0)" identifier + (parenthesized_expression "(iVar8 + uVar10 & 0xffffffc0)" ( (binary_expression "iVar8 + uVar10 & 0xffffffc0" (binary_expression "iVar8 + uVar10" identifier + identifier) & number_literal) ))) ))) ;) })) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar10);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar10)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar10)" ( (binary_expression "(int)param_1 + uVar10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_2 = param_2 - uVar10;" (assignment_expression "param_2 = param_2 - uVar10" identifier = (binary_expression "param_2 - uVar10" identifier - identifier)) ;) })) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (if_statement "if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }" { (if_statement "if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\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      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }" { (expression_statement "md5_process_block(param_1,param_2 & 0xffffffc0,param_3);" (call_expression "md5_process_block(param_1,param_2 & 0xffffffc0,param_3)" identifier (argument_list "(param_1,param_2 & 0xffffffc0,param_3)" ( identifier , (binary_expression "param_2 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));" (assignment_expression "puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0))" identifier = (cast_expression "(undefined4 *)((int)param_1 + (param_2 & 0xffffffc0))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 & 0xffffffc0))" ( (binary_expression "(int)param_1 + (param_2 & 0xffffffc0)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 & 0xffffffc0)" ( (binary_expression "param_2 & 0xffffffc0" identifier & number_literal) ))) )))) ;) (expression_statement "param_2 = param_2 & 0x3f;" (assignment_expression "param_2 = param_2 & 0x3f" identifier = (binary_expression "param_2 & 0x3f" identifier & number_literal)) ;) }) (else_clause "else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }" else (compound_statement "{\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }" { (if_statement "if (param_2 < 0x41) goto LAB_0001513c;" if (parenthesized_expression "(param_2 < 0x41)" ( (binary_expression "param_2 < 0x41" identifier < number_literal) )) (goto_statement "goto LAB_0001513c;" goto statement_identifier ;)) (expression_statement "uVar10 = param_2 - 0x41 >> 6;" (assignment_expression "uVar10 = param_2 - 0x41 >> 6" identifier = (binary_expression "param_2 - 0x41 >> 6" (binary_expression "param_2 - 0x41" identifier - number_literal) >> number_literal)) ;) (expression_statement "puVar7 = param_1 + (uVar10 + 1) * 0x10;" (assignment_expression "puVar7 = param_1 + (uVar10 + 1) * 0x10" identifier = (binary_expression "param_1 + (uVar10 + 1) * 0x10" identifier + (binary_expression "(uVar10 + 1) * 0x10" (parenthesized_expression "(uVar10 + 1)" ( (binary_expression "uVar10 + 1" identifier + number_literal) )) * number_literal))) ;) (do_statement "do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);" do (compound_statement "{\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      }" { (expression_statement "puVar1 = (undefined4 *)(param_3 + 0x1c);" (assignment_expression "puVar1 = (undefined4 *)(param_3 + 0x1c)" identifier = (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) ;) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);" do (compound_statement "{\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        }" { (expression_statement "uVar6 = puVar2[1];" (assignment_expression "uVar6 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = puVar2[2];" (assignment_expression "uVar4 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar2[3];" (assignment_expression "uVar3 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = *puVar2;" (assignment_expression "*puVar1 = *puVar2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar1[1] = uVar6;" (assignment_expression "puVar1[1] = uVar6" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar4;" (assignment_expression "puVar1[2] = uVar4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = uVar3;" (assignment_expression "puVar1[3] = uVar3" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar2 + 4;" (assignment_expression "puVar2 = puVar2 + 4" identifier = (binary_expression "puVar2 + 4" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != param_1 + 0x10)" ( (binary_expression "puVar2 != param_1 + 0x10" identifier != (binary_expression "param_1 + 0x10" identifier + number_literal)) )) ;) (expression_statement "md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);" (call_expression "md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3)" identifier (argument_list "((undefined4 *)(param_3 + 0x1c),0x40,param_3)" ( (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))) , number_literal , identifier ))) ;) (expression_statement "param_1 = param_1 + 0x10;" (assignment_expression "param_1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 != puVar7)" ( (binary_expression "param_1 != puVar7" identifier != identifier) )) ;) (expression_statement "param_2 = (param_2 - 0x40) + uVar10 * -0x40;" (assignment_expression "param_2 = (param_2 - 0x40) + uVar10 * -0x40" identifier = (binary_expression "(param_2 - 0x40) + uVar10 * -0x40" (parenthesized_expression "(param_2 - 0x40)" ( (binary_expression "param_2 - 0x40" identifier - number_literal) )) + (binary_expression "uVar10 * -0x40" 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 ;) })) (labeled_statement "LAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);" statement_identifier : (expression_statement "iVar8 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;)) (expression_statement "iVar9 = param_3 + 0x1c;" (assignment_expression "iVar9 = param_3 + 0x1c" identifier = (binary_expression "param_3 + 0x1c" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + iVar8,puVar7,param_2)" ( (binary_expression "iVar9 + iVar8" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "param_2 = iVar8 + param_2;" (assignment_expression "param_2 = iVar8 + param_2" identifier = (binary_expression "iVar8 + param_2" identifier + identifier)) ;) (if_statement "if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" if (parenthesized_expression "(param_2 < 0x40)" ( (binary_expression "param_2 < 0x40" identifier < number_literal) )) (compound_statement "{\n    *(uint *)(param_3 + 0x18) = param_2;\n  }" { (expression_statement "*(uint *)(param_3 + 0x18) = param_2;" (assignment_expression "*(uint *)(param_3 + 0x18) = param_2" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" else (compound_statement "{\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" { (expression_statement "md5_process_block(iVar9,0x40,param_3);" (call_expression "md5_process_block(iVar9,0x40,param_3)" identifier (argument_list "(iVar9,0x40,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,param_3 + 0x5c,param_2 - 0x40)" ( identifier , (binary_expression "param_3 + 0x5c" identifier + number_literal) , (binary_expression "param_2 - 0x40" identifier - number_literal) ))) ;) (expression_statement "*(uint *)(param_3 + 0x18) = param_2 - 0x40;" (assignment_expression "*(uint *)(param_3 + 0x18) = param_2 - 0x40" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = (binary_expression "param_2 - 0x40" identifier - number_literal)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void md5_process_bytes(void *buffer,size_t len,md5_ctx *ctx)\n\n{\n  uint32_t *puVar1;\n  uint32_t *puVar2;\n  uint32_t uVar3;\n  uint uVar4;\n  uint32_t uVar5;\n  uint32_t *puVar6;\n  uint32_t uVar7;\n  uint uVar8;\n  \n  uVar7 = ctx->buflen;\n  if (uVar7 != 0) {\n    uVar8 = 0x80 - uVar7;\n    if (len < 0x80 - uVar7) {\n      uVar8 = len;\n    }\n    puVar6 = ctx->buffer;\n    (*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);\n    uVar4 = uVar8 + ctx->buflen;\n    ctx->buflen = uVar4;\n    if (0x40 < uVar4) {\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }\n    buffer = (void *)((int)buffer + uVar8);\n    len = len - uVar8;\n  }\n  puVar6 = (uint32_t *)buffer;\n  if (0x3f < len) {\n    if (((uint)buffer & 3) == 0) {\n      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }\n    else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }\n  }\n  if (len == 0) {\n    return;\n  }\nLAB_0001513c:\n  uVar7 = ctx->buflen;\n  puVar1 = ctx->buffer;\n  (*(code *)PTR_memcpy_0002d2e4)((int)puVar1 + uVar7,puVar6,len);\n  uVar8 = uVar7 + len;\n  if (uVar8 < 0x40) {\n    ctx->buflen = uVar8;\n  }\n  else {\n    md5_process_block(puVar1,0x40,ctx);\n    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);\n    ctx->buflen = uVar8 - 0x40;\n  }\n  return;\n}\n\n" (function_definition "void md5_process_bytes(void *buffer,size_t len,md5_ctx *ctx)\n\n{\n  uint32_t *puVar1;\n  uint32_t *puVar2;\n  uint32_t uVar3;\n  uint uVar4;\n  uint32_t uVar5;\n  uint32_t *puVar6;\n  uint32_t uVar7;\n  uint uVar8;\n  \n  uVar7 = ctx->buflen;\n  if (uVar7 != 0) {\n    uVar8 = 0x80 - uVar7;\n    if (len < 0x80 - uVar7) {\n      uVar8 = len;\n    }\n    puVar6 = ctx->buffer;\n    (*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);\n    uVar4 = uVar8 + ctx->buflen;\n    ctx->buflen = uVar4;\n    if (0x40 < uVar4) {\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }\n    buffer = (void *)((int)buffer + uVar8);\n    len = len - uVar8;\n  }\n  puVar6 = (uint32_t *)buffer;\n  if (0x3f < len) {\n    if (((uint)buffer & 3) == 0) {\n      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }\n    else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }\n  }\n  if (len == 0) {\n    return;\n  }\nLAB_0001513c:\n  uVar7 = ctx->buflen;\n  puVar1 = ctx->buffer;\n  (*(code *)PTR_memcpy_0002d2e4)((int)puVar1 + uVar7,puVar6,len);\n  uVar8 = uVar7 + len;\n  if (uVar8 < 0x40) {\n    ctx->buflen = uVar8;\n  }\n  else {\n    md5_process_block(puVar1,0x40,ctx);\n    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);\n    ctx->buflen = uVar8 - 0x40;\n  }\n  return;\n}" primitive_type (function_declarator "md5_process_bytes(void *buffer,size_t len,md5_ctx *ctx)" identifier (parameter_list "(void *buffer,size_t len,md5_ctx *ctx)" ( (parameter_declaration "void *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "md5_ctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  uint32_t *puVar1;\n  uint32_t *puVar2;\n  uint32_t uVar3;\n  uint uVar4;\n  uint32_t uVar5;\n  uint32_t *puVar6;\n  uint32_t uVar7;\n  uint uVar8;\n  \n  uVar7 = ctx->buflen;\n  if (uVar7 != 0) {\n    uVar8 = 0x80 - uVar7;\n    if (len < 0x80 - uVar7) {\n      uVar8 = len;\n    }\n    puVar6 = ctx->buffer;\n    (*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);\n    uVar4 = uVar8 + ctx->buflen;\n    ctx->buflen = uVar4;\n    if (0x40 < uVar4) {\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }\n    buffer = (void *)((int)buffer + uVar8);\n    len = len - uVar8;\n  }\n  puVar6 = (uint32_t *)buffer;\n  if (0x3f < len) {\n    if (((uint)buffer & 3) == 0) {\n      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }\n    else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }\n  }\n  if (len == 0) {\n    return;\n  }\nLAB_0001513c:\n  uVar7 = ctx->buflen;\n  puVar1 = ctx->buffer;\n  (*(code *)PTR_memcpy_0002d2e4)((int)puVar1 + uVar7,puVar6,len);\n  uVar8 = uVar7 + len;\n  if (uVar8 < 0x40) {\n    ctx->buflen = uVar8;\n  }\n  else {\n    md5_process_block(puVar1,0x40,ctx);\n    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);\n    ctx->buflen = uVar8 - 0x40;\n  }\n  return;\n}" { (declaration "uint32_t *puVar1;" primitive_type (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint32_t *puVar2;" primitive_type (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint32_t uVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint32_t uVar5;" primitive_type identifier ;) (declaration "uint32_t *puVar6;" primitive_type (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint32_t uVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "uVar7 = ctx->buflen;" (assignment_expression "uVar7 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;) (if_statement "if (uVar7 != 0) {\n    uVar8 = 0x80 - uVar7;\n    if (len < 0x80 - uVar7) {\n      uVar8 = len;\n    }\n    puVar6 = ctx->buffer;\n    (*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);\n    uVar4 = uVar8 + ctx->buflen;\n    ctx->buflen = uVar4;\n    if (0x40 < uVar4) {\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }\n    buffer = (void *)((int)buffer + uVar8);\n    len = len - uVar8;\n  }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = 0x80 - uVar7;\n    if (len < 0x80 - uVar7) {\n      uVar8 = len;\n    }\n    puVar6 = ctx->buffer;\n    (*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);\n    uVar4 = uVar8 + ctx->buflen;\n    ctx->buflen = uVar4;\n    if (0x40 < uVar4) {\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }\n    buffer = (void *)((int)buffer + uVar8);\n    len = len - uVar8;\n  }" { (expression_statement "uVar8 = 0x80 - uVar7;" (assignment_expression "uVar8 = 0x80 - uVar7" identifier = (binary_expression "0x80 - uVar7" number_literal - identifier)) ;) (if_statement "if (len < 0x80 - uVar7) {\n      uVar8 = len;\n    }" if (parenthesized_expression "(len < 0x80 - uVar7)" ( (binary_expression "len < 0x80 - uVar7" identifier < (binary_expression "0x80 - uVar7" number_literal - identifier)) )) (compound_statement "{\n      uVar8 = len;\n    }" { (expression_statement "uVar8 = len;" (assignment_expression "uVar8 = len" identifier = identifier) ;) })) (expression_statement "puVar6 = ctx->buffer;" (assignment_expression "puVar6 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)((int)puVar6 + uVar7,buffer,uVar8)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)puVar6 + uVar7,buffer,uVar8)" ( (binary_expression "(int)puVar6 + uVar7" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) , identifier , identifier ))) ;) (expression_statement "uVar4 = uVar8 + ctx->buflen;" (assignment_expression "uVar4 = uVar8 + ctx->buflen" identifier = (binary_expression "uVar8 + ctx->buflen" identifier + (field_expression "ctx->buflen" identifier -> field_identifier))) ;) (expression_statement "ctx->buflen = uVar4;" (assignment_expression "ctx->buflen = uVar4" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) (if_statement "if (0x40 < uVar4) {\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }" if (parenthesized_expression "(0x40 < uVar4)" ( (binary_expression "0x40 < uVar4" number_literal < identifier) )) (compound_statement "{\n      md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);\n      ctx->buflen = ctx->buflen & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));\n    }" { (expression_statement "md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx);" (call_expression "md5_process_block(puVar6,uVar4 & 0xffffffc0,ctx)" identifier (argument_list "(puVar6,uVar4 & 0xffffffc0,ctx)" ( identifier , (binary_expression "uVar4 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "ctx->buflen = ctx->buflen & 0x3f;" (assignment_expression "ctx->buflen = ctx->buflen & 0x3f" (field_expression "ctx->buflen" identifier -> field_identifier) = (binary_expression "ctx->buflen & 0x3f" (field_expression "ctx->buflen" identifier -> field_identifier) & number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0));" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0))" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0))" ( identifier , (binary_expression "(int)puVar6 + (uVar7 + uVar8 & 0xffffffc0)" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 + uVar8 & 0xffffffc0)" ( (binary_expression "uVar7 + uVar8 & 0xffffffc0" (binary_expression "uVar7 + uVar8" identifier + identifier) & number_literal) ))) ))) ;) })) (expression_statement "buffer = (void *)((int)buffer + uVar8);" (assignment_expression "buffer = (void *)((int)buffer + uVar8)" identifier = (cast_expression "(void *)((int)buffer + uVar8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + uVar8)" ( (binary_expression "(int)buffer + uVar8" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "len = len - uVar8;" (assignment_expression "len = len - uVar8" identifier = (binary_expression "len - uVar8" identifier - identifier)) ;) })) (expression_statement "puVar6 = (uint32_t *)buffer;" (assignment_expression "puVar6 = (uint32_t *)buffer" identifier = (cast_expression "(uint32_t *)buffer" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (0x3f < len) {\n    if (((uint)buffer & 3) == 0) {\n      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }\n    else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }\n  }" if (parenthesized_expression "(0x3f < len)" ( (binary_expression "0x3f < len" number_literal < identifier) )) (compound_statement "{\n    if (((uint)buffer & 3) == 0) {\n      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }\n    else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }\n  }" { (if_statement "if (((uint)buffer & 3) == 0) {\n      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }\n    else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\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      md5_process_block(buffer,len & 0xffffffc0,ctx);\n      puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));\n      len = len & 0x3f;\n    }" { (expression_statement "md5_process_block(buffer,len & 0xffffffc0,ctx);" (call_expression "md5_process_block(buffer,len & 0xffffffc0,ctx)" identifier (argument_list "(buffer,len & 0xffffffc0,ctx)" ( identifier , (binary_expression "len & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0));" (assignment_expression "puVar6 = (uint32_t *)((int)buffer + (len & 0xffffffc0))" identifier = (cast_expression "(uint32_t *)((int)buffer + (len & 0xffffffc0))" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (len & 0xffffffc0))" ( (binary_expression "(int)buffer + (len & 0xffffffc0)" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(len & 0xffffffc0)" ( (binary_expression "len & 0xffffffc0" identifier & number_literal) ))) )))) ;) (expression_statement "len = len & 0x3f;" (assignment_expression "len = len & 0x3f" identifier = (binary_expression "len & 0x3f" identifier & number_literal)) ;) }) (else_clause "else {\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }" else (compound_statement "{\n      if (len < 0x41) goto LAB_0001513c;\n      uVar8 = len - 0x41 >> 6;\n      puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);\n      do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);\n      len = (len - 0x40) + uVar8 * -0x40;\n    }" { (if_statement "if (len < 0x41) goto LAB_0001513c;" if (parenthesized_expression "(len < 0x41)" ( (binary_expression "len < 0x41" identifier < number_literal) )) (goto_statement "goto LAB_0001513c;" goto statement_identifier ;)) (expression_statement "uVar8 = len - 0x41 >> 6;" (assignment_expression "uVar8 = len - 0x41 >> 6" identifier = (binary_expression "len - 0x41 >> 6" (binary_expression "len - 0x41" identifier - number_literal) >> number_literal)) ;) (expression_statement "puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4);" (assignment_expression "puVar6 = (uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4)" identifier = (cast_expression "(uint32_t *)((int)buffer + (uVar8 + 1) * 0x10 * 4)" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + (uVar8 + 1) * 0x10 * 4)" ( (binary_expression "(int)buffer + (uVar8 + 1) * 0x10 * 4" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uVar8 + 1) * 0x10 * 4" (binary_expression "(uVar8 + 1) * 0x10" (parenthesized_expression "(uVar8 + 1)" ( (binary_expression "uVar8 + 1" identifier + number_literal) )) * number_literal) * number_literal)) )))) ;) (do_statement "do {\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      } while ((uint32_t *)buffer != puVar6);" do (compound_statement "{\n        puVar1 = ctx->buffer;\n        puVar2 = (uint32_t *)buffer;\n        do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));\n        md5_process_block(ctx->buffer,0x40,ctx);\n        buffer = (void *)((int)buffer + 0x40);\n      }" { (expression_statement "puVar1 = ctx->buffer;" (assignment_expression "puVar1 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;) (expression_statement "puVar2 = (uint32_t *)buffer;" (assignment_expression "puVar2 = (uint32_t *)buffer" identifier = (cast_expression "(uint32_t *)buffer" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != (uint32_t *)((int)buffer + 0x40));" do (compound_statement "{\n          uVar5 = puVar2[1];\n          uVar3 = puVar2[2];\n          uVar7 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar5;\n          puVar1[2] = uVar3;\n          puVar1[3] = uVar7;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        }" { (expression_statement "uVar5 = puVar2[1];" (assignment_expression "uVar5 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar2[2];" (assignment_expression "uVar3 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar2[3];" (assignment_expression "uVar7 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = *puVar2;" (assignment_expression "*puVar1 = *puVar2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar1[1] = uVar5;" (assignment_expression "puVar1[1] = uVar5" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar3;" (assignment_expression "puVar1[2] = uVar3" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = uVar7;" (assignment_expression "puVar1[3] = uVar7" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar2 + 4;" (assignment_expression "puVar2 = puVar2 + 4" identifier = (binary_expression "puVar2 + 4" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != (uint32_t *)((int)buffer + 0x40))" ( (binary_expression "puVar2 != (uint32_t *)((int)buffer + 0x40)" identifier != (cast_expression "(uint32_t *)((int)buffer + 0x40)" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + 0x40)" ( (binary_expression "(int)buffer + 0x40" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )) ;) (expression_statement "md5_process_block(ctx->buffer,0x40,ctx);" (call_expression "md5_process_block(ctx->buffer,0x40,ctx)" identifier (argument_list "(ctx->buffer,0x40,ctx)" ( (field_expression "ctx->buffer" identifier -> field_identifier) , number_literal , identifier ))) ;) (expression_statement "buffer = (void *)((int)buffer + 0x40);" (assignment_expression "buffer = (void *)((int)buffer + 0x40)" identifier = (cast_expression "(void *)((int)buffer + 0x40)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)buffer + 0x40)" ( (binary_expression "(int)buffer + 0x40" (cast_expression "(int)buffer" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "((uint32_t *)buffer != puVar6)" ( (binary_expression "(uint32_t *)buffer != puVar6" (cast_expression "(uint32_t *)buffer" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) != identifier) )) ;) (expression_statement "len = (len - 0x40) + uVar8 * -0x40;" (assignment_expression "len = (len - 0x40) + uVar8 * -0x40" identifier = (binary_expression "(len - 0x40) + uVar8 * -0x40" (parenthesized_expression "(len - 0x40)" ( (binary_expression "len - 0x40" identifier - number_literal) )) + (binary_expression "uVar8 * -0x40" 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 ;) })) (labeled_statement "LAB_0001513c:\n  uVar7 = ctx->buflen;" statement_identifier : (expression_statement "uVar7 = ctx->buflen;" (assignment_expression "uVar7 = ctx->buflen" identifier = (field_expression "ctx->buflen" identifier -> field_identifier)) ;)) (expression_statement "puVar1 = ctx->buffer;" (assignment_expression "puVar1 = ctx->buffer" identifier = (field_expression "ctx->buffer" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)((int)puVar1 + uVar7,puVar6,len);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)((int)puVar1 + uVar7,puVar6,len)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)puVar1 + uVar7,puVar6,len)" ( (binary_expression "(int)puVar1 + uVar7" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) , identifier , identifier ))) ;) (expression_statement "uVar8 = uVar7 + len;" (assignment_expression "uVar8 = uVar7 + len" identifier = (binary_expression "uVar7 + len" identifier + identifier)) ;) (if_statement "if (uVar8 < 0x40) {\n    ctx->buflen = uVar8;\n  }\n  else {\n    md5_process_block(puVar1,0x40,ctx);\n    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);\n    ctx->buflen = uVar8 - 0x40;\n  }" if (parenthesized_expression "(uVar8 < 0x40)" ( (binary_expression "uVar8 < 0x40" identifier < number_literal) )) (compound_statement "{\n    ctx->buflen = uVar8;\n  }" { (expression_statement "ctx->buflen = uVar8;" (assignment_expression "ctx->buflen = uVar8" (field_expression "ctx->buflen" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    md5_process_block(puVar1,0x40,ctx);\n    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);\n    ctx->buflen = uVar8 - 0x40;\n  }" else (compound_statement "{\n    md5_process_block(puVar1,0x40,ctx);\n    (*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);\n    ctx->buflen = uVar8 - 0x40;\n  }" { (expression_statement "md5_process_block(puVar1,0x40,ctx);" (call_expression "md5_process_block(puVar1,0x40,ctx)" identifier (argument_list "(puVar1,0x40,ctx)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(puVar1,ctx->buffer + 0x10,uVar8 - 0x40)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,ctx->buffer + 0x10,uVar8 - 0x40)" ( identifier , (binary_expression "ctx->buffer + 0x10" (field_expression "ctx->buffer" identifier -> field_identifier) + number_literal) , (binary_expression "uVar8 - 0x40" identifier - number_literal) ))) ;) (expression_statement "ctx->buflen = uVar8 - 0x40;" (assignment_expression "ctx->buflen = uVar8 - 0x40" (field_expression "ctx->buflen" identifier -> field_identifier) = (binary_expression "uVar8 - 0x40" identifier - number_literal)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void md5_process_bytes(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}\n\n" (function_definition "void md5_process_bytes(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}" primitive_type (function_declarator "md5_process_bytes(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  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (expression_statement "iVar8 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }" { (expression_statement "uVar10 = 0x80U - iVar8;" (assignment_expression "uVar10 = 0x80U - iVar8" identifier = (binary_expression "0x80U - iVar8" number_literal - identifier)) ;) (if_statement "if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }" if (parenthesized_expression "(param_2 < 0x80U - iVar8)" ( (binary_expression "param_2 < 0x80U - iVar8" identifier < (binary_expression "0x80U - iVar8" number_literal - identifier)) )) (compound_statement "{\n      uVar10 = param_2;\n    }" { (expression_statement "uVar10 = param_2;" (assignment_expression "uVar10 = param_2" identifier = identifier) ;) })) (expression_statement "iVar9 = param_3 + 0x1c;" (assignment_expression "iVar9 = param_3 + 0x1c" identifier = (binary_expression "param_3 + 0x1c" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + iVar8,param_1,uVar10)" ( (binary_expression "iVar9 + iVar8" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "uVar5 = uVar10 + *(int *)(param_3 + 0x18);" (assignment_expression "uVar5 = uVar10 + *(int *)(param_3 + 0x18)" identifier = (binary_expression "uVar10 + *(int *)(param_3 + 0x18)" identifier + (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))))) ;) (expression_statement "*(uint *)(param_3 + 0x18) = uVar5;" (assignment_expression "*(uint *)(param_3 + 0x18) = uVar5" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }" if (parenthesized_expression "(0x40 < uVar5)" ( (binary_expression "0x40 < uVar5" number_literal < identifier) )) (compound_statement "{\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }" { (expression_statement "md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);" (call_expression "md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3)" identifier (argument_list "(iVar9,uVar5 & 0xffffffc0,param_3)" ( identifier , (binary_expression "uVar5 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "*(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;" (assignment_expression "*(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_3 + 0x18) & 0x3f" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0))" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0))" ( identifier , (binary_expression "iVar9 + (iVar8 + uVar10 & 0xffffffc0)" identifier + (parenthesized_expression "(iVar8 + uVar10 & 0xffffffc0)" ( (binary_expression "iVar8 + uVar10 & 0xffffffc0" (binary_expression "iVar8 + uVar10" identifier + identifier) & number_literal) ))) ))) ;) })) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar10);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar10)" identifier = (cast_expression "(undefined4 *)((int)param_1 + uVar10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar10)" ( (binary_expression "(int)param_1 + uVar10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_2 = param_2 - uVar10;" (assignment_expression "param_2 = param_2 - uVar10" identifier = (binary_expression "param_2 - uVar10" identifier - identifier)) ;) })) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (if_statement "if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }" { (if_statement "if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\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      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }" { (expression_statement "md5_process_block(param_1,param_2 & 0xffffffc0,param_3);" (call_expression "md5_process_block(param_1,param_2 & 0xffffffc0,param_3)" identifier (argument_list "(param_1,param_2 & 0xffffffc0,param_3)" ( identifier , (binary_expression "param_2 & 0xffffffc0" identifier & number_literal) , identifier ))) ;) (expression_statement "puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));" (assignment_expression "puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0))" identifier = (cast_expression "(undefined4 *)((int)param_1 + (param_2 & 0xffffffc0))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (param_2 & 0xffffffc0))" ( (binary_expression "(int)param_1 + (param_2 & 0xffffffc0)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 & 0xffffffc0)" ( (binary_expression "param_2 & 0xffffffc0" identifier & number_literal) ))) )))) ;) (expression_statement "param_2 = param_2 & 0x3f;" (assignment_expression "param_2 = param_2 & 0x3f" identifier = (binary_expression "param_2 & 0x3f" identifier & number_literal)) ;) }) (else_clause "else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }" else (compound_statement "{\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }" { (if_statement "if (param_2 < 0x41) goto LAB_0001513c;" if (parenthesized_expression "(param_2 < 0x41)" ( (binary_expression "param_2 < 0x41" identifier < number_literal) )) (goto_statement "goto LAB_0001513c;" goto statement_identifier ;)) (expression_statement "uVar10 = param_2 - 0x41 >> 6;" (assignment_expression "uVar10 = param_2 - 0x41 >> 6" identifier = (binary_expression "param_2 - 0x41 >> 6" (binary_expression "param_2 - 0x41" identifier - number_literal) >> number_literal)) ;) (expression_statement "puVar7 = param_1 + (uVar10 + 1) * 0x10;" (assignment_expression "puVar7 = param_1 + (uVar10 + 1) * 0x10" identifier = (binary_expression "param_1 + (uVar10 + 1) * 0x10" identifier + (binary_expression "(uVar10 + 1) * 0x10" (parenthesized_expression "(uVar10 + 1)" ( (binary_expression "uVar10 + 1" identifier + number_literal) )) * number_literal))) ;) (do_statement "do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);" do (compound_statement "{\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      }" { (expression_statement "puVar1 = (undefined4 *)(param_3 + 0x1c);" (assignment_expression "puVar1 = (undefined4 *)(param_3 + 0x1c)" identifier = (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) ;) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);" do (compound_statement "{\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        }" { (expression_statement "uVar6 = puVar2[1];" (assignment_expression "uVar6 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = puVar2[2];" (assignment_expression "uVar4 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar2[3];" (assignment_expression "uVar3 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = *puVar2;" (assignment_expression "*puVar1 = *puVar2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar1[1] = uVar6;" (assignment_expression "puVar1[1] = uVar6" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar4;" (assignment_expression "puVar1[2] = uVar4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = uVar3;" (assignment_expression "puVar1[3] = uVar3" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar2 + 4;" (assignment_expression "puVar2 = puVar2 + 4" identifier = (binary_expression "puVar2 + 4" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != param_1 + 0x10)" ( (binary_expression "puVar2 != param_1 + 0x10" identifier != (binary_expression "param_1 + 0x10" identifier + number_literal)) )) ;) (expression_statement "md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);" (call_expression "md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3)" identifier (argument_list "((undefined4 *)(param_3 + 0x1c),0x40,param_3)" ( (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))) , number_literal , identifier ))) ;) (expression_statement "param_1 = param_1 + 0x10;" (assignment_expression "param_1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 != puVar7)" ( (binary_expression "param_1 != puVar7" identifier != identifier) )) ;) (expression_statement "param_2 = (param_2 - 0x40) + uVar10 * -0x40;" (assignment_expression "param_2 = (param_2 - 0x40) + uVar10 * -0x40" identifier = (binary_expression "(param_2 - 0x40) + uVar10 * -0x40" (parenthesized_expression "(param_2 - 0x40)" ( (binary_expression "param_2 - 0x40" identifier - number_literal) )) + (binary_expression "uVar10 * -0x40" 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 ;) })) (labeled_statement "LAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);" statement_identifier : (expression_statement "iVar8 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;)) (expression_statement "iVar9 = param_3 + 0x1c;" (assignment_expression "iVar9 = param_3 + 0x1c" identifier = (binary_expression "param_3 + 0x1c" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + iVar8,puVar7,param_2)" ( (binary_expression "iVar9 + iVar8" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "param_2 = iVar8 + param_2;" (assignment_expression "param_2 = iVar8 + param_2" identifier = (binary_expression "iVar8 + param_2" identifier + identifier)) ;) (if_statement "if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" if (parenthesized_expression "(param_2 < 0x40)" ( (binary_expression "param_2 < 0x40" identifier < number_literal) )) (compound_statement "{\n    *(uint *)(param_3 + 0x18) = param_2;\n  }" { (expression_statement "*(uint *)(param_3 + 0x18) = param_2;" (assignment_expression "*(uint *)(param_3 + 0x18) = param_2" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" else (compound_statement "{\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" { (expression_statement "md5_process_block(iVar9,0x40,param_3);" (call_expression "md5_process_block(iVar9,0x40,param_3)" identifier (argument_list "(iVar9,0x40,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" ( (pointer_expression "*(code *)PTR_memcpy_0002d2e4" * (cast_expression "(code *)PTR_memcpy_0002d2e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,param_3 + 0x5c,param_2 - 0x40)" ( identifier , (binary_expression "param_3 + 0x5c" identifier + number_literal) , (binary_expression "param_2 - 0x40" identifier - number_literal) ))) ;) (expression_statement "*(uint *)(param_3 + 0x18) = param_2 - 0x40;" (assignment_expression "*(uint *)(param_3 + 0x18) = param_2 - 0x40" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = (binary_expression "param_2 - 0x40" identifier - number_literal)) ;) }))) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression LIT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression IDENT + 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) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (assignment_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 { (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)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (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 IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (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))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT - LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT - LIT)) ;) }))) (return_statement return ;) })))
(function_definition "void md5_process_bytes(undefined4 *param_1,uint param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "md5_process_bytes(undefined4 *param_1,uint param_2,int param_3)" (identifier "md5_process_bytes") (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  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  \n  iVar8 = *(int *)(param_3 + 0x18);\n  if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }\n  puVar7 = param_1;\n  if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }\n  if (param_2 == 0) {\n    return;\n  }\nLAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);\n  iVar9 = param_3 + 0x1c;\n  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);\n  param_2 = iVar8 + param_2;\n  if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (expression_statement "iVar8 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x18)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar8 != 0) {\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar10 = 0x80U - iVar8;\n    if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }\n    iVar9 = param_3 + 0x1c;\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);\n    uVar5 = uVar10 + *(int *)(param_3 + 0x18);\n    *(uint *)(param_3 + 0x18) = uVar5;\n    if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }\n    param_1 = (undefined4 *)((int)param_1 + uVar10);\n    param_2 = param_2 - uVar10;\n  }" ({ "{") (expression_statement "uVar10 = 0x80U - iVar8;" (assignment_expression "uVar10 = 0x80U - iVar8" (identifier "uVar10") (= "=") (binary_expression "0x80U - iVar8" (number_literal "0x80U") (- "-") (identifier "iVar8"))) (; ";")) (if_statement "if (param_2 < 0x80U - iVar8) {\n      uVar10 = param_2;\n    }" (if "if") (parenthesized_expression "(param_2 < 0x80U - iVar8)" (( "(") (binary_expression "param_2 < 0x80U - iVar8" (identifier "param_2") (< "<") (binary_expression "0x80U - iVar8" (number_literal "0x80U") (- "-") (identifier "iVar8"))) () ")")) (compound_statement "{\n      uVar10 = param_2;\n    }" ({ "{") (expression_statement "uVar10 = param_2;" (assignment_expression "uVar10 = param_2" (identifier "uVar10") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "iVar9 = param_3 + 0x1c;" (assignment_expression "iVar9 = param_3 + 0x1c" (identifier "iVar9") (= "=") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0002d2e4" (* "*") (cast_expression "(code *)PTR_memcpy_0002d2e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0002d2e4"))) () ")")) (argument_list "(iVar9 + iVar8,param_1,uVar10)" (( "(") (binary_expression "iVar9 + iVar8" (identifier "iVar9") (+ "+") (identifier "iVar8")) (, ",") (identifier "param_1") (, ",") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "uVar5 = uVar10 + *(int *)(param_3 + 0x18);" (assignment_expression "uVar5 = uVar10 + *(int *)(param_3 + 0x18)" (identifier "uVar5") (= "=") (binary_expression "uVar10 + *(int *)(param_3 + 0x18)" (identifier "uVar10") (+ "+") (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x18) = uVar5;" (assignment_expression "*(uint *)(param_3 + 0x18) = uVar5" (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (if_statement "if (0x40 < uVar5) {\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }" (if "if") (parenthesized_expression "(0x40 < uVar5)" (( "(") (binary_expression "0x40 < uVar5" (number_literal "0x40") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);\n      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;\n      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));\n    }" ({ "{") (expression_statement "md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);" (call_expression "md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3)" (identifier "md5_process_block") (argument_list "(iVar9,uVar5 & 0xffffffc0,param_3)" (( "(") (identifier "iVar9") (, ",") (binary_expression "uVar5 & 0xffffffc0" (identifier "uVar5") (& "&") (number_literal "0xffffffc0")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;" (assignment_expression "*(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f" (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(uint *)(param_3 + 0x18) & 0x3f" (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (& "&") (number_literal "0x3f"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0))" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0002d2e4" (* "*") (cast_expression "(code *)PTR_memcpy_0002d2e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0002d2e4"))) () ")")) (argument_list "(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0))" (( "(") (identifier "iVar9") (, ",") (binary_expression "iVar9 + (iVar8 + uVar10 & 0xffffffc0)" (identifier "iVar9") (+ "+") (parenthesized_expression "(iVar8 + uVar10 & 0xffffffc0)" (( "(") (binary_expression "iVar8 + uVar10 & 0xffffffc0" (binary_expression "iVar8 + uVar10" (identifier "iVar8") (+ "+") (identifier "uVar10")) (& "&") (number_literal "0xffffffc0")) () ")"))) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = (undefined4 *)((int)param_1 + uVar10);" (assignment_expression "param_1 = (undefined4 *)((int)param_1 + uVar10)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)((int)param_1 + uVar10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar10)" (( "(") (binary_expression "(int)param_1 + uVar10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar10")) () ")")))) (; ";")) (expression_statement "param_2 = param_2 - uVar10;" (assignment_expression "param_2 = param_2 - uVar10" (identifier "param_2") (= "=") (binary_expression "param_2 - uVar10" (identifier "param_2") (- "-") (identifier "uVar10"))) (; ";")) (} "}"))) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (0x3f < param_2) {\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }" (if "if") (parenthesized_expression "(0x3f < param_2)" (( "(") (binary_expression "0x3f < param_2" (number_literal "0x3f") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }\n  }" ({ "{") (if_statement "if (((uint)param_1 & 3) == 0) {\n      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }\n    else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\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      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);\n      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));\n      param_2 = param_2 & 0x3f;\n    }" ({ "{") (expression_statement "md5_process_block(param_1,param_2 & 0xffffffc0,param_3);" (call_expression "md5_process_block(param_1,param_2 & 0xffffffc0,param_3)" (identifier "md5_process_block") (argument_list "(param_1,param_2 & 0xffffffc0,param_3)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 & 0xffffffc0" (identifier "param_2") (& "&") (number_literal "0xffffffc0")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));" (assignment_expression "puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0))" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((int)param_1 + (param_2 & 0xffffffc0))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (param_2 & 0xffffffc0))" (( "(") (binary_expression "(int)param_1 + (param_2 & 0xffffffc0)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(param_2 & 0xffffffc0)" (( "(") (binary_expression "param_2 & 0xffffffc0" (identifier "param_2") (& "&") (number_literal "0xffffffc0")) () ")"))) () ")")))) (; ";")) (expression_statement "param_2 = param_2 & 0x3f;" (assignment_expression "param_2 = param_2 & 0x3f" (identifier "param_2") (= "=") (binary_expression "param_2 & 0x3f" (identifier "param_2") (& "&") (number_literal "0x3f"))) (; ";")) (} "}")) (else_clause "else {\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }" (else "else") (compound_statement "{\n      if (param_2 < 0x41) goto LAB_0001513c;\n      uVar10 = param_2 - 0x41 >> 6;\n      puVar7 = param_1 + (uVar10 + 1) * 0x10;\n      do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);\n      param_2 = (param_2 - 0x40) + uVar10 * -0x40;\n    }" ({ "{") (if_statement "if (param_2 < 0x41) goto LAB_0001513c;" (if "if") (parenthesized_expression "(param_2 < 0x41)" (( "(") (binary_expression "param_2 < 0x41" (identifier "param_2") (< "<") (number_literal "0x41")) () ")")) (goto_statement "goto LAB_0001513c;" (goto "goto") (statement_identifier "LAB_0001513c") (; ";"))) (expression_statement "uVar10 = param_2 - 0x41 >> 6;" (assignment_expression "uVar10 = param_2 - 0x41 >> 6" (identifier "uVar10") (= "=") (binary_expression "param_2 - 0x41 >> 6" (binary_expression "param_2 - 0x41" (identifier "param_2") (- "-") (number_literal "0x41")) (>> ">>") (number_literal "6"))) (; ";")) (expression_statement "puVar7 = param_1 + (uVar10 + 1) * 0x10;" (assignment_expression "puVar7 = param_1 + (uVar10 + 1) * 0x10" (identifier "puVar7") (= "=") (binary_expression "param_1 + (uVar10 + 1) * 0x10" (identifier "param_1") (+ "+") (binary_expression "(uVar10 + 1) * 0x10" (parenthesized_expression "(uVar10 + 1)" (( "(") (binary_expression "uVar10 + 1" (identifier "uVar10") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")))) (; ";")) (do_statement "do {\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      } while (param_1 != puVar7);" (do "do") (compound_statement "{\n        puVar1 = (undefined4 *)(param_3 + 0x1c);\n        puVar2 = param_1;\n        do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);\n        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);\n        param_1 = param_1 + 0x10;\n      }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(param_3 + 0x1c);" (assignment_expression "puVar1 = (undefined4 *)(param_3 + 0x1c)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(param_3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (expression_statement "puVar2 = param_1;" (assignment_expression "puVar2 = param_1" (identifier "puVar2") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        } while (puVar2 != param_1 + 0x10);" (do "do") (compound_statement "{\n          uVar6 = puVar2[1];\n          uVar4 = puVar2[2];\n          uVar3 = puVar2[3];\n          *puVar1 = *puVar2;\n          puVar1[1] = uVar6;\n          puVar1[2] = uVar4;\n          puVar1[3] = uVar3;\n          puVar2 = puVar2 + 4;\n          puVar1 = puVar1 + 4;\n        }" ({ "{") (expression_statement "uVar6 = puVar2[1];" (assignment_expression "uVar6 = puVar2[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar4 = puVar2[2];" (assignment_expression "uVar4 = puVar2[2]" (identifier "uVar4") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = puVar2[3];" (assignment_expression "uVar3 = puVar2[3]" (identifier "uVar3") (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar1 = *puVar2;" (assignment_expression "*puVar1 = *puVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar1[1] = uVar6;" (assignment_expression "puVar1[1] = uVar6" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar1[2] = uVar4;" (assignment_expression "puVar1[2] = uVar4" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar1[3] = uVar3;" (assignment_expression "puVar1[3] = uVar3" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar2 = puVar2 + 4;" (assignment_expression "puVar2 = puVar2 + 4" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 4" (identifier "puVar2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != param_1 + 0x10)" (( "(") (binary_expression "puVar2 != param_1 + 0x10" (identifier "puVar2") (!= "!=") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10"))) () ")")) (; ";")) (expression_statement "md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);" (call_expression "md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3)" (identifier "md5_process_block") (argument_list "((undefined4 *)(param_3 + 0x1c),0x40,param_3)" (( "(") (cast_expression "(undefined4 *)(param_3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))) (, ",") (number_literal "0x40") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "param_1 = param_1 + 0x10;" (assignment_expression "param_1 = param_1 + 0x10" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != puVar7)" (( "(") (binary_expression "param_1 != puVar7" (identifier "param_1") (!= "!=") (identifier "puVar7")) () ")")) (; ";")) (expression_statement "param_2 = (param_2 - 0x40) + uVar10 * -0x40;" (assignment_expression "param_2 = (param_2 - 0x40) + uVar10 * -0x40" (identifier "param_2") (= "=") (binary_expression "(param_2 - 0x40) + uVar10 * -0x40" (parenthesized_expression "(param_2 - 0x40)" (( "(") (binary_expression "param_2 - 0x40" (identifier "param_2") (- "-") (number_literal "0x40")) () ")")) (+ "+") (binary_expression "uVar10 * -0x40" (identifier "uVar10") (* "*") (number_literal "-0x40")))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (param_2 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0001513c:\n  iVar8 = *(int *)(param_3 + 0x18);" (statement_identifier "LAB_0001513c") (: ":") (expression_statement "iVar8 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x18)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";"))) (expression_statement "iVar9 = param_3 + 0x1c;" (assignment_expression "iVar9 = param_3 + 0x1c" (identifier "iVar9") (= "=") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0002d2e4" (* "*") (cast_expression "(code *)PTR_memcpy_0002d2e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0002d2e4"))) () ")")) (argument_list "(iVar9 + iVar8,puVar7,param_2)" (( "(") (binary_expression "iVar9 + iVar8" (identifier "iVar9") (+ "+") (identifier "iVar8")) (, ",") (identifier "puVar7") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_2 = iVar8 + param_2;" (assignment_expression "param_2 = iVar8 + param_2" (identifier "param_2") (= "=") (binary_expression "iVar8 + param_2" (identifier "iVar8") (+ "+") (identifier "param_2"))) (; ";")) (if_statement "if (param_2 < 0x40) {\n    *(uint *)(param_3 + 0x18) = param_2;\n  }\n  else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" (if "if") (parenthesized_expression "(param_2 < 0x40)" (( "(") (binary_expression "param_2 < 0x40" (identifier "param_2") (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n    *(uint *)(param_3 + 0x18) = param_2;\n  }" ({ "{") (expression_statement "*(uint *)(param_3 + 0x18) = param_2;" (assignment_expression "*(uint *)(param_3 + 0x18) = param_2" (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" (else "else") (compound_statement "{\n    md5_process_block(iVar9,0x40,param_3);\n    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);\n    *(uint *)(param_3 + 0x18) = param_2 - 0x40;\n  }" ({ "{") (expression_statement "md5_process_block(iVar9,0x40,param_3);" (call_expression "md5_process_block(iVar9,0x40,param_3)" (identifier "md5_process_block") (argument_list "(iVar9,0x40,param_3)" (( "(") (identifier "iVar9") (, ",") (number_literal "0x40") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);" (call_expression "(*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40)" (parenthesized_expression "(*(code *)PTR_memcpy_0002d2e4)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0002d2e4" (* "*") (cast_expression "(code *)PTR_memcpy_0002d2e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0002d2e4"))) () ")")) (argument_list "(iVar9,param_3 + 0x5c,param_2 - 0x40)" (( "(") (identifier "iVar9") (, ",") (binary_expression "param_3 + 0x5c" (identifier "param_3") (+ "+") (number_literal "0x5c")) (, ",") (binary_expression "param_2 - 0x40" (identifier "param_2") (- "-") (number_literal "0x40")) () ")"))) (; ";")) (expression_statement "*(uint *)(param_3 + 0x18) = param_2 - 0x40;" (assignment_expression "*(uint *)(param_3 + 0x18) = param_2 - 0x40" (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "param_2 - 0x40" (identifier "param_2") (- "-") (number_literal "0x40"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

{
  uint32_t *var_7;
  uint32_t *var_6;
  uint32_t uVar3;
  type_2 var_4;
  uint32_t uVar5;
  uint32_t *var_8;
  uint32_t var_1;
  type_2 var_3;
  
  var_1 = ctx->buflen;
  if (var_1 != 0) {
    var_3 = 0x80 - var_1;
    if (var_2 < 0x80 - var_1) {
      var_3 = var_2;
    }
    var_8 = ctx->buffer;
    (*(type_3 *)PTR_memcpy_0002d2e4)((int)var_8 + var_1,buffer,var_3);
    var_4 = var_3 + ctx->buflen;
    ctx->buflen = var_4;
    if (0x40 < var_4) {
      var_5(var_8,var_4 & 0xffffffc0,ctx);
      ctx->buflen = ctx->buflen & 0x3f;
      (*(type_3 *)PTR_memcpy_0002d2e4)(var_8,(int)var_8 + (var_1 + var_3 & 0xffffffc0));
    }
    buffer = (void *)((int)buffer + var_3);
    var_2 = var_2 - var_3;
  }
  var_8 = (uint32_t *)buffer;
  if (0x3f < var_2) {
    if (((type_2)buffer & 3) == 0) {
      var_5(buffer,var_2 & 0xffffffc0,ctx);
      var_8 = (uint32_t *)((int)buffer + (var_2 & 0xffffffc0));
      var_2 = var_2 & 0x3f;
    }
    else {
      if (var_2 < 0x41) goto LAB_0001513c;
      var_3 = var_2 - 0x41 >> 6;
      var_8 = (uint32_t *)((int)buffer + (var_3 + 1) * 0x10 * 4);
      do {
        var_7 = ctx->buffer;
        var_6 = (uint32_t *)buffer;
        do {
          uVar5 = var_6[1];
          uVar3 = var_6[2];
          var_1 = var_6[3];
          *var_7 = *var_6;
          var_7[1] = uVar5;
          var_7[2] = uVar3;
          var_7[3] = var_1;
          var_6 = var_6 + 4;
          var_7 = var_7 + 4;
        } while (var_6 != (uint32_t *)((int)buffer + 0x40));
        var_5(ctx->buffer,0x40,ctx);
        buffer = (void *)((int)buffer + 0x40);
      } while ((uint32_t *)buffer != var_8);
      var_2 = (var_2 - 0x40) + var_3 * -0x40;
    }
  }
  if (var_2 == 0) {
    return;
  }
LAB_0001513c:
  var_1 = ctx->buflen;
  var_7 = ctx->buffer;
  (*(type_3 *)PTR_memcpy_0002d2e4)((int)var_7 + var_1,var_8,var_2);
  var_3 = var_1 + var_2;
  if (var_3 < 0x40) {
    ctx->buflen = var_3;
  }
  else {
    var_5(var_7,0x40,ctx);
    (*(type_3 *)PTR_memcpy_0002d2e4)(var_7,ctx->buffer + 0x10,var_3 - 0x40);
    ctx->buflen = var_3 - 0x40;
  }
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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 (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (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: (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: (binary_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: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_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 (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))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (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: (binary_expression left: (identifier) right: (number_literal))))))) (return_statement))))

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

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  uint uVar5;
  undefined4 uVar6;
  undefined4 *puVar7;
  int iVar8;
  int iVar9;
  uint uVar10;
  
  iVar8 = *(int *)(param_3 + 0x18);
  if (iVar8 != 0) {
    uVar10 = 0x80U - iVar8;
    if (param_2 < 0x80U - iVar8) {
      uVar10 = param_2;
    }
    iVar9 = param_3 + 0x1c;
    (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,param_1,uVar10);
    uVar5 = uVar10 + *(int *)(param_3 + 0x18);
    *(uint *)(param_3 + 0x18) = uVar5;
    if (0x40 < uVar5) {
      md5_process_block(iVar9,uVar5 & 0xffffffc0,param_3);
      *(uint *)(param_3 + 0x18) = *(uint *)(param_3 + 0x18) & 0x3f;
      (*(code *)PTR_memcpy_0002d2e4)(iVar9,iVar9 + (iVar8 + uVar10 & 0xffffffc0));
    }
    param_1 = (undefined4 *)((int)param_1 + uVar10);
    param_2 = param_2 - uVar10;
  }
  puVar7 = param_1;
  if (0x3f < param_2) {
    if (((uint)param_1 & 3) == 0) {
      md5_process_block(param_1,param_2 & 0xffffffc0,param_3);
      puVar7 = (undefined4 *)((int)param_1 + (param_2 & 0xffffffc0));
      param_2 = param_2 & 0x3f;
    }
    else {
      if (param_2 < 0x41) goto LAB_0001513c;
      uVar10 = param_2 - 0x41 >> 6;
      puVar7 = param_1 + (uVar10 + 1) * 0x10;
      do {
        puVar1 = (undefined4 *)(param_3 + 0x1c);
        puVar2 = param_1;
        do {
          uVar6 = puVar2[1];
          uVar4 = puVar2[2];
          uVar3 = puVar2[3];
          *puVar1 = *puVar2;
          puVar1[1] = uVar6;
          puVar1[2] = uVar4;
          puVar1[3] = uVar3;
          puVar2 = puVar2 + 4;
          puVar1 = puVar1 + 4;
        } while (puVar2 != param_1 + 0x10);
        md5_process_block((undefined4 *)(param_3 + 0x1c),0x40,param_3);
        param_1 = param_1 + 0x10;
      } while (param_1 != puVar7);
      param_2 = (param_2 - 0x40) + uVar10 * -0x40;
    }
  }
  if (param_2 == 0) {
    return;
  }
LAB_0001513c:
  iVar8 = *(int *)(param_3 + 0x18);
  iVar9 = param_3 + 0x1c;
  (*(code *)PTR_memcpy_0002d2e4)(iVar9 + iVar8,puVar7,param_2);
  param_2 = iVar8 + param_2;
  if (param_2 < 0x40) {
    *(uint *)(param_3 + 0x18) = param_2;
  }
  else {
    md5_process_block(iVar9,0x40,param_3);
    (*(code *)PTR_memcpy_0002d2e4)(iVar9,param_3 + 0x5c,param_2 - 0x40);
    *(uint *)(param_3 + 0x18) = param_2 - 0x40;
  }
  return;
}

