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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov ecx, 0x10000
mov rdi, rdx
call fcn.1400506a0
test al, al
je 0x140080af3
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x1400a8060
mov ecx, 0x10000
mov qword [rsp + 0x40], rbp
call fcn.1400506a0
lea r9, [rsi + 0x20]
mov rdx, rbx
lea r8, [rsi + 8]
mov rcx, rdi
test al, al
je 0x140080b1b
mov byte [rsp + 0x20], 1
jmp 0x140080b20
mov byte [rsp + 0x20], 0
call fcn.1400800b0
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov edx, 0x34
add rcx, 8
call fcn.140050720
mov edx, 0x34
lea rcx, [rbx + 0x20]
call fcn.140050720
movdqu xmm2, xmmword [rdi]
mov rax, qword [rbx + 8]
movdqu xmm3, xmmword [rdi + 8]
movdqa xmm0, xmm2
movups xmmword [rax], xmm2
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x10], xmm1
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
psrldq xmm3, 8
movdqa xmm1, xmm0
movdqa xmm4, xmm3
pslldq xmm1, 4
pxor xmm1, xmm0
pslldq xmm4, 4
movdqa xmm2, xmm1
pxor xmm4, xmm3
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqu xmmword [rcx + 0x18], xmm2
pshufd xmm0, xmm2, 0xff
pxor xmm4, xmm0
movd dword [rcx + 0x28], xmm4
movdqa xmm0, xmm4
psrldq xmm0, 4
movdqa xmm3, xmm4
movd dword [rcx + 0x2c], xmm0
movdqa xmm0, xmm2
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
pslldq xmm3, 4
movdqa xmm1, xmm0
pxor xmm3, xmm4
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 2
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqu xmmword [rcx + 0x30], xmm2
pshufd xmm0, xmm2, 0xff
pxor xmm3, xmm0
movd dword [rcx + 0x40], xmm3
movdqa xmm0, xmm3
psrldq xmm0, 4
movdqa xmm4, xmm3
movd dword [rcx + 0x44], xmm0
movdqa xmm0, xmm2
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
pslldq xmm4, 4
movdqa xmm1, xmm0
pxor xmm4, xmm3
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
aeskeygenassist xmm0, xmm3, 4
pxor xmm2, xmm1
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
pxor xmm4, xmm0
movdqu xmmword [rcx + 0x48], xmm2
movd dword [rcx + 0x58], xmm4
movdqa xmm0, xmm4
movdqa xmm3, xmm4
psrldq xmm0, 4
movd dword [rcx + 0x5c], xmm0
movdqa xmm0, xmm2
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
pslldq xmm3, 4
movdqa xmm1, xmm0
pxor xmm3, xmm4
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 8
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqu xmmword [rcx + 0x60], xmm2
pshufd xmm0, xmm2, 0xff
pxor xmm3, xmm0
movd dword [rcx + 0x70], xmm3
movdqa xmm0, xmm3
psrldq xmm0, 4
movdqa xmm4, xmm3
movd dword [rcx + 0x74], xmm0
movdqa xmm0, xmm2
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
pslldq xmm4, 4
movdqa xmm1, xmm0
pxor xmm4, xmm3
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x10
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqu xmmword [rcx + 0x78], xmm2
pshufd xmm0, xmm2, 0xff
pxor xmm4, xmm0
movd dword [rcx + 0x88], xmm4
movdqa xmm0, xmm4
psrldq xmm0, 4
movdqa xmm5, xmm4
movd dword [rcx + 0x8c], xmm0
movdqa xmm0, xmm2
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
pslldq xmm5, 4
movdqa xmm1, xmm0
pxor xmm5, xmm4
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 0x20
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqu xmmword [rcx + 0x90], xmm2
pshufd xmm0, xmm2, 0xff
pxor xmm5, xmm0
movdqa xmm0, xmm5
movd dword [rcx + 0xa0], xmm5
psrldq xmm0, 4
movd dword [rcx + 0xa4], xmm0
movdqa xmm0, xmm2
mov rcx, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
mov rsi, qword [rsp + 0x38]
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm5, 0x40
pshufd xmm1, xmm0, 0x55
movdqa xmm3, xmm5
pxor xmm2, xmm1
pslldq xmm3, 4
movdqu xmmword [rcx + 0xa8], xmm2
pshufd xmm0, xmm2, 0xff
pxor xmm3, xmm5
pxor xmm3, xmm0
movd dword [rcx + 0xb8], xmm3
movdqa xmm0, xmm3
psrldq xmm0, 4
movd dword [rcx + 0xbc], xmm0
movdqa xmm0, xmm2
mov rax, qword [rbx + 8]
pslldq xmm0, 4
pxor xmm0, xmm2
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, 0x55
pxor xmm2, xmm1
movdqu xmmword [rax + 0xc0], xmm2
mov rax, qword [rbx + 8]
mov rcx, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
movdqu xmm0, xmmword [rax + 0xc0]
movdqu xmmword [rcx], xmm0
movdqu xmm1, xmmword [rax + 0xb0]
aesimc xmm2, xmm1
movdqu xmmword [rcx + 0x10], xmm2
movdqu xmm0, xmmword [rax + 0xa0]
aesimc xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm2, xmmword [rax + 0x90]
aesimc xmm0, xmm2
movdqu xmmword [rcx + 0x30], xmm0
movdqu xmm1, xmmword [rax + 0x80]
aesimc xmm2, xmm1
movdqu xmmword [rcx + 0x40], xmm2
movdqu xmm0, xmmword [rax + 0x70]
aesimc xmm1, xmm0
movdqu xmmword [rcx + 0x50], xmm1
movdqu xmm2, xmmword [rax + 0x60]
aesimc xmm0, xmm2
movdqu xmmword [rcx + 0x60], xmm0
movdqu xmm1, xmmword [rax + 0x50]
aesimc xmm2, xmm1
movdqu xmmword [rcx + 0x70], xmm2
movdqu xmm0, xmmword [rax + 0x40]
aesimc xmm1, xmm0
movdqu xmmword [rcx + 0x80], xmm1
movdqu xmm2, xmmword [rax + 0x30]
aesimc xmm0, xmm2
movdqu xmmword [rcx + 0x90], xmm0
movdqu xmm1, xmmword [rax + 0x20]
aesimc xmm2, xmm1
movdqu xmmword [rcx + 0xa0], xmm2
movdqu xmm0, xmmword [rax + 0x10]
aesimc xmm1, xmm0
movdqu xmmword [rcx + 0xb0], xmm1
movdqu xmm2, xmmword [rax]
movdqu xmmword [rcx + 0xc0], xmm2
add rsp, 0x20
pop rdi
ret