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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov ecx, 1
call fcn.140029470
test al, al
je 0x140030533
mov ecx, 2
call fcn.140029470
test al, al
je 0x140030533
mov ecx, 0x10000
call fcn.140029470
test al, al
je 0x140030533
mov r8, qword [rbx + 8]
mov rcx, rdi
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x140084b80
mov ecx, 1
call fcn.140029470
test al, al
je 0x140030564
mov ecx, 2
call fcn.140029470
test al, al
je 0x140030564
mov ecx, 0x10000
call fcn.140029470
test al, al
je 0x140030564
mov byte [rsp + 0x20], 1
jmp 0x14003059e
mov ecx, 1
call fcn.140029470
test al, al
je 0x140030599
mov ecx, 2
call fcn.140029470
test al, al
je 0x140030599
mov r8, qword [rbx + 8]
mov rcx, rdi
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x140083690
mov byte [rsp + 0x20], 0
mov rdx, qword [rbx + 8]
lea r9, [rdi + 0x20]
mov rcx, qword [rbx]
lea r8, [rdi + 8]
call fcn.14002fad0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rdi, rdx
movaps xmmword [rax - 0x28], xmm7
mov rbx, rcx
movaps xmmword [rax - 0x38], xmm8
mov edx, 0x2c
movaps xmmword [rax - 0x48], xmm9
add rcx, 8
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x40], xmm13
movaps xmmword [rsp + 0x30], xmm14
movaps xmmword [rsp + 0x20], xmm15
call fcn.140029be0
mov edx, 0x2c
lea rcx, [rbx + 0x20]
call fcn.140029be0
movdqu xmm2, xmmword [rdi]
mov rax, qword [rbx + 0x20]
lea r10, [0x140000000]
movdqa xmm9, xmmword [0x1400c5200]
mov r9d, 1
movdqa xmm7, xmmword [0x1400c50e0]
movdqa xmm0, xmm2
pshufb xmm0, xmmword [0x1400e1670]
mov edx, 0x10
mov r8d, 0x90
movdqa xmm10, xmmword [0x1400c51f0]
movdqa xmm1, xmm2
movdqa xmm11, xmmword [0x1400c5250]
movdqa xmm12, xmmword [0x1400c51e0]
movdqa xmm13, xmmword [0x1400c5240]
movdqa xmm14, xmmword [0x1400c5350]
movdqa xmm15, xmmword [0x1400c5290]
movdqu xmmword [rax + 0xa0], xmm0
mov rax, qword [rbx + 8]
movdqa xmm8, xmmword [0x1400e14b0]
andps xmm2, xmmword [0x1400e1400]
movdqa xmm0, xmmword [0x1400e1460]
psrld xmm1, 4
andps xmm1, xmmword [0x1400e1400]
pshufb xmm8, xmm1
pshufb xmm0, xmm2
xorps xmm8, xmm0
movdqu xmmword [rax], xmm8
movdqa xmm4, xmmword [0x1400e13c0]
movzx eax, r9b
movups xmm0, xmmword [rdx + r10 + 0xe1510]
movdqa xmm1, xmm4
movdqa xmm3, xmmword [0x1400e1630]
xorps xmm0, xmm8
pshufb xmm8, xmmword [0x1400c50f0]
neg al
movzx ecx, al
movdqa xmm5, xmm0
pslldq xmm5, 4
movdqa xmm6, xmm8
andps xmm8, xmmword [0x1400e1400]
xorps xmm5, xmm0
psrld xmm6, 4
movdqa xmm0, xmm4
andps xmm6, xmmword [0x1400e1400]
pshufb xmm0, xmm6
pshufb xmm3, xmm8
xorps xmm8, xmm6
xorps xmm0, xmm3
movdqa xmm2, xmm8
movdqa xmm8, xmmword [0x1400e1640]
pshufb xmm1, xmm0
movdqa xmm0, xmm5
pslldq xmm0, 8
xorps xmm1, xmm2
xorps xmm0, xmm5
xorps xmm0, xmm9
pshufb xmm8, xmm1
xorps xmm8, xmm0
movdqa xmm0, xmm4
pshufb xmm0, xmm2
xorps xmm0, xmm3
pshufb xmm4, xmm0
movdqa xmm0, xmmword [0x1400e1620]
xorps xmm4, xmm6
pshufb xmm0, xmm4
xorps xmm8, xmm0
movdqa xmm1, xmm8
xorps xmm1, xmm9
pshufb xmm1, xmm7
movdqa xmm0, xmm1
pshufb xmm0, xmm7
xorps xmm1, xmm0
pshufb xmm0, xmm7
xorps xmm1, xmm0
and ecx, 0x80000003
jge 0x1400838a9
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rax, ecx
movdqa xmm0, xmm8
psrld xmm0, 4
add rax, rax
movdqa xmm5, xmm11
movdqa xmm2, xmm13
movdqa xmm3, xmm15
pshufb xmm1, xmmword [r10 + rax*8 + 0xe1650]
mov rax, qword [rbx + 8]
movdqu xmmword [rdx + rax], xmm1
mov eax, 0xfe
movdqa xmm4, xmmword [0x1400e1400]
movdqa xmm1, xmm10
andps xmm0, xmm4
sub al, r9b
pshufb xmm5, xmm0
movzx eax, al
movdqa xmm0, xmm8
andps xmm0, xmm4
pshufb xmm1, xmm0
xorps xmm5, xmm1
movdqa xmm1, xmm12
movdqa xmm0, xmm5
psrld xmm0, 4
andps xmm0, xmm4
pshufb xmm2, xmm0
movdqa xmm0, xmm5
andps xmm0, xmm4
pshufb xmm1, xmm0
pshufb xmm5, xmm7
xorps xmm2, xmm1
movdqa xmm1, xmm14
xorps xmm5, xmm2
movdqa xmm0, xmm2
psrld xmm0, 4
andps xmm0, xmm4
pshufb xmm3, xmm0
movdqa xmm0, xmm2
andps xmm0, xmm4
pshufb xmm1, xmm0
pshufb xmm5, xmm7
xorps xmm3, xmm1
movdqa xmm1, xmmword [0x1400c51c0]
xorps xmm5, xmm3
movdqa xmm0, xmm3
psrld xmm0, 4
andps xmm3, xmm4
andps xmm0, xmm4
pshufb xmm1, xmm0
movdqa xmm0, xmmword [0x1400c5280]
pshufb xmm5, xmm7
pshufb xmm0, xmm3
xorps xmm1, xmm0
xorps xmm5, xmm1
pshufb xmm5, xmm7
and eax, 0x80000003
jge 0x1400839ad
dec eax
or eax, 0xfffffffc
inc eax
movsxd rcx, eax
inc r9
mov rax, qword [rbx + 0x20]
add rcx, rcx
add rdx, 0x10
pshufb xmm5, xmmword [r10 + rcx*8 + 0xe1650]
movdqu xmmword [r8 + rax], xmm5
sub r8, 0x10
cmp rdx, 0xa0
jne 0x1400837b4
movdqa xmm7, xmmword [0x1400e1400]
lea r11, [rsp + 0xc0]
movdqa xmm3, xmmword [0x1400e13c0]
movdqa xmm0, xmm8
xorps xmm0, xmmword [0x1400e15b0]
movdqa xmm1, xmm3
pshufb xmm8, xmmword [0x1400c50f0]
mov rax, qword [rbx + 8]
mov rsi, qword [r11 + 0x20]
movdqa xmm2, xmmword [0x1400e1630]
movdqa xmm4, xmm0
movdqa xmm6, xmmword [0x1400e1640]
movdqa xmm5, xmm8
movaps xmm10, xmmword [r11 - 0x50]
andps xmm8, xmm7
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [rsp + 0x30]
movaps xmm15, xmmword [rsp + 0x20]
pshufb xmm2, xmm8
pslldq xmm4, 4
xorps xmm4, xmm0
psrld xmm5, 4
movdqa xmm0, xmm3
andps xmm5, xmm7
pshufb xmm0, xmm5
xorps xmm8, xmm5
xorps xmm0, xmm2
pshufb xmm1, xmm0
movdqa xmm0, xmm4
pslldq xmm0, 8
xorps xmm1, xmm8
xorps xmm0, xmm4
xorps xmm0, xmm9
pshufb xmm6, xmm1
movdqa xmm1, xmmword [0x1400c5340]
xorps xmm6, xmm0
movdqa xmm0, xmm3
pshufb xmm0, xmm8
movaps xmm8, xmmword [r11 - 0x30]
xorps xmm0, xmm2
pshufb xmm3, xmm0
movdqa xmm0, xmmword [0x1400e1620]
xorps xmm3, xmm5
pshufb xmm0, xmm3
movdqa xmm3, xmmword [0x1400c5310]
xorps xmm6, xmm0
movdqa xmm2, xmm6
pshufb xmm2, xmmword [0x1400e1670]
xorps xmm2, xmm9
xorps xmm9, xmm6
movaps xmm6, xmmword [r11 - 0x10]
movdqa xmm0, xmm2
psrld xmm0, 4
andps xmm2, xmm7
andps xmm0, xmm7
movaps xmm7, xmmword [r11 - 0x20]
pshufb xmm3, xmm0
pshufb xmm1, xmm2
movdqa xmm2, xmmword [0x1400c5180]
movdqa xmm0, xmm9
xorps xmm3, xmm1
psrld xmm0, 4
movdqu xmmword [rax + 0xa0], xmm3
mov rax, qword [rbx + 0x20]
andps xmm9, xmmword [0x1400e1400]
andps xmm0, xmmword [0x1400e1400]
movdqa xmm3, xmmword [0x1400c51a0]
mov rbx, qword [r11 + 0x18]
pshufb xmm2, xmm9
movaps xmm9, xmmword [r11 - 0x40]
pshufb xmm3, xmm0
xorps xmm3, xmm2
movdqu xmmword [rax], xmm3
mov rsp, r11
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rdi, rdx
movaps xmmword [rax - 0x28], xmm7
mov rbx, rcx
movaps xmmword [rax - 0x38], xmm8
mov edx, 0x2c
movaps xmmword [rax - 0x48], xmm9
add rcx, 8
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
call fcn.140029be0
mov edx, 0x2c
lea rcx, [rbx + 0x20]
call fcn.140029be0
movdqu xmm12, xmmword [rdi]
movdqa xmm0, xmm12
pslldq xmm0, 4
xorps xmm0, xmm12
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm11, xmm1
pslldq xmm11, 4
xorps xmm11, xmm1
aeskeygenassist xmm0, xmm12, 1
pshufd xmm1, xmm0, 0xff
xorps xmm11, xmm1
movdqa xmm0, xmm11
pslldq xmm0, 4
xorps xmm0, xmm11
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm10, xmm1
pslldq xmm10, 4
xorps xmm10, xmm1
aeskeygenassist xmm0, xmm11, 2
pshufd xmm1, xmm0, 0xff
xorps xmm10, xmm1
movdqa xmm0, xmm10
pslldq xmm0, 4
xorps xmm0, xmm10
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm9, xmm1
pslldq xmm9, 4
xorps xmm9, xmm1
aeskeygenassist xmm0, xmm10, 4
pshufd xmm1, xmm0, 0xff
xorps xmm9, xmm1
movdqa xmm0, xmm9
pslldq xmm0, 4
xorps xmm0, xmm9
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm8, xmm1
pslldq xmm8, 4
xorps xmm8, xmm1
aeskeygenassist xmm0, xmm9, 8
pshufd xmm1, xmm0, 0xff
xorps xmm8, xmm1
movdqa xmm0, xmm8
pslldq xmm0, 4
xorps xmm0, xmm8
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm7, xmm1
pslldq xmm7, 4
xorps xmm7, xmm1
aeskeygenassist xmm0, xmm8, 0x10
pshufd xmm1, xmm0, 0xff
xorps xmm7, xmm1
movdqa xmm0, xmm7
pslldq xmm0, 4
xorps xmm0, xmm7
movdqa xmm1, xmm0
pslldq xmm1, 4
mov rax, qword [rbx + 8]
xorps xmm1, xmm0
movdqa xmm6, xmm1
pslldq xmm6, 4
xorps xmm6, xmm1
movdqu xmmword [rax], xmm12
movdqu xmmword [rax + 0x10], xmm11
movdqu xmmword [rax + 0x20], xmm10
movdqu xmmword [rax + 0x30], xmm9
movdqu xmmword [rax + 0x40], xmm8
movdqu xmmword [rax + 0x50], xmm7
aeskeygenassist xmm0, xmm7, 0x20
pshufd xmm1, xmm0, 0xff
xorps xmm6, xmm1
movdqu xmmword [rax + 0x60], xmm6
movdqa xmm0, xmm6
pslldq xmm0, 4
xorps xmm0, xmm6
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm5, xmm1
pslldq xmm5, 4
xorps xmm5, xmm1
aeskeygenassist xmm0, xmm6, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm5, xmm1
movdqu xmmword [rax + 0x70], xmm5
movdqa xmm0, xmm5
pslldq xmm0, 4
xorps xmm0, xmm5
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm4, xmm1
pslldq xmm4, 4
xorps xmm4, xmm1
aeskeygenassist xmm0, xmm5, 0x80
pshufd xmm1, xmm0, 0xff
xorps xmm4, xmm1
movdqu xmmword [rax + 0x80], xmm4
movdqa xmm0, xmm4
pslldq xmm0, 4
xorps xmm0, xmm4
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm3, xmm1
pslldq xmm3, 4
xorps xmm3, xmm1
aeskeygenassist xmm0, xmm4, 0x1b
pshufd xmm1, xmm0, 0xff
xorps xmm3, xmm1
movdqu xmmword [rax + 0x90], xmm3
movdqa xmm0, xmm3
pslldq xmm0, 4
xorps xmm0, xmm3
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 4
xorps xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
xorps xmm2, xmm1
movdqu xmmword [rax + 0xa0], xmm2
mov rax, qword [rbx + 0x20]
aesimc xmm0, xmm3
aesimc xmm1, xmm4
movdqu xmmword [rax], xmm2
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm1
aesimc xmm0, xmm5
movdqu xmmword [rax + 0x30], xmm0
aesimc xmm1, xmm6
movdqu xmmword [rax + 0x40], xmm1
aesimc xmm0, xmm7
aesimc xmm1, xmm8
movdqu xmmword [rax + 0x50], xmm0
movdqu xmmword [rax + 0x60], xmm1
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
aesimc xmm0, xmm9
movaps xmm9, xmmword [r11 - 0x40]
movdqu xmmword [rax + 0x70], xmm0
aesimc xmm1, xmm10
movaps xmm10, xmmword [r11 - 0x50]
aesimc xmm0, xmm11
movaps xmm11, xmmword [r11 - 0x60]
movdqu xmmword [rax + 0x80], xmm1
movdqu xmmword [rax + 0x90], xmm0
movdqu xmmword [rax + 0xa0], xmm12
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop rdi
ret