
void poly1305_key(poly1305 *ctx,uchar *key)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  uint *puVar4;
  uint *puVar5;
  uint uVar6;
  int unaff_EDI;
  int iVar7;
  int in_GS_OFFSET;
  undefined8 uVar8;
  uint uVar9;
  uint uVar10;
  uint local_50;
  uint local_4c;
  uint local_48;
  uchar key_copy [16];
  
  uVar8 = __x86_get_pc_thunk_di();
  puVar5 = (uint *)((ulonglong)uVar8 >> 0x20);
  puVar4 = (uint *)uVar8;
  iVar7 = unaff_EDI + 0xd4d79;
  uVar2 = *puVar5;
  uVar3 = puVar5[1];
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  uVar9 = puVar5[2];
  uVar10 = puVar5[3];
  uVar6 = uVar2 >> 0x18 & 0xf;
  key_copy._0_3_ = (undefined3)uVar2;
  key_copy[3] = (uchar)uVar6;
  local_50 = uVar3 >> 0x18 & 0xf;
  local_4c = uVar9 >> 0x18 & 0xf;
  local_48 = uVar10 >> 0x18 & 0xf;
  key_copy._4_4_ = uVar3 & 0xffffffc;
  key_copy._8_4_ = uVar9 & 0xffffffc;
  key_copy._12_4_ = uVar10 & 0xffffffc;
  puVar4[8] = 0;
  puVar4[4] = uVar2 & 0xffffff | uVar6 << 0x18;
  puVar4[5] = uVar3 & 0xfffffc | local_50 << 0x18;
  puVar4[6] = (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18;
  puVar4[7] = local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00;
  smemclr(key_copy,0x10);
  *puVar4 = puVar5[4];
  puVar4[1] = puVar5[5];
  puVar4[2] = puVar5[6];
  puVar4[3] = puVar5[7];
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local(uVar9,uVar10,iVar7);
}



void FUN_000659d0(void)

{
  uint uVar1;
  uint uVar2;
  uint *puVar3;
  uint *puVar4;
  uint uVar5;
  int unaff_EDI;
  undefined *puVar6;
  int in_GS_OFFSET;
  undefined8 uVar7;
  uint uVar8;
  uint uVar9;
  uint local_50;
  uint local_4c;
  uint local_48;
  undefined3 local_30;
  undefined1 uStack_2d;
  uint local_2c;
  uint local_28;
  uint local_24;
  int local_20;
  
  uVar7 = FUN_0002e9de();
  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);
  puVar3 = (uint *)uVar7;
  puVar6 = &UNK_000d4d79 + unaff_EDI;
  uVar1 = *puVar4;
  uVar2 = puVar4[1];
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar8 = puVar4[2];
  uVar9 = puVar4[3];
  uVar5 = uVar1 >> 0x18 & 0xf;
  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);
  local_50 = uVar2 >> 0x18 & 0xf;
  local_4c = uVar8 >> 0x18 & 0xf;
  local_48 = uVar9 >> 0x18 & 0xf;
  local_2c = uVar2 & 0xffffffc;
  local_28 = uVar8 & 0xffffffc;
  local_24 = uVar9 & 0xffffffc;
  puVar3[8] = 0;
  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;
  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;
  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;
  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;
  FUN_00032c20(&local_30,0x10);
  *puVar3 = puVar4[4];
  puVar3[1] = puVar4[5];
  puVar3[2] = puVar4[6];
  puVar3[3] = puVar4[7];
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000c60b0(uVar8,uVar9,puVar6);
}


