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

void hmacmd5_genresult(void *handle,uchar *hmac)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint __n;
  uint32 *puVar5;
  MD5Context *pMVar6;
  int in_GS_OFFSET;
  bool bVar7;
  byte bVar8;
  MD5Context s;
  uchar intermediate [16];
  uchar c [64];
  
  bVar8 = 0;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  puVar5 = (uint32 *)((int)handle + 0xb8);
  pMVar6 = &s;
  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {
    (pMVar6->core).h[0] = *puVar5;
    puVar5 = puVar5 + 1;
    pMVar6 = (MD5Context *)((pMVar6->core).h + 1);
  }
  if (s.blkused < 0x38) {
    __n = 0x38 - s.blkused;
  }
  else {
    __n = 0x78 - s.blkused;
  }
  uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d;
  iVar3 = s.lenlo * 8;
  __memset_chk(c,0,__n,0x40);
  c[0] = 0x80;
  bVar7 = CARRY4(s.lenlo,__n);
  s.lenlo = s.lenlo + __n;
  s.lenhi = s.lenhi + bVar7;
  if (__n + iVar2 < 0x40) {
    memcpy(s.block + iVar2,c,__n);
    s.blkused = __n + s.blkused;
  }
  else {
    MD5Update(&s,c,__n);
  }
  iVar2 = s.blkused;
  s.lenlo = s.lenlo + 8;
  s.lenhi = s.lenhi + (s.lenlo < 8);
  c._0_4_ = iVar3;
  c._4_4_ = uVar4;
  if (s.blkused + 8U < 0x40) {
    *(int *)(s.block + s.blkused) = iVar3;
    *(uint *)(s.block + iVar2 + 4) = uVar4;
  }
  else {
    MD5Update(&s,c,8);
  }
  intermediate[0] = (undefined1)s.core.h[0];
  intermediate[1] = s.core.h[0]._1_1_;
  intermediate[2] = s.core.h[0]._2_1_;
  intermediate[3] = s.core.h[0]._3_1_;
  intermediate[4] = (undefined1)s.core.h[1];
  intermediate[5] = s.core.h[1]._1_1_;
  intermediate[6] = s.core.h[1]._2_1_;
  intermediate[7] = s.core.h[1]._3_1_;
  puVar5 = (uint32 *)((int)handle + 0x5c);
  pMVar6 = &s;
  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {
    (pMVar6->core).h[0] = *puVar5;
    puVar5 = puVar5 + (uint)bVar8 * -2 + 1;
    pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);
  }
  intermediate[8] = (undefined1)s.core.h[2];
  intermediate[9] = s.core.h[2]._1_1_;
  intermediate[10] = s.core.h[2]._2_1_;
  intermediate[0xb] = s.core.h[2]._3_1_;
  intermediate[0xc] = (undefined1)s.core.h[3];
  intermediate[0xd] = s.core.h[3]._1_1_;
  intermediate[0xe] = s.core.h[3]._2_1_;
  intermediate[0xf] = s.core.h[3]._3_1_;
  s.lenlo = s.lenlo + 0x10;
  s.lenhi = s.lenhi + (s.lenlo < 0x10);
  if (s.blkused + 0x10U < 0x40) {
    *(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;
    *(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;
    *(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;
    *(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;
    s.blkused = s.blkused + 0x10;
  }
  else {
    MD5Update(&s,intermediate,0x10);
  }
  MD5Final(hmac,&s);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

void FUN_00067cf0(int param_1,undefined4 param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint __n;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int in_GS_OFFSET;
  bool bVar6;
  byte bVar7;
  undefined4 local_cc [4];
  int aiStack_bc [16];
  int local_7c;
  int local_78;
  uint local_74;
  undefined4 local_70;
  undefined4 local_6c;
  undefined4 local_68;
  undefined4 local_64;
  int local_60;
  uint local_5c;
  int local_20;
  undefined4 uStack_14;
  
  bVar7 = 0;
  uStack_14 = 0x67cfe;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  puVar4 = (undefined4 *)(param_1 + 0xb8);
  puVar5 = local_cc;
  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {
    *puVar5 = *puVar4;
    puVar4 = puVar4 + 1;
    puVar5 = puVar5 + 1;
  }
  if (local_7c < 0x38) {
    __n = 0x38 - local_7c;
  }
  else {
    __n = 0x78 - local_7c;
  }
  uVar3 = local_78 * 8 | local_74 >> 0x1d;
  iVar2 = local_74 * 8;
  __memset_chk(&local_60,0,__n,0x40);
  local_60 = CONCAT31(local_60._1_3_,0x80);
  bVar6 = CARRY4(local_74,__n);
  local_74 = local_74 + __n;
  local_78 = local_78 + (uint)bVar6;
  if (__n + iVar1 < 0x40) {
    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);
    local_7c = __n + local_7c;
  }
  else {
    FUN_00067300();
  }
  iVar1 = local_7c;
  local_74 = local_74 + 8;
  local_78 = local_78 + (uint)(local_74 < 8);
  local_60 = iVar2;
  local_5c = uVar3;
  if (local_7c + 8U < 0x40) {
    *(int *)((int)aiStack_bc + local_7c) = iVar2;
    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;
  }
  else {
    FUN_00067300();
  }
  local_70 = local_cc[0];
  local_6c = local_cc[1];
  puVar4 = (undefined4 *)(param_1 + 0x5c);
  puVar5 = local_cc;
  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {
    *puVar5 = *puVar4;
    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;
    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;
  }
  local_68 = local_cc[2];
  local_64 = local_cc[3];
  local_74 = local_74 + 0x10;
  local_78 = local_78 + (uint)(local_74 < 0x10);
  if (local_7c + 0x10U < 0x40) {
    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;
    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;
    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;
    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;
    local_7c = local_7c + 0x10;
  }
  else {
    FUN_00067300();
  }
  FUN_00067b20(param_2,local_cc);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}


PUSH EBP
MOV ECX,0x17
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0x65072
SUB ESP,0xdc
MOV EAX,dword ptr [ESP + 0xf0]
MOV EDI,dword ptr [ESP + 0xf4]
LEA EBP,[ESP + 0x20]
MOV dword ptr [ESP + 0x14],EAX
LEA ESI,[EAX + 0xb8]
MOV dword ptr [ESP + 0x18],EDI
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0xcc],EDI
XOR EDI,EDI
MOV EDI,EBP
MOVSD.REP ES:EDI,ESI
MOV ECX,dword ptr [ESP + 0x70]
CMP ECX,0x37
JLE 0x00067ec0
MOV ESI,0x78
SUB ESI,ECX
MOV EDI,dword ptr [ESP + 0x78]
MOV EAX,dword ptr [ESP + 0x74]
MOV dword ptr [ESP + 0x1c],ECX
MOV ECX,EDI
LEA EDX,[EAX*0x8 + 0x0]
MOV dword ptr [ESP + 0x8],EAX
SHR ECX,0x1d
OR EDX,ECX
LEA ECX,[EDI*0x8 + 0x0]
MOV dword ptr [ESP + 0x10],ECX
MOV dword ptr [ESP + 0xc],EDX
PUSH 0x40
PUSH ESI
PUSH 0x0
LEA ECX,[ESP + 0x98]
MOV dword ptr [ESP + 0x10],ECX
PUSH ECX
CALL 0x000146e0
MOV byte ptr [ESP + 0x9c],0x80
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x1c]
ADD EDI,ESI
ADC EDX,0x0
LEA EAX,[ESI + ECX*0x1]
MOV dword ptr [ESP + 0x78],EDI
MOV dword ptr [ESP + 0x74],EDX
CMP EAX,0x3f
JBE 0x00067ed0
MOV EDX,dword ptr [ESP + 0x4]
MOV ECX,ESI
MOV EAX,EBP
CALL 0x00067300
MOV ESI,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x90],EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x8c],EAX
MOV EAX,dword ptr [ESP + 0x78]
ADD EAX,0x8
CMP EAX,0x7
MOV dword ptr [ESP + 0x78],EAX
SETBE AL
MOVZX EAX,AL
ADD dword ptr [ESP + 0x74],EAX
LEA EAX,[ESI + 0x8]
CMP EAX,0x3f
JBE 0x00067f38
MOV EDX,dword ptr [ESP + 0x4]
MOV ECX,0x8
MOV EAX,EBP
CALL 0x00067300
MOV EAX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0x24]
MOV ECX,0x17
MOV EDI,EBP
MOV ESI,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x7c],EAX
MOV EAX,dword ptr [ESP + 0x28]
ADD ESI,0x5c
MOV dword ptr [ESP + 0x80],EDX
MOV EDX,dword ptr [ESP + 0x2c]
MOVSD.REP ES:EDI,ESI
MOV dword ptr [ESP + 0x84],EAX
MOV dword ptr [ESP + 0x88],EDX
MOV EAX,dword ptr [ESP + 0x78]
ADD EAX,0x10
CMP EAX,0xf
MOV dword ptr [ESP + 0x78],EAX
SETBE AL
MOVZX EAX,AL
ADD dword ptr [ESP + 0x74],EAX
MOV EAX,dword ptr [ESP + 0x70]
LEA EDX,[EAX + 0x10]
CMP EDX,0x3f
JBE 0x00067f00
LEA EDX,[ESP + 0x7c]
MOV ECX,0x10
MOV EAX,EBP
CALL 0x00067300
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESP + 0x24]
CALL 0x00067b20
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xcc]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00067f53
ADD ESP,0xdc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,0x38
SUB ESI,ECX
JMP 0x00067d52
LEA EAX,[ESP + ECX*0x1 + 0x30]
SUB ESP,0x4
PUSH ESI
PUSH dword ptr [ESP + 0xc]
PUSH EAX
CALL 0x00014130
ADD ESI,dword ptr [ESP + 0x80]
MOV dword ptr [ESP + 0x80],ESI
ADD ESP,0x10
JMP 0x00067dd2
MOV EDX,dword ptr [ESP + 0x7c]
MOV dword ptr [ESP + EAX*0x1 + 0x30],EDX
MOV EDX,dword ptr [ESP + 0x80]
MOV dword ptr [ESP + EAX*0x1 + 0x34],EDX
MOV EDX,dword ptr [ESP + 0x84]
MOV dword ptr [ESP + EAX*0x1 + 0x38],EDX
MOV EDX,dword ptr [ESP + 0x88]
MOV dword ptr [ESP + EAX*0x1 + 0x3c],EDX
ADD dword ptr [ESP + 0x70],0x10
JMP 0x00067e8d
MOV EAX,dword ptr [ESP + 0x8c]
MOV EDX,dword ptr [ESP + 0x90]
MOV dword ptr [ESP + ESI*0x1 + 0x30],EAX
MOV dword ptr [ESP + ESI*0x1 + 0x34],EDX
JMP 0x00067e1c
CALL 0x0008d800
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00067cf0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}\n\n" comment (function_definition "void FUN_00067cf0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" primitive_type (function_declarator "FUN_00067cf0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "undefined4 local_cc [4];" type_identifier (array_declarator "local_cc [4]" identifier [ number_literal ]) ;) (declaration "int aiStack_bc [16];" primitive_type (array_declarator "aiStack_bc [16]" identifier [ number_literal ]) ;) (declaration "int local_7c;" primitive_type identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "uint local_74;" type_identifier identifier ;) (declaration "undefined4 local_70;" type_identifier identifier ;) (declaration "undefined4 local_6c;" type_identifier identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "uint local_5c;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x67cfe;" (assignment_expression "uStack_14 = 0x67cfe" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = (undefined4 *)(param_1 + 0xb8);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + 0xb8)" identifier = (cast_expression "(undefined4 *)(param_1 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) ;) (expression_statement "puVar5 = local_cc;" (assignment_expression "puVar5 = local_cc" identifier = identifier) ;) (for_statement "for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }" for ( (assignment_expression "iVar2 = 0x17" identifier = number_literal) ; (comma_expression "iVar1 = local_7c, iVar2 != 0" (assignment_expression "iVar1 = local_7c" identifier = identifier) , (binary_expression "iVar2 != 0" identifier != number_literal)) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }" { (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (if_statement "if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }" if (parenthesized_expression "(local_7c < 0x38)" ( (binary_expression "local_7c < 0x38" identifier < number_literal) )) (compound_statement "{\n    __n = 0x38 - local_7c;\n  }" { (expression_statement "__n = 0x38 - local_7c;" (assignment_expression "__n = 0x38 - local_7c" identifier = (binary_expression "0x38 - local_7c" number_literal - identifier)) ;) }) (else_clause "else {\n    __n = 0x78 - local_7c;\n  }" else (compound_statement "{\n    __n = 0x78 - local_7c;\n  }" { (expression_statement "__n = 0x78 - local_7c;" (assignment_expression "__n = 0x78 - local_7c" identifier = (binary_expression "0x78 - local_7c" number_literal - identifier)) ;) }))) (expression_statement "uVar3 = local_78 * 8 | local_74 >> 0x1d;" (assignment_expression "uVar3 = local_78 * 8 | local_74 >> 0x1d" identifier = (binary_expression "local_78 * 8 | local_74 >> 0x1d" (binary_expression "local_78 * 8" identifier * number_literal) | (binary_expression "local_74 >> 0x1d" identifier >> number_literal))) ;) (expression_statement "iVar2 = local_74 * 8;" (assignment_expression "iVar2 = local_74 * 8" identifier = (binary_expression "local_74 * 8" identifier * number_literal)) ;) (expression_statement "__memset_chk(&local_60,0,__n,0x40);" (call_expression "__memset_chk(&local_60,0,__n,0x40)" identifier (argument_list "(&local_60,0,__n,0x40)" ( (pointer_expression "&local_60" & identifier) , number_literal , identifier , number_literal ))) ;) (expression_statement "local_60 = CONCAT31(local_60._1_3_,0x80);" (assignment_expression "local_60 = CONCAT31(local_60._1_3_,0x80)" identifier = (call_expression "CONCAT31(local_60._1_3_,0x80)" identifier (argument_list "(local_60._1_3_,0x80)" ( (field_expression "local_60._1_3_" identifier . field_identifier) , number_literal )))) ;) (expression_statement "bVar6 = CARRY4(local_74,__n);" (assignment_expression "bVar6 = CARRY4(local_74,__n)" identifier = (call_expression "CARRY4(local_74,__n)" identifier (argument_list "(local_74,__n)" ( identifier , identifier )))) ;) (expression_statement "local_74 = local_74 + __n;" (assignment_expression "local_74 = local_74 + __n" identifier = (binary_expression "local_74 + __n" identifier + identifier)) ;) (expression_statement "local_78 = local_78 + (uint)bVar6;" (assignment_expression "local_78 = local_78 + (uint)bVar6" identifier = (binary_expression "local_78 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }" if (parenthesized_expression "(__n + iVar1 < 0x40)" ( (binary_expression "__n + iVar1 < 0x40" (binary_expression "__n + iVar1" identifier + identifier) < number_literal) )) (compound_statement "{\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }" { (expression_statement "memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);" (call_expression "memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n)" identifier (argument_list "((void *)((int)aiStack_bc + iVar1),&local_60,__n)" ( (cast_expression "(void *)((int)aiStack_bc + iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1)" ( (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , (pointer_expression "&local_60" & identifier) , identifier ))) ;) (expression_statement "local_7c = __n + local_7c;" (assignment_expression "local_7c = __n + local_7c" identifier = (binary_expression "__n + local_7c" identifier + identifier)) ;) }) (else_clause "else {\n    FUN_00067300();\n  }" else (compound_statement "{\n    FUN_00067300();\n  }" { (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "iVar1 = local_7c;" (assignment_expression "iVar1 = local_7c" identifier = identifier) ;) (expression_statement "local_74 = local_74 + 8;" (assignment_expression "local_74 = local_74 + 8" identifier = (binary_expression "local_74 + 8" identifier + number_literal)) ;) (expression_statement "local_78 = local_78 + (uint)(local_74 < 8);" (assignment_expression "local_78 = local_78 + (uint)(local_74 < 8)" identifier = (binary_expression "local_78 + (uint)(local_74 < 8)" identifier + (call_expression "(uint)(local_74 < 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_74 < 8)" ( (binary_expression "local_74 < 8" identifier < number_literal) ))))) ;) (expression_statement "local_60 = iVar2;" (assignment_expression "local_60 = iVar2" identifier = identifier) ;) (expression_statement "local_5c = uVar3;" (assignment_expression "local_5c = uVar3" identifier = identifier) ;) (if_statement "if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }" if (parenthesized_expression "(local_7c + 8U < 0x40)" ( (binary_expression "local_7c + 8U < 0x40" (binary_expression "local_7c + 8U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }" { (expression_statement "*(int *)((int)aiStack_bc + local_7c) = iVar2;" (assignment_expression "*(int *)((int)aiStack_bc + local_7c) = iVar2" (pointer_expression "*(int *)((int)aiStack_bc + local_7c)" * (cast_expression "(int *)((int)aiStack_bc + local_7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + local_7c)" ( (binary_expression "(int)aiStack_bc + local_7c" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;" (assignment_expression "*(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3" (pointer_expression "*(uint *)((int)aiStack_bc + iVar1 + 4)" * (cast_expression "(uint *)((int)aiStack_bc + iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 4)" ( (binary_expression "(int)aiStack_bc + iVar1 + 4" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    FUN_00067300();\n  }" else (compound_statement "{\n    FUN_00067300();\n  }" { (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "local_70 = local_cc[0];" (assignment_expression "local_70 = local_cc[0]" identifier = (subscript_expression "local_cc[0]" identifier [ number_literal ])) ;) (expression_statement "local_6c = local_cc[1];" (assignment_expression "local_6c = local_cc[1]" identifier = (subscript_expression "local_cc[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = (undefined4 *)(param_1 + 0x5c);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + 0x5c)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) ;) (expression_statement "puVar5 = local_cc;" (assignment_expression "puVar5 = local_cc" identifier = identifier) ;) (for_statement "for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }" for ( (assignment_expression "iVar2 = 0x17" identifier = number_literal) ; (comma_expression "iVar1 = local_7c, iVar2 != 0" (assignment_expression "iVar1 = local_7c" identifier = identifier) , (binary_expression "iVar2 != 0" identifier != number_literal)) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }" { (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar7 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar7 * -2 + 1" (binary_expression "puVar4 + (uint)bVar7 * -2" identifier + (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar7 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar7 * -2 + 1" (binary_expression "puVar5 + (uint)bVar7 * -2" identifier + (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_68 = local_cc[2];" (assignment_expression "local_68 = local_cc[2]" identifier = (subscript_expression "local_cc[2]" identifier [ number_literal ])) ;) (expression_statement "local_64 = local_cc[3];" (assignment_expression "local_64 = local_cc[3]" identifier = (subscript_expression "local_cc[3]" identifier [ number_literal ])) ;) (expression_statement "local_74 = local_74 + 0x10;" (assignment_expression "local_74 = local_74 + 0x10" identifier = (binary_expression "local_74 + 0x10" identifier + number_literal)) ;) (expression_statement "local_78 = local_78 + (uint)(local_74 < 0x10);" (assignment_expression "local_78 = local_78 + (uint)(local_74 < 0x10)" identifier = (binary_expression "local_78 + (uint)(local_74 < 0x10)" identifier + (call_expression "(uint)(local_74 < 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_74 < 0x10)" ( (binary_expression "local_74 < 0x10" identifier < number_literal) ))))) ;) (if_statement "if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }" if (parenthesized_expression "(local_7c + 0x10U < 0x40)" ( (binary_expression "local_7c + 0x10U < 0x40" (binary_expression "local_7c + 0x10U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }" { (expression_statement "*(undefined4 *)((int)aiStack_bc + local_7c) = local_70;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + local_7c) = local_70" (pointer_expression "*(undefined4 *)((int)aiStack_bc + local_7c)" * (cast_expression "(undefined4 *)((int)aiStack_bc + local_7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + local_7c)" ( (binary_expression "(int)aiStack_bc + local_7c" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 4)" * (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 4)" ( (binary_expression "(int)aiStack_bc + iVar1 + 4" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 8)" * (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 8)" ( (binary_expression "(int)aiStack_bc + iVar1 + 8" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc)" * (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 0xc)" ( (binary_expression "(int)aiStack_bc + iVar1 + 0xc" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "local_7c = local_7c + 0x10;" (assignment_expression "local_7c = local_7c + 0x10" identifier = (binary_expression "local_7c + 0x10" identifier + number_literal)) ;) }) (else_clause "else {\n    FUN_00067300();\n  }" else (compound_statement "{\n    FUN_00067300();\n  }" { (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_00067b20(param_2,local_cc);" (call_expression "FUN_00067b20(param_2,local_cc)" identifier (argument_list "(param_2,local_cc)" ( identifier , identifier ))) ;) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid hmacmd5_genresult(void *handle,uchar *hmac)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  uint32 *puVar5;\n  MD5Context *pMVar6;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte bVar8;\n  MD5Context s;\n  uchar intermediate [16];\n  uchar c [64];\n  \n  bVar8 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar5 = (uint32 *)((int)handle + 0xb8);\n  pMVar6 = &s;\n  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + 1;\n    pMVar6 = (MD5Context *)((pMVar6->core).h + 1);\n  }\n  if (s.blkused < 0x38) {\n    __n = 0x38 - s.blkused;\n  }\n  else {\n    __n = 0x78 - s.blkused;\n  }\n  uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d;\n  iVar3 = s.lenlo * 8;\n  __memset_chk(c,0,__n,0x40);\n  c[0] = 0x80;\n  bVar7 = CARRY4(s.lenlo,__n);\n  s.lenlo = s.lenlo + __n;\n  s.lenhi = s.lenhi + bVar7;\n  if (__n + iVar2 < 0x40) {\n    memcpy(s.block + iVar2,c,__n);\n    s.blkused = __n + s.blkused;\n  }\n  else {\n    MD5Update(&s,c,__n);\n  }\n  iVar2 = s.blkused;\n  s.lenlo = s.lenlo + 8;\n  s.lenhi = s.lenhi + (s.lenlo < 8);\n  c._0_4_ = iVar3;\n  c._4_4_ = uVar4;\n  if (s.blkused + 8U < 0x40) {\n    *(int *)(s.block + s.blkused) = iVar3;\n    *(uint *)(s.block + iVar2 + 4) = uVar4;\n  }\n  else {\n    MD5Update(&s,c,8);\n  }\n  intermediate[0] = (undefined1)s.core.h[0];\n  intermediate[1] = s.core.h[0]._1_1_;\n  intermediate[2] = s.core.h[0]._2_1_;\n  intermediate[3] = s.core.h[0]._3_1_;\n  intermediate[4] = (undefined1)s.core.h[1];\n  intermediate[5] = s.core.h[1]._1_1_;\n  intermediate[6] = s.core.h[1]._2_1_;\n  intermediate[7] = s.core.h[1]._3_1_;\n  puVar5 = (uint32 *)((int)handle + 0x5c);\n  pMVar6 = &s;\n  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + (uint)bVar8 * -2 + 1;\n    pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);\n  }\n  intermediate[8] = (undefined1)s.core.h[2];\n  intermediate[9] = s.core.h[2]._1_1_;\n  intermediate[10] = s.core.h[2]._2_1_;\n  intermediate[0xb] = s.core.h[2]._3_1_;\n  intermediate[0xc] = (undefined1)s.core.h[3];\n  intermediate[0xd] = s.core.h[3]._1_1_;\n  intermediate[0xe] = s.core.h[3]._2_1_;\n  intermediate[0xf] = s.core.h[3]._3_1_;\n  s.lenlo = s.lenlo + 0x10;\n  s.lenhi = s.lenhi + (s.lenlo < 0x10);\n  if (s.blkused + 0x10U < 0x40) {\n    *(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;\n    *(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;\n    *(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;\n    *(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;\n    s.blkused = s.blkused + 0x10;\n  }\n  else {\n    MD5Update(&s,intermediate,0x10);\n  }\n  MD5Final(hmac,&s);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void hmacmd5_genresult(void *handle,uchar *hmac)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  uint32 *puVar5;\n  MD5Context *pMVar6;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte bVar8;\n  MD5Context s;\n  uchar intermediate [16];\n  uchar c [64];\n  \n  bVar8 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar5 = (uint32 *)((int)handle + 0xb8);\n  pMVar6 = &s;\n  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + 1;\n    pMVar6 = (MD5Context *)((pMVar6->core).h + 1);\n  }\n  if (s.blkused < 0x38) {\n    __n = 0x38 - s.blkused;\n  }\n  else {\n    __n = 0x78 - s.blkused;\n  }\n  uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d;\n  iVar3 = s.lenlo * 8;\n  __memset_chk(c,0,__n,0x40);\n  c[0] = 0x80;\n  bVar7 = CARRY4(s.lenlo,__n);\n  s.lenlo = s.lenlo + __n;\n  s.lenhi = s.lenhi + bVar7;\n  if (__n + iVar2 < 0x40) {\n    memcpy(s.block + iVar2,c,__n);\n    s.blkused = __n + s.blkused;\n  }\n  else {\n    MD5Update(&s,c,__n);\n  }\n  iVar2 = s.blkused;\n  s.lenlo = s.lenlo + 8;\n  s.lenhi = s.lenhi + (s.lenlo < 8);\n  c._0_4_ = iVar3;\n  c._4_4_ = uVar4;\n  if (s.blkused + 8U < 0x40) {\n    *(int *)(s.block + s.blkused) = iVar3;\n    *(uint *)(s.block + iVar2 + 4) = uVar4;\n  }\n  else {\n    MD5Update(&s,c,8);\n  }\n  intermediate[0] = (undefined1)s.core.h[0];\n  intermediate[1] = s.core.h[0]._1_1_;\n  intermediate[2] = s.core.h[0]._2_1_;\n  intermediate[3] = s.core.h[0]._3_1_;\n  intermediate[4] = (undefined1)s.core.h[1];\n  intermediate[5] = s.core.h[1]._1_1_;\n  intermediate[6] = s.core.h[1]._2_1_;\n  intermediate[7] = s.core.h[1]._3_1_;\n  puVar5 = (uint32 *)((int)handle + 0x5c);\n  pMVar6 = &s;\n  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + (uint)bVar8 * -2 + 1;\n    pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);\n  }\n  intermediate[8] = (undefined1)s.core.h[2];\n  intermediate[9] = s.core.h[2]._1_1_;\n  intermediate[10] = s.core.h[2]._2_1_;\n  intermediate[0xb] = s.core.h[2]._3_1_;\n  intermediate[0xc] = (undefined1)s.core.h[3];\n  intermediate[0xd] = s.core.h[3]._1_1_;\n  intermediate[0xe] = s.core.h[3]._2_1_;\n  intermediate[0xf] = s.core.h[3]._3_1_;\n  s.lenlo = s.lenlo + 0x10;\n  s.lenhi = s.lenhi + (s.lenlo < 0x10);\n  if (s.blkused + 0x10U < 0x40) {\n    *(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;\n    *(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;\n    *(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;\n    *(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;\n    s.blkused = s.blkused + 0x10;\n  }\n  else {\n    MD5Update(&s,intermediate,0x10);\n  }\n  MD5Final(hmac,&s);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "hmacmd5_genresult(void *handle,uchar *hmac)" identifier (parameter_list "(void *handle,uchar *hmac)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "uchar *hmac" type_identifier (pointer_declarator "*hmac" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  uint32 *puVar5;\n  MD5Context *pMVar6;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte bVar8;\n  MD5Context s;\n  uchar intermediate [16];\n  uchar c [64];\n  \n  bVar8 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar5 = (uint32 *)((int)handle + 0xb8);\n  pMVar6 = &s;\n  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + 1;\n    pMVar6 = (MD5Context *)((pMVar6->core).h + 1);\n  }\n  if (s.blkused < 0x38) {\n    __n = 0x38 - s.blkused;\n  }\n  else {\n    __n = 0x78 - s.blkused;\n  }\n  uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d;\n  iVar3 = s.lenlo * 8;\n  __memset_chk(c,0,__n,0x40);\n  c[0] = 0x80;\n  bVar7 = CARRY4(s.lenlo,__n);\n  s.lenlo = s.lenlo + __n;\n  s.lenhi = s.lenhi + bVar7;\n  if (__n + iVar2 < 0x40) {\n    memcpy(s.block + iVar2,c,__n);\n    s.blkused = __n + s.blkused;\n  }\n  else {\n    MD5Update(&s,c,__n);\n  }\n  iVar2 = s.blkused;\n  s.lenlo = s.lenlo + 8;\n  s.lenhi = s.lenhi + (s.lenlo < 8);\n  c._0_4_ = iVar3;\n  c._4_4_ = uVar4;\n  if (s.blkused + 8U < 0x40) {\n    *(int *)(s.block + s.blkused) = iVar3;\n    *(uint *)(s.block + iVar2 + 4) = uVar4;\n  }\n  else {\n    MD5Update(&s,c,8);\n  }\n  intermediate[0] = (undefined1)s.core.h[0];\n  intermediate[1] = s.core.h[0]._1_1_;\n  intermediate[2] = s.core.h[0]._2_1_;\n  intermediate[3] = s.core.h[0]._3_1_;\n  intermediate[4] = (undefined1)s.core.h[1];\n  intermediate[5] = s.core.h[1]._1_1_;\n  intermediate[6] = s.core.h[1]._2_1_;\n  intermediate[7] = s.core.h[1]._3_1_;\n  puVar5 = (uint32 *)((int)handle + 0x5c);\n  pMVar6 = &s;\n  for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + (uint)bVar8 * -2 + 1;\n    pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);\n  }\n  intermediate[8] = (undefined1)s.core.h[2];\n  intermediate[9] = s.core.h[2]._1_1_;\n  intermediate[10] = s.core.h[2]._2_1_;\n  intermediate[0xb] = s.core.h[2]._3_1_;\n  intermediate[0xc] = (undefined1)s.core.h[3];\n  intermediate[0xd] = s.core.h[3]._1_1_;\n  intermediate[0xe] = s.core.h[3]._2_1_;\n  intermediate[0xf] = s.core.h[3]._3_1_;\n  s.lenlo = s.lenlo + 0x10;\n  s.lenhi = s.lenhi + (s.lenlo < 0x10);\n  if (s.blkused + 0x10U < 0x40) {\n    *(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;\n    *(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;\n    *(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;\n    *(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;\n    s.blkused = s.blkused + 0x10;\n  }\n  else {\n    MD5Update(&s,intermediate,0x10);\n  }\n  MD5Final(hmac,&s);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "uint32 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "MD5Context *pMVar6;" type_identifier (pointer_declarator "*pMVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "MD5Context s;" type_identifier identifier ;) (declaration "uchar intermediate [16];" type_identifier (array_declarator "intermediate [16]" identifier [ number_literal ]) ;) (declaration "uchar c [64];" type_identifier (array_declarator "c [64]" identifier [ number_literal ]) ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (uint32 *)((int)handle + 0xb8);" (assignment_expression "puVar5 = (uint32 *)((int)handle + 0xb8)" identifier = (cast_expression "(uint32 *)((int)handle + 0xb8)" ( (type_descriptor "uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0xb8)" ( (binary_expression "(int)handle + 0xb8" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "pMVar6 = &s;" (assignment_expression "pMVar6 = &s" identifier = (pointer_expression "&s" & identifier)) ;) (for_statement "for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + 1;\n    pMVar6 = (MD5Context *)((pMVar6->core).h + 1);\n  }" for ( (assignment_expression "iVar3 = 0x17" identifier = number_literal) ; (comma_expression "iVar2 = s.blkused, iVar3 != 0" (assignment_expression "iVar2 = s.blkused" identifier = (field_expression "s.blkused" identifier . field_identifier)) , (binary_expression "iVar3 != 0" identifier != number_literal)) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + 1;\n    pMVar6 = (MD5Context *)((pMVar6->core).h + 1);\n  }" { (expression_statement "(pMVar6->core).h[0] = *puVar5;" (assignment_expression "(pMVar6->core).h[0] = *puVar5" (subscript_expression "(pMVar6->core).h[0]" (field_expression "(pMVar6->core).h" (parenthesized_expression "(pMVar6->core)" ( (field_expression "pMVar6->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "pMVar6 = (MD5Context *)((pMVar6->core).h + 1);" (assignment_expression "pMVar6 = (MD5Context *)((pMVar6->core).h + 1)" identifier = (cast_expression "(MD5Context *)((pMVar6->core).h + 1)" ( (type_descriptor "MD5Context *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((pMVar6->core).h + 1)" ( (binary_expression "(pMVar6->core).h + 1" (field_expression "(pMVar6->core).h" (parenthesized_expression "(pMVar6->core)" ( (field_expression "pMVar6->core" identifier -> field_identifier) )) . field_identifier) + number_literal) )))) ;) })) (if_statement "if (s.blkused < 0x38) {\n    __n = 0x38 - s.blkused;\n  }\n  else {\n    __n = 0x78 - s.blkused;\n  }" if (parenthesized_expression "(s.blkused < 0x38)" ( (binary_expression "s.blkused < 0x38" (field_expression "s.blkused" identifier . field_identifier) < number_literal) )) (compound_statement "{\n    __n = 0x38 - s.blkused;\n  }" { (expression_statement "__n = 0x38 - s.blkused;" (assignment_expression "__n = 0x38 - s.blkused" identifier = (binary_expression "0x38 - s.blkused" number_literal - (field_expression "s.blkused" identifier . field_identifier))) ;) }) (else_clause "else {\n    __n = 0x78 - s.blkused;\n  }" else (compound_statement "{\n    __n = 0x78 - s.blkused;\n  }" { (expression_statement "__n = 0x78 - s.blkused;" (assignment_expression "__n = 0x78 - s.blkused" identifier = (binary_expression "0x78 - s.blkused" number_literal - (field_expression "s.blkused" identifier . field_identifier))) ;) }))) (expression_statement "uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d;" (assignment_expression "uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d" identifier = (binary_expression "s.lenhi * 8 | s.lenlo >> 0x1d" (binary_expression "s.lenhi * 8" (field_expression "s.lenhi" identifier . field_identifier) * number_literal) | (binary_expression "s.lenlo >> 0x1d" (field_expression "s.lenlo" identifier . field_identifier) >> number_literal))) ;) (expression_statement "iVar3 = s.lenlo * 8;" (assignment_expression "iVar3 = s.lenlo * 8" identifier = (binary_expression "s.lenlo * 8" (field_expression "s.lenlo" identifier . field_identifier) * number_literal)) ;) (expression_statement "__memset_chk(c,0,__n,0x40);" (call_expression "__memset_chk(c,0,__n,0x40)" identifier (argument_list "(c,0,__n,0x40)" ( identifier , number_literal , identifier , number_literal ))) ;) (expression_statement "c[0] = 0x80;" (assignment_expression "c[0] = 0x80" (subscript_expression "c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "bVar7 = CARRY4(s.lenlo,__n);" (assignment_expression "bVar7 = CARRY4(s.lenlo,__n)" identifier = (call_expression "CARRY4(s.lenlo,__n)" identifier (argument_list "(s.lenlo,__n)" ( (field_expression "s.lenlo" identifier . field_identifier) , identifier )))) ;) (expression_statement "s.lenlo = s.lenlo + __n;" (assignment_expression "s.lenlo = s.lenlo + __n" (field_expression "s.lenlo" identifier . field_identifier) = (binary_expression "s.lenlo + __n" (field_expression "s.lenlo" identifier . field_identifier) + identifier)) ;) (expression_statement "s.lenhi = s.lenhi + bVar7;" (assignment_expression "s.lenhi = s.lenhi + bVar7" (field_expression "s.lenhi" identifier . field_identifier) = (binary_expression "s.lenhi + bVar7" (field_expression "s.lenhi" identifier . field_identifier) + identifier)) ;) (if_statement "if (__n + iVar2 < 0x40) {\n    memcpy(s.block + iVar2,c,__n);\n    s.blkused = __n + s.blkused;\n  }\n  else {\n    MD5Update(&s,c,__n);\n  }" if (parenthesized_expression "(__n + iVar2 < 0x40)" ( (binary_expression "__n + iVar2 < 0x40" (binary_expression "__n + iVar2" identifier + identifier) < number_literal) )) (compound_statement "{\n    memcpy(s.block + iVar2,c,__n);\n    s.blkused = __n + s.blkused;\n  }" { (expression_statement "memcpy(s.block + iVar2,c,__n);" (call_expression "memcpy(s.block + iVar2,c,__n)" identifier (argument_list "(s.block + iVar2,c,__n)" ( (binary_expression "s.block + iVar2" (field_expression "s.block" identifier . field_identifier) + identifier) , identifier , identifier ))) ;) (expression_statement "s.blkused = __n + s.blkused;" (assignment_expression "s.blkused = __n + s.blkused" (field_expression "s.blkused" identifier . field_identifier) = (binary_expression "__n + s.blkused" identifier + (field_expression "s.blkused" identifier . field_identifier))) ;) }) (else_clause "else {\n    MD5Update(&s,c,__n);\n  }" else (compound_statement "{\n    MD5Update(&s,c,__n);\n  }" { (expression_statement "MD5Update(&s,c,__n);" (call_expression "MD5Update(&s,c,__n)" identifier (argument_list "(&s,c,__n)" ( (pointer_expression "&s" & identifier) , identifier , identifier ))) ;) }))) (expression_statement "iVar2 = s.blkused;" (assignment_expression "iVar2 = s.blkused" identifier = (field_expression "s.blkused" identifier . field_identifier)) ;) (expression_statement "s.lenlo = s.lenlo + 8;" (assignment_expression "s.lenlo = s.lenlo + 8" (field_expression "s.lenlo" identifier . field_identifier) = (binary_expression "s.lenlo + 8" (field_expression "s.lenlo" identifier . field_identifier) + number_literal)) ;) (expression_statement "s.lenhi = s.lenhi + (s.lenlo < 8);" (assignment_expression "s.lenhi = s.lenhi + (s.lenlo < 8)" (field_expression "s.lenhi" identifier . field_identifier) = (binary_expression "s.lenhi + (s.lenlo < 8)" (field_expression "s.lenhi" identifier . field_identifier) + (parenthesized_expression "(s.lenlo < 8)" ( (binary_expression "s.lenlo < 8" (field_expression "s.lenlo" identifier . field_identifier) < number_literal) )))) ;) (expression_statement "c._0_4_ = iVar3;" (assignment_expression "c._0_4_ = iVar3" (field_expression "c._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "c._4_4_ = uVar4;" (assignment_expression "c._4_4_ = uVar4" (field_expression "c._4_4_" identifier . field_identifier) = identifier) ;) (if_statement "if (s.blkused + 8U < 0x40) {\n    *(int *)(s.block + s.blkused) = iVar3;\n    *(uint *)(s.block + iVar2 + 4) = uVar4;\n  }\n  else {\n    MD5Update(&s,c,8);\n  }" if (parenthesized_expression "(s.blkused + 8U < 0x40)" ( (binary_expression "s.blkused + 8U < 0x40" (binary_expression "s.blkused + 8U" (field_expression "s.blkused" identifier . field_identifier) + number_literal) < number_literal) )) (compound_statement "{\n    *(int *)(s.block + s.blkused) = iVar3;\n    *(uint *)(s.block + iVar2 + 4) = uVar4;\n  }" { (expression_statement "*(int *)(s.block + s.blkused) = iVar3;" (assignment_expression "*(int *)(s.block + s.blkused) = iVar3" (pointer_expression "*(int *)(s.block + s.blkused)" * (cast_expression "(int *)(s.block + s.blkused)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s.block + s.blkused)" ( (binary_expression "s.block + s.blkused" (field_expression "s.block" identifier . field_identifier) + (field_expression "s.blkused" identifier . field_identifier)) )))) = identifier) ;) (expression_statement "*(uint *)(s.block + iVar2 + 4) = uVar4;" (assignment_expression "*(uint *)(s.block + iVar2 + 4) = uVar4" (pointer_expression "*(uint *)(s.block + iVar2 + 4)" * (cast_expression "(uint *)(s.block + iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s.block + iVar2 + 4)" ( (binary_expression "s.block + iVar2 + 4" (binary_expression "s.block + iVar2" (field_expression "s.block" identifier . field_identifier) + identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    MD5Update(&s,c,8);\n  }" else (compound_statement "{\n    MD5Update(&s,c,8);\n  }" { (expression_statement "MD5Update(&s,c,8);" (call_expression "MD5Update(&s,c,8)" identifier (argument_list "(&s,c,8)" ( (pointer_expression "&s" & identifier) , identifier , number_literal ))) ;) }))) (expression_statement "intermediate[0] = (undefined1)s.core.h[0];" (assignment_expression "intermediate[0] = (undefined1)s.core.h[0]" (subscript_expression "intermediate[0]" identifier [ number_literal ]) = (cast_expression "(undefined1)s.core.h[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "s.core.h[0]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]))) ;) (expression_statement "intermediate[1] = s.core.h[0]._1_1_;" (assignment_expression "intermediate[1] = s.core.h[0]._1_1_" (subscript_expression "intermediate[1]" identifier [ number_literal ]) = (field_expression "s.core.h[0]._1_1_" (subscript_expression "s.core.h[0]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[2] = s.core.h[0]._2_1_;" (assignment_expression "intermediate[2] = s.core.h[0]._2_1_" (subscript_expression "intermediate[2]" identifier [ number_literal ]) = (field_expression "s.core.h[0]._2_1_" (subscript_expression "s.core.h[0]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[3] = s.core.h[0]._3_1_;" (assignment_expression "intermediate[3] = s.core.h[0]._3_1_" (subscript_expression "intermediate[3]" identifier [ number_literal ]) = (field_expression "s.core.h[0]._3_1_" (subscript_expression "s.core.h[0]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[4] = (undefined1)s.core.h[1];" (assignment_expression "intermediate[4] = (undefined1)s.core.h[1]" (subscript_expression "intermediate[4]" identifier [ number_literal ]) = (cast_expression "(undefined1)s.core.h[1]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "s.core.h[1]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]))) ;) (expression_statement "intermediate[5] = s.core.h[1]._1_1_;" (assignment_expression "intermediate[5] = s.core.h[1]._1_1_" (subscript_expression "intermediate[5]" identifier [ number_literal ]) = (field_expression "s.core.h[1]._1_1_" (subscript_expression "s.core.h[1]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[6] = s.core.h[1]._2_1_;" (assignment_expression "intermediate[6] = s.core.h[1]._2_1_" (subscript_expression "intermediate[6]" identifier [ number_literal ]) = (field_expression "s.core.h[1]._2_1_" (subscript_expression "s.core.h[1]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[7] = s.core.h[1]._3_1_;" (assignment_expression "intermediate[7] = s.core.h[1]._3_1_" (subscript_expression "intermediate[7]" identifier [ number_literal ]) = (field_expression "s.core.h[1]._3_1_" (subscript_expression "s.core.h[1]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "puVar5 = (uint32 *)((int)handle + 0x5c);" (assignment_expression "puVar5 = (uint32 *)((int)handle + 0x5c)" identifier = (cast_expression "(uint32 *)((int)handle + 0x5c)" ( (type_descriptor "uint32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x5c)" ( (binary_expression "(int)handle + 0x5c" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "pMVar6 = &s;" (assignment_expression "pMVar6 = &s" identifier = (pointer_expression "&s" & identifier)) ;) (for_statement "for (iVar3 = 0x17; iVar2 = s.blkused, iVar3 != 0; iVar3 = iVar3 + -1) {\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + (uint)bVar8 * -2 + 1;\n    pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);\n  }" for ( (assignment_expression "iVar3 = 0x17" identifier = number_literal) ; (comma_expression "iVar2 = s.blkused, iVar3 != 0" (assignment_expression "iVar2 = s.blkused" identifier = (field_expression "s.blkused" identifier . field_identifier)) , (binary_expression "iVar3 != 0" identifier != number_literal)) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    (pMVar6->core).h[0] = *puVar5;\n    puVar5 = puVar5 + (uint)bVar8 * -2 + 1;\n    pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);\n  }" { (expression_statement "(pMVar6->core).h[0] = *puVar5;" (assignment_expression "(pMVar6->core).h[0] = *puVar5" (subscript_expression "(pMVar6->core).h[0]" (field_expression "(pMVar6->core).h" (parenthesized_expression "(pMVar6->core)" ( (field_expression "pMVar6->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar8 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "puVar5 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4);" (assignment_expression "pMVar6 = (MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4)" identifier = (cast_expression "(MD5Context *)((int)pMVar6 + (uint)bVar8 * -8 + 4)" ( (type_descriptor "MD5Context *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pMVar6 + (uint)bVar8 * -8 + 4)" ( (binary_expression "(int)pMVar6 + (uint)bVar8 * -8 + 4" (binary_expression "(int)pMVar6 + (uint)bVar8 * -8" (cast_expression "(int)pMVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -8" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (expression_statement "intermediate[8] = (undefined1)s.core.h[2];" (assignment_expression "intermediate[8] = (undefined1)s.core.h[2]" (subscript_expression "intermediate[8]" identifier [ number_literal ]) = (cast_expression "(undefined1)s.core.h[2]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "s.core.h[2]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]))) ;) (expression_statement "intermediate[9] = s.core.h[2]._1_1_;" (assignment_expression "intermediate[9] = s.core.h[2]._1_1_" (subscript_expression "intermediate[9]" identifier [ number_literal ]) = (field_expression "s.core.h[2]._1_1_" (subscript_expression "s.core.h[2]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[10] = s.core.h[2]._2_1_;" (assignment_expression "intermediate[10] = s.core.h[2]._2_1_" (subscript_expression "intermediate[10]" identifier [ number_literal ]) = (field_expression "s.core.h[2]._2_1_" (subscript_expression "s.core.h[2]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[0xb] = s.core.h[2]._3_1_;" (assignment_expression "intermediate[0xb] = s.core.h[2]._3_1_" (subscript_expression "intermediate[0xb]" identifier [ number_literal ]) = (field_expression "s.core.h[2]._3_1_" (subscript_expression "s.core.h[2]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[0xc] = (undefined1)s.core.h[3];" (assignment_expression "intermediate[0xc] = (undefined1)s.core.h[3]" (subscript_expression "intermediate[0xc]" identifier [ number_literal ]) = (cast_expression "(undefined1)s.core.h[3]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "s.core.h[3]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]))) ;) (expression_statement "intermediate[0xd] = s.core.h[3]._1_1_;" (assignment_expression "intermediate[0xd] = s.core.h[3]._1_1_" (subscript_expression "intermediate[0xd]" identifier [ number_literal ]) = (field_expression "s.core.h[3]._1_1_" (subscript_expression "s.core.h[3]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[0xe] = s.core.h[3]._2_1_;" (assignment_expression "intermediate[0xe] = s.core.h[3]._2_1_" (subscript_expression "intermediate[0xe]" identifier [ number_literal ]) = (field_expression "s.core.h[3]._2_1_" (subscript_expression "s.core.h[3]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "intermediate[0xf] = s.core.h[3]._3_1_;" (assignment_expression "intermediate[0xf] = s.core.h[3]._3_1_" (subscript_expression "intermediate[0xf]" identifier [ number_literal ]) = (field_expression "s.core.h[3]._3_1_" (subscript_expression "s.core.h[3]" (field_expression "s.core.h" (field_expression "s.core" identifier . field_identifier) . field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "s.lenlo = s.lenlo + 0x10;" (assignment_expression "s.lenlo = s.lenlo + 0x10" (field_expression "s.lenlo" identifier . field_identifier) = (binary_expression "s.lenlo + 0x10" (field_expression "s.lenlo" identifier . field_identifier) + number_literal)) ;) (expression_statement "s.lenhi = s.lenhi + (s.lenlo < 0x10);" (assignment_expression "s.lenhi = s.lenhi + (s.lenlo < 0x10)" (field_expression "s.lenhi" identifier . field_identifier) = (binary_expression "s.lenhi + (s.lenlo < 0x10)" (field_expression "s.lenhi" identifier . field_identifier) + (parenthesized_expression "(s.lenlo < 0x10)" ( (binary_expression "s.lenlo < 0x10" (field_expression "s.lenlo" identifier . field_identifier) < number_literal) )))) ;) (if_statement "if (s.blkused + 0x10U < 0x40) {\n    *(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;\n    *(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;\n    *(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;\n    *(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;\n    s.blkused = s.blkused + 0x10;\n  }\n  else {\n    MD5Update(&s,intermediate,0x10);\n  }" if (parenthesized_expression "(s.blkused + 0x10U < 0x40)" ( (binary_expression "s.blkused + 0x10U < 0x40" (binary_expression "s.blkused + 0x10U" (field_expression "s.blkused" identifier . field_identifier) + number_literal) < number_literal) )) (compound_statement "{\n    *(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;\n    *(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;\n    *(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;\n    *(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;\n    s.blkused = s.blkused + 0x10;\n  }" { (expression_statement "*(undefined4 *)(s.block + s.blkused) = intermediate._0_4_;" (assignment_expression "*(undefined4 *)(s.block + s.blkused) = intermediate._0_4_" (pointer_expression "*(undefined4 *)(s.block + s.blkused)" * (cast_expression "(undefined4 *)(s.block + s.blkused)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s.block + s.blkused)" ( (binary_expression "s.block + s.blkused" (field_expression "s.block" identifier . field_identifier) + (field_expression "s.blkused" identifier . field_identifier)) )))) = (field_expression "intermediate._0_4_" identifier . field_identifier)) ;) (expression_statement "*(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_;" (assignment_expression "*(undefined4 *)(s.block + iVar2 + 4) = intermediate._4_4_" (pointer_expression "*(undefined4 *)(s.block + iVar2 + 4)" * (cast_expression "(undefined4 *)(s.block + iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s.block + iVar2 + 4)" ( (binary_expression "s.block + iVar2 + 4" (binary_expression "s.block + iVar2" (field_expression "s.block" identifier . field_identifier) + identifier) + number_literal) )))) = (field_expression "intermediate._4_4_" identifier . field_identifier)) ;) (expression_statement "*(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_;" (assignment_expression "*(undefined4 *)(s.block + iVar2 + 8) = intermediate._8_4_" (pointer_expression "*(undefined4 *)(s.block + iVar2 + 8)" * (cast_expression "(undefined4 *)(s.block + iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s.block + iVar2 + 8)" ( (binary_expression "s.block + iVar2 + 8" (binary_expression "s.block + iVar2" (field_expression "s.block" identifier . field_identifier) + identifier) + number_literal) )))) = (field_expression "intermediate._8_4_" identifier . field_identifier)) ;) (expression_statement "*(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_;" (assignment_expression "*(undefined4 *)(s.block + iVar2 + 0xc) = intermediate._12_4_" (pointer_expression "*(undefined4 *)(s.block + iVar2 + 0xc)" * (cast_expression "(undefined4 *)(s.block + iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s.block + iVar2 + 0xc)" ( (binary_expression "s.block + iVar2 + 0xc" (binary_expression "s.block + iVar2" (field_expression "s.block" identifier . field_identifier) + identifier) + number_literal) )))) = (field_expression "intermediate._12_4_" identifier . field_identifier)) ;) (expression_statement "s.blkused = s.blkused + 0x10;" (assignment_expression "s.blkused = s.blkused + 0x10" (field_expression "s.blkused" identifier . field_identifier) = (binary_expression "s.blkused + 0x10" (field_expression "s.blkused" identifier . field_identifier) + number_literal)) ;) }) (else_clause "else {\n    MD5Update(&s,intermediate,0x10);\n  }" else (compound_statement "{\n    MD5Update(&s,intermediate,0x10);\n  }" { (expression_statement "MD5Update(&s,intermediate,0x10);" (call_expression "MD5Update(&s,intermediate,0x10)" identifier (argument_list "(&s,intermediate,0x10)" ( (pointer_expression "&s" & identifier) , identifier , number_literal ))) ;) }))) (expression_statement "MD5Final(hmac,&s);" (call_expression "MD5Final(hmac,&s)" identifier (argument_list "(hmac,&s)" ( identifier , (pointer_expression "&s" & identifier) ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00067cf0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}\n\n" (function_definition "void FUN_00067cf0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" primitive_type (function_declarator "FUN_00067cf0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "undefined4 local_cc [4];" type_identifier (array_declarator "local_cc [4]" identifier [ number_literal ]) ;) (declaration "int aiStack_bc [16];" primitive_type (array_declarator "aiStack_bc [16]" identifier [ number_literal ]) ;) (declaration "int local_7c;" primitive_type identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "uint local_74;" type_identifier identifier ;) (declaration "undefined4 local_70;" type_identifier identifier ;) (declaration "undefined4 local_6c;" type_identifier identifier ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "uint local_5c;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x67cfe;" (assignment_expression "uStack_14 = 0x67cfe" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = (undefined4 *)(param_1 + 0xb8);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + 0xb8)" identifier = (cast_expression "(undefined4 *)(param_1 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) ;) (expression_statement "puVar5 = local_cc;" (assignment_expression "puVar5 = local_cc" identifier = identifier) ;) (for_statement "for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }" for ( (assignment_expression "iVar2 = 0x17" identifier = number_literal) ; (comma_expression "iVar1 = local_7c, iVar2 != 0" (assignment_expression "iVar1 = local_7c" identifier = identifier) , (binary_expression "iVar2 != 0" identifier != number_literal)) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }" { (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (if_statement "if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }" if (parenthesized_expression "(local_7c < 0x38)" ( (binary_expression "local_7c < 0x38" identifier < number_literal) )) (compound_statement "{\n    __n = 0x38 - local_7c;\n  }" { (expression_statement "__n = 0x38 - local_7c;" (assignment_expression "__n = 0x38 - local_7c" identifier = (binary_expression "0x38 - local_7c" number_literal - identifier)) ;) }) (else_clause "else {\n    __n = 0x78 - local_7c;\n  }" else (compound_statement "{\n    __n = 0x78 - local_7c;\n  }" { (expression_statement "__n = 0x78 - local_7c;" (assignment_expression "__n = 0x78 - local_7c" identifier = (binary_expression "0x78 - local_7c" number_literal - identifier)) ;) }))) (expression_statement "uVar3 = local_78 * 8 | local_74 >> 0x1d;" (assignment_expression "uVar3 = local_78 * 8 | local_74 >> 0x1d" identifier = (binary_expression "local_78 * 8 | local_74 >> 0x1d" (binary_expression "local_78 * 8" identifier * number_literal) | (binary_expression "local_74 >> 0x1d" identifier >> number_literal))) ;) (expression_statement "iVar2 = local_74 * 8;" (assignment_expression "iVar2 = local_74 * 8" identifier = (binary_expression "local_74 * 8" identifier * number_literal)) ;) (expression_statement "__memset_chk(&local_60,0,__n,0x40);" (call_expression "__memset_chk(&local_60,0,__n,0x40)" identifier (argument_list "(&local_60,0,__n,0x40)" ( (pointer_expression "&local_60" & identifier) , number_literal , identifier , number_literal ))) ;) (expression_statement "local_60 = CONCAT31(local_60._1_3_,0x80);" (assignment_expression "local_60 = CONCAT31(local_60._1_3_,0x80)" identifier = (call_expression "CONCAT31(local_60._1_3_,0x80)" identifier (argument_list "(local_60._1_3_,0x80)" ( (field_expression "local_60._1_3_" identifier . field_identifier) , number_literal )))) ;) (expression_statement "bVar6 = CARRY4(local_74,__n);" (assignment_expression "bVar6 = CARRY4(local_74,__n)" identifier = (call_expression "CARRY4(local_74,__n)" identifier (argument_list "(local_74,__n)" ( identifier , identifier )))) ;) (expression_statement "local_74 = local_74 + __n;" (assignment_expression "local_74 = local_74 + __n" identifier = (binary_expression "local_74 + __n" identifier + identifier)) ;) (expression_statement "local_78 = local_78 + (uint)bVar6;" (assignment_expression "local_78 = local_78 + (uint)bVar6" identifier = (binary_expression "local_78 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }" if (parenthesized_expression "(__n + iVar1 < 0x40)" ( (binary_expression "__n + iVar1 < 0x40" (binary_expression "__n + iVar1" identifier + identifier) < number_literal) )) (compound_statement "{\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }" { (expression_statement "memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);" (call_expression "memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n)" identifier (argument_list "((void *)((int)aiStack_bc + iVar1),&local_60,__n)" ( (cast_expression "(void *)((int)aiStack_bc + iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1)" ( (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) , (pointer_expression "&local_60" & identifier) , identifier ))) ;) (expression_statement "local_7c = __n + local_7c;" (assignment_expression "local_7c = __n + local_7c" identifier = (binary_expression "__n + local_7c" identifier + identifier)) ;) }) (else_clause "else {\n    FUN_00067300();\n  }" else (compound_statement "{\n    FUN_00067300();\n  }" { (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "iVar1 = local_7c;" (assignment_expression "iVar1 = local_7c" identifier = identifier) ;) (expression_statement "local_74 = local_74 + 8;" (assignment_expression "local_74 = local_74 + 8" identifier = (binary_expression "local_74 + 8" identifier + number_literal)) ;) (expression_statement "local_78 = local_78 + (uint)(local_74 < 8);" (assignment_expression "local_78 = local_78 + (uint)(local_74 < 8)" identifier = (binary_expression "local_78 + (uint)(local_74 < 8)" identifier + (call_expression "(uint)(local_74 < 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_74 < 8)" ( (binary_expression "local_74 < 8" identifier < number_literal) ))))) ;) (expression_statement "local_60 = iVar2;" (assignment_expression "local_60 = iVar2" identifier = identifier) ;) (expression_statement "local_5c = uVar3;" (assignment_expression "local_5c = uVar3" identifier = identifier) ;) (if_statement "if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }" if (parenthesized_expression "(local_7c + 8U < 0x40)" ( (binary_expression "local_7c + 8U < 0x40" (binary_expression "local_7c + 8U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }" { (expression_statement "*(int *)((int)aiStack_bc + local_7c) = iVar2;" (assignment_expression "*(int *)((int)aiStack_bc + local_7c) = iVar2" (pointer_expression "*(int *)((int)aiStack_bc + local_7c)" * (cast_expression "(int *)((int)aiStack_bc + local_7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + local_7c)" ( (binary_expression "(int)aiStack_bc + local_7c" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;" (assignment_expression "*(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3" (pointer_expression "*(uint *)((int)aiStack_bc + iVar1 + 4)" * (cast_expression "(uint *)((int)aiStack_bc + iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 4)" ( (binary_expression "(int)aiStack_bc + iVar1 + 4" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    FUN_00067300();\n  }" else (compound_statement "{\n    FUN_00067300();\n  }" { (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "local_70 = local_cc[0];" (assignment_expression "local_70 = local_cc[0]" identifier = (subscript_expression "local_cc[0]" identifier [ number_literal ])) ;) (expression_statement "local_6c = local_cc[1];" (assignment_expression "local_6c = local_cc[1]" identifier = (subscript_expression "local_cc[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = (undefined4 *)(param_1 + 0x5c);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + 0x5c)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) ;) (expression_statement "puVar5 = local_cc;" (assignment_expression "puVar5 = local_cc" identifier = identifier) ;) (for_statement "for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }" for ( (assignment_expression "iVar2 = 0x17" identifier = number_literal) ; (comma_expression "iVar1 = local_7c, iVar2 != 0" (assignment_expression "iVar1 = local_7c" identifier = identifier) , (binary_expression "iVar2 != 0" identifier != number_literal)) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }" { (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar7 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar7 * -2 + 1" (binary_expression "puVar4 + (uint)bVar7 * -2" identifier + (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar7 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar7 * -2 + 1" (binary_expression "puVar5 + (uint)bVar7 * -2" identifier + (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_68 = local_cc[2];" (assignment_expression "local_68 = local_cc[2]" identifier = (subscript_expression "local_cc[2]" identifier [ number_literal ])) ;) (expression_statement "local_64 = local_cc[3];" (assignment_expression "local_64 = local_cc[3]" identifier = (subscript_expression "local_cc[3]" identifier [ number_literal ])) ;) (expression_statement "local_74 = local_74 + 0x10;" (assignment_expression "local_74 = local_74 + 0x10" identifier = (binary_expression "local_74 + 0x10" identifier + number_literal)) ;) (expression_statement "local_78 = local_78 + (uint)(local_74 < 0x10);" (assignment_expression "local_78 = local_78 + (uint)(local_74 < 0x10)" identifier = (binary_expression "local_78 + (uint)(local_74 < 0x10)" identifier + (call_expression "(uint)(local_74 < 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_74 < 0x10)" ( (binary_expression "local_74 < 0x10" identifier < number_literal) ))))) ;) (if_statement "if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }" if (parenthesized_expression "(local_7c + 0x10U < 0x40)" ( (binary_expression "local_7c + 0x10U < 0x40" (binary_expression "local_7c + 0x10U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }" { (expression_statement "*(undefined4 *)((int)aiStack_bc + local_7c) = local_70;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + local_7c) = local_70" (pointer_expression "*(undefined4 *)((int)aiStack_bc + local_7c)" * (cast_expression "(undefined4 *)((int)aiStack_bc + local_7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + local_7c)" ( (binary_expression "(int)aiStack_bc + local_7c" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 4)" * (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 4)" ( (binary_expression "(int)aiStack_bc + iVar1 + 4" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 8)" * (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 8)" ( (binary_expression "(int)aiStack_bc + iVar1 + 8" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc)" * (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_bc + iVar1 + 0xc)" ( (binary_expression "(int)aiStack_bc + iVar1 + 0xc" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "local_7c = local_7c + 0x10;" (assignment_expression "local_7c = local_7c + 0x10" identifier = (binary_expression "local_7c + 0x10" identifier + number_literal)) ;) }) (else_clause "else {\n    FUN_00067300();\n  }" else (compound_statement "{\n    FUN_00067300();\n  }" { (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_00067b20(param_2,local_cc);" (call_expression "FUN_00067b20(param_2,local_cc)" identifier (argument_list "(param_2,local_cc)" ( identifier , identifier ))) ;) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00067cf0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" (primitive_type "void") (function_declarator "FUN_00067cf0(int param_1,undefined4 param_2)" (identifier "FUN_00067cf0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint __n;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  bool bVar6;\n  byte bVar7;\n  undefined4 local_cc [4];\n  int aiStack_bc [16];\n  int local_7c;\n  int local_78;\n  uint local_74;\n  undefined4 local_70;\n  undefined4 local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar7 = 0;\n  uStack_14 = 0x67cfe;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  puVar4 = (undefined4 *)(param_1 + 0xb8);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }\n  uVar3 = local_78 * 8 | local_74 >> 0x1d;\n  iVar2 = local_74 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  bVar6 = CARRY4(local_74,__n);\n  local_74 = local_74 + __n;\n  local_78 = local_78 + (uint)bVar6;\n  if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }\n  iVar1 = local_7c;\n  local_74 = local_74 + 8;\n  local_78 = local_78 + (uint)(local_74 < 8);\n  local_60 = iVar2;\n  local_5c = uVar3;\n  if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }\n  local_70 = local_cc[0];\n  local_6c = local_cc[1];\n  puVar4 = (undefined4 *)(param_1 + 0x5c);\n  puVar5 = local_cc;\n  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }\n  local_68 = local_cc[2];\n  local_64 = local_cc[3];\n  local_74 = local_74 + 0x10;\n  local_78 = local_78 + (uint)(local_74 < 0x10);\n  if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }\n  FUN_00067b20(param_2,local_cc);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "byte bVar7;" (type_identifier "byte") (identifier "bVar7") (; ";")) (declaration "undefined4 local_cc [4];" (type_identifier "undefined4") (array_declarator "local_cc [4]" (identifier "local_cc") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int aiStack_bc [16];" (primitive_type "int") (array_declarator "aiStack_bc [16]" (identifier "aiStack_bc") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "int local_7c;" (primitive_type "int") (identifier "local_7c") (; ";")) (declaration "int local_78;" (primitive_type "int") (identifier "local_78") (; ";")) (declaration "uint local_74;" (type_identifier "uint") (identifier "local_74") (; ";")) (declaration "undefined4 local_70;" (type_identifier "undefined4") (identifier "local_70") (; ";")) (declaration "undefined4 local_6c;" (type_identifier "undefined4") (identifier "local_6c") (; ";")) (declaration "undefined4 local_68;" (type_identifier "undefined4") (identifier "local_68") (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (declaration "int local_60;" (primitive_type "int") (identifier "local_60") (; ";")) (declaration "uint local_5c;" (type_identifier "uint") (identifier "local_5c") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar7 = 0;" (assignment_expression "bVar7 = 0" (identifier "bVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x67cfe;" (assignment_expression "uStack_14 = 0x67cfe" (identifier "uStack_14") (= "=") (number_literal "0x67cfe")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(param_1 + 0xb8);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + 0xb8)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(param_1 + 0xb8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb8)" (( "(") (binary_expression "param_1 + 0xb8" (identifier "param_1") (+ "+") (number_literal "0xb8")) () ")")))) (; ";")) (expression_statement "puVar5 = local_cc;" (assignment_expression "puVar5 = local_cc" (identifier "puVar5") (= "=") (identifier "local_cc")) (; ";")) (for_statement "for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar2 = 0x17" (identifier "iVar2") (= "=") (number_literal "0x17")) (; ";") (comma_expression "iVar1 = local_7c, iVar2 != 0" (assignment_expression "iVar1 = local_7c" (identifier "iVar1") (= "=") (identifier "local_7c")) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) (; ";") (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + 1;\n    puVar5 = puVar5 + 1;\n  }" ({ "{") (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (local_7c < 0x38) {\n    __n = 0x38 - local_7c;\n  }\n  else {\n    __n = 0x78 - local_7c;\n  }" (if "if") (parenthesized_expression "(local_7c < 0x38)" (( "(") (binary_expression "local_7c < 0x38" (identifier "local_7c") (< "<") (number_literal "0x38")) () ")")) (compound_statement "{\n    __n = 0x38 - local_7c;\n  }" ({ "{") (expression_statement "__n = 0x38 - local_7c;" (assignment_expression "__n = 0x38 - local_7c" (identifier "__n") (= "=") (binary_expression "0x38 - local_7c" (number_literal "0x38") (- "-") (identifier "local_7c"))) (; ";")) (} "}")) (else_clause "else {\n    __n = 0x78 - local_7c;\n  }" (else "else") (compound_statement "{\n    __n = 0x78 - local_7c;\n  }" ({ "{") (expression_statement "__n = 0x78 - local_7c;" (assignment_expression "__n = 0x78 - local_7c" (identifier "__n") (= "=") (binary_expression "0x78 - local_7c" (number_literal "0x78") (- "-") (identifier "local_7c"))) (; ";")) (} "}")))) (expression_statement "uVar3 = local_78 * 8 | local_74 >> 0x1d;" (assignment_expression "uVar3 = local_78 * 8 | local_74 >> 0x1d" (identifier "uVar3") (= "=") (binary_expression "local_78 * 8 | local_74 >> 0x1d" (binary_expression "local_78 * 8" (identifier "local_78") (* "*") (number_literal "8")) (| "|") (binary_expression "local_74 >> 0x1d" (identifier "local_74") (>> ">>") (number_literal "0x1d")))) (; ";")) (expression_statement "iVar2 = local_74 * 8;" (assignment_expression "iVar2 = local_74 * 8" (identifier "iVar2") (= "=") (binary_expression "local_74 * 8" (identifier "local_74") (* "*") (number_literal "8"))) (; ";")) (expression_statement "__memset_chk(&local_60,0,__n,0x40);" (call_expression "__memset_chk(&local_60,0,__n,0x40)" (identifier "__memset_chk") (argument_list "(&local_60,0,__n,0x40)" (( "(") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (number_literal "0") (, ",") (identifier "__n") (, ",") (number_literal "0x40") () ")"))) (; ";")) (expression_statement "local_60 = CONCAT31(local_60._1_3_,0x80);" (assignment_expression "local_60 = CONCAT31(local_60._1_3_,0x80)" (identifier "local_60") (= "=") (call_expression "CONCAT31(local_60._1_3_,0x80)" (identifier "CONCAT31") (argument_list "(local_60._1_3_,0x80)" (( "(") (field_expression "local_60._1_3_" (identifier "local_60") (. ".") (field_identifier "_1_3_")) (, ",") (number_literal "0x80") () ")")))) (; ";")) (expression_statement "bVar6 = CARRY4(local_74,__n);" (assignment_expression "bVar6 = CARRY4(local_74,__n)" (identifier "bVar6") (= "=") (call_expression "CARRY4(local_74,__n)" (identifier "CARRY4") (argument_list "(local_74,__n)" (( "(") (identifier "local_74") (, ",") (identifier "__n") () ")")))) (; ";")) (expression_statement "local_74 = local_74 + __n;" (assignment_expression "local_74 = local_74 + __n" (identifier "local_74") (= "=") (binary_expression "local_74 + __n" (identifier "local_74") (+ "+") (identifier "__n"))) (; ";")) (expression_statement "local_78 = local_78 + (uint)bVar6;" (assignment_expression "local_78 = local_78 + (uint)bVar6" (identifier "local_78") (= "=") (binary_expression "local_78 + (uint)bVar6" (identifier "local_78") (+ "+") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")))) (; ";")) (if_statement "if (__n + iVar1 < 0x40) {\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }\n  else {\n    FUN_00067300();\n  }" (if "if") (parenthesized_expression "(__n + iVar1 < 0x40)" (( "(") (binary_expression "__n + iVar1 < 0x40" (binary_expression "__n + iVar1" (identifier "__n") (+ "+") (identifier "iVar1")) (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);\n    local_7c = __n + local_7c;\n  }" ({ "{") (expression_statement "memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);" (call_expression "memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n)" (identifier "memcpy") (argument_list "((void *)((int)aiStack_bc + iVar1),&local_60,__n)" (( "(") (cast_expression "(void *)((int)aiStack_bc + iVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + iVar1)" (( "(") (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "iVar1")) () ")"))) (, ",") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "local_7c = __n + local_7c;" (assignment_expression "local_7c = __n + local_7c" (identifier "local_7c") (= "=") (binary_expression "__n + local_7c" (identifier "__n") (+ "+") (identifier "local_7c"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00067300();\n  }" (else "else") (compound_statement "{\n    FUN_00067300();\n  }" ({ "{") (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" (identifier "FUN_00067300") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar1 = local_7c;" (assignment_expression "iVar1 = local_7c" (identifier "iVar1") (= "=") (identifier "local_7c")) (; ";")) (expression_statement "local_74 = local_74 + 8;" (assignment_expression "local_74 = local_74 + 8" (identifier "local_74") (= "=") (binary_expression "local_74 + 8" (identifier "local_74") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "local_78 = local_78 + (uint)(local_74 < 8);" (assignment_expression "local_78 = local_78 + (uint)(local_74 < 8)" (identifier "local_78") (= "=") (binary_expression "local_78 + (uint)(local_74 < 8)" (identifier "local_78") (+ "+") (call_expression "(uint)(local_74 < 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_74 < 8)" (( "(") (binary_expression "local_74 < 8" (identifier "local_74") (< "<") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_60 = iVar2;" (assignment_expression "local_60 = iVar2" (identifier "local_60") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "local_5c = uVar3;" (assignment_expression "local_5c = uVar3" (identifier "local_5c") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (local_7c + 8U < 0x40) {\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }\n  else {\n    FUN_00067300();\n  }" (if "if") (parenthesized_expression "(local_7c + 8U < 0x40)" (( "(") (binary_expression "local_7c + 8U < 0x40" (binary_expression "local_7c + 8U" (identifier "local_7c") (+ "+") (number_literal "8U")) (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n    *(int *)((int)aiStack_bc + local_7c) = iVar2;\n    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;\n  }" ({ "{") (expression_statement "*(int *)((int)aiStack_bc + local_7c) = iVar2;" (assignment_expression "*(int *)((int)aiStack_bc + local_7c) = iVar2" (pointer_expression "*(int *)((int)aiStack_bc + local_7c)" (* "*") (cast_expression "(int *)((int)aiStack_bc + local_7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + local_7c)" (( "(") (binary_expression "(int)aiStack_bc + local_7c" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "local_7c")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;" (assignment_expression "*(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3" (pointer_expression "*(uint *)((int)aiStack_bc + iVar1 + 4)" (* "*") (cast_expression "(uint *)((int)aiStack_bc + iVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + iVar1 + 4)" (( "(") (binary_expression "(int)aiStack_bc + iVar1 + 4" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n    FUN_00067300();\n  }" (else "else") (compound_statement "{\n    FUN_00067300();\n  }" ({ "{") (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" (identifier "FUN_00067300") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "local_70 = local_cc[0];" (assignment_expression "local_70 = local_cc[0]" (identifier "local_70") (= "=") (subscript_expression "local_cc[0]" (identifier "local_cc") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_6c = local_cc[1];" (assignment_expression "local_6c = local_cc[1]" (identifier "local_6c") (= "=") (subscript_expression "local_cc[1]" (identifier "local_cc") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(param_1 + 0x5c);" (assignment_expression "puVar4 = (undefined4 *)(param_1 + 0x5c)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (; ";")) (expression_statement "puVar5 = local_cc;" (assignment_expression "puVar5 = local_cc" (identifier "puVar5") (= "=") (identifier "local_cc")) (; ";")) (for_statement "for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar2 = 0x17" (identifier "iVar2") (= "=") (number_literal "0x17")) (; ";") (comma_expression "iVar1 = local_7c, iVar2 != 0" (assignment_expression "iVar1 = local_7c" (identifier "iVar1") (= "=") (identifier "local_7c")) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) (; ";") (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar5 = *puVar4;\n    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;\n    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar5 = *puVar4;" (assignment_expression "*puVar5 = *puVar4" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar4 = puVar4 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar7 * -2 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + (uint)bVar7 * -2 + 1" (binary_expression "puVar4 + (uint)bVar7 * -2" (identifier "puVar4") (+ "+") (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar5 + (uint)bVar7 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar7 * -2 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + (uint)bVar7 * -2 + 1" (binary_expression "puVar5 + (uint)bVar7 * -2" (identifier "puVar5") (+ "+") (binary_expression "(uint)bVar7 * -2" (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_68 = local_cc[2];" (assignment_expression "local_68 = local_cc[2]" (identifier "local_68") (= "=") (subscript_expression "local_cc[2]" (identifier "local_cc") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_64 = local_cc[3];" (assignment_expression "local_64 = local_cc[3]" (identifier "local_64") (= "=") (subscript_expression "local_cc[3]" (identifier "local_cc") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_74 = local_74 + 0x10;" (assignment_expression "local_74 = local_74 + 0x10" (identifier "local_74") (= "=") (binary_expression "local_74 + 0x10" (identifier "local_74") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "local_78 = local_78 + (uint)(local_74 < 0x10);" (assignment_expression "local_78 = local_78 + (uint)(local_74 < 0x10)" (identifier "local_78") (= "=") (binary_expression "local_78 + (uint)(local_74 < 0x10)" (identifier "local_78") (+ "+") (call_expression "(uint)(local_74 < 0x10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_74 < 0x10)" (( "(") (binary_expression "local_74 < 0x10" (identifier "local_74") (< "<") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (local_7c + 0x10U < 0x40) {\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }\n  else {\n    FUN_00067300();\n  }" (if "if") (parenthesized_expression "(local_7c + 0x10U < 0x40)" (( "(") (binary_expression "local_7c + 0x10U < 0x40" (binary_expression "local_7c + 0x10U" (identifier "local_7c") (+ "+") (number_literal "0x10U")) (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;\n    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;\n    local_7c = local_7c + 0x10;\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)aiStack_bc + local_7c) = local_70;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + local_7c) = local_70" (pointer_expression "*(undefined4 *)((int)aiStack_bc + local_7c)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_bc + local_7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + local_7c)" (( "(") (binary_expression "(int)aiStack_bc + local_7c" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "local_7c")) () ")")))) (= "=") (identifier "local_70")) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + iVar1 + 4)" (( "(") (binary_expression "(int)aiStack_bc + iVar1 + 4" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "local_6c")) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + iVar1 + 8)" (( "(") (binary_expression "(int)aiStack_bc + iVar1 + 8" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "local_68")) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;" (assignment_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64" (pointer_expression "*(undefined4 *)((int)aiStack_bc + iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_bc + iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_bc + iVar1 + 0xc)" (( "(") (binary_expression "(int)aiStack_bc + iVar1 + 0xc" (binary_expression "(int)aiStack_bc + iVar1" (cast_expression "(int)aiStack_bc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_bc")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_64")) (; ";")) (expression_statement "local_7c = local_7c + 0x10;" (assignment_expression "local_7c = local_7c + 0x10" (identifier "local_7c") (= "=") (binary_expression "local_7c + 0x10" (identifier "local_7c") (+ "+") (number_literal "0x10"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00067300();\n  }" (else "else") (compound_statement "{\n    FUN_00067300();\n  }" ({ "{") (expression_statement "FUN_00067300();" (call_expression "FUN_00067300()" (identifier "FUN_00067300") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_00067b20(param_2,local_cc);" (call_expression "FUN_00067b20(param_2,local_cc)" (identifier "FUN_00067b20") (argument_list "(param_2,local_cc)" (( "(") (identifier "param_2") (, ",") (identifier "local_cc") () ")"))) (; ";")) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" (identifier "FUN_0008d800") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void function_1(void *handle,type_1 *hmac)

{
  int var_12;
  int var_8;
  int var_2;
  type_2 uVar4;
  type_2 var_6;
  type_3 *var_3;
  type_4 *pMVar6;
  int var_1;
  bool var_7;
  type_5 bVar8;
  type_4 s;
  type_1 intermediate [16];
  type_1 c [64];
  
  bVar8 = 0;
  var_12 = *(int *)(var_1 + 0x14);
  var_3 = (type_3 *)((int)handle + 0xb8);
  pMVar6 = &s;
  for (var_2 = 0x17; var_8 = s.blkused, var_2 != 0; var_2 = var_2 + -1) {
    (pMVar6->core).h[0] = *var_3;
    var_3 = var_3 + 1;
    pMVar6 = (type_4 *)((pMVar6->core).h + 1);
  }
  if (s.blkused < 0x38) {
    var_6 = 0x38 - s.blkused;
  }
  else {
    var_6 = 0x78 - s.blkused;
  }
  uVar4 = s.lenhi * 8 | s.lenlo >> 0x1d;
  var_2 = s.lenlo * 8;
  var_4(c,0,var_6,0x40);
  c[0] = 0x80;
  var_7 = var_5(s.lenlo,var_6);
  s.lenlo = s.lenlo + var_6;
  s.lenhi = s.lenhi + var_7;
  if (var_6 + var_8 < 0x40) {
    var_9(s.block + var_8,c,var_6);
    s.blkused = var_6 + s.blkused;
  }
  else {
    var_10(&s,c,var_6);
  }
  var_8 = s.blkused;
  s.lenlo = s.lenlo + 8;
  s.lenhi = s.lenhi + (s.lenlo < 8);
  c._0_4_ = var_2;
  c._4_4_ = uVar4;
  if (s.blkused + 8U < 0x40) {
    *(int *)(s.block + s.blkused) = var_2;
    *(type_2 *)(s.block + var_8 + 4) = uVar4;
  }
  else {
    var_10(&s,c,8);
  }
  intermediate[0] = (type_6)s.core.h[0];
  intermediate[1] = s.core.h[0]._1_1_;
  intermediate[2] = s.core.h[0]._2_1_;
  intermediate[3] = s.core.h[0]._3_1_;
  intermediate[4] = (type_6)s.core.h[1];
  intermediate[5] = s.core.h[1]._1_1_;
  intermediate[6] = s.core.h[1]._2_1_;
  intermediate[7] = s.core.h[1]._3_1_;
  var_3 = (type_3 *)((int)handle + 0x5c);
  pMVar6 = &s;
  for (var_2 = 0x17; var_8 = s.blkused, var_2 != 0; var_2 = var_2 + -1) {
    (pMVar6->core).h[0] = *var_3;
    var_3 = var_3 + (type_2)bVar8 * -2 + 1;
    pMVar6 = (type_4 *)((int)pMVar6 + (type_2)bVar8 * -8 + 4);
  }
  intermediate[8] = (type_6)s.core.h[2];
  intermediate[9] = s.core.h[2]._1_1_;
  intermediate[10] = s.core.h[2]._2_1_;
  intermediate[0xb] = s.core.h[2]._3_1_;
  intermediate[0xc] = (type_6)s.core.h[3];
  intermediate[0xd] = s.core.h[3]._1_1_;
  intermediate[0xe] = s.core.h[3]._2_1_;
  intermediate[0xf] = s.core.h[3]._3_1_;
  s.lenlo = s.lenlo + 0x10;
  s.lenhi = s.lenhi + (s.lenlo < 0x10);
  if (s.blkused + 0x10U < 0x40) {
    *(type_7 *)(s.block + s.blkused) = intermediate._0_4_;
    *(type_7 *)(s.block + var_8 + 4) = intermediate._4_4_;
    *(type_7 *)(s.block + var_8 + 8) = intermediate._8_4_;
    *(type_7 *)(s.block + var_8 + 0xc) = intermediate._12_4_;
    s.blkused = s.blkused + 0x10;
  }
  else {
    var_10(&s,intermediate,0x10);
  }
  var_11(hmac,&s);
  if (var_12 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_13();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (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: (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))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (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))))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint __n;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int in_GS_OFFSET;
  bool bVar6;
  byte bVar7;
  undefined4 local_cc [4];
  int aiStack_bc [16];
  int local_7c;
  int local_78;
  uint local_74;
  undefined4 local_70;
  undefined4 local_6c;
  undefined4 local_68;
  undefined4 local_64;
  int local_60;
  uint local_5c;
  int local_20;
  undefined4 uStack_14;
  
  bVar7 = 0;
  uStack_14 = 0x67cfe;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  puVar4 = (undefined4 *)(param_1 + 0xb8);
  puVar5 = local_cc;
  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {
    *puVar5 = *puVar4;
    puVar4 = puVar4 + 1;
    puVar5 = puVar5 + 1;
  }
  if (local_7c < 0x38) {
    __n = 0x38 - local_7c;
  }
  else {
    __n = 0x78 - local_7c;
  }
  uVar3 = local_78 * 8 | local_74 >> 0x1d;
  iVar2 = local_74 * 8;
  __memset_chk(&local_60,0,__n,0x40);
  local_60 = CONCAT31(local_60._1_3_,0x80);
  bVar6 = CARRY4(local_74,__n);
  local_74 = local_74 + __n;
  local_78 = local_78 + (uint)bVar6;
  if (__n + iVar1 < 0x40) {
    memcpy((void *)((int)aiStack_bc + iVar1),&local_60,__n);
    local_7c = __n + local_7c;
  }
  else {
    FUN_00067300();
  }
  iVar1 = local_7c;
  local_74 = local_74 + 8;
  local_78 = local_78 + (uint)(local_74 < 8);
  local_60 = iVar2;
  local_5c = uVar3;
  if (local_7c + 8U < 0x40) {
    *(int *)((int)aiStack_bc + local_7c) = iVar2;
    *(uint *)((int)aiStack_bc + iVar1 + 4) = uVar3;
  }
  else {
    FUN_00067300();
  }
  local_70 = local_cc[0];
  local_6c = local_cc[1];
  puVar4 = (undefined4 *)(param_1 + 0x5c);
  puVar5 = local_cc;
  for (iVar2 = 0x17; iVar1 = local_7c, iVar2 != 0; iVar2 = iVar2 + -1) {
    *puVar5 = *puVar4;
    puVar4 = puVar4 + (uint)bVar7 * -2 + 1;
    puVar5 = puVar5 + (uint)bVar7 * -2 + 1;
  }
  local_68 = local_cc[2];
  local_64 = local_cc[3];
  local_74 = local_74 + 0x10;
  local_78 = local_78 + (uint)(local_74 < 0x10);
  if (local_7c + 0x10U < 0x40) {
    *(undefined4 *)((int)aiStack_bc + local_7c) = local_70;
    *(undefined4 *)((int)aiStack_bc + iVar1 + 4) = local_6c;
    *(undefined4 *)((int)aiStack_bc + iVar1 + 8) = local_68;
    *(undefined4 *)((int)aiStack_bc + iVar1 + 0xc) = local_64;
    local_7c = local_7c + 0x10;
  }
  else {
    FUN_00067300();
  }
  FUN_00067b20(param_2,local_cc);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}

