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

Disassembly:
cmp r8, 0x10
je 0x1803d8cb6
cmp r8, 0x18
je 0x1803d89c9
cmp r8, 0x20
je 0x1803d869d
xor eax, eax
ret
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm1, xmmword [rdx]
movdqa xmmword [rcx + 0x10], xmm3
movdqa xmm2, xmm1
movdqa xmmword [rcx], xmm1
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm4, xmm2
pxor xmm4, xmm0
pslldq xmm2, 4
pxor xmm4, xmm2
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x20], xmm4
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x30], xmm2
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 2
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x40], xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x50], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x60], xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
movdqa xmmword [rcx + 0x70], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 8
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x80], xmm3
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x90], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0xa0], xmm3
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0xb0], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm4, xmm1
pslldq xmm1, 4
pxor xmm4, xmm0
pxor xmm4, xmm1
aeskeygenassist xmm0, xmm2, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0xc0], xmm4
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm3, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqa xmmword [rcx + 0xd0], xmm3
movdqa xmm0, xmm1
mov eax, 0xe
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x40
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmmword [rcx + 0xe0], xmm2
ret
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rdx + 8]
movdqa xmm2, xmm1
movdqa xmmword [rcx], xmm1
pshufd xmm3, xmm0, 0x4e
pslldq xmm2, 4
movdqa xmm5, xmm3
movdqa xmm0, xmm2
pslldq xmm5, 4
pxor xmm0, xmm1
pslldq xmm2, 4
movdqa xmm4, xmm2
pxor xmm5, xmm3
pxor xmm4, xmm0
pslldq xmm2, 4
pxor xmm4, xmm2
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0x55
pxor xmm4, xmm1
pshufd xmm0, xmm4, 0xff
movdqa xmm1, xmm4
pxor xmm5, xmm0
pslldq xmm1, 4
movaps xmm0, xmm3
movdqa xmm3, xmm5
shufpd xmm0, xmm4, 0
movdqa xmmword [rcx + 0x10], xmm0
movaps xmm0, xmm4
shufpd xmm0, xmm5, 1
movdqa xmmword [rcx + 0x20], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm4
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pxor xmm3, xmm5
aeskeygenassist xmm0, xmm5, 2
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm3, xmm0
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x30], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
movdqa xmm4, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pslldq xmm4, 4
aeskeygenassist xmm0, xmm3, 4
pshufd xmm1, xmm0, 0x55
pxor xmm4, xmm3
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm4, xmm0
pslldq xmm1, 4
movaps xmm0, xmm3
movdqa xmm3, xmm4
shufpd xmm0, xmm2, 0
movdqa xmmword [rcx + 0x40], xmm0
movaps xmm0, xmm2
shufpd xmm0, xmm4, 1
movdqa xmmword [rcx + 0x50], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 8
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmmword [rcx + 0x60], xmm2
pslldq xmm3, 4
pxor xmm3, xmm4
pxor xmm3, xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
movdqa xmm5, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pslldq xmm5, 4
aeskeygenassist xmm0, xmm3, 0x10
pshufd xmm1, xmm0, 0x55
pxor xmm5, xmm3
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm5, xmm0
pslldq xmm1, 4
movaps xmm0, xmm3
movdqa xmm4, xmm5
shufpd xmm0, xmm2, 0
movdqa xmmword [rcx + 0x70], xmm0
movaps xmm0, xmm2
shufpd xmm0, xmm5, 1
movdqa xmmword [rcx + 0x80], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm4, 4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pxor xmm4, xmm5
aeskeygenassist xmm0, xmm5, 0x20
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm4, xmm0
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [rcx + 0x90], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
movdqa xmm3, xmm4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pslldq xmm3, 4
aeskeygenassist xmm0, xmm4, 0x40
pshufd xmm1, xmm0, 0x55
pxor xmm3, xmm4
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm3, xmm0
pslldq xmm1, 4
movaps xmm0, xmm4
shufpd xmm0, xmm2, 0
movdqa xmmword [rcx + 0xa0], xmm0
movaps xmm0, xmm2
shufpd xmm0, xmm3, 1
movdqa xmmword [rcx + 0xb0], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqa xmmword [rcx + 0xc0], xmm2
mov eax, 0xc
ret
movdqu xmm2, xmmword [rdx]
movdqa xmm0, xmm2
movdqa xmmword [rcx], xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
aeskeygenassist xmm0, xmm2, 1
pslldq xmm3, 4
pxor xmm3, xmm1
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmmword [rcx + 0x10], xmm3
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmmword [rcx + 0x20], xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pslldq xmm3, 4
pxor xmm3, xmm1
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmmword [rcx + 0x30], xmm3
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmmword [rcx + 0x40], xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x10
pslldq xmm3, 4
pxor xmm3, xmm1
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmmword [rcx + 0x50], xmm3
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
aeskeygenassist xmm0, xmm3, 0x20
pxor xmm2, xmm1
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmmword [rcx + 0x60], xmm2
movdqa xmm0, xmm2
pslldq xmm0, 4
mov eax, 0xa
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x40
pslldq xmm3, 4
pxor xmm3, xmm1
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmmword [rcx + 0x70], xmm3
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmmword [rcx + 0x80], xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x1b
pslldq xmm3, 4
pxor xmm3, xmm1
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmmword [rcx + 0x90], xmm3
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmmword [rcx + 0xa0], xmm2
ret