PUSH EBP
PUSH EDI
CALL 0x0002e9de
ADD EDI,0xd4d79
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0x54
MOV EBP,dword ptr [EDX]
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0x10],EDI
MOV EDI,EDX
MOV EBX,ECX
SHR EBX,0x18
AND EBX,0xf
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x44],EAX
XOR EAX,EAX
MOV EAX,dword ptr [EDX + 0x8]
MOV EDX,dword ptr [EDX + 0xc]
MOV dword ptr [ESP + 0x34],EBP
MOV dword ptr [ESP + 0x24],EBP
SHR EBP,0x18
AND EBP,0xf
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP + 0x3c],EAX
MOV EAX,EBP
SHL EBP,0x18
MOV byte ptr [ESP + 0x37],AL
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0xc],EDX
SHR EAX,0x18
MOV dword ptr [ESP + 0x40],EDX
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x38],ECX
AND EDX,0xf
MOV byte ptr [ESP + 0x14],BL
SHR EAX,0x18
MOV byte ptr [ESP + 0x18],DL
MOV byte ptr [ESP + 0x3f],DL
MOV EDX,EAX
MOV EAX,ECX
AND ECX,0xffff00
AND EAX,0xfffffffc
MOV byte ptr [ESP + 0x3b],BL
AND EDX,0xf
MOVZX EBX,AL
MOVZX EAX,byte ptr [ESP + 0x8]
MOV byte ptr [ESP + 0x1c],DL
MOV byte ptr [ESP + 0x43],DL
OR ECX,EBX
AND EAX,0xfffffffc
MOV byte ptr [ESP + 0x38],BL
MOVZX EDX,AL
MOVZX EAX,byte ptr [ESP + 0xc]
MOV byte ptr [ESP + 0x3c],DL
AND EAX,0xfffffffc
MOV byte ptr [ESP + 0x23],AL
MOV byte ptr [ESP + 0x40],AL
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x20],0x0
AND EAX,0xffffff
OR EAX,EBP
MOV EBP,dword ptr [ESP + 0x14]
MOV dword ptr [ESI + 0x10],EAX
MOVZX EAX,byte ptr [ESP + 0x23]
SHL EBP,0x18
OR ECX,EBP
MOV EBP,dword ptr [ESP + 0x18]
MOV dword ptr [ESI + 0x14],ECX
MOV ECX,dword ptr [ESP + 0x8]
SHL EBP,0x18
AND ECX,0xffff00
OR EDX,ECX
MOV ECX,dword ptr [ESP + 0xc]
OR EDX,EBP
MOV dword ptr [ESI + 0x18],EDX
MOV EDX,dword ptr [ESP + 0x1c]
AND ECX,0xffff00
PUSH 0x10
OR EAX,ECX
SHL EDX,0x18
OR EDX,EAX
LEA EAX,[ESP + 0x38]
MOV dword ptr [ESI + 0x1c],EDX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x00032c20
MOV EDX,dword ptr [EDI + 0x10]
ADD ESP,0x10
MOV dword ptr [ESI],EDX
MOV EDX,dword ptr [EDI + 0x14]
MOV dword ptr [ESI + 0x4],EDX
MOV EDX,dword ptr [EDI + 0x18]
MOV dword ptr [ESI + 0x8],EDX
MOV EAX,dword ptr [EDI + 0x1c]
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x3c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00065b2c
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x000c60b0
(translation_unit "void FUN_000659d0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}\n\n" (function_definition "void FUN_000659d0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}" primitive_type (function_declarator "FUN_000659d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "undefined3 local_30;" type_identifier identifier ;) (declaration "undefined1 uStack_2d;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar7 = FUN_0002e9de();" (assignment_expression "uVar7 = FUN_0002e9de()" identifier = (call_expression "FUN_0002e9de()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);" (assignment_expression "puVar4 = (uint *)((ulonglong)uVar7 >> 0x20)" identifier = (cast_expression "(uint *)((ulonglong)uVar7 >> 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar3 = (uint *)uVar7;" (assignment_expression "puVar3 = (uint *)uVar7" identifier = (cast_expression "(uint *)uVar7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar6 = &UNK_000d4d79 + unaff_EDI;" (assignment_expression "puVar6 = &UNK_000d4d79 + unaff_EDI" identifier = (binary_expression "&UNK_000d4d79 + unaff_EDI" (pointer_expression "&UNK_000d4d79" & identifier) + identifier)) ;) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar2 = puVar4[1];" (assignment_expression "uVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" 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 "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = puVar4[3];" (assignment_expression "uVar9 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = uVar1 >> 0x18 & 0xf;" (assignment_expression "uVar5 = uVar1 >> 0x18 & 0xf" identifier = (binary_expression "uVar1 >> 0x18 & 0xf" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "_local_30 = CONCAT13((char)uVar5,(int3)uVar1);" (assignment_expression "_local_30 = CONCAT13((char)uVar5,(int3)uVar1)" identifier = (call_expression "CONCAT13((char)uVar5,(int3)uVar1)" identifier (argument_list "((char)uVar5,(int3)uVar1)" ( (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier) , (cast_expression "(int3)uVar1" ( (type_descriptor "int3" type_identifier) ) identifier) )))) ;) (expression_statement "local_50 = uVar2 >> 0x18 & 0xf;" (assignment_expression "local_50 = uVar2 >> 0x18 & 0xf" identifier = (binary_expression "uVar2 >> 0x18 & 0xf" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_4c = uVar8 >> 0x18 & 0xf;" (assignment_expression "local_4c = uVar8 >> 0x18 & 0xf" identifier = (binary_expression "uVar8 >> 0x18 & 0xf" (binary_expression "uVar8 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_48 = uVar9 >> 0x18 & 0xf;" (assignment_expression "local_48 = uVar9 >> 0x18 & 0xf" identifier = (binary_expression "uVar9 >> 0x18 & 0xf" (binary_expression "uVar9 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_2c = uVar2 & 0xffffffc;" (assignment_expression "local_2c = uVar2 & 0xffffffc" identifier = (binary_expression "uVar2 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "local_28 = uVar8 & 0xffffffc;" (assignment_expression "local_28 = uVar8 & 0xffffffc" identifier = (binary_expression "uVar8 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "local_24 = uVar9 & 0xffffffc;" (assignment_expression "local_24 = uVar9 & 0xffffffc" identifier = (binary_expression "uVar9 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;" (assignment_expression "puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = (binary_expression "uVar1 & 0xffffff | uVar5 << 0x18" (binary_expression "uVar1 & 0xffffff" identifier & number_literal) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;" (assignment_expression "puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = (binary_expression "uVar2 & 0xfffffc | local_50 << 0x18" (binary_expression "uVar2 & 0xfffffc" identifier & number_literal) | (binary_expression "local_50 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;" (assignment_expression "puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = (binary_expression "(uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18" (binary_expression "(uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00" (call_expression "(uint)((byte)uVar8 & 0xfc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)uVar8 & 0xfc)" ( (binary_expression "(byte)uVar8 & 0xfc" (cast_expression "(byte)uVar8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) | (binary_expression "uVar8 & 0xffff00" identifier & number_literal)) | (binary_expression "local_4c << 0x18" identifier << number_literal))) ;) (expression_statement "puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;" (assignment_expression "puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = (binary_expression "local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (binary_expression "local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc)" (binary_expression "local_48 << 0x18" identifier << number_literal) | (call_expression "(uint)((byte)uVar9 & 0xfc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)uVar9 & 0xfc)" ( (binary_expression "(byte)uVar9 & 0xfc" (cast_expression "(byte)uVar9" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) | (binary_expression "uVar9 & 0xffff00" identifier & number_literal))) ;) (expression_statement "FUN_00032c20(&local_30,0x10);" (call_expression "FUN_00032c20(&local_30,0x10)" identifier (argument_list "(&local_30,0x10)" ( (pointer_expression "&local_30" & identifier) , number_literal ))) ;) (expression_statement "*puVar3 = puVar4[4];" (assignment_expression "*puVar3 = puVar4[4]" (pointer_expression "*puVar3" * identifier) = (subscript_expression "puVar4[4]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = puVar4[5];" (assignment_expression "puVar3[1] = puVar4[5]" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[5]" identifier [ number_literal ])) ;) (expression_statement "puVar3[2] = puVar4[6];" (assignment_expression "puVar3[2] = puVar4[6]" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[6]" identifier [ number_literal ])) ;) (expression_statement "puVar3[3] = puVar4[7];" (assignment_expression "puVar3[3] = puVar4[7]" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[7]" 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_000c60b0(uVar8,uVar9,puVar6);" (call_expression "FUN_000c60b0(uVar8,uVar9,puVar6)" identifier (argument_list "(uVar8,uVar9,puVar6)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "void poly1305_key(poly1305 *ctx,uchar *key)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int unaff_EDI;\n  int iVar7;\n  int in_GS_OFFSET;\n  undefined8 uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uchar key_copy [16];\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  puVar5 = (uint *)((ulonglong)uVar8 >> 0x20);\n  puVar4 = (uint *)uVar8;\n  iVar7 = unaff_EDI + 0xd4d79;\n  uVar2 = *puVar5;\n  uVar3 = puVar5[1];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar9 = puVar5[2];\n  uVar10 = puVar5[3];\n  uVar6 = uVar2 >> 0x18 & 0xf;\n  key_copy._0_3_ = (undefined3)uVar2;\n  key_copy[3] = (uchar)uVar6;\n  local_50 = uVar3 >> 0x18 & 0xf;\n  local_4c = uVar9 >> 0x18 & 0xf;\n  local_48 = uVar10 >> 0x18 & 0xf;\n  key_copy._4_4_ = uVar3 & 0xffffffc;\n  key_copy._8_4_ = uVar9 & 0xffffffc;\n  key_copy._12_4_ = uVar10 & 0xffffffc;\n  puVar4[8] = 0;\n  puVar4[4] = uVar2 & 0xffffff | uVar6 << 0x18;\n  puVar4[5] = uVar3 & 0xfffffc | local_50 << 0x18;\n  puVar4[6] = (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18;\n  puVar4[7] = local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00;\n  smemclr(key_copy,0x10);\n  *puVar4 = puVar5[4];\n  puVar4[1] = puVar5[5];\n  puVar4[2] = puVar5[6];\n  puVar4[3] = puVar5[7];\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local(uVar9,uVar10,iVar7);\n}\n\n" (function_definition "void poly1305_key(poly1305 *ctx,uchar *key)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int unaff_EDI;\n  int iVar7;\n  int in_GS_OFFSET;\n  undefined8 uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uchar key_copy [16];\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  puVar5 = (uint *)((ulonglong)uVar8 >> 0x20);\n  puVar4 = (uint *)uVar8;\n  iVar7 = unaff_EDI + 0xd4d79;\n  uVar2 = *puVar5;\n  uVar3 = puVar5[1];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar9 = puVar5[2];\n  uVar10 = puVar5[3];\n  uVar6 = uVar2 >> 0x18 & 0xf;\n  key_copy._0_3_ = (undefined3)uVar2;\n  key_copy[3] = (uchar)uVar6;\n  local_50 = uVar3 >> 0x18 & 0xf;\n  local_4c = uVar9 >> 0x18 & 0xf;\n  local_48 = uVar10 >> 0x18 & 0xf;\n  key_copy._4_4_ = uVar3 & 0xffffffc;\n  key_copy._8_4_ = uVar9 & 0xffffffc;\n  key_copy._12_4_ = uVar10 & 0xffffffc;\n  puVar4[8] = 0;\n  puVar4[4] = uVar2 & 0xffffff | uVar6 << 0x18;\n  puVar4[5] = uVar3 & 0xfffffc | local_50 << 0x18;\n  puVar4[6] = (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18;\n  puVar4[7] = local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00;\n  smemclr(key_copy,0x10);\n  *puVar4 = puVar5[4];\n  puVar4[1] = puVar5[5];\n  puVar4[2] = puVar5[6];\n  puVar4[3] = puVar5[7];\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local(uVar9,uVar10,iVar7);\n}" primitive_type (function_declarator "poly1305_key(poly1305 *ctx,uchar *key)" identifier (parameter_list "(poly1305 *ctx,uchar *key)" ( (parameter_declaration "poly1305 *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int unaff_EDI;\n  int iVar7;\n  int in_GS_OFFSET;\n  undefined8 uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  uchar key_copy [16];\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  puVar5 = (uint *)((ulonglong)uVar8 >> 0x20);\n  puVar4 = (uint *)uVar8;\n  iVar7 = unaff_EDI + 0xd4d79;\n  uVar2 = *puVar5;\n  uVar3 = puVar5[1];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar9 = puVar5[2];\n  uVar10 = puVar5[3];\n  uVar6 = uVar2 >> 0x18 & 0xf;\n  key_copy._0_3_ = (undefined3)uVar2;\n  key_copy[3] = (uchar)uVar6;\n  local_50 = uVar3 >> 0x18 & 0xf;\n  local_4c = uVar9 >> 0x18 & 0xf;\n  local_48 = uVar10 >> 0x18 & 0xf;\n  key_copy._4_4_ = uVar3 & 0xffffffc;\n  key_copy._8_4_ = uVar9 & 0xffffffc;\n  key_copy._12_4_ = uVar10 & 0xffffffc;\n  puVar4[8] = 0;\n  puVar4[4] = uVar2 & 0xffffff | uVar6 << 0x18;\n  puVar4[5] = uVar3 & 0xfffffc | local_50 << 0x18;\n  puVar4[6] = (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18;\n  puVar4[7] = local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00;\n  smemclr(key_copy,0x10);\n  *puVar4 = puVar5[4];\n  puVar4[1] = puVar5[5];\n  puVar4[2] = puVar5[6];\n  puVar4[3] = puVar5[7];\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local(uVar9,uVar10,iVar7);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "uchar key_copy [16];" type_identifier (array_declarator "key_copy [16]" identifier [ number_literal ]) ;) (expression_statement "uVar8 = __x86_get_pc_thunk_di();" (assignment_expression "uVar8 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5 = (uint *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "puVar5 = (uint *)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(uint *)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar4 = (uint *)uVar8;" (assignment_expression "puVar4 = (uint *)uVar8" identifier = (cast_expression "(uint *)uVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar7 = unaff_EDI + 0xd4d79;" (assignment_expression "iVar7 = unaff_EDI + 0xd4d79" identifier = (binary_expression "unaff_EDI + 0xd4d79" identifier + number_literal)) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar3 = puVar5[1];" (assignment_expression "uVar3 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = puVar5[2];" (assignment_expression "uVar9 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = puVar5[3];" (assignment_expression "uVar10 = puVar5[3]" identifier = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar2 >> 0x18 & 0xf;" (assignment_expression "uVar6 = uVar2 >> 0x18 & 0xf" identifier = (binary_expression "uVar2 >> 0x18 & 0xf" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "key_copy._0_3_ = (undefined3)uVar2;" (assignment_expression "key_copy._0_3_ = (undefined3)uVar2" (field_expression "key_copy._0_3_" identifier . field_identifier) = (cast_expression "(undefined3)uVar2" ( (type_descriptor "undefined3" type_identifier) ) identifier)) ;) (expression_statement "key_copy[3] = (uchar)uVar6;" (assignment_expression "key_copy[3] = (uchar)uVar6" (subscript_expression "key_copy[3]" identifier [ number_literal ]) = (cast_expression "(uchar)uVar6" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "local_50 = uVar3 >> 0x18 & 0xf;" (assignment_expression "local_50 = uVar3 >> 0x18 & 0xf" identifier = (binary_expression "uVar3 >> 0x18 & 0xf" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_4c = uVar9 >> 0x18 & 0xf;" (assignment_expression "local_4c = uVar9 >> 0x18 & 0xf" identifier = (binary_expression "uVar9 >> 0x18 & 0xf" (binary_expression "uVar9 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_48 = uVar10 >> 0x18 & 0xf;" (assignment_expression "local_48 = uVar10 >> 0x18 & 0xf" identifier = (binary_expression "uVar10 >> 0x18 & 0xf" (binary_expression "uVar10 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "key_copy._4_4_ = uVar3 & 0xffffffc;" (assignment_expression "key_copy._4_4_ = uVar3 & 0xffffffc" (field_expression "key_copy._4_4_" identifier . field_identifier) = (binary_expression "uVar3 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "key_copy._8_4_ = uVar9 & 0xffffffc;" (assignment_expression "key_copy._8_4_ = uVar9 & 0xffffffc" (field_expression "key_copy._8_4_" identifier . field_identifier) = (binary_expression "uVar9 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "key_copy._12_4_ = uVar10 & 0xffffffc;" (assignment_expression "key_copy._12_4_ = uVar10 & 0xffffffc" (field_expression "key_copy._12_4_" identifier . field_identifier) = (binary_expression "uVar10 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "puVar4[8] = 0;" (assignment_expression "puVar4[8] = 0" (subscript_expression "puVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[4] = uVar2 & 0xffffff | uVar6 << 0x18;" (assignment_expression "puVar4[4] = uVar2 & 0xffffff | uVar6 << 0x18" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = (binary_expression "uVar2 & 0xffffff | uVar6 << 0x18" (binary_expression "uVar2 & 0xffffff" identifier & number_literal) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar4[5] = uVar3 & 0xfffffc | local_50 << 0x18;" (assignment_expression "puVar4[5] = uVar3 & 0xfffffc | local_50 << 0x18" (subscript_expression "puVar4[5]" identifier [ number_literal ]) = (binary_expression "uVar3 & 0xfffffc | local_50 << 0x18" (binary_expression "uVar3 & 0xfffffc" identifier & number_literal) | (binary_expression "local_50 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar4[6] = (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18;" (assignment_expression "puVar4[6] = (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = (binary_expression "(uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00 | local_4c << 0x18" (binary_expression "(uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (call_expression "(uint)((byte)uVar9 & 0xfc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)uVar9 & 0xfc)" ( (binary_expression "(byte)uVar9 & 0xfc" (cast_expression "(byte)uVar9" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) | (binary_expression "uVar9 & 0xffff00" identifier & number_literal)) | (binary_expression "local_4c << 0x18" identifier << number_literal))) ;) (expression_statement "puVar4[7] = local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00;" (assignment_expression "puVar4[7] = local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = (binary_expression "local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc) | uVar10 & 0xffff00" (binary_expression "local_48 << 0x18 | (uint)((byte)uVar10 & 0xfc)" (binary_expression "local_48 << 0x18" identifier << number_literal) | (call_expression "(uint)((byte)uVar10 & 0xfc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)uVar10 & 0xfc)" ( (binary_expression "(byte)uVar10 & 0xfc" (cast_expression "(byte)uVar10" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) | (binary_expression "uVar10 & 0xffff00" identifier & number_literal))) ;) (expression_statement "smemclr(key_copy,0x10);" (call_expression "smemclr(key_copy,0x10)" identifier (argument_list "(key_copy,0x10)" ( identifier , number_literal ))) ;) (expression_statement "*puVar4 = puVar5[4];" (assignment_expression "*puVar4 = puVar5[4]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = puVar5[5];" (assignment_expression "puVar4[1] = puVar5[5]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar5[6];" (assignment_expression "puVar4[2] = puVar5[6]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar5[7];" (assignment_expression "puVar4[3] = puVar5[7]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar5[7]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local(uVar9,uVar10,iVar7);" (call_expression "__stack_chk_fail_local(uVar9,uVar10,iVar7)" identifier (argument_list "(uVar9,uVar10,iVar7)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "void FUN_000659d0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}\n\n" (function_definition "void FUN_000659d0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}" primitive_type (function_declarator "FUN_000659d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "undefined3 local_30;" type_identifier identifier ;) (declaration "undefined1 uStack_2d;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar7 = FUN_0002e9de();" (assignment_expression "uVar7 = FUN_0002e9de()" identifier = (call_expression "FUN_0002e9de()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);" (assignment_expression "puVar4 = (uint *)((ulonglong)uVar7 >> 0x20)" identifier = (cast_expression "(uint *)((ulonglong)uVar7 >> 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar3 = (uint *)uVar7;" (assignment_expression "puVar3 = (uint *)uVar7" identifier = (cast_expression "(uint *)uVar7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar6 = &UNK_000d4d79 + unaff_EDI;" (assignment_expression "puVar6 = &UNK_000d4d79 + unaff_EDI" identifier = (binary_expression "&UNK_000d4d79 + unaff_EDI" (pointer_expression "&UNK_000d4d79" & identifier) + identifier)) ;) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar2 = puVar4[1];" (assignment_expression "uVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" 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 "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = puVar4[3];" (assignment_expression "uVar9 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = uVar1 >> 0x18 & 0xf;" (assignment_expression "uVar5 = uVar1 >> 0x18 & 0xf" identifier = (binary_expression "uVar1 >> 0x18 & 0xf" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "_local_30 = CONCAT13((char)uVar5,(int3)uVar1);" (assignment_expression "_local_30 = CONCAT13((char)uVar5,(int3)uVar1)" identifier = (call_expression "CONCAT13((char)uVar5,(int3)uVar1)" identifier (argument_list "((char)uVar5,(int3)uVar1)" ( (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier) , (cast_expression "(int3)uVar1" ( (type_descriptor "int3" type_identifier) ) identifier) )))) ;) (expression_statement "local_50 = uVar2 >> 0x18 & 0xf;" (assignment_expression "local_50 = uVar2 >> 0x18 & 0xf" identifier = (binary_expression "uVar2 >> 0x18 & 0xf" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_4c = uVar8 >> 0x18 & 0xf;" (assignment_expression "local_4c = uVar8 >> 0x18 & 0xf" identifier = (binary_expression "uVar8 >> 0x18 & 0xf" (binary_expression "uVar8 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_48 = uVar9 >> 0x18 & 0xf;" (assignment_expression "local_48 = uVar9 >> 0x18 & 0xf" identifier = (binary_expression "uVar9 >> 0x18 & 0xf" (binary_expression "uVar9 >> 0x18" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_2c = uVar2 & 0xffffffc;" (assignment_expression "local_2c = uVar2 & 0xffffffc" identifier = (binary_expression "uVar2 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "local_28 = uVar8 & 0xffffffc;" (assignment_expression "local_28 = uVar8 & 0xffffffc" identifier = (binary_expression "uVar8 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "local_24 = uVar9 & 0xffffffc;" (assignment_expression "local_24 = uVar9 & 0xffffffc" identifier = (binary_expression "uVar9 & 0xffffffc" identifier & number_literal)) ;) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;" (assignment_expression "puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = (binary_expression "uVar1 & 0xffffff | uVar5 << 0x18" (binary_expression "uVar1 & 0xffffff" identifier & number_literal) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;" (assignment_expression "puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = (binary_expression "uVar2 & 0xfffffc | local_50 << 0x18" (binary_expression "uVar2 & 0xfffffc" identifier & number_literal) | (binary_expression "local_50 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;" (assignment_expression "puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = (binary_expression "(uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18" (binary_expression "(uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00" (call_expression "(uint)((byte)uVar8 & 0xfc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)uVar8 & 0xfc)" ( (binary_expression "(byte)uVar8 & 0xfc" (cast_expression "(byte)uVar8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) | (binary_expression "uVar8 & 0xffff00" identifier & number_literal)) | (binary_expression "local_4c << 0x18" identifier << number_literal))) ;) (expression_statement "puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;" (assignment_expression "puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = (binary_expression "local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (binary_expression "local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc)" (binary_expression "local_48 << 0x18" identifier << number_literal) | (call_expression "(uint)((byte)uVar9 & 0xfc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)uVar9 & 0xfc)" ( (binary_expression "(byte)uVar9 & 0xfc" (cast_expression "(byte)uVar9" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) | (binary_expression "uVar9 & 0xffff00" identifier & number_literal))) ;) (expression_statement "FUN_00032c20(&local_30,0x10);" (call_expression "FUN_00032c20(&local_30,0x10)" identifier (argument_list "(&local_30,0x10)" ( (pointer_expression "&local_30" & identifier) , number_literal ))) ;) (expression_statement "*puVar3 = puVar4[4];" (assignment_expression "*puVar3 = puVar4[4]" (pointer_expression "*puVar3" * identifier) = (subscript_expression "puVar4[4]" identifier [ number_literal ])) ;) (expression_statement "puVar3[1] = puVar4[5];" (assignment_expression "puVar3[1] = puVar4[5]" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[5]" identifier [ number_literal ])) ;) (expression_statement "puVar3[2] = puVar4[6];" (assignment_expression "puVar3[2] = puVar4[6]" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[6]" identifier [ number_literal ])) ;) (expression_statement "puVar3[3] = puVar4[7];" (assignment_expression "puVar3[3] = puVar4[7]" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[7]" 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_000c60b0(uVar8,uVar9,puVar6);" (call_expression "FUN_000c60b0(uVar8,uVar9,puVar6)" identifier (argument_list "(uVar8,uVar9,puVar6)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_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 ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression IDENT & LIT) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression IDENT & LIT) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) | (binary_expression IDENT & LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression IDENT << LIT) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) | (binary_expression IDENT & LIT))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (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 ( IDENT , IDENT , IDENT ))) ;) })))
(function_definition "void FUN_000659d0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}" (primitive_type "void") (function_declarator "FUN_000659d0(void)" (identifier "FUN_000659d0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  int unaff_EDI;\n  undefined *puVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint local_50;\n  uint local_4c;\n  uint local_48;\n  undefined3 local_30;\n  undefined1 uStack_2d;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  uVar7 = FUN_0002e9de();\n  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);\n  puVar3 = (uint *)uVar7;\n  puVar6 = &UNK_000d4d79 + unaff_EDI;\n  uVar1 = *puVar4;\n  uVar2 = puVar4[1];\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar8 = puVar4[2];\n  uVar9 = puVar4[3];\n  uVar5 = uVar1 >> 0x18 & 0xf;\n  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);\n  local_50 = uVar2 >> 0x18 & 0xf;\n  local_4c = uVar8 >> 0x18 & 0xf;\n  local_48 = uVar9 >> 0x18 & 0xf;\n  local_2c = uVar2 & 0xffffffc;\n  local_28 = uVar8 & 0xffffffc;\n  local_24 = uVar9 & 0xffffffc;\n  puVar3[8] = 0;\n  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;\n  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;\n  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;\n  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;\n  FUN_00032c20(&local_30,0x10);\n  *puVar3 = puVar4[4];\n  puVar3[1] = puVar4[5];\n  puVar3[2] = puVar4[6];\n  puVar3[3] = puVar4[7];\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0(uVar8,uVar9,puVar6);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint local_50;" (type_identifier "uint") (identifier "local_50") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "uint local_48;" (type_identifier "uint") (identifier "local_48") (; ";")) (declaration "undefined3 local_30;" (type_identifier "undefined3") (identifier "local_30") (; ";")) (declaration "undefined1 uStack_2d;" (type_identifier "undefined1") (identifier "uStack_2d") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "uVar7 = FUN_0002e9de();" (assignment_expression "uVar7 = FUN_0002e9de()" (identifier "uVar7") (= "=") (call_expression "FUN_0002e9de()" (identifier "FUN_0002e9de") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);" (assignment_expression "puVar4 = (uint *)((ulonglong)uVar7 >> 0x20)" (identifier "puVar4") (= "=") (cast_expression "(uint *)((ulonglong)uVar7 >> 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar7")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "puVar3 = (uint *)uVar7;" (assignment_expression "puVar3 = (uint *)uVar7" (identifier "puVar3") (= "=") (cast_expression "(uint *)uVar7" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "puVar6 = &UNK_000d4d79 + unaff_EDI;" (assignment_expression "puVar6 = &UNK_000d4d79 + unaff_EDI" (identifier "puVar6") (= "=") (binary_expression "&UNK_000d4d79 + unaff_EDI" (pointer_expression "&UNK_000d4d79" (& "&") (identifier "UNK_000d4d79")) (+ "+") (identifier "unaff_EDI"))) (; ";")) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" (identifier "uVar1") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "uVar2 = puVar4[1];" (assignment_expression "uVar2 = puVar4[1]" (identifier "uVar2") (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (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 "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar9 = puVar4[3];" (assignment_expression "uVar9 = puVar4[3]" (identifier "uVar9") (= "=") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar5 = uVar1 >> 0x18 & 0xf;" (assignment_expression "uVar5 = uVar1 >> 0x18 & 0xf" (identifier "uVar5") (= "=") (binary_expression "uVar1 >> 0x18 & 0xf" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (& "&") (number_literal "0xf"))) (; ";")) (expression_statement "_local_30 = CONCAT13((char)uVar5,(int3)uVar1);" (assignment_expression "_local_30 = CONCAT13((char)uVar5,(int3)uVar1)" (identifier "_local_30") (= "=") (call_expression "CONCAT13((char)uVar5,(int3)uVar1)" (identifier "CONCAT13") (argument_list "((char)uVar5,(int3)uVar1)" (( "(") (cast_expression "(char)uVar5" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar5")) (, ",") (cast_expression "(int3)uVar1" (( "(") (type_descriptor "int3" (type_identifier "int3")) () ")") (identifier "uVar1")) () ")")))) (; ";")) (expression_statement "local_50 = uVar2 >> 0x18 & 0xf;" (assignment_expression "local_50 = uVar2 >> 0x18 & 0xf" (identifier "local_50") (= "=") (binary_expression "uVar2 >> 0x18 & 0xf" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (& "&") (number_literal "0xf"))) (; ";")) (expression_statement "local_4c = uVar8 >> 0x18 & 0xf;" (assignment_expression "local_4c = uVar8 >> 0x18 & 0xf" (identifier "local_4c") (= "=") (binary_expression "uVar8 >> 0x18 & 0xf" (binary_expression "uVar8 >> 0x18" (identifier "uVar8") (>> ">>") (number_literal "0x18")) (& "&") (number_literal "0xf"))) (; ";")) (expression_statement "local_48 = uVar9 >> 0x18 & 0xf;" (assignment_expression "local_48 = uVar9 >> 0x18 & 0xf" (identifier "local_48") (= "=") (binary_expression "uVar9 >> 0x18 & 0xf" (binary_expression "uVar9 >> 0x18" (identifier "uVar9") (>> ">>") (number_literal "0x18")) (& "&") (number_literal "0xf"))) (; ";")) (expression_statement "local_2c = uVar2 & 0xffffffc;" (assignment_expression "local_2c = uVar2 & 0xffffffc" (identifier "local_2c") (= "=") (binary_expression "uVar2 & 0xffffffc" (identifier "uVar2") (& "&") (number_literal "0xffffffc"))) (; ";")) (expression_statement "local_28 = uVar8 & 0xffffffc;" (assignment_expression "local_28 = uVar8 & 0xffffffc" (identifier "local_28") (= "=") (binary_expression "uVar8 & 0xffffffc" (identifier "uVar8") (& "&") (number_literal "0xffffffc"))) (; ";")) (expression_statement "local_24 = uVar9 & 0xffffffc;" (assignment_expression "local_24 = uVar9 & 0xffffffc" (identifier "local_24") (= "=") (binary_expression "uVar9 & 0xffffffc" (identifier "uVar9") (& "&") (number_literal "0xffffffc"))) (; ";")) (expression_statement "puVar3[8] = 0;" (assignment_expression "puVar3[8] = 0" (subscript_expression "puVar3[8]" (identifier "puVar3") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;" (assignment_expression "puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18" (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "uVar1 & 0xffffff | uVar5 << 0x18" (binary_expression "uVar1 & 0xffffff" (identifier "uVar1") (& "&") (number_literal "0xffffff")) (| "|") (binary_expression "uVar5 << 0x18" (identifier "uVar5") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;" (assignment_expression "puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18" (subscript_expression "puVar3[5]" (identifier "puVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "uVar2 & 0xfffffc | local_50 << 0x18" (binary_expression "uVar2 & 0xfffffc" (identifier "uVar2") (& "&") (number_literal "0xfffffc")) (| "|") (binary_expression "local_50 << 0x18" (identifier "local_50") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;" (assignment_expression "puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18" (subscript_expression "puVar3[6]" (identifier "puVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (binary_expression "(uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18" (binary_expression "(uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00" (call_expression "(uint)((byte)uVar8 & 0xfc)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((byte)uVar8 & 0xfc)" (( "(") (binary_expression "(byte)uVar8 & 0xfc" (cast_expression "(byte)uVar8" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar8")) (& "&") (number_literal "0xfc")) () ")"))) (| "|") (binary_expression "uVar8 & 0xffff00" (identifier "uVar8") (& "&") (number_literal "0xffff00"))) (| "|") (binary_expression "local_4c << 0x18" (identifier "local_4c") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;" (assignment_expression "puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (subscript_expression "puVar3[7]" (identifier "puVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (binary_expression "local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00" (binary_expression "local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc)" (binary_expression "local_48 << 0x18" (identifier "local_48") (<< "<<") (number_literal "0x18")) (| "|") (call_expression "(uint)((byte)uVar9 & 0xfc)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((byte)uVar9 & 0xfc)" (( "(") (binary_expression "(byte)uVar9 & 0xfc" (cast_expression "(byte)uVar9" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar9")) (& "&") (number_literal "0xfc")) () ")")))) (| "|") (binary_expression "uVar9 & 0xffff00" (identifier "uVar9") (& "&") (number_literal "0xffff00")))) (; ";")) (expression_statement "FUN_00032c20(&local_30,0x10);" (call_expression "FUN_00032c20(&local_30,0x10)" (identifier "FUN_00032c20") (argument_list "(&local_30,0x10)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (number_literal "0x10") () ")"))) (; ";")) (expression_statement "*puVar3 = puVar4[4];" (assignment_expression "*puVar3 = puVar4[4]" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (subscript_expression "puVar4[4]" (identifier "puVar4") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar3[1] = puVar4[5];" (assignment_expression "puVar3[1] = puVar4[5]" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar4[5]" (identifier "puVar4") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "puVar3[2] = puVar4[6];" (assignment_expression "puVar3[2] = puVar4[6]" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "puVar3[3] = puVar4[7];" (assignment_expression "puVar3[3] = puVar4[7]" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (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_000c60b0(uVar8,uVar9,puVar6);" (call_expression "FUN_000c60b0(uVar8,uVar9,puVar6)" (identifier "FUN_000c60b0") (argument_list "(uVar8,uVar9,puVar6)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar9") (, ",") (identifier "puVar6") () ")"))) (; ";")) (} "}")))

void function_1(type_1 *ctx,type_2 *key)

{
  int var_13;
  type_3 var_4;
  type_3 var_5;
  type_3 *puVar4;
  type_3 *puVar5;
  type_3 var_8;
  int var_2;
  int iVar7;
  int var_3;
  type_4 uVar8;
  type_3 var_6;
  type_3 var_7;
  type_3 var_9;
  type_3 var_10;
  type_3 var_11;
  type_2 key_copy [16];
  
  uVar8 = var_1();
  puVar5 = (type_3 *)((type_5)uVar8 >> 0x20);
  puVar4 = (type_3 *)uVar8;
  iVar7 = var_2 + 0xd4d79;
  var_4 = *puVar5;
  var_5 = puVar5[1];
  var_13 = *(int *)(var_3 + 0x14);
  var_6 = puVar5[2];
  var_7 = puVar5[3];
  var_8 = var_4 >> 0x18 & 0xf;
  key_copy._0_3_ = (type_6)var_4;
  key_copy[3] = (type_2)var_8;
  var_9 = var_5 >> 0x18 & 0xf;
  var_10 = var_6 >> 0x18 & 0xf;
  var_11 = var_7 >> 0x18 & 0xf;
  key_copy._4_4_ = var_5 & 0xffffffc;
  key_copy._8_4_ = var_6 & 0xffffffc;
  key_copy._12_4_ = var_7 & 0xffffffc;
  puVar4[8] = 0;
  puVar4[4] = var_4 & 0xffffff | var_8 << 0x18;
  puVar4[5] = var_5 & 0xfffffc | var_9 << 0x18;
  puVar4[6] = (type_3)((type_7)var_6 & 0xfc) | var_6 & 0xffff00 | var_10 << 0x18;
  puVar4[7] = var_11 << 0x18 | (type_3)((type_7)var_7 & 0xfc) | var_7 & 0xffff00;
  var_12(key_copy,0x10);
  *puVar4 = puVar5[4];
  puVar4[1] = puVar5[5];
  puVar4[2] = puVar5[6];
  puVar4[3] = puVar5[7];
  if (var_13 == *(int *)(var_3 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_14(var_6,var_7,iVar7);
}


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

void MASKED(void)

{
  uint uVar1;
  uint uVar2;
  uint *puVar3;
  uint *puVar4;
  uint uVar5;
  int unaff_EDI;
  undefined *puVar6;
  int in_GS_OFFSET;
  undefined8 uVar7;
  uint uVar8;
  uint uVar9;
  uint local_50;
  uint local_4c;
  uint local_48;
  undefined3 local_30;
  undefined1 uStack_2d;
  uint local_2c;
  uint local_28;
  uint local_24;
  int local_20;
  
  uVar7 = FUN_0002e9de();
  puVar4 = (uint *)((ulonglong)uVar7 >> 0x20);
  puVar3 = (uint *)uVar7;
  puVar6 = &UNK_000d4d79 + unaff_EDI;
  uVar1 = *puVar4;
  uVar2 = puVar4[1];
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar8 = puVar4[2];
  uVar9 = puVar4[3];
  uVar5 = uVar1 >> 0x18 & 0xf;
  _local_30 = CONCAT13((char)uVar5,(int3)uVar1);
  local_50 = uVar2 >> 0x18 & 0xf;
  local_4c = uVar8 >> 0x18 & 0xf;
  local_48 = uVar9 >> 0x18 & 0xf;
  local_2c = uVar2 & 0xffffffc;
  local_28 = uVar8 & 0xffffffc;
  local_24 = uVar9 & 0xffffffc;
  puVar3[8] = 0;
  puVar3[4] = uVar1 & 0xffffff | uVar5 << 0x18;
  puVar3[5] = uVar2 & 0xfffffc | local_50 << 0x18;
  puVar3[6] = (uint)((byte)uVar8 & 0xfc) | uVar8 & 0xffff00 | local_4c << 0x18;
  puVar3[7] = local_48 << 0x18 | (uint)((byte)uVar9 & 0xfc) | uVar9 & 0xffff00;
  FUN_00032c20(&local_30,0x10);
  *puVar3 = puVar4[4];
  puVar3[1] = puVar4[5];
  puVar3[2] = puVar4[6];
  puVar3[3] = puVar4[7];
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000c60b0(uVar8,uVar9,puVar6);
}

