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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
add rax, 6
mov qword [rsp + 0x28], rax
lea rax, [0x140317330]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
lea rax, [rax + rcx - 0x10]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp], xmm0
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
lea rax, [rax*4 + 4]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x50], rax
xor eax, eax
cmp eax, 1
je 0x1402c8e36
movdqa xmm0, xmmword [rsp]
aeskeygenassist xmm0, xmm0, 0
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
pextrd eax, xmm0, 3
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x100]
mov ecx, dword [rdx + rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x20]
xor eax, dword [rcx]
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x10]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 1
mov qword [rsp + 0x38], rax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x100]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x14], eax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x14]
mov dword [rcx + rax*4 + 4], edx
mov eax, 4
imul rax, rax, 2
mov qword [rsp + 0x40], rax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x100]
mov eax, dword [rdx + rax*4 + 4]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x18], eax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x18]
mov dword [rcx + rax*4 + 8], edx
mov eax, 4
imul rax, rax, 3
mov qword [rsp + 0x48], rax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x100]
mov eax, dword [rdx + rax*4 + 8]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x1c], eax
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x1c]
mov dword [rcx + rax*4 + 0xc], edx
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
lea rax, [rcx + rax*4 + 0x10]
cmp rax, qword [rsp + 0x50]
jne 0x1402c8b91
jmp 0x1402c8e36
cmp qword [rsp + 0xf8], 0x18
jne 0x1402c8c55
mov eax, 4
imul rax, rax, 4
mov ecx, 4
imul rcx, rcx, 9
mov rdx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x100]
mov ecx, dword [rdi + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x100]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 5
mov ecx, 4
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x100]
mov ecx, dword [rdi + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0x100]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x100]
movdqa xmm0, xmmword [rsp]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp], xmm0
jmp 0x1402c8e0b
cmp qword [rsp + 0xf8], 0x20
jne 0x1402c8dd7
mov eax, 4
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x100]
movdqa xmm0, xmmword [rsp]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp], xmm0
movdqa xmm0, xmmword [rsp]
aeskeygenassist xmm0, xmm0, 0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
pextrd eax, xmm0, 2
mov ecx, 4
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x100]
mov ecx, dword [rdx + rcx]
xor ecx, eax
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x100]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 5
mov ecx, 4
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x100]
mov ecx, dword [rdi + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x100]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 6
mov ecx, 4
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x100]
mov ecx, dword [rdi + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x100]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 7
mov ecx, 4
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x100]
mov ecx, dword [rdi + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0x100]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 0xf
mov rcx, qword [rsp + 0x100]
movdqa xmm0, xmmword [rsp]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp], xmm0
jmp 0x1402c8e0b
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x100]
movdqa xmm0, xmmword [rsp]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp], xmm0
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x100]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x100], rax
jmp 0x1402c89bb
add rsp, 0xd8
pop rdi
pop rsi
ret