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

Disassembly:
jmp 0x14039c810
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
add rax, 6
mov qword [rsp + 0x20], rax
lea rax, [0x14047a8d0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
lea rax, [rax + rcx - 0x10]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x120]
call fcn.14014f54b
mov rax, qword [rsp + 0x20]
lea rax, [rax*4 + 4]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x50]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp eax, 1
je 0x14039cd68
movdqa xmm0, xmmword [rsp + 0x30]
aeskeygenassist xmm0, xmm0, 0
movdqa xmmword [rsp + 0x60], xmm0
mov eax, 4
imul rax, rax, 0
movdqa xmm0, xmmword [rsp + 0x60]
pextrd ecx, xmm0, 3
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax]
xor eax, ecx
mov rcx, qword [rsp + 0x28]
xor eax, dword [rcx]
mov dword [rsp + 0xc0], eax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov edx, dword [rsp + 0xc0]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov eax, 4
imul rax, rax, 1
mov qword [rsp + 0xc8], rax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rsp + 0xc8]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xd0], eax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov edx, dword [rsp + 0xd0]
mov dword [rcx + rax*4 + 4], edx
mov eax, 4
imul rax, rax, 2
mov qword [rsp + 0xd8], rax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 4]
mov rdx, qword [rsp + 0xd8]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xe0], eax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov edx, dword [rsp + 0xe0]
mov dword [rcx + rax*4 + 8], edx
mov eax, 4
imul rax, rax, 3
mov qword [rsp + 0xe8], rax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 8]
mov rdx, qword [rsp + 0xe8]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xf0], eax
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
mov edx, dword [rsp + 0xf0]
mov dword [rcx + rax*4 + 0xc], edx
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
lea rax, [rcx + rax*4 + 0x10]
cmp rax, qword [rsp + 0x58]
jne 0x14039cabd
jmp 0x14039cd68
cmp qword [rsp + 0x118], 0x18
jne 0x14039cb7f
mov eax, 4
imul rax, rax, 4
mov ecx, 4
imul rcx, rcx, 9
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 5
mov ecx, 4
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x120]
movdqa xmm0, xmmword [rsp + 0x30]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x14039cd3d
cmp qword [rsp + 0x118], 0x20
jne 0x14039cd07
mov eax, 4
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x120]
movdqa xmm0, xmmword [rsp + 0x30]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x30]
aeskeygenassist xmm0, xmm0, 0
movdqa xmmword [rsp + 0x90], xmm0
mov eax, 4
imul rax, rax, 4
movdqa xmm0, xmmword [rsp + 0x90]
pextrd ecx, xmm0, 2
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 5
mov ecx, 4
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 6
mov ecx, 4
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 7
mov ecx, 4
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 0xf
mov rcx, qword [rsp + 0x120]
movdqa xmm0, xmmword [rsp + 0x30]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x14039cd3d
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x120]
movdqa xmm0, xmmword [rsp + 0x30]
pinsrd xmm0, dword [rcx + rax], 3
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x30], xmm0
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x120]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x120], rax
jmp 0x14039c8be
add rsp, 0x100
pop rdi
ret