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

Disassembly:
sub rsp, 0xa8
vmovups xmmword [rsp], xmm6
vmovups xmmword [rsp + 0x10], xmm7
vmovups xmmword [rsp + 0x20], xmm8
vmovups xmmword [rsp + 0x30], xmm9
vmovups xmmword [rsp + 0x40], xmm10
vmovups xmmword [rsp + 0x50], xmm11
vmovups xmmword [rsp + 0x60], xmm12
vmovups xmmword [rsp + 0x70], xmm13
vmovups xmmword [rsp + 0x80], xmm14
vmovups xmmword [rsp + 0x90], xmm15
vmovdqu64 xmm24, xmmword [rcx + 0x90]
vmovdqu64 xmm25, xmmword [rcx + 0xb0]
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovdqu xmm4, xmmword [rdx]
vmovdqu xmm7, xmmword [rdx + 0x40]
vmovdqu xmm12, xmmword [rdx + 0x10]
vmovdqu xmm6, xmmword [rdx + 0x50]
vmovdqu xmm9, xmmword [rdx + 0x20]
vmovdqu xmm13, xmmword [rdx + 0x60]
vmovdqu xmm8, xmmword [rdx + 0x30]
vmovdqu xmm1, xmmword [rdx + 0x70]
mov r11, rcx
vmovdqu64 xmm18, xmmword [rcx + 0x80]
vmovdqu64 xmm17, xmmword [rcx + 0xa0]
mov ecx, dword [rcx + 0xd4]
mov r8d, dword [r11 + 0xd0]
mov r9d, dword [r11 + 0xc8]
mov edx, dword [r11 + 0xcc]
vmovdqu64 xmm21, xmm24
vmovdqu64 xmm20, xmm25
vpxorq xmm2, xmm4, xmm24
vpxorq xmm3, xmm7, xmm25
vaesenc xmm2, xmm2, xmm0
vaesenc xmm3, xmm3, xmm0
mov r10d, ecx
vmovd xmm5, r8d
vpxor xmm2, xmm12, xmm2
vpxor xmm3, xmm6, xmm3
not r10d
vmovd xmm14, r9d
vaesenc xmm2, xmm2, xmm0
vaesenc xmm3, xmm3, xmm0
vpinsrd xmm5, xmm5, r10d, 1
vpinsrd xmm10, xmm14, edx, 1
vpxor xmm2, xmm9, xmm2
vpxor xmm3, xmm13, xmm3
vpunpcklqdq xmm19, xmm10, xmm5
vaesenc xmm2, xmm2, xmm0
vaesenc xmm3, xmm3, xmm0
vpxor xmm2, xmm8, xmm2
vpxor xmm3, xmm1, xmm3
vaesenc xmm2, xmm2, xmm0
vaesenc xmm3, xmm3, xmm0
vpxorq xmm2, xmm2, xmm18
vpxorq xmm3, xmm3, xmm17
vaesenc xmm4, xmm4, xmm0
vpshufd xmm4, xmm4, 0x39
vpxor xmm4, xmm1, xmm4
test eax, eax
je 0x1402192a0
vaesenc xmm5, xmm12, xmm0
vpxor xmm10, xmm2, xmm4
vpshufd xmm5, xmm5, 0x39
vaesenc xmm10, xmm10, xmm0
vpxor xmm5, xmm4, xmm5
cmp eax, 1
jne 0x140218deb
mov r10d, r9d
vmovd xmm12, edx
vmovd xmm14, ecx
not r10d
vpinsrd xmm11, xmm14, r8d, 1
vpinsrd xmm12, xmm12, r10d, 1
vpunpcklqdq xmm11, xmm11, xmm12
vpxor xmm5, xmm5, xmm11
vaesenc xmm9, xmm9, xmm0
vpxor xmm10, xmm10, xmm5
vaesenc xmm8, xmm8, xmm0
vpshufd xmm9, xmm9, 0x39
vaesenc xmm10, xmm10, xmm0
vpxor xmm9, xmm5, xmm9
vpshufd xmm8, xmm8, 0x39
vaesenc xmm7, xmm7, xmm0
vpxor xmm10, xmm10, xmm9
vpshufd xmm7, xmm7, 0x39
vaesenc xmm6, xmm6, xmm0
vpxor xmm8, xmm9, xmm8
vaesenc xmm10, xmm10, xmm0
vpxor xmm7, xmm8, xmm7
vpshufd xmm6, xmm6, 0x39
vpxor xmm10, xmm10, xmm8
vaesenc xmm13, xmm13, xmm0
vaesenc xmm1, xmm1, xmm0
vpxor xmm6, xmm7, xmm6
vaesenc xmm10, xmm10, xmm0
vpshufd xmm23, xmm13, 0x39
vpxorq xmm16, xmm10, xmm25
vpxor xmm10, xmm3, xmm7
vpshufd xmm1, xmm1, 0x39
vpxorq xmm23, xmm6, xmm23
vaesenc xmm10, xmm10, xmm0
vpxorq xmm1, xmm23, xmm1
vpxor xmm10, xmm10, xmm6
vaesenc xmm10, xmm10, xmm0
vpxorq xmm10, xmm10, xmm23
vaesenc xmm10, xmm10, xmm0
cmp eax, 2
je 0x1402192d0
vpxor xmm10, xmm10, xmm1
inc eax
vaesenc xmm10, xmm10, xmm0
vpxorq xmm25, xmm10, xmm24
vpalignr xmm10, xmm1, xmm23, 4
vpxor xmm4, xmm4, xmm10
vpxorq xmm10, xmm4, xmm16
vpalignr xmm11, xmm4, xmm1, 4
vpxor xmm5, xmm5, xmm11
vaesenc xmm10, xmm10, xmm0
vpalignr xmm11, xmm5, xmm4, 4
vpxor xmm9, xmm9, xmm11
vaesenc xmm4, xmm4, xmm0
vpxor xmm10, xmm10, xmm5
vpalignr xmm11, xmm9, xmm5, 4
vpshufd xmm4, xmm4, 0x39
vaesenc xmm5, xmm5, xmm0
vaesenc xmm10, xmm10, xmm0
vpxor xmm8, xmm8, xmm11
vpshufd xmm5, xmm5, 0x39
vpxor xmm10, xmm10, xmm9
vaesenc xmm10, xmm10, xmm0
vpxor xmm10, xmm10, xmm8
vaesenc xmm10, xmm10, xmm0
vpxorq xmm22, xmm10, xmm3
vpalignr xmm3, xmm8, xmm9, 4
vpxor xmm7, xmm7, xmm3
vaesenc xmm9, xmm9, xmm0
vpxorq xmm10, xmm7, xmm25
vpalignr xmm3, xmm7, xmm8, 4
vpshufd xmm9, xmm9, 0x39
vaesenc xmm8, xmm8, xmm0
vpxor xmm6, xmm6, xmm3
vaesenc xmm10, xmm10, xmm0
vpshufd xmm8, xmm8, 0x39
vpxor xmm10, xmm10, xmm6
vpalignr xmm3, xmm6, xmm7, 4
vpxorq xmm3, xmm23, xmm3
vaesenc xmm7, xmm7, xmm0
vaesenc xmm10, xmm10, xmm0
vpalignr xmm11, xmm3, xmm6, 4
vpxor xmm1, xmm1, xmm11
vpshufd xmm7, xmm7, 0x39
vpxor xmm10, xmm10, xmm3
vaesenc xmm6, xmm6, xmm0
vaesenc xmm3, xmm3, xmm0
vpxor xmm4, xmm1, xmm4
vaesenc xmm10, xmm10, xmm0
vpxor xmm5, xmm4, xmm5
vpshufd xmm6, xmm6, 0x39
vpxor xmm10, xmm10, xmm1
vpshufd xmm3, xmm3, 0x39
vaesenc xmm1, xmm1, xmm0
vpxor xmm9, xmm5, xmm9
vaesenc xmm10, xmm10, xmm0
vpxor xmm8, xmm9, xmm8
vpshufd xmm1, xmm1, 0x39
vpxorq xmm23, xmm10, xmm2
vpxorq xmm2, xmm4, xmm22
vpxor xmm7, xmm8, xmm7
vaesenc xmm2, xmm2, xmm0
vpxor xmm6, xmm7, xmm6
vpxor xmm2, xmm2, xmm5
vpxor xmm3, xmm6, xmm3
vaesenc xmm2, xmm2, xmm0
vpxor xmm1, xmm3, xmm1
vpxor xmm2, xmm2, xmm9
vpalignr xmm10, xmm1, xmm3, 4
vpxor xmm10, xmm4, xmm10
vaesenc xmm2, xmm2, xmm0
vpalignr xmm11, xmm10, xmm1, 4
vpxor xmm11, xmm5, xmm11
vmovdqu xmm4, xmm10
vpxor xmm2, xmm2, xmm8
vpalignr xmm5, xmm11, xmm10, 4
vpxor xmm5, xmm9, xmm5
vmovdqu xmm12, xmm11
vaesenc xmm2, xmm2, xmm0
vpalignr xmm14, xmm5, xmm11, 4
vpxor xmm14, xmm8, xmm14
vmovdqu xmm9, xmm5
vpxorq xmm24, xmm2, xmm25
vpxorq xmm2, xmm7, xmm23
vpalignr xmm26, xmm14, xmm5, 4
vpxorq xmm26, xmm7, xmm26
vaesenc xmm2, xmm2, xmm0
vmovdqu xmm8, xmm14
vmovdqu64 xmm7, xmm26
vpxor xmm2, xmm2, xmm6
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm3
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm1
vaesenc xmm2, xmm2, xmm0
vpxorq xmm16, xmm2, xmm16
vpxorq xmm2, xmm10, xmm24
vaesenc xmm2, xmm2, xmm0
vpxorq xmm13, xmm26, xmm16
vmovdqu64 xmm25, xmm16
vpxor xmm2, xmm2, xmm11
vaesenc xmm13, xmm13, xmm0
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm5
vaesenc xmm2, xmm2, xmm0
vpxor xmm2, xmm2, xmm14
vaesenc xmm2, xmm2, xmm0
vpxorq xmm2, xmm2, xmm23
vpalignr xmm23, xmm26, xmm14, 4
vpxorq xmm23, xmm6, xmm23
vpxorq xmm13, xmm13, xmm23
vmovdqu64 xmm6, xmm23
vaesenc xmm15, xmm13, xmm0
vmovdqu64 xmm27, xmm15
vpalignr xmm15, xmm23, xmm26, 4
vpxor xmm15, xmm3, xmm15
vpxorq xmm3, xmm27, xmm15
vpalignr xmm27, xmm15, xmm23, 4
vpxorq xmm27, xmm1, xmm27
vmovdqu xmm13, xmm15
vaesenc xmm3, xmm3, xmm0
vmovdqu64 xmm1, xmm27
vpxorq xmm3, xmm3, xmm27
vaesenc xmm3, xmm3, xmm0
vpxorq xmm3, xmm3, xmm22
cmp eax, 3
jne 0x140218d95
vaesenc xmm1, xmm10, xmm0
vaesenc xmm11, xmm11, xmm0
not r8d
vmovups xmm8, xmmword [rsp + 0x20]
vpshufd xmm1, xmm1, 0x39
vpshufd xmm11, xmm11, 0x39
vmovups xmm9, xmmword [rsp + 0x30]
vmovups xmm10, xmmword [rsp + 0x40]
vpxorq xmm1, xmm27, xmm1
vmovups xmm12, xmmword [rsp + 0x60]
vmovups xmm13, xmmword [rsp + 0x70]
vpxorq xmm18, xmm18, xmm3
vpxor xmm4, xmm1, xmm2
vpxor xmm1, xmm1, xmm11
vmovups xmm11, xmmword [rsp + 0x50]
vaesenc xmm4, xmm4, xmm0
vaesenc xmm5, xmm5, xmm0
vpxorq xmm17, xmm17, xmm2
vpxor xmm4, xmm4, xmm1
vpshufd xmm5, xmm5, 0x39
vaesenc xmm14, xmm14, xmm0
vmovdqu64 xmmword [r11 + 0x80], xmm18
vaesenc xmm4, xmm4, xmm0
vpxor xmm1, xmm1, xmm5
vpshufd xmm14, xmm14, 0x39
vmovdqu64 xmmword [r11 + 0xa0], xmm17
vpxor xmm5, xmm4, xmm1
vaesenc xmm4, xmm7, xmm0
vpxor xmm1, xmm1, xmm14
vmovdqu64 xmm7, xmm23
vpshufd xmm26, xmm4, 0x39
vaesenc xmm5, xmm5, xmm0
vmovups xmm14, xmmword [rsp + 0x80]
vaesenc xmm4, xmm7, xmm0
vpxor xmm5, xmm5, xmm1
vpxorq xmm1, xmm1, xmm26
vpxor xmm6, xmm1, xmm3
vpshufd xmm23, xmm4, 0x39
vaesenc xmm15, xmm15, xmm0
vmovd xmm7, ecx
vpxorq xmm1, xmm1, xmm23
vaesenc xmm6, xmm6, xmm0
vpshufd xmm15, xmm15, 0x39
vpinsrd xmm7, xmm7, r8d, 1
vpxor xmm4, xmm6, xmm1
vmovd xmm6, edx
vaesenc xmm5, xmm5, xmm0
vpinsrd xmm6, xmm6, r9d, 1
vaesenc xmm4, xmm4, xmm0
vpternlogq xmm5, xmm16, xmm21, 0x96
vpunpcklqdq xmm6, xmm6, xmm7
vmovdqu64 xmm7, xmm27
vmovdqu xmmword [r11 + 0x90], xmm5
vpternlogq xmm15, xmm6, xmm1, 0x96
vaesenc xmm1, xmm7, xmm0
vmovups xmm6, xmmword [rsp]
vpxor xmm4, xmm4, xmm15
vpshufd xmm1, xmm1, 0x39
vmovups xmm7, xmmword [rsp + 0x10]
vaesenc xmm4, xmm4, xmm0
vpternlogq xmm1, xmm15, xmm4, 0x96
vmovups xmm15, xmmword [rsp + 0x90]
vaesenc xmm0, xmm1, xmm0
vpternlogq xmm0, xmm24, xmm20, 0x96
vmovdqu xmmword [r11 + 0xb0], xmm0
add rsp, 0xa8
ret
vpxorq xmm4, xmm4, xmm19
vaesenc xmm5, xmm12, xmm0
vpxor xmm10, xmm4, xmm2
vpshufd xmm5, xmm5, 0x39
vaesenc xmm10, xmm10, xmm0
vpxor xmm5, xmm4, xmm5
jmp 0x140218deb
mov r10d, edx
vmovd xmm12, r9d
vmovd xmm14, r8d
not r10d
vpinsrd xmm11, xmm14, ecx, 1
vpinsrd xmm12, xmm12, r10d, 1
vpunpcklqdq xmm11, xmm11, xmm12
vpxor xmm1, xmm1, xmm11
jmp 0x140218e92