Function at 0x5aeff0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x278
vmovups xmmword [rsp + 0x1d0], xmm6
vmovups xmmword [rsp + 0x1e0], xmm7
vmovups xmmword [rsp + 0x1f0], xmm8
vmovups xmmword [rsp + 0x200], xmm9
vmovups xmmword [rsp + 0x210], xmm10
vmovups xmmword [rsp + 0x220], xmm11
vmovups xmmword [rsp + 0x230], xmm12
vmovups xmmword [rsp + 0x240], xmm13
vmovups xmmword [rsp + 0x250], xmm14
vmovups xmmword [rsp + 0x260], xmm15
vpxor xmm2, xmm2, xmm2
vmovdqu ymm11, ymmword [rcx + 0x120]
vmovdqu ymm3, ymmword [rdx]
vmovdqu ymm5, ymmword [rdx + 0x20]
vmovdqu ymm10, ymmword [rdx + 0x40]
vpxor ymm1, ymm3, ymm11
vmovdqu ymm12, ymmword [rdx + 0x60]
vmovdqu ymm6, ymmword [rcx + 0x100]
vextracti128 xmm0, ymm1, 1
vmovdqu ymm7, ymmword [rcx + 0x160]
mov r9d, dword [rcx + 0x194]
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vmovdqu ymmword [rsp + 0x130], ymm6
mov r8d, dword [rcx + 0x188]
vinserti128 ymm0, ymm0, xmm4, 1
mov eax, dword [rcx + 0x18c]
mov r10d, r9d
vmovdqu ymmword [rsp + 0xc0], ymm7
vpxor ymm0, ymm5, ymm0
not r10d
vmovdqu ymmword [rsp + 0x150], ymm7
vextracti128 xmm1, ymm0, 1
mov dword [rsp + 0x10c], eax
xor eax, eax
vaesenc xmm4, xmm1, xmm2
vaesenc xmm1, xmm0, xmm2
vmovdqu ymmword [rsp + 0x190], ymm11
vinserti128 ymm1, ymm1, xmm4, 1
vmovdqu ymmword [rsp + 0x20], ymm11
vpxor ymm1, ymm10, ymm1
vextracti128 xmm0, ymm1, 1
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vinserti128 ymm0, ymm0, xmm4, 1
vpxor ymm0, ymm0, ymm12
vextracti128 xmm15, ymm0, 1
vaesenc xmm1, xmm15, xmm2
vaesenc xmm15, xmm0, xmm2
vinserti128 ymm15, ymm15, xmm1, 1
vpxor ymm6, ymm15, ymm6
vmovdqu ymmword [rsp], ymm6
vmovdqu ymm6, ymmword [rdx + 0x80]
vmovdqu ymmword [rsp + 0xa0], ymm6
vpxor ymm1, ymm7, ymm6
vmovdqu ymm7, ymmword [rdx + 0xa0]
vextracti128 xmm0, ymm1, 1
vmovdqu ymmword [rsp + 0x80], ymm7
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vinserti128 ymm0, ymm0, xmm4, 1
vpxor ymm0, ymm0, ymm7
vmovdqu ymm7, ymmword [rdx + 0xc0]
vextracti128 xmm1, ymm0, 1
vaesenc xmm4, xmm1, xmm2
vaesenc xmm1, xmm0, xmm2
vmovdqu ymmword [rsp + 0x60], ymm7
vinserti128 ymm1, ymm1, xmm4, 1
vpxor ymm1, ymm1, ymm7
vmovdqu ymm7, ymmword [rcx + 0x140]
vextracti128 xmm0, ymm1, 1
vmovdqu ymmword [rsp + 0x170], ymm7
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vmovdqu ymm1, ymmword [rdx + 0xe0]
vinserti128 ymm0, ymm0, xmm4, 1
mov edx, dword [rcx + 0x190]
vpxor ymm0, ymm1, ymm0
vextracti128 xmm4, ymm0, 1
vaesenc xmm15, xmm0, xmm2
vmovdqu xmm0, xmm2
vaesenc xmm4, xmm4, xmm2
vmovd xmm2, edx
vinserti128 ymm15, ymm15, xmm4, 1
vpinsrd xmm4, xmm2, r10d, 1
vmovd xmm2, r8d
mov r10d, r8d
vpinsrd xmm2, xmm2, dword [rsp + 0x10c], 1
vpxor ymm15, ymm15, ymm7
vmovd xmm7, r9d
not r10d
vpunpcklqdq xmm2, xmm2, xmm4
vpermq ymm2, ymm2, 0x44
vmovdqu ymmword [rsp + 0x110], ymm2
vmovd xmm2, dword [rsp + 0x10c]
vpinsrd xmm4, xmm2, r10d, 1
vpinsrd xmm2, xmm7, edx, 1
vpunpcklqdq xmm2, xmm2, xmm4
vpermq ymm2, ymm2, 0x44
vmovdqu ymmword [rsp + 0x1b0], ymm2
vextracti128 xmm2, ymm3, 1
vaesenc xmm4, xmm2, xmm0
vaesenc xmm2, xmm3, xmm0
vinserti128 ymm2, ymm2, xmm4, 1
vpshufd ymm2, ymm2, 0x39
vpxor ymm2, ymm1, ymm2
test eax, eax
jne 0x5af28b
vpxor ymm2, ymm2, ymmword [rsp + 0x110]
vpxor ymm3, ymm2, ymmword [rsp]
vextracti128 xmm4, ymm3, 1
vaesenc xmm6, xmm4, xmm0
vaesenc xmm4, xmm3, xmm0
vextracti128 xmm3, ymm5, 1
vinserti128 ymm4, ymm4, xmm6, 1
vaesenc xmm6, xmm3, xmm0
vaesenc xmm3, xmm5, xmm0
vinserti128 ymm3, ymm3, xmm6, 1
vpshufd ymm3, ymm3, 0x39
vpxor ymm3, ymm2, ymm3
cmp eax, 1
je 0x5afc18
vpxor ymm4, ymm4, ymm3
vextracti128 xmm8, ymm10, 1
vextracti128 xmm7, ymm12, 1
vmovdqu ymm13, ymmword [rsp + 0x60]
vextracti128 xmm5, ymm4, 1
vaesenc xmm6, xmm5, xmm0
vaesenc xmm5, xmm4, xmm0
vaesenc xmm4, xmm8, xmm0
vaesenc xmm8, xmm10, xmm0
vinserti128 ymm5, ymm5, xmm6, 1
vmovdqu ymm10, ymmword [rsp + 0x80]
vinserti128 ymm8, ymm8, xmm4, 1
vpshufd ymm8, ymm8, 0x39
vextracti128 xmm11, ymm10, 1
vpxor ymm8, ymm3, ymm8
vpxor ymm5, ymm5, ymm8
vextracti128 xmm6, ymm5, 1
vaesenc xmm4, xmm5, xmm0
vaesenc xmm5, xmm7, xmm0
vaesenc xmm7, xmm12, xmm0
vaesenc xmm6, xmm6, xmm0
vinserti128 ymm7, ymm7, xmm5, 1
vinserti128 ymm4, ymm4, xmm6, 1
vpshufd ymm7, ymm7, 0x39
vpxor ymm7, ymm8, ymm7
vpxor ymm4, ymm4, ymm7
vextracti128 xmm12, ymm4, 1
vaesenc xmm5, xmm12, xmm0
vaesenc xmm12, xmm4, xmm0
vinserti128 ymm12, ymm12, xmm5, 1
vmovdqu ymm5, ymmword [rsp + 0xa0]
vpxor ymm12, ymm12, ymmword [rsp + 0xc0]
vextracti128 xmm6, ymm5, 1
vaesenc xmm4, xmm6, xmm0
vaesenc xmm6, xmm5, xmm0
vinserti128 ymm6, ymm6, xmm4, 1
vpshufd ymm6, ymm6, 0x39
vpxor ymm6, ymm7, ymm6
vpxor ymm5, ymm15, ymm6
vextracti128 xmm4, ymm5, 1
vaesenc xmm9, xmm4, xmm0
vaesenc xmm4, xmm5, xmm0
vaesenc xmm5, xmm11, xmm0
vaesenc xmm11, xmm10, xmm0
vinserti128 ymm4, ymm4, xmm9, 1
vextracti128 xmm10, ymm13, 1
vinserti128 ymm11, ymm11, xmm5, 1
vpshufd ymm11, ymm11, 0x39
vpxor ymm11, ymm6, ymm11
vpxor ymm4, ymm4, ymm11
vextracti128 xmm9, ymm4, 1
vaesenc xmm5, xmm4, xmm0
vaesenc xmm4, xmm10, xmm0
vaesenc xmm10, xmm13, xmm0
vaesenc xmm9, xmm9, xmm0
vinserti128 ymm10, ymm10, xmm4, 1
vinserti128 ymm5, ymm5, xmm9, 1
vpshufd ymm10, ymm10, 0x39
vpxor ymm10, ymm11, ymm10
vpxor ymm5, ymm5, ymm10
vextracti128 xmm9, ymm5, 1
vaesenc xmm4, xmm5, xmm0
vextracti128 xmm5, ymm1, 1
vaesenc xmm9, xmm9, xmm0
vinserti128 ymm4, ymm4, xmm9, 1
vaesenc xmm9, xmm5, xmm0
vaesenc xmm5, xmm1, xmm0
vinserti128 ymm5, ymm5, xmm9, 1
vpshufd ymm5, ymm5, 0x39
vpxor ymm5, ymm10, ymm5
cmp eax, 2
je 0x5afbe0
vpxor ymm4, ymm4, ymm5
inc eax
vextracti128 xmm1, ymm4, 1
vaesenc xmm9, xmm1, xmm0
vaesenc xmm1, xmm4, xmm0
vpalignr ymm4, ymm5, ymm10, 4
vinserti128 ymm1, ymm1, xmm9, 1
vpxor ymm1, ymm1, ymmword [rsp + 0x20]
vpxor ymm2, ymm2, ymm4
vpxor ymm9, ymm2, ymm12
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm2, ymm5, 4
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm3, ymm3, ymm9
vpxor ymm4, ymm4, ymm3
vextracti128 xmm9, ymm4, 1
vaesenc xmm13, xmm9, xmm0
vaesenc xmm9, xmm4, xmm0
vpalignr ymm4, ymm3, ymm2, 4
vinserti128 ymm9, ymm9, xmm13, 1
vpxor ymm8, ymm8, ymm4
vpxor ymm9, ymm9, ymm8
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm8, ymm3, 4
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm7, ymm7, ymm9
vpxor ymm4, ymm4, ymm7
vextracti128 xmm9, ymm4, 1
vaesenc xmm4, xmm4, xmm0
vaesenc xmm9, xmm9, xmm0
vinserti128 ymm4, ymm4, xmm9, 1
vpxor ymm4, ymm4, ymm15
vmovdqu ymmword [rsp + 0x40], ymm4
vpalignr ymm4, ymm7, ymm8, 4
vpxor ymm6, ymm6, ymm4
vpxor ymm9, ymm6, ymm1
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm6, ymm7, 4
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm11, ymm11, ymm9
vpxor ymm4, ymm4, ymm11
vextracti128 xmm9, ymm4, 1
vaesenc xmm13, xmm9, xmm0
vaesenc xmm9, xmm4, xmm0
vpalignr ymm4, ymm11, ymm6, 4
vinserti128 ymm9, ymm9, xmm13, 1
vpxor ymm10, ymm10, ymm4
vpxor ymm9, ymm9, ymm10
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm10, ymm11, 4
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm5, ymm5, ymm9
vpxor ymm4, ymm4, ymm5
vextracti128 xmm15, ymm4, 1
vaesenc xmm14, xmm15, xmm0
vaesenc xmm15, xmm4, xmm0
vextracti128 xmm4, ymm2, 1
vaesenc xmm4, xmm4, xmm0
vaesenc xmm2, xmm2, xmm0
vinserti128 ymm15, ymm15, xmm14, 1
vinserti128 ymm2, ymm2, xmm4, 1
vpxor ymm15, ymm15, ymmword [rsp]
vextracti128 xmm14, ymm5, 1
vpshufd ymm2, ymm2, 0x39
vpxor ymm2, ymm5, ymm2
vpxor ymm4, ymm2, ymmword [rsp + 0x40]
vextracti128 xmm9, ymm4, 1
vaesenc xmm13, xmm9, xmm0
vaesenc xmm9, xmm4, xmm0
vextracti128 xmm4, ymm3, 1
vinserti128 ymm9, ymm9, xmm13, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm3, xmm0
vinserti128 ymm4, ymm4, xmm13, 1
vpshufd ymm4, ymm4, 0x39
vpxor ymm4, ymm2, ymm4
vpxor ymm9, ymm9, ymm4
vextracti128 xmm3, ymm9, 1
vaesenc xmm13, xmm3, xmm0
vaesenc xmm3, xmm9, xmm0
vextracti128 xmm9, ymm8, 1
vinserti128 ymm3, ymm3, xmm13, 1
vaesenc xmm13, xmm9, xmm0
vaesenc xmm9, xmm8, xmm0
vinserti128 ymm9, ymm9, xmm13, 1
vpshufd ymm9, ymm9, 0x39
vpxor ymm9, ymm4, ymm9
vpxor ymm3, ymm3, ymm9
vextracti128 xmm8, ymm3, 1
vaesenc xmm3, xmm3, xmm0
vaesenc xmm8, xmm8, xmm0
vinserti128 ymm3, ymm3, xmm8, 1
vextracti128 xmm8, ymm7, 1
vaesenc xmm13, xmm8, xmm0
vaesenc xmm8, xmm7, xmm0
vinserti128 ymm8, ymm8, xmm13, 1
vextracti128 xmm13, ymm10, 1
vpshufd ymm8, ymm8, 0x39
vpxor ymm8, ymm9, ymm8
vpxor ymm3, ymm3, ymm8
vextracti128 xmm7, ymm3, 1
vaesenc xmm3, xmm3, xmm0
vaesenc xmm7, xmm7, xmm0
vinserti128 ymm3, ymm3, xmm7, 1
vpxor ymm7, ymm3, ymm1
vmovdqu ymmword [rsp + 0x20], ymm7
vextracti128 xmm7, ymm6, 1
vaesenc xmm1, xmm7, xmm0
vaesenc xmm7, xmm6, xmm0
vinserti128 ymm7, ymm7, xmm1, 1
vpshufd ymm7, ymm7, 0x39
vpxor ymm7, ymm8, ymm7
vpxor ymm3, ymm7, ymm15
vextracti128 xmm1, ymm3, 1
vaesenc xmm6, xmm1, xmm0
vaesenc xmm1, xmm3, xmm0
vinserti128 ymm1, ymm1, xmm6, 1
vextracti128 xmm6, ymm11, 1
vaesenc xmm3, xmm6, xmm0
vaesenc xmm6, xmm11, xmm0
vinserti128 ymm6, ymm6, xmm3, 1
vpshufd ymm6, ymm6, 0x39
vpxor ymm6, ymm7, ymm6
vpxor ymm1, ymm1, ymm6
vextracti128 xmm3, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm1, ymm1, xmm3, 1
vaesenc xmm3, xmm13, xmm0
vaesenc xmm13, xmm10, xmm0
vinserti128 ymm13, ymm13, xmm3, 1
vpshufd ymm13, ymm13, 0x39
vpxor ymm13, ymm6, ymm13
vpxor ymm1, ymm1, ymm13
vextracti128 xmm3, ymm1, 1
vaesenc xmm10, xmm3, xmm0
vaesenc xmm3, xmm1, xmm0
vaesenc xmm1, xmm14, xmm0
vaesenc xmm14, xmm5, xmm0
vinserti128 ymm3, ymm3, xmm10, 1
vinserti128 ymm14, ymm14, xmm1, 1
vpshufd ymm14, ymm14, 0x39
vpxor ymm1, ymm13, ymm14
vpxor ymm3, ymm3, ymm1
vextracti128 xmm5, ymm3, 1
vaesenc xmm3, xmm3, xmm0
vaesenc xmm5, xmm5, xmm0
vinserti128 ymm3, ymm3, xmm5, 1
vpxor ymm5, ymm3, ymm12
vpalignr ymm3, ymm1, ymm13, 4
vmovdqu ymmword [rsp + 0xe0], ymm5
vpxor ymm2, ymm2, ymm3
vmovdqu ymmword [rsp + 0xc0], ymm5
vpxor ymm5, ymm2, ymmword [rsp + 0x20]
vmovdqu ymm3, ymm2
vextracti128 xmm10, ymm5, 1
vaesenc xmm11, xmm10, xmm0
vaesenc xmm10, xmm5, xmm0
vpalignr ymm5, ymm2, ymm1, 4
vinserti128 ymm10, ymm10, xmm11, 1
vpxor ymm4, ymm4, ymm5
vpxor ymm10, ymm10, ymm4
vmovdqu ymm5, ymm4
vextracti128 xmm14, ymm10, 1
vaesenc xmm11, xmm14, xmm0
vaesenc xmm14, xmm10, xmm0
vpalignr ymm10, ymm4, ymm2, 4
vinserti128 ymm14, ymm14, xmm11, 1
vpxor ymm9, ymm9, ymm10
vpxor ymm14, ymm14, ymm9
vmovdqu ymm10, ymm9
vextracti128 xmm11, ymm14, 1
vaesenc xmm14, xmm14, xmm0
vaesenc xmm11, xmm11, xmm0
vinserti128 ymm11, ymm14, xmm11, 1
vpalignr ymm14, ymm9, ymm4, 4
vpxor ymm8, ymm8, ymm14
vpxor ymm11, ymm11, ymm8
vmovdqu ymm12, ymm8
vextracti128 xmm14, ymm11, 1
vaesenc xmm11, xmm11, xmm0
vaesenc xmm14, xmm14, xmm0
vinserti128 ymm14, ymm11, xmm14, 1
vpalignr ymm11, ymm8, ymm9, 4
vpxor ymm14, ymm14, ymm15
vpxor ymm7, ymm7, ymm11
vmovdqu ymmword [rsp], ymm14
vpxor ymm14, ymm7, ymmword [rsp + 0xe0]
vmovdqu ymmword [rsp + 0xa0], ymm7
vextracti128 xmm11, ymm14, 1
vaesenc xmm15, xmm11, xmm0
vaesenc xmm11, xmm14, xmm0
vpalignr ymm14, ymm7, ymm8, 4
vinserti128 ymm11, ymm11, xmm15, 1
vpxor ymm6, ymm6, ymm14
vmovdqu ymmword [rsp + 0x80], ymm6
vpxor ymm11, ymm11, ymm6
vextracti128 xmm15, ymm11, 1
vaesenc xmm14, xmm11, xmm0
vaesenc xmm15, xmm15, xmm0
vpalignr ymm11, ymm6, ymm7, 4
vpxor ymm13, ymm13, ymm11
vinserti128 ymm14, ymm14, xmm15, 1
vpxor ymm14, ymm14, ymm13
vmovdqu ymmword [rsp + 0x60], ymm13
vextracti128 xmm11, ymm14, 1
vaesenc xmm15, xmm11, xmm0
vaesenc xmm11, xmm14, xmm0
vpalignr ymm14, ymm13, ymm6, 4
vinserti128 ymm11, ymm11, xmm15, 1
vpxor ymm14, ymm1, ymm14
vpxor ymm11, ymm11, ymm14
vmovdqu ymm1, ymm14
vextracti128 xmm15, ymm11, 1
vaesenc xmm11, xmm11, xmm0
vaesenc xmm15, xmm15, xmm0
vinserti128 ymm15, ymm11, xmm15, 1
vpxor ymm15, ymm15, ymmword [rsp + 0x40]
cmp eax, 3
jne 0x5af25f
vextracti128 xmm1, ymm2, 1
vaesenc xmm2, xmm2, xmm0
vmovdqu ymm12, ymmword [rsp]
vpxor xmm3, xmm3, xmm3
vaesenc xmm1, xmm1, xmm0
not edx
vmovdqu ymm11, ymmword [rsp + 0x20]
vinserti128 ymm2, ymm2, xmm1, 1
vpshufd ymm2, ymm2, 0x39
vpxor ymm2, ymm14, ymm2
vpxor ymm5, ymm2, ymm12
vextracti128 xmm1, ymm5, 1
vaesenc xmm10, xmm1, xmm0
vaesenc xmm1, xmm5, xmm0
vextracti128 xmm5, ymm4, 1
vaesenc xmm5, xmm5, xmm0
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm1, ymm1, xmm10, 1
vinserti128 ymm5, ymm4, xmm5, 1
vpshufd ymm5, ymm5, 0x39
vpxor ymm2, ymm2, ymm5
vpxor ymm1, ymm1, ymm2
vextracti128 xmm4, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm1, ymm1, xmm4, 1
vextracti128 xmm4, ymm9, 1
vaesenc xmm9, xmm9, xmm0
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm4, ymm9, xmm4, 1
vpshufd ymm4, ymm4, 0x39
vpxor ymm2, ymm2, ymm4
vpxor ymm1, ymm1, ymm2
vextracti128 xmm4, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm1, ymm1, xmm4, 1
vextracti128 xmm4, ymm8, 1
vaesenc xmm8, xmm8, xmm0
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm4, ymm8, xmm4, 1
vpshufd ymm4, ymm4, 0x39
vpxor ymm2, ymm2, ymm4
vpxor ymm1, ymm1, ymm2
vextracti128 xmm5, ymm1, 1
vaesenc xmm4, xmm5, xmm0
vaesenc xmm5, xmm1, xmm0
vextracti128 xmm1, ymm7, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm7, xmm7, xmm0
vinserti128 ymm5, ymm5, xmm4, 1
vinserti128 ymm1, ymm7, xmm1, 1
vmovd xmm7, r9d
vpshufd ymm1, ymm1, 0x39
vpxor ymm2, ymm2, ymm1
vpxor ymm1, ymm2, ymm15
vpxor ymm15, ymm15, ymmword [rsp + 0x130]
vextracti128 xmm4, ymm1, 1
vaesenc xmm4, xmm4, xmm0
vaesenc xmm0, xmm1, xmm3
vextracti128 xmm1, ymm6, 1
vmovdqu ymmword [rcx + 0x100], ymm15
vaesenc xmm6, xmm6, xmm3
vaesenc xmm1, xmm1, xmm3
vinserti128 ymm0, ymm0, xmm4, 1
vpxor ymm15, ymm12, ymmword [rsp + 0x170]
vinserti128 ymm1, ymm6, xmm1, 1
vpshufd ymm1, ymm1, 0x39
vpxor ymm2, ymm2, ymm1
vmovdqu ymmword [rcx + 0x140], ymm15
vpxor ymm1, ymm0, ymm2
vpinsrd xmm0, xmm7, edx, 1
vmovd xmm7, dword [rsp + 0x10c]
vextracti128 xmm4, ymm1, 1
vaesenc xmm6, xmm4, xmm3
vaesenc xmm4, xmm1, xmm3
vaesenc xmm1, xmm13, xmm3
vinserti128 ymm4, ymm4, xmm6, 1
vextracti128 xmm6, ymm13, 1
vaesenc xmm6, xmm6, xmm3
vinserti128 ymm1, ymm1, xmm6, 1
vpinsrd xmm6, xmm7, r8d, 1
vpunpcklqdq xmm0, xmm6, xmm0
vpshufd ymm1, ymm1, 0x39
vpermq ymm0, ymm0, 0x44
vpxor ymm0, ymm0, ymm1
vpxor ymm2, ymm0, ymm2
vpxor ymm4, ymm4, ymm2
vextracti128 xmm0, ymm4, 1
vaesenc xmm1, xmm0, xmm3
vaesenc xmm0, xmm4, xmm3
vinserti128 ymm0, ymm0, xmm1, 1
vextracti128 xmm1, ymm14, 1
vaesenc xmm4, xmm1, xmm3
vaesenc xmm1, xmm14, xmm3
vinserti128 ymm1, ymm1, xmm4, 1
vpshufd ymm1, ymm1, 0x39
vpxor ymm0, ymm0, ymm1
vpxor ymm2, ymm0, ymm2
vextracti128 xmm0, ymm2, 1
vaesenc xmm1, xmm0, xmm3
vaesenc xmm0, xmm2, xmm3
vmovdqu ymm2, ymmword [rsp + 0x190]
vpxor ymm3, ymm2, ymmword [rsp + 0xe0]
vinserti128 ymm0, ymm0, xmm1, 1
vpxor ymm5, ymm3, ymm5
vmovdqu ymmword [rcx + 0x120], ymm5
vpxor ymm5, ymm11, ymmword [rsp + 0x150]
vpxor ymm0, ymm5, ymm0
vmovdqu ymmword [rcx + 0x160], ymm0
vzeroupper
vmovups xmm6, xmmword [rsp + 0x1d0]
vmovups xmm7, xmmword [rsp + 0x1e0]
vmovups xmm8, xmmword [rsp + 0x1f0]
vmovups xmm9, xmmword [rsp + 0x200]
vmovups xmm10, xmmword [rsp + 0x210]
vmovups xmm11, xmmword [rsp + 0x220]
vmovups xmm12, xmmword [rsp + 0x230]
vmovups xmm13, xmmword [rsp + 0x240]
vmovups xmm14, xmmword [rsp + 0x250]
vmovups xmm15, xmmword [rsp + 0x260]
add rsp, 0x278
ret
mov r10d, dword [rsp + 0x10c]
vmovd xmm1, r8d
not r10d
vpinsrd xmm9, xmm1, r10d, 1
vmovd xmm1, edx
vpinsrd xmm1, xmm1, r9d, 1
vpunpcklqdq xmm1, xmm1, xmm9
vpermq ymm1, ymm1, 0x44
vpxor ymm5, ymm5, ymm1
jmp 0x5af457
vpxor ymm3, ymm3, ymmword [rsp + 0x1b0]
jmp 0x5af2ce