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

Disassembly:
sub rsp, 0x268
vmovups xmmword [rsp + 0x1c0], xmm6
vmovups xmmword [rsp + 0x1d0], xmm7
vmovups xmmword [rsp + 0x1e0], xmm8
vmovups xmmword [rsp + 0x1f0], xmm9
vmovups xmmword [rsp + 0x200], xmm10
vmovups xmmword [rsp + 0x210], xmm11
vmovups xmmword [rsp + 0x220], xmm12
vmovups xmmword [rsp + 0x230], xmm13
vmovups xmmword [rsp + 0x240], xmm14
vmovups xmmword [rsp + 0x250], xmm15
vmovdqu ymm11, ymmword [rcx + 0x120]
vmovdqu ymm3, ymmword [rdx]
vxorps xmm2, xmm2, xmm2
xor eax, eax
vmovdqu ymm5, ymmword [rdx + 0x20]
vmovdqu ymm10, ymmword [rdx + 0x40]
vmovdqu ymm6, ymmword [rdx + 0x60]
vmovdqu ymm7, ymmword [rcx + 0x160]
mov r10d, dword [rcx + 0x194]
mov r9d, dword [rcx + 0x188]
mov r8d, dword [rcx + 0x190]
mov r11d, r10d
vpxor ymm1, ymm3, ymm11
not r11d
vmovdqu ymmword [rsp + 0x180], ymm11
vmovdqu ymmword [rsp + 0x20], ymm11
vextracti128 xmm0, ymm1, 1
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vmovdqu ymmword [rsp + 0xa0], ymm6
vmovdqu ymmword [rsp + 0xc0], ymm7
vinserti128 ymm0, ymm0, xmm4, 1
vmovdqu ymmword [rsp + 0x140], ymm7
vpxor ymm0, ymm5, ymm0
vextracti128 xmm1, ymm0, 1
vaesenc xmm4, xmm1, xmm2
vaesenc xmm1, xmm0, xmm2
vinserti128 ymm1, ymm1, xmm4, 1
vpxor ymm1, ymm10, ymm1
vextracti128 xmm0, ymm1, 1
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vinserti128 ymm0, ymm0, xmm4, 1
vpxor ymm0, ymm0, ymm6
vmovdqu ymm6, ymmword [rcx + 0x100]
vextracti128 xmm12, ymm0, 1
vaesenc xmm1, xmm12, xmm2
vaesenc xmm12, xmm0, xmm2
vinserti128 ymm12, ymm12, xmm1, 1
vmovdqu ymmword [rsp + 0x120], ymm6
vpxor ymm6, ymm12, ymm6
vmovdqu ymmword [rsp], ymm6
vmovdqu ymm6, ymmword [rdx + 0x80]
vpxor ymm1, ymm7, ymm6
vmovdqu ymm7, ymmword [rdx + 0xa0]
vmovdqu ymmword [rsp + 0x80], ymm6
vextracti128 xmm0, ymm1, 1
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vinserti128 ymm0, ymm0, xmm4, 1
vpxor ymm0, ymm0, ymm7
vmovdqu ymmword [rsp + 0x60], ymm7
vmovdqu ymm7, ymmword [rdx + 0xc0]
vextracti128 xmm1, ymm0, 1
vaesenc xmm4, xmm1, xmm2
vaesenc xmm1, xmm0, xmm2
vinserti128 ymm1, ymm1, xmm4, 1
vpxor ymm1, ymm1, ymm7
vmovdqu ymmword [rsp + 0x40], ymm7
vmovdqu ymm7, ymmword [rcx + 0x140]
vextracti128 xmm0, ymm1, 1
vaesenc xmm4, xmm0, xmm2
vaesenc xmm0, xmm1, xmm2
vmovdqu ymm1, ymmword [rdx + 0xe0]
mov edx, dword [rcx + 0x18c]
vinserti128 ymm0, ymm0, xmm4, 1
vmovdqu ymmword [rsp + 0x160], ymm7
vpxor ymm0, ymm1, ymm0
vextracti128 xmm4, ymm0, 1
vaesenc xmm0, xmm0, xmm2
vaesenc xmm4, xmm4, xmm2
vmovups xmm12, xmm0
vmovups xmm0, xmm2
vmovd xmm2, r9d
vinserti128 ymm12, ymm12, xmm4, 1
vpinsrd xmm2, xmm2, edx, 1
vpxor ymm15, ymm12, ymm7
vmovd xmm7, r8d
vpinsrd xmm4, xmm7, r11d, 1
mov r11d, r9d
vpunpcklqdq xmm2, xmm2, xmm4
not r11d
vpermq ymm7, ymm2, 0x44
vmovd xmm2, edx
vpinsrd xmm4, xmm2, r11d, 1
vmovdqu ymmword [rsp + 0x100], ymm7
vmovd xmm7, r10d
vpinsrd xmm2, xmm7, r8d, 1
vpunpcklqdq xmm2, xmm2, xmm4
vpermq ymm2, ymm2, 0x44
vmovdqu ymmword [rsp + 0x1a0], 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 0x5b08d5
vpxor ymm2, ymm2, ymmword [rsp + 0x100]
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 0x5b1260
vpxor ymm4, ymm4, ymm3
vextracti128 xmm8, ymm10, 1
vmovdqu ymm14, 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
vinserti128 ymm8, ymm8, xmm4, 1
vpshufd ymm8, ymm8, 0x39
vpxor ymm8, ymm3, ymm8
vpxor ymm5, ymm5, ymm8
vextracti128 xmm6, ymm5, 1
vaesenc xmm4, xmm5, xmm0
vaesenc xmm6, xmm6, xmm0
vextracti128 xmm11, ymm14, 1
vinserti128 ymm4, ymm4, xmm6, 1
vmovdqu ymm6, ymmword [rsp + 0xa0]
vextracti128 xmm7, ymm6, 1
vaesenc xmm5, xmm7, xmm0
vaesenc xmm7, xmm6, xmm0
vinserti128 ymm7, ymm7, xmm5, 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 + 0x80]
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, xmm14, xmm0
vmovdqu ymm14, ymmword [rsp + 0x40]
vinserti128 ymm4, ymm4, xmm9, 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 xmm9, xmm9, xmm0
vinserti128 ymm5, ymm5, xmm9, 1
vextracti128 xmm10, ymm14, 1
vaesenc xmm4, xmm10, xmm0
vaesenc xmm10, xmm14, xmm0
vinserti128 ymm10, ymm10, xmm4, 1
vpshufd ymm10, ymm10, 0x39
vpxor ymm10, ymm11, ymm10
vpxor ymm5, ymm5, ymm10
vextracti128 xmm9, ymm5, 1
vaesenc xmm4, xmm5, xmm0
vaesenc xmm9, xmm9, xmm0
vextracti128 xmm5, ymm1, 1
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 0x5b1230
vpxor ymm4, ymm4, ymm5
inc eax
vextracti128 xmm1, ymm4, 1
vaesenc xmm9, xmm1, xmm0
vaesenc xmm1, xmm4, xmm0
vpalignr ymm4, ymm5, ymm10, 4
vpxor ymm2, ymm2, ymm4
vinserti128 ymm1, ymm1, xmm9, 1
vpxor ymm9, ymm2, ymm12
vpxor ymm1, ymm1, ymmword [rsp + 0x20]
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm2, ymm5, 4
vpxor ymm3, ymm3, ymm9
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm4, ymm4, ymm3
vextracti128 xmm9, ymm4, 1
vaesenc xmm13, xmm9, xmm0
vaesenc xmm9, xmm4, xmm0
vpalignr ymm4, ymm3, ymm2, 4
vpxor ymm8, ymm8, ymm4
vinserti128 ymm9, ymm9, xmm13, 1
vpxor ymm9, ymm9, ymm8
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm8, ymm3, 4
vpxor ymm7, ymm7, ymm9
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm4, ymm4, ymm7
vextracti128 xmm9, ymm4, 1
vaesenc xmm4, xmm4, xmm0
vaesenc xmm9, xmm9, xmm0
vinserti128 ymm4, ymm4, xmm9, 1
vpxor ymm14, ymm4, ymm15
vpalignr ymm4, ymm7, ymm8, 4
vpxor ymm6, ymm6, ymm4
vpxor ymm9, ymm6, ymm1
vmovdqu ymmword [rsp + 0xe0], ymm14
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm6, ymm7, 4
vpxor ymm11, ymm11, ymm9
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm4, ymm4, ymm11
vextracti128 xmm9, ymm4, 1
vaesenc xmm13, xmm9, xmm0
vaesenc xmm9, xmm4, xmm0
vpalignr ymm4, ymm11, ymm6, 4
vpxor ymm10, ymm10, ymm4
vinserti128 ymm9, ymm9, xmm13, 1
vpxor ymm9, ymm9, ymm10
vextracti128 xmm4, ymm9, 1
vaesenc xmm13, xmm4, xmm0
vaesenc xmm4, xmm9, xmm0
vpalignr ymm9, ymm10, ymm11, 4
vpxor ymm5, ymm5, ymm9
vinserti128 ymm4, ymm4, xmm13, 1
vpxor ymm4, ymm4, ymm5
vextracti128 xmm15, ymm4, 1
vaesenc xmm9, xmm15, xmm0
vaesenc xmm15, xmm4, xmm0
vextracti128 xmm4, ymm2, 1
vaesenc xmm2, xmm2, xmm0
vinserti128 ymm15, ymm15, xmm9, 1
vpxor ymm15, ymm15, ymmword [rsp]
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm2, ymm2, xmm4, 1
vpshufd ymm2, ymm2, 0x39
vpxor ymm2, ymm5, ymm2
vpxor ymm4, ymm2, ymm14
vextracti128 xmm14, ymm5, 1
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 xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm1, ymm1, xmm3, 1
vaesenc xmm3, xmm14, xmm0
vaesenc xmm14, xmm5, xmm0
vinserti128 ymm14, ymm14, xmm3, 1
vpshufd ymm14, ymm14, 0x39
vpxor ymm14, ymm13, ymm14
vpxor ymm1, ymm1, ymm14
vextracti128 xmm3, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm1, ymm1, xmm3, 1
vpxor ymm12, ymm1, ymm12
vpalignr ymm1, ymm14, ymm13, 4
vpxor ymm2, ymm2, ymm1
vpxor ymm5, ymm2, ymmword [rsp + 0x20]
vmovdqu ymmword [rsp + 0xc0], ymm12
vmovdqu ymm3, ymm2
vextracti128 xmm1, ymm5, 1
vaesenc xmm10, xmm1, xmm0
vaesenc xmm1, xmm5, xmm0
vpalignr ymm5, ymm2, ymm14, 4
vpxor ymm4, ymm4, ymm5
vinserti128 ymm1, ymm1, xmm10, 1
vmovdqu ymm5, ymm4
vpxor ymm1, ymm1, ymm4
vextracti128 xmm11, ymm1, 1
vaesenc xmm10, xmm11, xmm0
vaesenc xmm11, xmm1, xmm0
vpalignr ymm1, ymm4, ymm2, 4
vpxor ymm9, ymm9, ymm1
vinserti128 ymm11, ymm11, xmm10, 1
vmovdqu ymm10, ymm9
vpxor ymm11, ymm11, ymm9
vextracti128 xmm1, ymm11, 1
vaesenc xmm11, xmm11, xmm0
vaesenc xmm1, xmm1, xmm0
vinserti128 ymm1, ymm11, xmm1, 1
vpalignr ymm11, ymm9, ymm4, 4
vpxor ymm8, ymm8, ymm11
vpxor ymm1, ymm1, ymm8
vmovdqu ymmword [rsp + 0xa0], ymm8
vextracti128 xmm11, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm11, xmm11, xmm0
vinserti128 ymm1, ymm1, xmm11, 1
vpxor ymm1, ymm1, ymm15
vmovdqu ymmword [rsp], ymm1
vpalignr ymm1, ymm8, ymm9, 4
vpxor ymm7, ymm7, ymm1
vpxor ymm1, ymm7, ymm12
vmovdqu ymmword [rsp + 0x80], ymm7
vextracti128 xmm11, ymm1, 1
vaesenc xmm15, xmm11, xmm0
vaesenc xmm11, xmm1, xmm0
vpalignr ymm1, ymm7, ymm8, 4
vpxor ymm6, ymm6, ymm1
vinserti128 ymm11, ymm11, xmm15, 1
vmovdqu ymmword [rsp + 0x60], ymm6
vpxor ymm11, ymm11, ymm6
vextracti128 xmm15, ymm11, 1
vaesenc xmm1, xmm11, xmm0
vpalignr ymm11, ymm6, ymm7, 4
vpxor ymm13, ymm13, ymm11
vaesenc xmm15, xmm15, xmm0
vmovdqu ymmword [rsp + 0x40], ymm13
vinserti128 ymm1, ymm1, xmm15, 1
vpxor ymm1, ymm1, ymm13
vextracti128 xmm11, ymm1, 1
vaesenc xmm15, xmm11, xmm0
vaesenc xmm11, xmm1, xmm0
vpalignr ymm1, ymm13, ymm6, 4
vpxor ymm14, ymm14, ymm1
vinserti128 ymm11, ymm11, xmm15, 1
vmovdqu ymm1, ymm14
vpxor ymm11, ymm11, ymm14
vextracti128 xmm15, ymm11, 1
vaesenc xmm11, xmm11, xmm0
vaesenc xmm15, xmm15, xmm0
vinserti128 ymm15, ymm11, xmm15, 1
vpxor ymm15, ymm15, ymmword [rsp + 0xe0]
cmp eax, 3
jne 0x5b08a9
vextracti128 xmm1, ymm2, 1
vaesenc xmm2, xmm2, xmm0
not r8d
vmovdqu ymmword [rsp + 0x40], ymm12
vaesenc xmm1, xmm1, xmm0
vxorps xmm5, xmm5, xmm5
vpxor ymm12, ymm15, ymmword [rsp + 0x120]
vinserti128 ymm2, ymm2, xmm1, 1
vmovdqu ymm11, ymmword [rsp + 0x20]
vpshufd ymm2, ymm2, 0x39
vpxor ymm2, ymm14, ymm2
vpxor ymm3, ymm2, ymmword [rsp]
vmovdqu ymmword [rcx + 0x100], ymm12
vextracti128 xmm1, ymm3, 1
vaesenc xmm10, xmm1, xmm0
vaesenc xmm1, xmm3, xmm0
vextracti128 xmm3, ymm4, 1
vaesenc xmm4, xmm4, xmm0
vinserti128 ymm1, ymm1, xmm10, 1
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm3, ymm4, xmm3, 1
vpshufd ymm3, ymm3, 0x39
vpxor ymm2, ymm2, ymm3
vpxor ymm1, ymm1, ymm2
vextracti128 xmm3, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm1, ymm1, xmm3, 1
vextracti128 xmm3, ymm9, 1
vaesenc xmm9, xmm9, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm3, ymm9, xmm3, 1
vpshufd ymm3, ymm3, 0x39
vpxor ymm2, ymm2, ymm3
vpxor ymm1, ymm1, ymm2
vextracti128 xmm3, ymm1, 1
vaesenc xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm1, ymm1, xmm3, 1
vextracti128 xmm3, ymm8, 1
vaesenc xmm8, xmm8, xmm0
vaesenc xmm3, xmm3, xmm0
vinserti128 ymm3, ymm8, xmm3, 1
vpshufd ymm3, ymm3, 0x39
vpxor ymm2, ymm2, ymm3
vpxor ymm1, ymm1, ymm2
vextracti128 xmm4, ymm1, 1
vaesenc xmm3, xmm4, xmm0
vaesenc xmm4, xmm1, xmm0
vextracti128 xmm1, ymm7, 1
vaesenc xmm7, xmm7, xmm0
vinserti128 ymm4, ymm4, xmm3, 1
vaesenc xmm1, xmm1, xmm0
vinserti128 ymm1, ymm7, xmm1, 1
vmovdqu ymm7, ymmword [rsp]
vpshufd ymm1, ymm1, 0x39
vpxor ymm12, ymm7, ymmword [rsp + 0x160]
vpxor ymm2, ymm2, ymm1
vpxor ymm1, ymm2, ymm15
vextracti128 xmm3, ymm1, 1
vaesenc xmm3, xmm3, xmm0
vaesenc xmm0, xmm1, xmm5
vextracti128 xmm1, ymm6, 1
vaesenc xmm6, xmm6, xmm5
vinserti128 ymm0, ymm0, xmm3, 1
vaesenc xmm1, xmm1, xmm5
vinserti128 ymm1, ymm6, xmm1, 1
vpshufd ymm1, ymm1, 0x39
vmovdqu ymmword [rcx + 0x140], ymm12
vpxor ymm2, ymm2, ymm1
vpxor ymm1, ymm0, ymm2
vextracti128 xmm3, ymm1, 1
vaesenc xmm6, xmm3, xmm5
vaesenc xmm3, xmm1, xmm5
vinserti128 ymm3, ymm3, xmm6, 1
vextracti128 xmm6, ymm13, 1
vaesenc xmm1, xmm13, xmm5
vaesenc xmm6, xmm6, xmm5
vinserti128 ymm1, ymm1, xmm6, 1
vmovd xmm6, r10d
vpinsrd xmm0, xmm6, r8d, 1
vmovd xmm6, edx
vpinsrd xmm6, xmm6, r9d, 1
vpshufd ymm1, ymm1, 0x39
vpunpcklqdq xmm0, xmm6, xmm0
vmovdqu ymm6, ymmword [rsp + 0x180]
vpermq ymm0, ymm0, 0x44
vpxor ymm0, ymm0, ymm1
vpxor ymm2, ymm0, ymm2
vpxor ymm3, ymm3, ymm2
vextracti128 xmm0, ymm3, 1
vaesenc xmm1, xmm0, xmm5
vaesenc xmm0, xmm3, xmm5
vinserti128 ymm0, ymm0, xmm1, 1
vextracti128 xmm1, ymm14, 1
vaesenc xmm3, xmm1, xmm5
vaesenc xmm1, xmm14, xmm5
vinserti128 ymm1, ymm1, xmm3, 1
vpxor ymm3, ymm6, ymmword [rsp + 0x40]
vpshufd ymm1, ymm1, 0x39
vpxor ymm0, ymm0, ymm1
vpxor ymm2, ymm0, ymm2
vextracti128 xmm0, ymm2, 1
vaesenc xmm2, xmm2, xmm5
vaesenc xmm0, xmm0, xmm5
vpxor ymm5, ymm11, ymmword [rsp + 0x140]
vinserti128 ymm2, ymm2, xmm0, 1
vpxor ymm4, ymm3, ymm4
vmovdqu ymmword [rcx + 0x120], ymm4
vpxor ymm2, ymm5, ymm2
vmovdqu ymmword [rcx + 0x160], ymm2
vzeroupper
vmovups xmm6, xmmword [rsp + 0x1c0]
vmovups xmm7, xmmword [rsp + 0x1d0]
vmovups xmm8, xmmword [rsp + 0x1e0]
vmovups xmm9, xmmword [rsp + 0x1f0]
vmovups xmm10, xmmword [rsp + 0x200]
vmovups xmm11, xmmword [rsp + 0x210]
vmovups xmm12, xmmword [rsp + 0x220]
vmovups xmm13, xmmword [rsp + 0x230]
vmovups xmm14, xmmword [rsp + 0x240]
vmovups xmm15, xmmword [rsp + 0x250]
add rsp, 0x268
ret
mov r11d, edx
vmovd xmm1, r9d
not r11d
vpinsrd xmm9, xmm1, r11d, 1
vmovd xmm1, r8d
vpinsrd xmm1, xmm1, r10d, 1
vpunpcklqdq xmm1, xmm1, xmm9
vpermq ymm1, ymm1, 0x44
vpxor ymm5, ymm5, ymm1
jmp 0x5b0aa7
vpxor ymm3, ymm3, ymmword [rsp + 0x1a0]
jmp 0x5b0918