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

Disassembly:
sub rsp, 0x168
vmovups xmmword [rsp + 0xc0], xmm6
vmovups xmmword [rsp + 0xd0], xmm7
vmovups xmmword [rsp + 0xe0], xmm8
vmovups xmmword [rsp + 0xf0], xmm9
vmovups xmmword [rsp + 0x100], xmm10
vmovups xmmword [rsp + 0x110], xmm11
vmovups xmmword [rsp + 0x120], xmm12
vmovups xmmword [rsp + 0x130], xmm13
vmovups xmmword [rsp + 0x140], xmm14
vmovups xmmword [rsp + 0x150], xmm15
vpxor xmm1, xmm1, xmm1
xor eax, eax
vmovdqu xmm7, xmmword [rcx + 0x90]
vmovdqu xmm2, xmmword [rdx]
vmovdqu xmm4, xmmword [rdx + 0x10]
vmovdqu xmm5, xmmword [rcx + 0xb0]
vpxor xmm0, xmm2, xmm7
vmovdqu xmm6, xmmword [rdx + 0x40]
mov r8d, dword [rcx + 0xd4]
vaesenc xmm0, xmm0, xmm1
mov r9d, dword [rcx + 0xd0]
mov r10d, dword [rcx + 0xc8]
vmovdqu xmmword [rsp], xmm7
vpxor xmm0, xmm4, xmm0
mov r11d, r8d
vaesenc xmm0, xmm0, xmm1
vmovdqu xmmword [rsp + 0x60], xmm5
not r11d
vmovdqu xmmword [rsp + 0x80], xmm7
vmovdqu xmm7, xmmword [rdx + 0x20]
vmovdqu xmmword [rsp + 0x90], xmm5
vpxor xmm0, xmm0, xmm7
vmovdqu xmmword [rsp + 0x50], xmm7
vmovdqu xmm7, xmmword [rdx + 0x30]
vaesenc xmm0, xmm0, xmm1
vmovdqu xmmword [rsp + 0x30], xmm6
vpxor xmm0, xmm0, xmm7
vmovdqu xmmword [rsp + 0x40], xmm7
vmovdqu xmm7, xmmword [rcx + 0x80]
vaesenc xmm0, xmm0, xmm1
vmovdqu xmmword [rsp + 0xb0], xmm7
vpxor xmm14, xmm0, xmm7
vpxor xmm0, xmm5, xmm6
vmovdqu xmm5, xmmword [rdx + 0x50]
vaesenc xmm0, xmm0, xmm1
vmovdqu xmm6, xmmword [rdx + 0x60]
vpxor xmm0, xmm0, xmm5
vmovdqu xmmword [rsp + 0x20], xmm5
vmovdqu xmm5, xmmword [rcx + 0xa0]
vaesenc xmm0, xmm0, xmm1
vmovdqu xmmword [rsp + 0x10], xmm6
vmovdqu xmmword [rsp + 0xa0], xmm5
vpxor xmm0, xmm0, xmm6
vmovdqu xmm6, xmmword [rdx + 0x70]
mov edx, dword [rcx + 0xcc]
vaesenc xmm0, xmm0, xmm1
vpxor xmm0, xmm6, xmm0
vaesenc xmm0, xmm0, xmm1
vpxor xmm12, xmm0, xmm5
vmovd xmm5, r9d
vmovdqu xmm0, xmm1
vpinsrd xmm1, xmm5, r11d, 1
vmovd xmm5, r10d
vpinsrd xmm3, xmm5, edx, 1
vpunpcklqdq xmm5, xmm3, xmm1
vmovdqu xmmword [rsp + 0x70], xmm5
vaesenc xmm2, xmm2, xmm0
vpshufd xmm2, xmm2, 0x39
vpxor xmm3, xmm6, xmm2
test eax, eax
je 0x1401d0a88
vaesenc xmm4, xmm4, xmm0
vpxor xmm1, xmm14, xmm3
vpshufd xmm4, xmm4, 0x39
vaesenc xmm1, xmm1, xmm0
vpxor xmm7, xmm3, xmm4
cmp eax, 1
jne 0x1401d05b5
mov r11d, r10d
vmovd xmm2, edx
not r11d
vpinsrd xmm4, xmm2, r11d, 1
vmovd xmm2, r8d
vpinsrd xmm2, xmm2, r9d, 1
vpunpcklqdq xmm2, xmm2, xmm4
vpxor xmm7, xmm7, xmm2
vmovdqu xmm4, xmmword [rsp + 0x50]
vpxor xmm1, xmm1, xmm7
vmovdqu xmm2, xmmword [rsp + 0x10]
vaesenc xmm13, xmm6, xmm0
vaesenc xmm1, xmm1, xmm0
vpshufd xmm13, xmm13, 0x39
vaesenc xmm5, xmm4, xmm0
vmovdqu xmm4, xmmword [rsp + 0x40]
vaesenc xmm10, xmm2, xmm0
vpshufd xmm5, xmm5, 0x39
vpshufd xmm10, xmm10, 0x39
vaesenc xmm15, xmm4, xmm0
vmovdqu xmm4, xmmword [rsp + 0x30]
vpxor xmm5, xmm7, xmm5
vpxor xmm1, xmm1, xmm5
vpshufd xmm15, xmm15, 0x39
vaesenc xmm9, xmm4, xmm0
vmovdqu xmm4, xmmword [rsp + 0x20]
vpxor xmm15, xmm5, xmm15
vaesenc xmm1, xmm1, xmm0
vpshufd xmm9, xmm9, 0x39
vpxor xmm1, xmm1, xmm15
vpxor xmm9, xmm15, xmm9
vaesenc xmm8, xmm4, xmm0
vaesenc xmm1, xmm1, xmm0
vpshufd xmm8, xmm8, 0x39
vpxor xmm11, xmm1, xmmword [rsp + 0x60]
vpxor xmm1, xmm12, xmm9
vpxor xmm8, xmm9, xmm8
vaesenc xmm1, xmm1, xmm0
vpxor xmm1, xmm1, xmm8
vpxor xmm10, xmm8, xmm10
vaesenc xmm1, xmm1, xmm0
vpxor xmm13, xmm10, xmm13
vpxor xmm1, xmm1, xmm10
vaesenc xmm1, xmm1, xmm0
cmp eax, 2
je 0x1401d0ab0
vpalignr xmm2, xmm13, xmm10, 4
vpxor xmm1, xmm1, xmm13
add eax, 1
vpxor xmm2, xmm3, xmm2
vaesenc xmm1, xmm1, xmm0
vpxor xmm1, xmm1, xmmword [rsp]
vpxor xmm3, xmm2, xmm11
vpalignr xmm4, xmm2, xmm13, 4
vpxor xmm4, xmm7, xmm4
vaesenc xmm3, xmm3, xmm0
vpxor xmm7, xmm3, xmm4
vpalignr xmm3, xmm4, xmm2, 4
vaesenc xmm2, xmm2, xmm0
vpxor xmm5, xmm5, xmm3
vaesenc xmm7, xmm7, xmm0
vpshufd xmm2, xmm2, 0x39
vpalignr xmm3, xmm5, xmm4, 4
vpxor xmm7, xmm7, xmm5
vaesenc xmm4, xmm4, xmm0
vpxor xmm15, xmm15, xmm3
vaesenc xmm7, xmm7, xmm0
vpshufd xmm4, xmm4, 0x39
vpalignr xmm3, xmm15, xmm5, 4
vpxor xmm7, xmm7, xmm15
vaesenc xmm5, xmm5, xmm0
vpxor xmm9, xmm9, xmm3
vaesenc xmm7, xmm7, xmm0
vpshufd xmm5, xmm5, 0x39
vpalignr xmm3, xmm9, xmm15, 4
vpxor xmm7, xmm7, xmm12
vpxor xmm6, xmm9, xmm1
vpxor xmm8, xmm8, xmm3
vaesenc xmm6, xmm6, xmm0
vaesenc xmm15, xmm15, xmm0
vpalignr xmm3, xmm8, xmm9, 4
vpxor xmm6, xmm6, xmm8
vpshufd xmm15, xmm15, 0x39
vpxor xmm10, xmm10, xmm3
vaesenc xmm6, xmm6, xmm0
vaesenc xmm9, xmm9, xmm0
vpalignr xmm3, xmm10, xmm8, 4
vpxor xmm6, xmm6, xmm10
vpshufd xmm9, xmm9, 0x39
vpxor xmm13, xmm13, xmm3
vaesenc xmm6, xmm6, xmm0
vaesenc xmm8, xmm8, xmm0
vpxor xmm2, xmm13, xmm2
vpxor xmm6, xmm6, xmm13
vpshufd xmm8, xmm8, 0x39
vpxor xmm3, xmm2, xmm7
vpxor xmm4, xmm2, xmm4
vaesenc xmm6, xmm6, xmm0
vaesenc xmm3, xmm3, xmm0
vpxor xmm5, xmm4, xmm5
vpxor xmm6, xmm6, xmm14
vpxor xmm3, xmm3, xmm4
vpxor xmm15, xmm5, xmm15
vaesenc xmm10, xmm10, xmm0
vaesenc xmm3, xmm3, xmm0
vpxor xmm9, xmm15, xmm9
vpshufd xmm10, xmm10, 0x39
vpxor xmm3, xmm3, xmm5
vpxor xmm8, xmm9, xmm8
vaesenc xmm13, xmm13, xmm0
vaesenc xmm3, xmm3, xmm0
vpxor xmm10, xmm8, xmm10
vpshufd xmm13, xmm13, 0x39
vpxor xmm3, xmm3, xmm15
vpxor xmm13, xmm10, xmm13
vaesenc xmm3, xmm3, xmm0
vpxor xmm3, xmm3, xmm1
vpxor xmm1, xmm9, xmm6
vaesenc xmm1, xmm1, xmm0
vmovdqu xmmword [rsp], xmm3
vpxor xmm1, xmm1, xmm8
vaesenc xmm1, xmm1, xmm0
vpxor xmm1, xmm1, xmm10
vaesenc xmm1, xmm1, xmm0
vpxor xmm1, xmm1, xmm13
vaesenc xmm1, xmm1, xmm0
vpxor xmm11, xmm1, xmm11
vpalignr xmm1, xmm13, xmm10, 4
vpxor xmm1, xmm2, xmm1
vmovdqu xmmword [rsp + 0x60], xmm11
vpxor xmm14, xmm1, xmm3
vpalignr xmm3, xmm1, xmm13, 4
vmovdqu xmm2, xmm1
vpxor xmm3, xmm4, xmm3
vaesenc xmm14, xmm14, xmm0
vpalignr xmm12, xmm3, xmm1, 4
vpxor xmm14, xmm14, xmm3
vmovdqu xmm4, xmm3
vpxor xmm5, xmm5, xmm12
vaesenc xmm14, xmm14, xmm0
vpalignr xmm12, xmm5, xmm3, 4
vpxor xmm14, xmm14, xmm5
vmovdqu xmmword [rsp + 0x50], xmm5
vpxor xmm15, xmm15, xmm12
vaesenc xmm14, xmm14, xmm0
vpxor xmm14, xmm14, xmm15
vmovdqu xmmword [rsp + 0x40], xmm15
vaesenc xmm14, xmm14, xmm0
vpxor xmm14, xmm14, xmm6
vpalignr xmm6, xmm15, xmm5, 4
vpxor xmm9, xmm9, xmm6
vpalignr xmm6, xmm9, xmm15, 4
vpxor xmm12, xmm9, xmm11
vmovdqu xmmword [rsp + 0x30], xmm9
vpxor xmm8, xmm8, xmm6
vaesenc xmm12, xmm12, xmm0
vpalignr xmm6, xmm8, xmm9, 4
vpxor xmm12, xmm12, xmm8
vmovdqu xmmword [rsp + 0x20], xmm8
vpxor xmm10, xmm10, xmm6
vaesenc xmm12, xmm12, xmm0
vpalignr xmm6, xmm10, xmm8, 4
vpxor xmm12, xmm12, xmm10
vmovdqu xmmword [rsp + 0x10], xmm10
vpxor xmm13, xmm13, xmm6
vaesenc xmm12, xmm12, xmm0
vpxor xmm12, xmm12, xmm13
vmovdqu xmm6, xmm13
vaesenc xmm12, xmm12, xmm0
vpxor xmm12, xmm12, xmm7
cmp eax, 3
jne 0x1401d0560
vaesenc xmm1, xmm1, xmm0
vaesenc xmm3, xmm3, xmm0
vaesenc xmm5, xmm5, xmm0
not r9d
vpshufd xmm1, xmm1, 0x39
vpshufd xmm3, xmm3, 0x39
vpshufd xmm5, xmm5, 0x39
vmovdqu xmm7, xmmword [rsp + 0xb0]
vpxor xmm1, xmm13, xmm1
vaesenc xmm15, xmm15, xmm0
vaesenc xmm4, xmm9, xmm0
vmovups xmm9, xmmword [rsp + 0xf0]
vpxor xmm2, xmm1, xmm14
vpxor xmm3, xmm1, xmm3
vpshufd xmm15, xmm15, 0x39
vaesenc xmm2, xmm2, xmm0
vpxor xmm5, xmm3, xmm5
vmovd xmm6, r8d
vpxor xmm2, xmm2, xmm3
vpxor xmm15, xmm5, xmm15
vpshufd xmm4, xmm4, 0x39
vaesenc xmm2, xmm2, xmm0
vpxor xmm4, xmm15, xmm4
vaesenc xmm8, xmm8, xmm0
vpxor xmm2, xmm2, xmm5
vpinsrd xmm5, xmm6, r9d, 1
vmovd xmm6, edx
vaesenc xmm2, xmm2, xmm0
vpinsrd xmm3, xmm6, r10d, 1
vpshufd xmm8, xmm8, 0x39
vmovups xmm6, xmmword [rsp + 0xc0]
vpxor xmm2, xmm2, xmm15
vaesenc xmm10, xmm10, xmm0
vpunpcklqdq xmm3, xmm3, xmm5
vmovups xmm15, xmmword [rsp + 0x150]
vaesenc xmm1, xmm2, xmm0
vpxor xmm2, xmm4, xmm12
vpshufd xmm10, xmm10, 0x39
vpxor xmm4, xmm4, xmm8
vaesenc xmm2, xmm2, xmm0
vpxor xmm3, xmm3, xmm10
vmovups xmm8, xmmword [rsp + 0xe0]
vpxor xmm2, xmm2, xmm4
vpxor xmm3, xmm3, xmm4
vaesenc xmm13, xmm13, xmm0
vmovups xmm10, xmmword [rsp + 0x100]
vaesenc xmm2, xmm2, xmm0
vpshufd xmm13, xmm13, 0x39
vpxor xmm7, xmm7, xmm12
vmovups xmm12, xmmword [rsp + 0x120]
vpxor xmm2, xmm2, xmm3
vmovdqu xmmword [rcx + 0x80], xmm7
vmovdqu xmm7, xmmword [rsp + 0x90]
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm13
vmovups xmm13, xmmword [rsp + 0x130]
vpxor xmm2, xmm2, xmm3
vaesenc xmm0, xmm2, xmm0
vpxor xmm2, xmm11, xmmword [rsp + 0x80]
vmovups xmm11, xmmword [rsp + 0x110]
vpxor xmm1, xmm2, xmm1
vmovdqu xmmword [rcx + 0x90], xmm1
vpxor xmm1, xmm14, xmmword [rsp + 0xa0]
vmovups xmm14, xmmword [rsp + 0x140]
vmovdqu xmmword [rcx + 0xa0], xmm1
vpxor xmm1, xmm7, xmmword [rsp]
vmovups xmm7, xmmword [rsp + 0xd0]
vpxor xmm0, xmm1, xmm0
vmovdqu xmmword [rcx + 0xb0], xmm0
add rsp, 0x168
ret
vpxor xmm3, xmm3, xmmword [rsp + 0x70]
vaesenc xmm4, xmm4, xmm0
vpshufd xmm4, xmm4, 0x39
vpxor xmm1, xmm3, xmm14
vpxor xmm7, xmm3, xmm4
vaesenc xmm1, xmm1, xmm0
jmp 0x1401d05b5
mov r11d, edx
vmovd xmm4, r10d
vmovd xmm2, r9d
not r11d
vpinsrd xmm2, xmm2, r8d, 1
vpinsrd xmm4, xmm4, r11d, 1
vpunpcklqdq xmm2, xmm2, xmm4
vpxor xmm13, xmm13, xmm2
jmp 0x1401d067a