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

Disassembly:
cmp r8, 0x20
je 0x140020604
cmp r8, 0x18
je 0x140020931
xor eax, eax
cmp r8, 0x10
jne 0x140020bff
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rcx], xmm0
aeskeygenassist xmm1, xmm0, 1
movdqa xmm2, xmm0
pslldq xmm2, 4
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm2, xmm0
pslldq xmm2, 4
pshufd xmm1, xmm1, 0xff
pxor xmm2, xmm0
pxor xmm2, xmm1
movdqa xmmword [rcx + 0x10], xmm2
aeskeygenassist xmm0, xmm2, 2
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqa xmmword [rcx + 0x20], xmm1
aeskeygenassist xmm0, xmm1, 4
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [rcx + 0x30], xmm2
aeskeygenassist xmm0, xmm2, 8
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqa xmmword [rcx + 0x40], xmm1
aeskeygenassist xmm0, xmm1, 0x10
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [rcx + 0x50], xmm2
aeskeygenassist xmm0, xmm2, 0x20
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqa xmmword [rcx + 0x60], xmm1
aeskeygenassist xmm0, xmm1, 0x40
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [rcx + 0x70], xmm2
aeskeygenassist xmm0, xmm2, 0x80
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqa xmmword [rcx + 0x80], xmm1
aeskeygenassist xmm0, xmm1, 0x1b
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [rcx + 0x90], xmm2
aeskeygenassist xmm1, xmm2, 0x36
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm2, xmm0
pslldq xmm2, 4
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pshufd xmm1, xmm1, 0xff
pxor xmm0, xmm2
pxor xmm0, xmm1
mov eax, 0xa
mov edx, 0xa
jmp 0x140020bf6
movdqu xmm1, xmmword [rdx]
movdqu xmm2, xmmword [rdx + 0x10]
movdqa xmmword [rcx], xmm1
movdqa xmmword [rcx + 0x10], xmm2
aeskeygenassist xmm0, xmm2, 1
pshufd xmm3, xmm0, 0xff
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm1
pxor xmm0, xmm3
movdqa xmmword [rcx + 0x20], xmm0
aeskeygenassist xmm1, xmm0, 0
pshufd xmm3, xmm1, 0xaa
movdqa xmm4, xmm2
pslldq xmm4, 4
movdqa xmm5, xmm2
pslldq xmm5, 8
movdqa xmm1, xmm2
pslldq xmm1, 0xc
pxor xmm1, xmm4
pxor xmm1, xmm5
pxor xmm1, xmm2
pxor xmm1, xmm3
movdqa xmmword [rcx + 0x30], xmm1
aeskeygenassist xmm2, xmm1, 2
pshufd xmm3, xmm2, 0xff
movdqa xmm4, xmm0
pslldq xmm4, 4
movdqa xmm5, xmm0
pslldq xmm5, 8
movdqa xmm2, xmm0
pslldq xmm2, 0xc
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm0
pxor xmm2, xmm3
movdqa xmmword [rcx + 0x40], xmm2
aeskeygenassist xmm0, xmm2, 0
pshufd xmm3, xmm0, 0xaa
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm1
pxor xmm0, xmm3
movdqa xmmword [rcx + 0x50], xmm0
aeskeygenassist xmm1, xmm0, 4
pshufd xmm3, xmm1, 0xff
movdqa xmm4, xmm2
pslldq xmm4, 4
movdqa xmm5, xmm2
pslldq xmm5, 8
movdqa xmm1, xmm2
pslldq xmm1, 0xc
pxor xmm1, xmm4
pxor xmm1, xmm5
pxor xmm1, xmm2
pxor xmm1, xmm3
movdqa xmmword [rcx + 0x60], xmm1
aeskeygenassist xmm2, xmm1, 0
pshufd xmm3, xmm2, 0xaa
movdqa xmm4, xmm0
pslldq xmm4, 4
movdqa xmm5, xmm0
pslldq xmm5, 8
movdqa xmm2, xmm0
pslldq xmm2, 0xc
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm0
pxor xmm2, xmm3
movdqa xmmword [rcx + 0x70], xmm2
aeskeygenassist xmm0, xmm2, 8
pshufd xmm3, xmm0, 0xff
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm1
pxor xmm0, xmm3
movdqa xmmword [rcx + 0x80], xmm0
aeskeygenassist xmm1, xmm0, 0
pshufd xmm3, xmm1, 0xaa
movdqa xmm4, xmm2
pslldq xmm4, 4
movdqa xmm5, xmm2
pslldq xmm5, 8
movdqa xmm1, xmm2
pslldq xmm1, 0xc
pxor xmm1, xmm4
pxor xmm1, xmm5
pxor xmm1, xmm2
pxor xmm1, xmm3
movdqa xmmword [rcx + 0x90], xmm1
aeskeygenassist xmm2, xmm1, 0x10
pshufd xmm3, xmm2, 0xff
movdqa xmm4, xmm0
pslldq xmm4, 4
movdqa xmm5, xmm0
pslldq xmm5, 8
movdqa xmm2, xmm0
pslldq xmm2, 0xc
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm0
pxor xmm2, xmm3
movdqa xmmword [rcx + 0xa0], xmm2
aeskeygenassist xmm0, xmm2, 0
pshufd xmm3, xmm0, 0xaa
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm1
pxor xmm0, xmm3
movdqa xmmword [rcx + 0xb0], xmm0
aeskeygenassist xmm1, xmm0, 0x20
pshufd xmm3, xmm1, 0xff
movdqa xmm4, xmm2
pslldq xmm4, 4
movdqa xmm5, xmm2
pslldq xmm5, 8
movdqa xmm1, xmm2
pslldq xmm1, 0xc
pxor xmm1, xmm4
pxor xmm1, xmm5
pxor xmm1, xmm2
pxor xmm1, xmm3
movdqa xmmword [rcx + 0xc0], xmm1
aeskeygenassist xmm2, xmm1, 0
pshufd xmm2, xmm2, 0xaa
movdqa xmm3, xmm0
pslldq xmm3, 4
movdqa xmm4, xmm0
pslldq xmm4, 8
movdqa xmm5, xmm0
pslldq xmm5, 0xc
pxor xmm5, xmm3
pxor xmm5, xmm4
pxor xmm5, xmm0
pxor xmm5, xmm2
movdqa xmmword [rcx + 0xd0], xmm5
aeskeygenassist xmm0, xmm5, 0x40
pshufd xmm2, xmm0, 0xff
movdqa xmm3, xmm1
pslldq xmm3, 4
movdqa xmm4, xmm1
pslldq xmm4, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm3
pxor xmm0, xmm4
pxor xmm0, xmm1
pxor xmm0, xmm2
mov eax, 0xe
mov edx, 0xe
jmp 0x140020bf6
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rdx + 8]
pshufd xmm2, xmm0, 0x4e
movdqa xmmword [rcx], xmm1
aeskeygenassist xmm0, xmm2, 1
pshufd xmm3, xmm0, 0x55
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm1
pxor xmm0, xmm3
pshufd xmm1, xmm0, 0xff
movdqa xmm3, xmm2
pslldq xmm3, 4
pxor xmm3, xmm2
pxor xmm3, xmm1
punpcklqdq xmm2, xmm0
movdqa xmmword [rcx + 0x10], xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
movdqa xmm4, xmm0
pslldq xmm4, 0xc
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm0
shufps xmm0, xmm3, 0x4e
movaps xmmword [rcx + 0x20], xmm0
aeskeygenassist xmm0, xmm3, 2
pshufd xmm0, xmm0, 0x55
pxor xmm4, xmm0
pshufd xmm0, xmm4, 0xff
movdqa xmm1, xmm3
pslldq xmm1, 4
pxor xmm1, xmm3
pxor xmm1, xmm0
movdqa xmmword [rcx + 0x30], xmm4
aeskeygenassist xmm0, xmm1, 4
pshufd xmm2, xmm0, 0x55
movdqa xmm3, xmm4
pslldq xmm3, 4
movdqa xmm5, xmm4
pslldq xmm5, 8
movdqa xmm0, xmm4
pslldq xmm0, 0xc
pxor xmm0, xmm3
pxor xmm0, xmm5
pxor xmm0, xmm4
pxor xmm0, xmm2
pshufd xmm2, xmm0, 0xff
movdqa xmm3, xmm1
pslldq xmm3, 4
pxor xmm3, xmm1
pxor xmm3, xmm2
punpcklqdq xmm1, xmm0
movdqa xmmword [rcx + 0x40], xmm1
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
movdqa xmm4, xmm0
pslldq xmm4, 0xc
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm0
shufps xmm0, xmm3, 0x4e
movaps xmmword [rcx + 0x50], xmm0
aeskeygenassist xmm0, xmm3, 8
pshufd xmm0, xmm0, 0x55
pxor xmm4, xmm0
pshufd xmm0, xmm4, 0xff
movdqa xmm1, xmm3
pslldq xmm1, 4
pxor xmm1, xmm3
pxor xmm1, xmm0
movdqa xmmword [rcx + 0x60], xmm4
aeskeygenassist xmm0, xmm1, 0x10
pshufd xmm2, xmm0, 0x55
movdqa xmm3, xmm4
pslldq xmm3, 4
movdqa xmm5, xmm4
pslldq xmm5, 8
movdqa xmm0, xmm4
pslldq xmm0, 0xc
pxor xmm0, xmm3
pxor xmm0, xmm5
pxor xmm0, xmm4
pxor xmm0, xmm2
pshufd xmm2, xmm0, 0xff
movdqa xmm3, xmm1
pslldq xmm3, 4
pxor xmm3, xmm1
pxor xmm3, xmm2
punpcklqdq xmm1, xmm0
movdqa xmmword [rcx + 0x70], xmm1
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
movdqa xmm4, xmm0
pslldq xmm4, 0xc
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm0
shufps xmm0, xmm3, 0x4e
movaps xmmword [rcx + 0x80], xmm0
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm0, xmm0, 0x55
pxor xmm4, xmm0
pshufd xmm0, xmm4, 0xff
movdqa xmm2, xmm3
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm2, xmm0
movdqa xmmword [rcx + 0x90], xmm4
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0x55
movdqa xmm3, xmm4
pslldq xmm3, 4
movdqa xmm5, xmm4
pslldq xmm5, 8
movdqa xmm1, xmm4
pslldq xmm1, 0xc
pxor xmm1, xmm3
pxor xmm1, xmm5
pxor xmm1, xmm4
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0xff
movdqa xmm3, xmm2
pslldq xmm3, 4
pxor xmm3, xmm2
pxor xmm3, xmm0
punpcklqdq xmm2, xmm1
movdqa xmmword [rcx + 0xa0], xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
movdqa xmm4, xmm1
pslldq xmm4, 8
movdqa xmm0, xmm1
pslldq xmm0, 0xc
pxor xmm0, xmm2
pxor xmm0, xmm4
pxor xmm0, xmm1
shufps xmm1, xmm3, 0x4e
movaps xmmword [rcx + 0xb0], xmm1
aeskeygenassist xmm1, xmm3, 0x80
pshufd xmm1, xmm1, 0x55
pxor xmm0, xmm1
mov eax, 0xc
mov edx, 0xc
shl rdx, 4
movdqa xmmword [rcx + rdx], xmm0
ret