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

void MD5Final(uchar *output,MD5Context *s)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint32 uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  int in_GS_OFFSET;
  uchar c [64];
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  iVar7 = s->blkused;
  if (iVar7 < 0x38) {
    uVar6 = 0x38 - iVar7;
  }
  else {
    uVar6 = 0x78 - iVar7;
  }
  uVar3 = s->lenlo;
  uVar4 = s->lenhi;
  uVar5 = uVar4 << 3 | uVar3 >> 0x1d;
  iVar1 = uVar3 * 8;
  __memset_chk(c,0,uVar6,0x40);
  c[0] = 0x80;
  s->lenlo = uVar3 + uVar6;
  s->lenhi = uVar4 + CARRY4(uVar3,uVar6);
  if (uVar6 + iVar7 < 0x40) {
    memcpy(s->block + iVar7,c,uVar6);
    iVar7 = uVar6 + s->blkused;
    s->blkused = iVar7;
  }
  else {
    MD5Update(s,c,uVar6);
    iVar7 = s->blkused;
  }
  uVar6 = s->lenlo + 8;
  s->lenlo = uVar6;
  s->lenhi = s->lenhi + (uint)(uVar6 < 8);
  c._0_4_ = iVar1;
  c._4_4_ = uVar5;
  if (iVar7 + 8U < 0x40) {
    *(int *)(s->block + iVar7) = iVar1;
    *(uint *)(s->block + iVar7 + 4) = uVar5;
    s->blkused = s->blkused + 8;
  }
  else {
    MD5Update(s,c,8);
  }
  output[3] = (uchar)((s->core).h[0] >> 0x18);
  output[2] = (uchar)((s->core).h[0] >> 0x10);
  output[1] = (uchar)((s->core).h[0] >> 8);
  *output = (uchar)(s->core).h[0];
  output[7] = *(uchar *)((int)(s->core).h + 7);
  output[6] = (uchar)*(undefined2 *)((int)(s->core).h + 6);
  output[5] = (uchar)((s->core).h[1] >> 8);
  output[4] = (uchar)(s->core).h[1];
  output[0xb] = *(uchar *)((int)(s->core).h + 0xb);
  output[10] = (uchar)*(undefined2 *)((int)(s->core).h + 10);
  output[9] = (uchar)((s->core).h[2] >> 8);
  output[8] = (uchar)(s->core).h[2];
  output[0xf] = *(uchar *)((int)(s->core).h + 0xf);
  output[0xe] = (uchar)*(undefined2 *)((int)(s->core).h + 0xe);
  output[0xd] = (uchar)((s->core).h[3] >> 8);
  output[0xc] = (uchar)(s->core).h[3];
  if (iVar2 == *(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_00068e40(undefined1 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  uint __n;
  int iVar5;
  int in_GS_OFFSET;
  int local_60;
  uint local_5c;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x68e49;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = param_2[0x14];
  if (iVar5 < 0x38) {
    __n = 0x38 - iVar5;
  }
  else {
    __n = 0x78 - iVar5;
  }
  uVar2 = param_2[0x16];
  iVar3 = param_2[0x15];
  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;
  iVar1 = uVar2 * 8;
  __memset_chk(&local_60,0,__n,0x40);
  local_60 = CONCAT31(local_60._1_3_,0x80);
  param_2[0x16] = uVar2 + __n;
  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);
  if (__n + iVar5 < 0x40) {
    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);
    iVar5 = __n + param_2[0x14];
    param_2[0x14] = iVar5;
  }
  else {
    FUN_00068620();
    iVar5 = param_2[0x14];
  }
  iVar3 = param_2[0x16];
  param_2[0x16] = iVar3 + 8U;
  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);
  local_60 = iVar1;
  local_5c = uVar4;
  if (iVar5 + 8U < 0x40) {
    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;
    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;
    param_2[0x14] = param_2[0x14] + 8;
  }
  else {
    FUN_00068620();
  }
  param_1[3] = (char)((uint)*param_2 >> 0x18);
  param_1[2] = (char)((uint)*param_2 >> 0x10);
  param_1[1] = (char)((uint)*param_2 >> 8);
  *param_1 = (char)*param_2;
  param_1[7] = *(undefined1 *)((int)param_2 + 7);
  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);
  param_1[5] = (char)((uint)param_2[1] >> 8);
  param_1[4] = (char)param_2[1];
  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);
  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);
  param_1[9] = (char)((uint)param_2[2] >> 8);
  param_1[8] = (char)param_2[2];
  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);
  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);
  param_1[0xd] = (char)((uint)param_2[3] >> 8);
  param_1[0xc] = (char)param_2[3];
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008eb20();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0x66f47
SUB ESP,0x7c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x6c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x94]
MOV EDI,dword ptr [ESP + 0x90]
MOV ECX,dword ptr [ESI + 0x50]
CMP ECX,0x37
JLE 0x00068fc0
MOV EBP,0x78
SUB EBP,ECX
MOV EDX,dword ptr [ESI + 0x58]
MOV EAX,dword ptr [ESI + 0x54]
MOV dword ptr [ESP + 0x1c],ECX
MOV ECX,EDX
MOV dword ptr [ESP + 0xc],EAX
SHL EAX,0x3
SHR ECX,0x1d
MOV dword ptr [ESP + 0x18],EDX
OR EAX,ECX
LEA ECX,[EDX*0x8 + 0x0]
MOV dword ptr [ESP + 0x14],ECX
MOV dword ptr [ESP + 0x10],EAX
PUSH 0x40
PUSH EBP
PUSH 0x0
LEA EDX,[ESP + 0x38]
MOV dword ptr [ESP + 0x14],EDX
PUSH EDX
CALL 0x000146d0
MOV byte ptr [ESP + 0x3c],0x80
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x1c]
ADD EDX,EBP
ADC EAX,0x0
MOV dword ptr [ESI + 0x58],EDX
MOV dword ptr [ESI + 0x54],EAX
LEA EAX,[EBP + ECX*0x1]
CMP EAX,0x3f
JBE 0x00068fd0
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,EBP
MOV EAX,ESI
CALL 0x00068620
MOV EBP,dword ptr [ESI + 0x50]
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [ESI + 0x58]
ADD EAX,0x8
CMP EAX,0x7
MOV dword ptr [ESI + 0x58],EAX
SETBE AL
MOVZX EAX,AL
ADD dword ptr [ESI + 0x54],EAX
LEA EAX,[EBP + 0x8]
CMP EAX,0x3f
JBE 0x00068ff0
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,0x8
MOV EAX,ESI
CALL 0x00068620
MOV EAX,dword ptr [ESI]
SHR EAX,0x18
MOV byte ptr [EDI + 0x3],AL
MOV EAX,dword ptr [ESI]
SHR EAX,0x10
MOV byte ptr [EDI + 0x2],AL
MOV EAX,dword ptr [ESI]
MOV byte ptr [EDI + 0x1],AH
MOV EAX,dword ptr [ESI]
MOV byte ptr [EDI],AL
MOVZX EAX,byte ptr [ESI + 0x7]
MOV byte ptr [EDI + 0x7],AL
MOVZX EAX,word ptr [ESI + 0x6]
MOV byte ptr [EDI + 0x6],AL
MOV EAX,dword ptr [ESI + 0x4]
MOV byte ptr [EDI + 0x5],AH
MOV EAX,dword ptr [ESI + 0x4]
MOV byte ptr [EDI + 0x4],AL
MOVZX EAX,byte ptr [ESI + 0xb]
MOV byte ptr [EDI + 0xb],AL
MOVZX EAX,word ptr [ESI + 0xa]
MOV byte ptr [EDI + 0xa],AL
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EDI + 0x9],AH
MOV EAX,dword ptr [ESI + 0x8]
MOV byte ptr [EDI + 0x8],AL
MOVZX EAX,byte ptr [ESI + 0xf]
MOV byte ptr [EDI + 0xf],AL
MOVZX EAX,word ptr [ESI + 0xe]
MOV byte ptr [EDI + 0xe],AL
MOV EAX,dword ptr [ESI + 0xc]
MOV byte ptr [EDI + 0xd],AH
MOV EAX,dword ptr [ESI + 0xc]
MOV byte ptr [EDI + 0xc],AL
MOV EAX,dword ptr [ESP + 0x6c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00069009
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,0x38
SUB EBP,ECX
JMP 0x00068e7f
SUB ESP,0x4
LEA EAX,[ESI + ECX*0x1 + 0x10]
PUSH EBP
PUSH dword ptr [ESP + 0x10]
PUSH EAX
CALL 0x00014130
ADD EBP,dword ptr [ESI + 0x50]
ADD ESP,0x10
MOV dword ptr [ESI + 0x50],EBP
JMP 0x00068ef9
MOV EAX,dword ptr [ESP + 0x2c]
MOV EDX,dword ptr [ESP + 0x30]
MOV dword ptr [ESI + EBP*0x1 + 0x10],EAX
MOV dword ptr [ESI + EBP*0x1 + 0x14],EDX
ADD dword ptr [ESI + 0x50],0x8
JMP 0x00068f3a
CALL 0x0008eb20
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00068e40(undefined1 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008eb20();\n}\n\n" comment (function_definition "void FUN_00068e40(undefined1 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008eb20();\n}" primitive_type (function_declarator "FUN_00068e40(undefined1 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined1 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008eb20();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type 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 "uStack_14 = 0x68e49;" (assignment_expression "uStack_14 = 0x68e49" 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 "iVar5 = param_2[0x14];" (assignment_expression "iVar5 = param_2[0x14]" identifier = (subscript_expression "param_2[0x14]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }" if (parenthesized_expression "(iVar5 < 0x38)" ( (binary_expression "iVar5 < 0x38" identifier < number_literal) )) (compound_statement "{\n    __n = 0x38 - iVar5;\n  }" { (expression_statement "__n = 0x38 - iVar5;" (assignment_expression "__n = 0x38 - iVar5" identifier = (binary_expression "0x38 - iVar5" number_literal - identifier)) ;) }) (else_clause "else {\n    __n = 0x78 - iVar5;\n  }" else (compound_statement "{\n    __n = 0x78 - iVar5;\n  }" { (expression_statement "__n = 0x78 - iVar5;" (assignment_expression "__n = 0x78 - iVar5" identifier = (binary_expression "0x78 - iVar5" number_literal - identifier)) ;) }))) (expression_statement "uVar2 = param_2[0x16];" (assignment_expression "uVar2 = param_2[0x16]" identifier = (subscript_expression "param_2[0x16]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_2[0x15];" (assignment_expression "iVar3 = param_2[0x15]" identifier = (subscript_expression "param_2[0x15]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = iVar3 << 3 | uVar2 >> 0x1d;" (assignment_expression "uVar4 = iVar3 << 3 | uVar2 >> 0x1d" identifier = (binary_expression "iVar3 << 3 | uVar2 >> 0x1d" (binary_expression "iVar3 << 3" identifier << number_literal) | (binary_expression "uVar2 >> 0x1d" identifier >> number_literal))) ;) (expression_statement "iVar1 = uVar2 * 8;" (assignment_expression "iVar1 = uVar2 * 8" identifier = (binary_expression "uVar2 * 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 "param_2[0x16] = uVar2 + __n;" (assignment_expression "param_2[0x16] = uVar2 + __n" (subscript_expression "param_2[0x16]" identifier [ number_literal ]) = (binary_expression "uVar2 + __n" identifier + identifier)) ;) (expression_statement "param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);" (assignment_expression "param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n)" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) = (binary_expression "iVar3 + (uint)CARRY4(uVar2,__n)" identifier + (cast_expression "(uint)CARRY4(uVar2,__n)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar2,__n)" identifier (argument_list "(uVar2,__n)" ( identifier , identifier )))))) ;) (if_statement "if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" if (parenthesized_expression "(__n + iVar5 < 0x40)" ( (binary_expression "__n + iVar5 < 0x40" (binary_expression "__n + iVar5" identifier + identifier) < number_literal) )) (compound_statement "{\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }" { (expression_statement "memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);" (call_expression "memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n)" identifier (argument_list "((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n)" ( (cast_expression "(void *)((int)param_2 + iVar5 + 0x10)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar5 + 0x10)" ( (binary_expression "(int)param_2 + iVar5 + 0x10" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) , (pointer_expression "&local_60" & identifier) , identifier ))) ;) (expression_statement "iVar5 = __n + param_2[0x14];" (assignment_expression "iVar5 = __n + param_2[0x14]" identifier = (binary_expression "__n + param_2[0x14]" identifier + (subscript_expression "param_2[0x14]" identifier [ number_literal ]))) ;) (expression_statement "param_2[0x14] = iVar5;" (assignment_expression "param_2[0x14] = iVar5" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" else (compound_statement "{\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" { (expression_statement "FUN_00068620();" (call_expression "FUN_00068620()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = param_2[0x14];" (assignment_expression "iVar5 = param_2[0x14]" identifier = (subscript_expression "param_2[0x14]" identifier [ number_literal ])) ;) }))) (expression_statement "iVar3 = param_2[0x16];" (assignment_expression "iVar3 = param_2[0x16]" identifier = (subscript_expression "param_2[0x16]" identifier [ number_literal ])) ;) (expression_statement "param_2[0x16] = iVar3 + 8U;" (assignment_expression "param_2[0x16] = iVar3 + 8U" (subscript_expression "param_2[0x16]" identifier [ number_literal ]) = (binary_expression "iVar3 + 8U" identifier + number_literal)) ;) (expression_statement "param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);" (assignment_expression "param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8)" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) = (binary_expression "param_2[0x15] + (uint)(iVar3 + 8U < 8)" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) + (call_expression "(uint)(iVar3 + 8U < 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 + 8U < 8)" ( (binary_expression "iVar3 + 8U < 8" (binary_expression "iVar3 + 8U" identifier + number_literal) < number_literal) ))))) ;) (expression_statement "local_60 = iVar1;" (assignment_expression "local_60 = iVar1" identifier = identifier) ;) (expression_statement "local_5c = uVar4;" (assignment_expression "local_5c = uVar4" identifier = identifier) ;) (if_statement "if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }" if (parenthesized_expression "(iVar5 + 8U < 0x40)" ( (binary_expression "iVar5 + 8U < 0x40" (binary_expression "iVar5 + 8U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }" { (expression_statement "*(int *)((int)param_2 + iVar5 + 0x10) = iVar1;" (assignment_expression "*(int *)((int)param_2 + iVar5 + 0x10) = iVar1" (pointer_expression "*(int *)((int)param_2 + iVar5 + 0x10)" * (cast_expression "(int *)((int)param_2 + iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar5 + 0x10)" ( (binary_expression "(int)param_2 + iVar5 + 0x10" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;" (assignment_expression "*(uint *)((int)param_2 + iVar5 + 0x14) = uVar4" (pointer_expression "*(uint *)((int)param_2 + iVar5 + 0x14)" * (cast_expression "(uint *)((int)param_2 + iVar5 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar5 + 0x14)" ( (binary_expression "(int)param_2 + iVar5 + 0x14" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[0x14] = param_2[0x14] + 8;" (assignment_expression "param_2[0x14] = param_2[0x14] + 8" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) = (binary_expression "param_2[0x14] + 8" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n    FUN_00068620();\n  }" else (compound_statement "{\n    FUN_00068620();\n  }" { (expression_statement "FUN_00068620();" (call_expression "FUN_00068620()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "param_1[3] = (char)((uint)*param_2 >> 0x18);" (assignment_expression "param_1[3] = (char)((uint)*param_2 >> 0x18)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*param_2 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*param_2 >> 0x18)" ( (binary_expression "(uint)*param_2 >> 0x18" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "param_1[2] = (char)((uint)*param_2 >> 0x10);" (assignment_expression "param_1[2] = (char)((uint)*param_2 >> 0x10)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*param_2 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*param_2 >> 0x10)" ( (binary_expression "(uint)*param_2 >> 0x10" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "param_1[1] = (char)((uint)*param_2 >> 8);" (assignment_expression "param_1[1] = (char)((uint)*param_2 >> 8)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*param_2 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*param_2 >> 8)" ( (binary_expression "(uint)*param_2 >> 8" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "*param_1 = (char)*param_2;" (assignment_expression "*param_1 = (char)*param_2" (pointer_expression "*param_1" * identifier) = (cast_expression "(char)*param_2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "param_1[7] = *(undefined1 *)((int)param_2 + 7);" (assignment_expression "param_1[7] = *(undefined1 *)((int)param_2 + 7)" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)((int)param_2 + 7)" * (cast_expression "(undefined1 *)((int)param_2 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 7)" ( (binary_expression "(int)param_2 + 7" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);" (assignment_expression "param_1[6] = (char)*(undefined2 *)((int)param_2 + 6)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)((int)param_2 + 6)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)((int)param_2 + 6)" * (cast_expression "(undefined2 *)((int)param_2 + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (expression_statement "param_1[5] = (char)((uint)param_2[1] >> 8);" (assignment_expression "param_1[5] = (char)((uint)param_2[1] >> 8)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(char)((uint)param_2[1] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)param_2[1] >> 8)" ( (binary_expression "(uint)param_2[1] >> 8" (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_1[4] = (char)param_2[1];" (assignment_expression "param_1[4] = (char)param_2[1]" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(char)param_2[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);" (assignment_expression "param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb)" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)((int)param_2 + 0xb)" * (cast_expression "(undefined1 *)((int)param_2 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xb)" ( (binary_expression "(int)param_2 + 0xb" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);" (assignment_expression "param_1[10] = (char)*(undefined2 *)((int)param_2 + 10)" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)((int)param_2 + 10)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)((int)param_2 + 10)" * (cast_expression "(undefined2 *)((int)param_2 + 10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 10)" ( (binary_expression "(int)param_2 + 10" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (expression_statement "param_1[9] = (char)((uint)param_2[2] >> 8);" (assignment_expression "param_1[9] = (char)((uint)param_2[2] >> 8)" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (cast_expression "(char)((uint)param_2[2] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)param_2[2] >> 8)" ( (binary_expression "(uint)param_2[2] >> 8" (cast_expression "(uint)param_2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_1[8] = (char)param_2[2];" (assignment_expression "param_1[8] = (char)param_2[2]" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (cast_expression "(char)param_2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (expression_statement "param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);" (assignment_expression "param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf)" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)((int)param_2 + 0xf)" * (cast_expression "(undefined1 *)((int)param_2 + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xf)" ( (binary_expression "(int)param_2 + 0xf" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);" (assignment_expression "param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe)" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)((int)param_2 + 0xe)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)((int)param_2 + 0xe)" * (cast_expression "(undefined2 *)((int)param_2 + 0xe)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xe)" ( (binary_expression "(int)param_2 + 0xe" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (expression_statement "param_1[0xd] = (char)((uint)param_2[3] >> 8);" (assignment_expression "param_1[0xd] = (char)((uint)param_2[3] >> 8)" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = (cast_expression "(char)((uint)param_2[3] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)param_2[3] >> 8)" ( (binary_expression "(uint)param_2[3] >> 8" (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_1[0xc] = (char)param_2[3];" (assignment_expression "param_1[0xc] = (char)param_2[3]" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = (cast_expression "(char)param_2[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) ;) (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_0008eb20();" (call_expression "FUN_0008eb20()" 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 MD5Final(uchar *output,MD5Context *s)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint32 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uchar c [64];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = s->blkused;\n  if (iVar7 < 0x38) {\n    uVar6 = 0x38 - iVar7;\n  }\n  else {\n    uVar6 = 0x78 - iVar7;\n  }\n  uVar3 = s->lenlo;\n  uVar4 = s->lenhi;\n  uVar5 = uVar4 << 3 | uVar3 >> 0x1d;\n  iVar1 = uVar3 * 8;\n  __memset_chk(c,0,uVar6,0x40);\n  c[0] = 0x80;\n  s->lenlo = uVar3 + uVar6;\n  s->lenhi = uVar4 + CARRY4(uVar3,uVar6);\n  if (uVar6 + iVar7 < 0x40) {\n    memcpy(s->block + iVar7,c,uVar6);\n    iVar7 = uVar6 + s->blkused;\n    s->blkused = iVar7;\n  }\n  else {\n    MD5Update(s,c,uVar6);\n    iVar7 = s->blkused;\n  }\n  uVar6 = s->lenlo + 8;\n  s->lenlo = uVar6;\n  s->lenhi = s->lenhi + (uint)(uVar6 < 8);\n  c._0_4_ = iVar1;\n  c._4_4_ = uVar5;\n  if (iVar7 + 8U < 0x40) {\n    *(int *)(s->block + iVar7) = iVar1;\n    *(uint *)(s->block + iVar7 + 4) = uVar5;\n    s->blkused = s->blkused + 8;\n  }\n  else {\n    MD5Update(s,c,8);\n  }\n  output[3] = (uchar)((s->core).h[0] >> 0x18);\n  output[2] = (uchar)((s->core).h[0] >> 0x10);\n  output[1] = (uchar)((s->core).h[0] >> 8);\n  *output = (uchar)(s->core).h[0];\n  output[7] = *(uchar *)((int)(s->core).h + 7);\n  output[6] = (uchar)*(undefined2 *)((int)(s->core).h + 6);\n  output[5] = (uchar)((s->core).h[1] >> 8);\n  output[4] = (uchar)(s->core).h[1];\n  output[0xb] = *(uchar *)((int)(s->core).h + 0xb);\n  output[10] = (uchar)*(undefined2 *)((int)(s->core).h + 10);\n  output[9] = (uchar)((s->core).h[2] >> 8);\n  output[8] = (uchar)(s->core).h[2];\n  output[0xf] = *(uchar *)((int)(s->core).h + 0xf);\n  output[0xe] = (uchar)*(undefined2 *)((int)(s->core).h + 0xe);\n  output[0xd] = (uchar)((s->core).h[3] >> 8);\n  output[0xc] = (uchar)(s->core).h[3];\n  if (iVar2 == *(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 MD5Final(uchar *output,MD5Context *s)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint32 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uchar c [64];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = s->blkused;\n  if (iVar7 < 0x38) {\n    uVar6 = 0x38 - iVar7;\n  }\n  else {\n    uVar6 = 0x78 - iVar7;\n  }\n  uVar3 = s->lenlo;\n  uVar4 = s->lenhi;\n  uVar5 = uVar4 << 3 | uVar3 >> 0x1d;\n  iVar1 = uVar3 * 8;\n  __memset_chk(c,0,uVar6,0x40);\n  c[0] = 0x80;\n  s->lenlo = uVar3 + uVar6;\n  s->lenhi = uVar4 + CARRY4(uVar3,uVar6);\n  if (uVar6 + iVar7 < 0x40) {\n    memcpy(s->block + iVar7,c,uVar6);\n    iVar7 = uVar6 + s->blkused;\n    s->blkused = iVar7;\n  }\n  else {\n    MD5Update(s,c,uVar6);\n    iVar7 = s->blkused;\n  }\n  uVar6 = s->lenlo + 8;\n  s->lenlo = uVar6;\n  s->lenhi = s->lenhi + (uint)(uVar6 < 8);\n  c._0_4_ = iVar1;\n  c._4_4_ = uVar5;\n  if (iVar7 + 8U < 0x40) {\n    *(int *)(s->block + iVar7) = iVar1;\n    *(uint *)(s->block + iVar7 + 4) = uVar5;\n    s->blkused = s->blkused + 8;\n  }\n  else {\n    MD5Update(s,c,8);\n  }\n  output[3] = (uchar)((s->core).h[0] >> 0x18);\n  output[2] = (uchar)((s->core).h[0] >> 0x10);\n  output[1] = (uchar)((s->core).h[0] >> 8);\n  *output = (uchar)(s->core).h[0];\n  output[7] = *(uchar *)((int)(s->core).h + 7);\n  output[6] = (uchar)*(undefined2 *)((int)(s->core).h + 6);\n  output[5] = (uchar)((s->core).h[1] >> 8);\n  output[4] = (uchar)(s->core).h[1];\n  output[0xb] = *(uchar *)((int)(s->core).h + 0xb);\n  output[10] = (uchar)*(undefined2 *)((int)(s->core).h + 10);\n  output[9] = (uchar)((s->core).h[2] >> 8);\n  output[8] = (uchar)(s->core).h[2];\n  output[0xf] = *(uchar *)((int)(s->core).h + 0xf);\n  output[0xe] = (uchar)*(undefined2 *)((int)(s->core).h + 0xe);\n  output[0xd] = (uchar)((s->core).h[3] >> 8);\n  output[0xc] = (uchar)(s->core).h[3];\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "MD5Final(uchar *output,MD5Context *s)" identifier (parameter_list "(uchar *output,MD5Context *s)" ( (parameter_declaration "uchar *output" type_identifier (pointer_declarator "*output" * identifier)) , (parameter_declaration "MD5Context *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint32 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uchar c [64];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = s->blkused;\n  if (iVar7 < 0x38) {\n    uVar6 = 0x38 - iVar7;\n  }\n  else {\n    uVar6 = 0x78 - iVar7;\n  }\n  uVar3 = s->lenlo;\n  uVar4 = s->lenhi;\n  uVar5 = uVar4 << 3 | uVar3 >> 0x1d;\n  iVar1 = uVar3 * 8;\n  __memset_chk(c,0,uVar6,0x40);\n  c[0] = 0x80;\n  s->lenlo = uVar3 + uVar6;\n  s->lenhi = uVar4 + CARRY4(uVar3,uVar6);\n  if (uVar6 + iVar7 < 0x40) {\n    memcpy(s->block + iVar7,c,uVar6);\n    iVar7 = uVar6 + s->blkused;\n    s->blkused = iVar7;\n  }\n  else {\n    MD5Update(s,c,uVar6);\n    iVar7 = s->blkused;\n  }\n  uVar6 = s->lenlo + 8;\n  s->lenlo = uVar6;\n  s->lenhi = s->lenhi + (uint)(uVar6 < 8);\n  c._0_4_ = iVar1;\n  c._4_4_ = uVar5;\n  if (iVar7 + 8U < 0x40) {\n    *(int *)(s->block + iVar7) = iVar1;\n    *(uint *)(s->block + iVar7 + 4) = uVar5;\n    s->blkused = s->blkused + 8;\n  }\n  else {\n    MD5Update(s,c,8);\n  }\n  output[3] = (uchar)((s->core).h[0] >> 0x18);\n  output[2] = (uchar)((s->core).h[0] >> 0x10);\n  output[1] = (uchar)((s->core).h[0] >> 8);\n  *output = (uchar)(s->core).h[0];\n  output[7] = *(uchar *)((int)(s->core).h + 7);\n  output[6] = (uchar)*(undefined2 *)((int)(s->core).h + 6);\n  output[5] = (uchar)((s->core).h[1] >> 8);\n  output[4] = (uchar)(s->core).h[1];\n  output[0xb] = *(uchar *)((int)(s->core).h + 0xb);\n  output[10] = (uchar)*(undefined2 *)((int)(s->core).h + 10);\n  output[9] = (uchar)((s->core).h[2] >> 8);\n  output[8] = (uchar)(s->core).h[2];\n  output[0xf] = *(uchar *)((int)(s->core).h + 0xf);\n  output[0xe] = (uchar)*(undefined2 *)((int)(s->core).h + 0xe);\n  output[0xd] = (uchar)((s->core).h[3] >> 8);\n  output[0xc] = (uchar)(s->core).h[3];\n  if (iVar2 == *(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 "uint uVar3;" type_identifier identifier ;) (declaration "uint32 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uchar c [64];" type_identifier (array_declarator "c [64]" identifier [ number_literal ]) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(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 "iVar7 = s->blkused;" (assignment_expression "iVar7 = s->blkused" identifier = (field_expression "s->blkused" identifier -> field_identifier)) ;) (if_statement "if (iVar7 < 0x38) {\n    uVar6 = 0x38 - iVar7;\n  }\n  else {\n    uVar6 = 0x78 - iVar7;\n  }" if (parenthesized_expression "(iVar7 < 0x38)" ( (binary_expression "iVar7 < 0x38" identifier < number_literal) )) (compound_statement "{\n    uVar6 = 0x38 - iVar7;\n  }" { (expression_statement "uVar6 = 0x38 - iVar7;" (assignment_expression "uVar6 = 0x38 - iVar7" identifier = (binary_expression "0x38 - iVar7" number_literal - identifier)) ;) }) (else_clause "else {\n    uVar6 = 0x78 - iVar7;\n  }" else (compound_statement "{\n    uVar6 = 0x78 - iVar7;\n  }" { (expression_statement "uVar6 = 0x78 - iVar7;" (assignment_expression "uVar6 = 0x78 - iVar7" identifier = (binary_expression "0x78 - iVar7" number_literal - identifier)) ;) }))) (expression_statement "uVar3 = s->lenlo;" (assignment_expression "uVar3 = s->lenlo" identifier = (field_expression "s->lenlo" identifier -> field_identifier)) ;) (expression_statement "uVar4 = s->lenhi;" (assignment_expression "uVar4 = s->lenhi" identifier = (field_expression "s->lenhi" identifier -> field_identifier)) ;) (expression_statement "uVar5 = uVar4 << 3 | uVar3 >> 0x1d;" (assignment_expression "uVar5 = uVar4 << 3 | uVar3 >> 0x1d" identifier = (binary_expression "uVar4 << 3 | uVar3 >> 0x1d" (binary_expression "uVar4 << 3" identifier << number_literal) | (binary_expression "uVar3 >> 0x1d" identifier >> number_literal))) ;) (expression_statement "iVar1 = uVar3 * 8;" (assignment_expression "iVar1 = uVar3 * 8" identifier = (binary_expression "uVar3 * 8" identifier * number_literal)) ;) (expression_statement "__memset_chk(c,0,uVar6,0x40);" (call_expression "__memset_chk(c,0,uVar6,0x40)" identifier (argument_list "(c,0,uVar6,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 "s->lenlo = uVar3 + uVar6;" (assignment_expression "s->lenlo = uVar3 + uVar6" (field_expression "s->lenlo" identifier -> field_identifier) = (binary_expression "uVar3 + uVar6" identifier + identifier)) ;) (expression_statement "s->lenhi = uVar4 + CARRY4(uVar3,uVar6);" (assignment_expression "s->lenhi = uVar4 + CARRY4(uVar3,uVar6)" (field_expression "s->lenhi" identifier -> field_identifier) = (binary_expression "uVar4 + CARRY4(uVar3,uVar6)" identifier + (call_expression "CARRY4(uVar3,uVar6)" identifier (argument_list "(uVar3,uVar6)" ( identifier , identifier ))))) ;) (if_statement "if (uVar6 + iVar7 < 0x40) {\n    memcpy(s->block + iVar7,c,uVar6);\n    iVar7 = uVar6 + s->blkused;\n    s->blkused = iVar7;\n  }\n  else {\n    MD5Update(s,c,uVar6);\n    iVar7 = s->blkused;\n  }" if (parenthesized_expression "(uVar6 + iVar7 < 0x40)" ( (binary_expression "uVar6 + iVar7 < 0x40" (binary_expression "uVar6 + iVar7" identifier + identifier) < number_literal) )) (compound_statement "{\n    memcpy(s->block + iVar7,c,uVar6);\n    iVar7 = uVar6 + s->blkused;\n    s->blkused = iVar7;\n  }" { (expression_statement "memcpy(s->block + iVar7,c,uVar6);" (call_expression "memcpy(s->block + iVar7,c,uVar6)" identifier (argument_list "(s->block + iVar7,c,uVar6)" ( (binary_expression "s->block + iVar7" (field_expression "s->block" identifier -> field_identifier) + identifier) , identifier , identifier ))) ;) (expression_statement "iVar7 = uVar6 + s->blkused;" (assignment_expression "iVar7 = uVar6 + s->blkused" identifier = (binary_expression "uVar6 + s->blkused" identifier + (field_expression "s->blkused" identifier -> field_identifier))) ;) (expression_statement "s->blkused = iVar7;" (assignment_expression "s->blkused = iVar7" (field_expression "s->blkused" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    MD5Update(s,c,uVar6);\n    iVar7 = s->blkused;\n  }" else (compound_statement "{\n    MD5Update(s,c,uVar6);\n    iVar7 = s->blkused;\n  }" { (expression_statement "MD5Update(s,c,uVar6);" (call_expression "MD5Update(s,c,uVar6)" identifier (argument_list "(s,c,uVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar7 = s->blkused;" (assignment_expression "iVar7 = s->blkused" identifier = (field_expression "s->blkused" identifier -> field_identifier)) ;) }))) (expression_statement "uVar6 = s->lenlo + 8;" (assignment_expression "uVar6 = s->lenlo + 8" identifier = (binary_expression "s->lenlo + 8" (field_expression "s->lenlo" identifier -> field_identifier) + number_literal)) ;) (expression_statement "s->lenlo = uVar6;" (assignment_expression "s->lenlo = uVar6" (field_expression "s->lenlo" identifier -> field_identifier) = identifier) ;) (expression_statement "s->lenhi = s->lenhi + (uint)(uVar6 < 8);" (assignment_expression "s->lenhi = s->lenhi + (uint)(uVar6 < 8)" (field_expression "s->lenhi" identifier -> field_identifier) = (binary_expression "s->lenhi + (uint)(uVar6 < 8)" (field_expression "s->lenhi" identifier -> field_identifier) + (call_expression "(uint)(uVar6 < 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < 8)" ( (binary_expression "uVar6 < 8" identifier < number_literal) ))))) ;) (expression_statement "c._0_4_ = iVar1;" (assignment_expression "c._0_4_ = iVar1" (field_expression "c._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "c._4_4_ = uVar5;" (assignment_expression "c._4_4_ = uVar5" (field_expression "c._4_4_" identifier . field_identifier) = identifier) ;) (if_statement "if (iVar7 + 8U < 0x40) {\n    *(int *)(s->block + iVar7) = iVar1;\n    *(uint *)(s->block + iVar7 + 4) = uVar5;\n    s->blkused = s->blkused + 8;\n  }\n  else {\n    MD5Update(s,c,8);\n  }" if (parenthesized_expression "(iVar7 + 8U < 0x40)" ( (binary_expression "iVar7 + 8U < 0x40" (binary_expression "iVar7 + 8U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(int *)(s->block + iVar7) = iVar1;\n    *(uint *)(s->block + iVar7 + 4) = uVar5;\n    s->blkused = s->blkused + 8;\n  }" { (expression_statement "*(int *)(s->block + iVar7) = iVar1;" (assignment_expression "*(int *)(s->block + iVar7) = iVar1" (pointer_expression "*(int *)(s->block + iVar7)" * (cast_expression "(int *)(s->block + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s->block + iVar7)" ( (binary_expression "s->block + iVar7" (field_expression "s->block" identifier -> field_identifier) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)(s->block + iVar7 + 4) = uVar5;" (assignment_expression "*(uint *)(s->block + iVar7 + 4) = uVar5" (pointer_expression "*(uint *)(s->block + iVar7 + 4)" * (cast_expression "(uint *)(s->block + iVar7 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s->block + iVar7 + 4)" ( (binary_expression "s->block + iVar7 + 4" (binary_expression "s->block + iVar7" (field_expression "s->block" identifier -> field_identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "s->blkused = s->blkused + 8;" (assignment_expression "s->blkused = s->blkused + 8" (field_expression "s->blkused" identifier -> field_identifier) = (binary_expression "s->blkused + 8" (field_expression "s->blkused" identifier -> field_identifier) + number_literal)) ;) }) (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)" ( identifier , identifier , number_literal ))) ;) }))) (expression_statement "output[3] = (uchar)((s->core).h[0] >> 0x18);" (assignment_expression "output[3] = (uchar)((s->core).h[0] >> 0x18)" (subscript_expression "output[3]" identifier [ number_literal ]) = (call_expression "(uchar)((s->core).h[0] >> 0x18)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((s->core).h[0] >> 0x18)" ( (binary_expression "(s->core).h[0] >> 0x18" (subscript_expression "(s->core).h[0]" (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) >> number_literal) )))) ;) (expression_statement "output[2] = (uchar)((s->core).h[0] >> 0x10);" (assignment_expression "output[2] = (uchar)((s->core).h[0] >> 0x10)" (subscript_expression "output[2]" identifier [ number_literal ]) = (call_expression "(uchar)((s->core).h[0] >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((s->core).h[0] >> 0x10)" ( (binary_expression "(s->core).h[0] >> 0x10" (subscript_expression "(s->core).h[0]" (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) >> number_literal) )))) ;) (expression_statement "output[1] = (uchar)((s->core).h[0] >> 8);" (assignment_expression "output[1] = (uchar)((s->core).h[0] >> 8)" (subscript_expression "output[1]" identifier [ number_literal ]) = (call_expression "(uchar)((s->core).h[0] >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((s->core).h[0] >> 8)" ( (binary_expression "(s->core).h[0] >> 8" (subscript_expression "(s->core).h[0]" (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) >> number_literal) )))) ;) (expression_statement "*output = (uchar)(s->core).h[0];" (assignment_expression "*output = (uchar)(s->core).h[0]" (pointer_expression "*output" * identifier) = (subscript_expression "(uchar)(s->core).h[0]" (field_expression "(uchar)(s->core).h" (call_expression "(uchar)(s->core)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) ))) . field_identifier) [ number_literal ])) ;) (expression_statement "output[7] = *(uchar *)((int)(s->core).h + 7);" (assignment_expression "output[7] = *(uchar *)((int)(s->core).h + 7)" (subscript_expression "output[7]" identifier [ number_literal ]) = (pointer_expression "*(uchar *)((int)(s->core).h + 7)" * (cast_expression "(uchar *)((int)(s->core).h + 7)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(s->core).h + 7)" ( (binary_expression "(int)(s->core).h + 7" (cast_expression "(int)(s->core).h" ( (type_descriptor "int" primitive_type) ) (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier)) + number_literal) ))))) ;) (expression_statement "output[6] = (uchar)*(undefined2 *)((int)(s->core).h + 6);" (assignment_expression "output[6] = (uchar)*(undefined2 *)((int)(s->core).h + 6)" (subscript_expression "output[6]" identifier [ number_literal ]) = (binary_expression "(uchar)*(undefined2 *)((int)(s->core).h + 6)" (parenthesized_expression "(uchar)" ( identifier )) * (cast_expression "(undefined2 *)((int)(s->core).h + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(s->core).h + 6)" ( (binary_expression "(int)(s->core).h + 6" (cast_expression "(int)(s->core).h" ( (type_descriptor "int" primitive_type) ) (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier)) + number_literal) ))))) ;) (expression_statement "output[5] = (uchar)((s->core).h[1] >> 8);" (assignment_expression "output[5] = (uchar)((s->core).h[1] >> 8)" (subscript_expression "output[5]" identifier [ number_literal ]) = (call_expression "(uchar)((s->core).h[1] >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((s->core).h[1] >> 8)" ( (binary_expression "(s->core).h[1] >> 8" (subscript_expression "(s->core).h[1]" (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) >> number_literal) )))) ;) (expression_statement "output[4] = (uchar)(s->core).h[1];" (assignment_expression "output[4] = (uchar)(s->core).h[1]" (subscript_expression "output[4]" identifier [ number_literal ]) = (subscript_expression "(uchar)(s->core).h[1]" (field_expression "(uchar)(s->core).h" (call_expression "(uchar)(s->core)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) ))) . field_identifier) [ number_literal ])) ;) (expression_statement "output[0xb] = *(uchar *)((int)(s->core).h + 0xb);" (assignment_expression "output[0xb] = *(uchar *)((int)(s->core).h + 0xb)" (subscript_expression "output[0xb]" identifier [ number_literal ]) = (pointer_expression "*(uchar *)((int)(s->core).h + 0xb)" * (cast_expression "(uchar *)((int)(s->core).h + 0xb)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(s->core).h + 0xb)" ( (binary_expression "(int)(s->core).h + 0xb" (cast_expression "(int)(s->core).h" ( (type_descriptor "int" primitive_type) ) (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier)) + number_literal) ))))) ;) (expression_statement "output[10] = (uchar)*(undefined2 *)((int)(s->core).h + 10);" (assignment_expression "output[10] = (uchar)*(undefined2 *)((int)(s->core).h + 10)" (subscript_expression "output[10]" identifier [ number_literal ]) = (binary_expression "(uchar)*(undefined2 *)((int)(s->core).h + 10)" (parenthesized_expression "(uchar)" ( identifier )) * (cast_expression "(undefined2 *)((int)(s->core).h + 10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(s->core).h + 10)" ( (binary_expression "(int)(s->core).h + 10" (cast_expression "(int)(s->core).h" ( (type_descriptor "int" primitive_type) ) (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier)) + number_literal) ))))) ;) (expression_statement "output[9] = (uchar)((s->core).h[2] >> 8);" (assignment_expression "output[9] = (uchar)((s->core).h[2] >> 8)" (subscript_expression "output[9]" identifier [ number_literal ]) = (call_expression "(uchar)((s->core).h[2] >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((s->core).h[2] >> 8)" ( (binary_expression "(s->core).h[2] >> 8" (subscript_expression "(s->core).h[2]" (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) >> number_literal) )))) ;) (expression_statement "output[8] = (uchar)(s->core).h[2];" (assignment_expression "output[8] = (uchar)(s->core).h[2]" (subscript_expression "output[8]" identifier [ number_literal ]) = (subscript_expression "(uchar)(s->core).h[2]" (field_expression "(uchar)(s->core).h" (call_expression "(uchar)(s->core)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) ))) . field_identifier) [ number_literal ])) ;) (expression_statement "output[0xf] = *(uchar *)((int)(s->core).h + 0xf);" (assignment_expression "output[0xf] = *(uchar *)((int)(s->core).h + 0xf)" (subscript_expression "output[0xf]" identifier [ number_literal ]) = (pointer_expression "*(uchar *)((int)(s->core).h + 0xf)" * (cast_expression "(uchar *)((int)(s->core).h + 0xf)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(s->core).h + 0xf)" ( (binary_expression "(int)(s->core).h + 0xf" (cast_expression "(int)(s->core).h" ( (type_descriptor "int" primitive_type) ) (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier)) + number_literal) ))))) ;) (expression_statement "output[0xe] = (uchar)*(undefined2 *)((int)(s->core).h + 0xe);" (assignment_expression "output[0xe] = (uchar)*(undefined2 *)((int)(s->core).h + 0xe)" (subscript_expression "output[0xe]" identifier [ number_literal ]) = (binary_expression "(uchar)*(undefined2 *)((int)(s->core).h + 0xe)" (parenthesized_expression "(uchar)" ( identifier )) * (cast_expression "(undefined2 *)((int)(s->core).h + 0xe)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(s->core).h + 0xe)" ( (binary_expression "(int)(s->core).h + 0xe" (cast_expression "(int)(s->core).h" ( (type_descriptor "int" primitive_type) ) (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier)) + number_literal) ))))) ;) (expression_statement "output[0xd] = (uchar)((s->core).h[3] >> 8);" (assignment_expression "output[0xd] = (uchar)((s->core).h[3] >> 8)" (subscript_expression "output[0xd]" identifier [ number_literal ]) = (call_expression "(uchar)((s->core).h[3] >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((s->core).h[3] >> 8)" ( (binary_expression "(s->core).h[3] >> 8" (subscript_expression "(s->core).h[3]" (field_expression "(s->core).h" (parenthesized_expression "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) >> number_literal) )))) ;) (expression_statement "output[0xc] = (uchar)(s->core).h[3];" (assignment_expression "output[0xc] = (uchar)(s->core).h[3]" (subscript_expression "output[0xc]" identifier [ number_literal ]) = (subscript_expression "(uchar)(s->core).h[3]" (field_expression "(uchar)(s->core).h" (call_expression "(uchar)(s->core)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(s->core)" ( (field_expression "s->core" identifier -> field_identifier) ))) . field_identifier) [ number_literal ])) ;) (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(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_00068e40(undefined1 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008eb20();\n}\n\n" (function_definition "void FUN_00068e40(undefined1 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008eb20();\n}" primitive_type (function_declarator "FUN_00068e40(undefined1 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined1 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008eb20();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type 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 "uStack_14 = 0x68e49;" (assignment_expression "uStack_14 = 0x68e49" 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 "iVar5 = param_2[0x14];" (assignment_expression "iVar5 = param_2[0x14]" identifier = (subscript_expression "param_2[0x14]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }" if (parenthesized_expression "(iVar5 < 0x38)" ( (binary_expression "iVar5 < 0x38" identifier < number_literal) )) (compound_statement "{\n    __n = 0x38 - iVar5;\n  }" { (expression_statement "__n = 0x38 - iVar5;" (assignment_expression "__n = 0x38 - iVar5" identifier = (binary_expression "0x38 - iVar5" number_literal - identifier)) ;) }) (else_clause "else {\n    __n = 0x78 - iVar5;\n  }" else (compound_statement "{\n    __n = 0x78 - iVar5;\n  }" { (expression_statement "__n = 0x78 - iVar5;" (assignment_expression "__n = 0x78 - iVar5" identifier = (binary_expression "0x78 - iVar5" number_literal - identifier)) ;) }))) (expression_statement "uVar2 = param_2[0x16];" (assignment_expression "uVar2 = param_2[0x16]" identifier = (subscript_expression "param_2[0x16]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_2[0x15];" (assignment_expression "iVar3 = param_2[0x15]" identifier = (subscript_expression "param_2[0x15]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = iVar3 << 3 | uVar2 >> 0x1d;" (assignment_expression "uVar4 = iVar3 << 3 | uVar2 >> 0x1d" identifier = (binary_expression "iVar3 << 3 | uVar2 >> 0x1d" (binary_expression "iVar3 << 3" identifier << number_literal) | (binary_expression "uVar2 >> 0x1d" identifier >> number_literal))) ;) (expression_statement "iVar1 = uVar2 * 8;" (assignment_expression "iVar1 = uVar2 * 8" identifier = (binary_expression "uVar2 * 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 "param_2[0x16] = uVar2 + __n;" (assignment_expression "param_2[0x16] = uVar2 + __n" (subscript_expression "param_2[0x16]" identifier [ number_literal ]) = (binary_expression "uVar2 + __n" identifier + identifier)) ;) (expression_statement "param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);" (assignment_expression "param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n)" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) = (binary_expression "iVar3 + (uint)CARRY4(uVar2,__n)" identifier + (cast_expression "(uint)CARRY4(uVar2,__n)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar2,__n)" identifier (argument_list "(uVar2,__n)" ( identifier , identifier )))))) ;) (if_statement "if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" if (parenthesized_expression "(__n + iVar5 < 0x40)" ( (binary_expression "__n + iVar5 < 0x40" (binary_expression "__n + iVar5" identifier + identifier) < number_literal) )) (compound_statement "{\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }" { (expression_statement "memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);" (call_expression "memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n)" identifier (argument_list "((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n)" ( (cast_expression "(void *)((int)param_2 + iVar5 + 0x10)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar5 + 0x10)" ( (binary_expression "(int)param_2 + iVar5 + 0x10" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) , (pointer_expression "&local_60" & identifier) , identifier ))) ;) (expression_statement "iVar5 = __n + param_2[0x14];" (assignment_expression "iVar5 = __n + param_2[0x14]" identifier = (binary_expression "__n + param_2[0x14]" identifier + (subscript_expression "param_2[0x14]" identifier [ number_literal ]))) ;) (expression_statement "param_2[0x14] = iVar5;" (assignment_expression "param_2[0x14] = iVar5" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" else (compound_statement "{\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" { (expression_statement "FUN_00068620();" (call_expression "FUN_00068620()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = param_2[0x14];" (assignment_expression "iVar5 = param_2[0x14]" identifier = (subscript_expression "param_2[0x14]" identifier [ number_literal ])) ;) }))) (expression_statement "iVar3 = param_2[0x16];" (assignment_expression "iVar3 = param_2[0x16]" identifier = (subscript_expression "param_2[0x16]" identifier [ number_literal ])) ;) (expression_statement "param_2[0x16] = iVar3 + 8U;" (assignment_expression "param_2[0x16] = iVar3 + 8U" (subscript_expression "param_2[0x16]" identifier [ number_literal ]) = (binary_expression "iVar3 + 8U" identifier + number_literal)) ;) (expression_statement "param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);" (assignment_expression "param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8)" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) = (binary_expression "param_2[0x15] + (uint)(iVar3 + 8U < 8)" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) + (call_expression "(uint)(iVar3 + 8U < 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 + 8U < 8)" ( (binary_expression "iVar3 + 8U < 8" (binary_expression "iVar3 + 8U" identifier + number_literal) < number_literal) ))))) ;) (expression_statement "local_60 = iVar1;" (assignment_expression "local_60 = iVar1" identifier = identifier) ;) (expression_statement "local_5c = uVar4;" (assignment_expression "local_5c = uVar4" identifier = identifier) ;) (if_statement "if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }" if (parenthesized_expression "(iVar5 + 8U < 0x40)" ( (binary_expression "iVar5 + 8U < 0x40" (binary_expression "iVar5 + 8U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }" { (expression_statement "*(int *)((int)param_2 + iVar5 + 0x10) = iVar1;" (assignment_expression "*(int *)((int)param_2 + iVar5 + 0x10) = iVar1" (pointer_expression "*(int *)((int)param_2 + iVar5 + 0x10)" * (cast_expression "(int *)((int)param_2 + iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar5 + 0x10)" ( (binary_expression "(int)param_2 + iVar5 + 0x10" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;" (assignment_expression "*(uint *)((int)param_2 + iVar5 + 0x14) = uVar4" (pointer_expression "*(uint *)((int)param_2 + iVar5 + 0x14)" * (cast_expression "(uint *)((int)param_2 + iVar5 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar5 + 0x14)" ( (binary_expression "(int)param_2 + iVar5 + 0x14" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[0x14] = param_2[0x14] + 8;" (assignment_expression "param_2[0x14] = param_2[0x14] + 8" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) = (binary_expression "param_2[0x14] + 8" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n    FUN_00068620();\n  }" else (compound_statement "{\n    FUN_00068620();\n  }" { (expression_statement "FUN_00068620();" (call_expression "FUN_00068620()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "param_1[3] = (char)((uint)*param_2 >> 0x18);" (assignment_expression "param_1[3] = (char)((uint)*param_2 >> 0x18)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*param_2 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*param_2 >> 0x18)" ( (binary_expression "(uint)*param_2 >> 0x18" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "param_1[2] = (char)((uint)*param_2 >> 0x10);" (assignment_expression "param_1[2] = (char)((uint)*param_2 >> 0x10)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*param_2 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*param_2 >> 0x10)" ( (binary_expression "(uint)*param_2 >> 0x10" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "param_1[1] = (char)((uint)*param_2 >> 8);" (assignment_expression "param_1[1] = (char)((uint)*param_2 >> 8)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)*param_2 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*param_2 >> 8)" ( (binary_expression "(uint)*param_2 >> 8" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) )))) ;) (expression_statement "*param_1 = (char)*param_2;" (assignment_expression "*param_1 = (char)*param_2" (pointer_expression "*param_1" * identifier) = (cast_expression "(char)*param_2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "param_1[7] = *(undefined1 *)((int)param_2 + 7);" (assignment_expression "param_1[7] = *(undefined1 *)((int)param_2 + 7)" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)((int)param_2 + 7)" * (cast_expression "(undefined1 *)((int)param_2 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 7)" ( (binary_expression "(int)param_2 + 7" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);" (assignment_expression "param_1[6] = (char)*(undefined2 *)((int)param_2 + 6)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)((int)param_2 + 6)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)((int)param_2 + 6)" * (cast_expression "(undefined2 *)((int)param_2 + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (expression_statement "param_1[5] = (char)((uint)param_2[1] >> 8);" (assignment_expression "param_1[5] = (char)((uint)param_2[1] >> 8)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(char)((uint)param_2[1] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)param_2[1] >> 8)" ( (binary_expression "(uint)param_2[1] >> 8" (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_1[4] = (char)param_2[1];" (assignment_expression "param_1[4] = (char)param_2[1]" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(char)param_2[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);" (assignment_expression "param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb)" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)((int)param_2 + 0xb)" * (cast_expression "(undefined1 *)((int)param_2 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xb)" ( (binary_expression "(int)param_2 + 0xb" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);" (assignment_expression "param_1[10] = (char)*(undefined2 *)((int)param_2 + 10)" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)((int)param_2 + 10)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)((int)param_2 + 10)" * (cast_expression "(undefined2 *)((int)param_2 + 10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 10)" ( (binary_expression "(int)param_2 + 10" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (expression_statement "param_1[9] = (char)((uint)param_2[2] >> 8);" (assignment_expression "param_1[9] = (char)((uint)param_2[2] >> 8)" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (cast_expression "(char)((uint)param_2[2] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)param_2[2] >> 8)" ( (binary_expression "(uint)param_2[2] >> 8" (cast_expression "(uint)param_2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_1[8] = (char)param_2[2];" (assignment_expression "param_1[8] = (char)param_2[2]" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (cast_expression "(char)param_2[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (expression_statement "param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);" (assignment_expression "param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf)" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)((int)param_2 + 0xf)" * (cast_expression "(undefined1 *)((int)param_2 + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xf)" ( (binary_expression "(int)param_2 + 0xf" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);" (assignment_expression "param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe)" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (cast_expression "(char)*(undefined2 *)((int)param_2 + 0xe)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)((int)param_2 + 0xe)" * (cast_expression "(undefined2 *)((int)param_2 + 0xe)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xe)" ( (binary_expression "(int)param_2 + 0xe" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) (expression_statement "param_1[0xd] = (char)((uint)param_2[3] >> 8);" (assignment_expression "param_1[0xd] = (char)((uint)param_2[3] >> 8)" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = (cast_expression "(char)((uint)param_2[3] >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)param_2[3] >> 8)" ( (binary_expression "(uint)param_2[3] >> 8" (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "param_1[0xc] = (char)param_2[3];" (assignment_expression "param_1[0xc] = (char)param_2[3]" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = (cast_expression "(char)param_2[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) ;) (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_0008eb20();" (call_expression "FUN_0008eb20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , 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 (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression 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 (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < 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 (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 (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (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_00068e40(undefined1 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008eb20();\n}" (primitive_type "void") (function_declarator "FUN_00068e40(undefined1 *param_1,undefined4 *param_2)" (identifier "FUN_00068e40") (parameter_list "(undefined1 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint __n;\n  int iVar5;\n  int in_GS_OFFSET;\n  int local_60;\n  uint local_5c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x68e49;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[0x14];\n  if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }\n  uVar2 = param_2[0x16];\n  iVar3 = param_2[0x15];\n  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;\n  iVar1 = uVar2 * 8;\n  __memset_chk(&local_60,0,__n,0x40);\n  local_60 = CONCAT31(local_60._1_3_,0x80);\n  param_2[0x16] = uVar2 + __n;\n  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);\n  if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }\n  iVar3 = param_2[0x16];\n  param_2[0x16] = iVar3 + 8U;\n  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);\n  local_60 = iVar1;\n  local_5c = uVar4;\n  if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }\n  param_1[3] = (char)((uint)*param_2 >> 0x18);\n  param_1[2] = (char)((uint)*param_2 >> 0x10);\n  param_1[1] = (char)((uint)*param_2 >> 8);\n  *param_1 = (char)*param_2;\n  param_1[7] = *(undefined1 *)((int)param_2 + 7);\n  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);\n  param_1[5] = (char)((uint)param_2[1] >> 8);\n  param_1[4] = (char)param_2[1];\n  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);\n  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);\n  param_1[9] = (char)((uint)param_2[2] >> 8);\n  param_1[8] = (char)param_2[2];\n  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);\n  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);\n  param_1[0xd] = (char)((uint)param_2[3] >> 8);\n  param_1[0xc] = (char)param_2[3];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008eb20();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (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 "uStack_14 = 0x68e49;" (assignment_expression "uStack_14 = 0x68e49" (identifier "uStack_14") (= "=") (number_literal "0x68e49")) (; ";")) (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 "iVar5 = param_2[0x14];" (assignment_expression "iVar5 = param_2[0x14]" (identifier "iVar5") (= "=") (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]"))) (; ";")) (if_statement "if (iVar5 < 0x38) {\n    __n = 0x38 - iVar5;\n  }\n  else {\n    __n = 0x78 - iVar5;\n  }" (if "if") (parenthesized_expression "(iVar5 < 0x38)" (( "(") (binary_expression "iVar5 < 0x38" (identifier "iVar5") (< "<") (number_literal "0x38")) () ")")) (compound_statement "{\n    __n = 0x38 - iVar5;\n  }" ({ "{") (expression_statement "__n = 0x38 - iVar5;" (assignment_expression "__n = 0x38 - iVar5" (identifier "__n") (= "=") (binary_expression "0x38 - iVar5" (number_literal "0x38") (- "-") (identifier "iVar5"))) (; ";")) (} "}")) (else_clause "else {\n    __n = 0x78 - iVar5;\n  }" (else "else") (compound_statement "{\n    __n = 0x78 - iVar5;\n  }" ({ "{") (expression_statement "__n = 0x78 - iVar5;" (assignment_expression "__n = 0x78 - iVar5" (identifier "__n") (= "=") (binary_expression "0x78 - iVar5" (number_literal "0x78") (- "-") (identifier "iVar5"))) (; ";")) (} "}")))) (expression_statement "uVar2 = param_2[0x16];" (assignment_expression "uVar2 = param_2[0x16]" (identifier "uVar2") (= "=") (subscript_expression "param_2[0x16]" (identifier "param_2") ([ "[") (number_literal "0x16") (] "]"))) (; ";")) (expression_statement "iVar3 = param_2[0x15];" (assignment_expression "iVar3 = param_2[0x15]" (identifier "iVar3") (= "=") (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]"))) (; ";")) (expression_statement "uVar4 = iVar3 << 3 | uVar2 >> 0x1d;" (assignment_expression "uVar4 = iVar3 << 3 | uVar2 >> 0x1d" (identifier "uVar4") (= "=") (binary_expression "iVar3 << 3 | uVar2 >> 0x1d" (binary_expression "iVar3 << 3" (identifier "iVar3") (<< "<<") (number_literal "3")) (| "|") (binary_expression "uVar2 >> 0x1d" (identifier "uVar2") (>> ">>") (number_literal "0x1d")))) (; ";")) (expression_statement "iVar1 = uVar2 * 8;" (assignment_expression "iVar1 = uVar2 * 8" (identifier "iVar1") (= "=") (binary_expression "uVar2 * 8" (identifier "uVar2") (* "*") (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 "param_2[0x16] = uVar2 + __n;" (assignment_expression "param_2[0x16] = uVar2 + __n" (subscript_expression "param_2[0x16]" (identifier "param_2") ([ "[") (number_literal "0x16") (] "]")) (= "=") (binary_expression "uVar2 + __n" (identifier "uVar2") (+ "+") (identifier "__n"))) (; ";")) (expression_statement "param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);" (assignment_expression "param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n)" (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]")) (= "=") (binary_expression "iVar3 + (uint)CARRY4(uVar2,__n)" (identifier "iVar3") (+ "+") (cast_expression "(uint)CARRY4(uVar2,__n)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar2,__n)" (identifier "CARRY4") (argument_list "(uVar2,__n)" (( "(") (identifier "uVar2") (, ",") (identifier "__n") () ")")))))) (; ";")) (if_statement "if (__n + iVar5 < 0x40) {\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }\n  else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" (if "if") (parenthesized_expression "(__n + iVar5 < 0x40)" (( "(") (binary_expression "__n + iVar5 < 0x40" (binary_expression "__n + iVar5" (identifier "__n") (+ "+") (identifier "iVar5")) (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);\n    iVar5 = __n + param_2[0x14];\n    param_2[0x14] = iVar5;\n  }" ({ "{") (expression_statement "memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);" (call_expression "memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n)" (identifier "memcpy") (argument_list "((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n)" (( "(") (cast_expression "(void *)((int)param_2 + iVar5 + 0x10)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + iVar5 + 0x10)" (( "(") (binary_expression "(int)param_2 + iVar5 + 0x10" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0x10")) () ")"))) (, ",") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "iVar5 = __n + param_2[0x14];" (assignment_expression "iVar5 = __n + param_2[0x14]" (identifier "iVar5") (= "=") (binary_expression "__n + param_2[0x14]" (identifier "__n") (+ "+") (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")))) (; ";")) (expression_statement "param_2[0x14] = iVar5;" (assignment_expression "param_2[0x14] = iVar5" (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" (else "else") (compound_statement "{\n    FUN_00068620();\n    iVar5 = param_2[0x14];\n  }" ({ "{") (expression_statement "FUN_00068620();" (call_expression "FUN_00068620()" (identifier "FUN_00068620") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = param_2[0x14];" (assignment_expression "iVar5 = param_2[0x14]" (identifier "iVar5") (= "=") (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]"))) (; ";")) (} "}")))) (expression_statement "iVar3 = param_2[0x16];" (assignment_expression "iVar3 = param_2[0x16]" (identifier "iVar3") (= "=") (subscript_expression "param_2[0x16]" (identifier "param_2") ([ "[") (number_literal "0x16") (] "]"))) (; ";")) (expression_statement "param_2[0x16] = iVar3 + 8U;" (assignment_expression "param_2[0x16] = iVar3 + 8U" (subscript_expression "param_2[0x16]" (identifier "param_2") ([ "[") (number_literal "0x16") (] "]")) (= "=") (binary_expression "iVar3 + 8U" (identifier "iVar3") (+ "+") (number_literal "8U"))) (; ";")) (expression_statement "param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);" (assignment_expression "param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8)" (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]")) (= "=") (binary_expression "param_2[0x15] + (uint)(iVar3 + 8U < 8)" (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]")) (+ "+") (call_expression "(uint)(iVar3 + 8U < 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar3 + 8U < 8)" (( "(") (binary_expression "iVar3 + 8U < 8" (binary_expression "iVar3 + 8U" (identifier "iVar3") (+ "+") (number_literal "8U")) (< "<") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_60 = iVar1;" (assignment_expression "local_60 = iVar1" (identifier "local_60") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "local_5c = uVar4;" (assignment_expression "local_5c = uVar4" (identifier "local_5c") (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (iVar5 + 8U < 0x40) {\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }\n  else {\n    FUN_00068620();\n  }" (if "if") (parenthesized_expression "(iVar5 + 8U < 0x40)" (( "(") (binary_expression "iVar5 + 8U < 0x40" (binary_expression "iVar5 + 8U" (identifier "iVar5") (+ "+") (number_literal "8U")) (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;\n    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;\n    param_2[0x14] = param_2[0x14] + 8;\n  }" ({ "{") (expression_statement "*(int *)((int)param_2 + iVar5 + 0x10) = iVar1;" (assignment_expression "*(int *)((int)param_2 + iVar5 + 0x10) = iVar1" (pointer_expression "*(int *)((int)param_2 + iVar5 + 0x10)" (* "*") (cast_expression "(int *)((int)param_2 + iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + iVar5 + 0x10)" (( "(") (binary_expression "(int)param_2 + iVar5 + 0x10" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;" (assignment_expression "*(uint *)((int)param_2 + iVar5 + 0x14) = uVar4" (pointer_expression "*(uint *)((int)param_2 + iVar5 + 0x14)" (* "*") (cast_expression "(uint *)((int)param_2 + iVar5 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + iVar5 + 0x14)" (( "(") (binary_expression "(int)param_2 + iVar5 + 0x14" (binary_expression "(int)param_2 + iVar5" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "param_2[0x14] = param_2[0x14] + 8;" (assignment_expression "param_2[0x14] = param_2[0x14] + 8" (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")) (= "=") (binary_expression "param_2[0x14] + 8" (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")) (+ "+") (number_literal "8"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00068620();\n  }" (else "else") (compound_statement "{\n    FUN_00068620();\n  }" ({ "{") (expression_statement "FUN_00068620();" (call_expression "FUN_00068620()" (identifier "FUN_00068620") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "param_1[3] = (char)((uint)*param_2 >> 0x18);" (assignment_expression "param_1[3] = (char)((uint)*param_2 >> 0x18)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)((uint)*param_2 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)*param_2 >> 0x18)" (( "(") (binary_expression "(uint)*param_2 >> 0x18" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "param_1[2] = (char)((uint)*param_2 >> 0x10);" (assignment_expression "param_1[2] = (char)((uint)*param_2 >> 0x10)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)((uint)*param_2 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)*param_2 >> 0x10)" (( "(") (binary_expression "(uint)*param_2 >> 0x10" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_1[1] = (char)((uint)*param_2 >> 8);" (assignment_expression "param_1[1] = (char)((uint)*param_2 >> 8)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)((uint)*param_2 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)*param_2 >> 8)" (( "(") (binary_expression "(uint)*param_2 >> 8" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*param_1 = (char)*param_2;" (assignment_expression "*param_1 = (char)*param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(char)*param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "param_1[7] = *(undefined1 *)((int)param_2 + 7);" (assignment_expression "param_1[7] = *(undefined1 *)((int)param_2 + 7)" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (pointer_expression "*(undefined1 *)((int)param_2 + 7)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 7)" (( "(") (binary_expression "(int)param_2 + 7" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "7")) () ")"))))) (; ";")) (expression_statement "param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);" (assignment_expression "param_1[6] = (char)*(undefined2 *)((int)param_2 + 6)" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(char)*(undefined2 *)((int)param_2 + 6)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)((int)param_2 + 6)" (* "*") (cast_expression "(undefined2 *)((int)param_2 + 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 6)" (( "(") (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "6")) () ")")))))) (; ";")) (expression_statement "param_1[5] = (char)((uint)param_2[1] >> 8);" (assignment_expression "param_1[5] = (char)((uint)param_2[1] >> 8)" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(char)((uint)param_2[1] >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)param_2[1] >> 8)" (( "(") (binary_expression "(uint)param_2[1] >> 8" (cast_expression "(uint)param_2[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_1[4] = (char)param_2[1];" (assignment_expression "param_1[4] = (char)param_2[1]" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(char)param_2[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);" (assignment_expression "param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb)" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (pointer_expression "*(undefined1 *)((int)param_2 + 0xb)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 0xb)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0xb)" (( "(") (binary_expression "(int)param_2 + 0xb" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0xb")) () ")"))))) (; ";")) (expression_statement "param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);" (assignment_expression "param_1[10] = (char)*(undefined2 *)((int)param_2 + 10)" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (cast_expression "(char)*(undefined2 *)((int)param_2 + 10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)((int)param_2 + 10)" (* "*") (cast_expression "(undefined2 *)((int)param_2 + 10)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 10)" (( "(") (binary_expression "(int)param_2 + 10" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "10")) () ")")))))) (; ";")) (expression_statement "param_1[9] = (char)((uint)param_2[2] >> 8);" (assignment_expression "param_1[9] = (char)((uint)param_2[2] >> 8)" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(char)((uint)param_2[2] >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)param_2[2] >> 8)" (( "(") (binary_expression "(uint)param_2[2] >> 8" (cast_expression "(uint)param_2[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_1[8] = (char)param_2[2];" (assignment_expression "param_1[8] = (char)param_2[2]" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (cast_expression "(char)param_2[2]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);" (assignment_expression "param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf)" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (= "=") (pointer_expression "*(undefined1 *)((int)param_2 + 0xf)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 0xf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0xf)" (( "(") (binary_expression "(int)param_2 + 0xf" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0xf")) () ")"))))) (; ";")) (expression_statement "param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);" (assignment_expression "param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe)" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (cast_expression "(char)*(undefined2 *)((int)param_2 + 0xe)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)((int)param_2 + 0xe)" (* "*") (cast_expression "(undefined2 *)((int)param_2 + 0xe)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0xe)" (( "(") (binary_expression "(int)param_2 + 0xe" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0xe")) () ")")))))) (; ";")) (expression_statement "param_1[0xd] = (char)((uint)param_2[3] >> 8);" (assignment_expression "param_1[0xd] = (char)((uint)param_2[3] >> 8)" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (cast_expression "(char)((uint)param_2[3] >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)param_2[3] >> 8)" (( "(") (binary_expression "(uint)param_2[3] >> 8" (cast_expression "(uint)param_2[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_1[0xc] = (char)param_2[3];" (assignment_expression "param_1[0xc] = (char)param_2[3]" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (cast_expression "(char)param_2[3]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")))) (; ";")) (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_0008eb20();" (call_expression "FUN_0008eb20()" (identifier "FUN_0008eb20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void function_1(type_1 *output,type_2 *s)

{
  int iVar1;
  int var_10;
  type_3 var_4;
  type_4 var_3;
  type_3 uVar5;
  type_3 var_6;
  int var_2;
  int var_1;
  type_1 c [64];
  
  var_10 = *(int *)(var_1 + 0x14);
  var_2 = s->blkused;
  if (var_2 < 0x38) {
    var_6 = 0x38 - var_2;
  }
  else {
    var_6 = 0x78 - var_2;
  }
  var_4 = s->lenlo;
  var_3 = s->lenhi;
  uVar5 = var_3 << 3 | var_4 >> 0x1d;
  iVar1 = var_4 * 8;
  var_5(c,0,var_6,0x40);
  c[0] = 0x80;
  s->lenlo = var_4 + var_6;
  s->lenhi = var_3 + var_7(var_4,var_6);
  if (var_6 + var_2 < 0x40) {
    var_8(s->block + var_2,c,var_6);
    var_2 = var_6 + s->blkused;
    s->blkused = var_2;
  }
  else {
    var_9(s,c,var_6);
    var_2 = s->blkused;
  }
  var_6 = s->lenlo + 8;
  s->lenlo = var_6;
  s->lenhi = s->lenhi + (type_3)(var_6 < 8);
  c._0_4_ = iVar1;
  c._4_4_ = uVar5;
  if (var_2 + 8U < 0x40) {
    *(int *)(s->block + var_2) = iVar1;
    *(type_3 *)(s->block + var_2 + 4) = uVar5;
    s->blkused = s->blkused + 8;
  }
  else {
    var_9(s,c,8);
  }
  output[3] = (type_1)((s->core).h[0] >> 0x18);
  output[2] = (type_1)((s->core).h[0] >> 0x10);
  output[1] = (type_1)((s->core).h[0] >> 8);
  *output = (type_1)(s->core).h[0];
  output[7] = *(type_1 *)((int)(s->core).h + 7);
  output[6] = (type_1)*(type_5 *)((int)(s->core).h + 6);
  output[5] = (type_1)((s->core).h[1] >> 8);
  output[4] = (type_1)(s->core).h[1];
  output[0xb] = *(type_1 *)((int)(s->core).h + 0xb);
  output[10] = (type_1)*(type_5 *)((int)(s->core).h + 10);
  output[9] = (type_1)((s->core).h[2] >> 8);
  output[8] = (type_1)(s->core).h[2];
  output[0xf] = *(type_1 *)((int)(s->core).h + 0xf);
  output[0xe] = (type_1)*(type_5 *)((int)(s->core).h + 0xe);
  output[0xd] = (type_1)((s->core).h[3] >> 8);
  output[0xc] = (type_1)(s->core).h[3];
  if (var_10 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_11();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (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: (subscript_expression argument: (identifier) index: (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: (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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (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(undefined1 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  uint __n;
  int iVar5;
  int in_GS_OFFSET;
  int local_60;
  uint local_5c;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x68e49;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = param_2[0x14];
  if (iVar5 < 0x38) {
    __n = 0x38 - iVar5;
  }
  else {
    __n = 0x78 - iVar5;
  }
  uVar2 = param_2[0x16];
  iVar3 = param_2[0x15];
  uVar4 = iVar3 << 3 | uVar2 >> 0x1d;
  iVar1 = uVar2 * 8;
  __memset_chk(&local_60,0,__n,0x40);
  local_60 = CONCAT31(local_60._1_3_,0x80);
  param_2[0x16] = uVar2 + __n;
  param_2[0x15] = iVar3 + (uint)CARRY4(uVar2,__n);
  if (__n + iVar5 < 0x40) {
    memcpy((void *)((int)param_2 + iVar5 + 0x10),&local_60,__n);
    iVar5 = __n + param_2[0x14];
    param_2[0x14] = iVar5;
  }
  else {
    FUN_00068620();
    iVar5 = param_2[0x14];
  }
  iVar3 = param_2[0x16];
  param_2[0x16] = iVar3 + 8U;
  param_2[0x15] = param_2[0x15] + (uint)(iVar3 + 8U < 8);
  local_60 = iVar1;
  local_5c = uVar4;
  if (iVar5 + 8U < 0x40) {
    *(int *)((int)param_2 + iVar5 + 0x10) = iVar1;
    *(uint *)((int)param_2 + iVar5 + 0x14) = uVar4;
    param_2[0x14] = param_2[0x14] + 8;
  }
  else {
    FUN_00068620();
  }
  param_1[3] = (char)((uint)*param_2 >> 0x18);
  param_1[2] = (char)((uint)*param_2 >> 0x10);
  param_1[1] = (char)((uint)*param_2 >> 8);
  *param_1 = (char)*param_2;
  param_1[7] = *(undefined1 *)((int)param_2 + 7);
  param_1[6] = (char)*(undefined2 *)((int)param_2 + 6);
  param_1[5] = (char)((uint)param_2[1] >> 8);
  param_1[4] = (char)param_2[1];
  param_1[0xb] = *(undefined1 *)((int)param_2 + 0xb);
  param_1[10] = (char)*(undefined2 *)((int)param_2 + 10);
  param_1[9] = (char)((uint)param_2[2] >> 8);
  param_1[8] = (char)param_2[2];
  param_1[0xf] = *(undefined1 *)((int)param_2 + 0xf);
  param_1[0xe] = (char)*(undefined2 *)((int)param_2 + 0xe);
  param_1[0xd] = (char)((uint)param_2[3] >> 8);
  param_1[0xc] = (char)param_2[3];
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008eb20();
}

