Function at 0x14002ad10
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400df040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
jne 0x14002ad4c
mov rcx, rdi
call fcn.14000dd30
test rbx, 0xffffffffffffffe7
jne 0x14002afc5
cmp rbx, 0x10
je 0x14002afc5
mov rax, qword [rdi + 8]
mov ecx, dword [rax]
mov rax, qword [rdi + 0x20]
mov dword [rax + 4], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 4]
mov rax, qword [rdi + 0x20]
mov dword [rax + 8], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 8]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0xc], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0xc]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x10], ecx
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi + 0x20]
mov dword [rax], 0x61707865
mov rax, qword [rdi + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x10
jne 0x14002ae0c
mov dword [rax + 0x14], 0x3120646e
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x28], 0x79622d36
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x3c], 0x6b206574
mov rax, qword [rdi + 8]
mov ecx, dword [rax]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x2c], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 4]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x30], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 8]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x34], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0xc]
jmp 0x14002ae5a
mov dword [rax + 0x14], 0x3320646e
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x28], 0x79622d32
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x3c], 0x6b206574
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0x10]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x2c], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0x14]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x30], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0x18]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x34], ecx
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0x1c]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x38], ecx
mov rax, qword [rdi + 0x20]
xor ebp, ebp
mov dword [rax + 0x18], ebp
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x1c], ebp
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x20], ebp
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x24], ebp
mov qword [rdi + 0x50], rbp
mov rax, qword [rdi + 0x20]
test rbx, rbx
jne 0x14002ae9b
mov dword [rax + 0x18], ebp
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x1c], ebp
jmp 0x14002af67
mov ecx, dword [rsi]
mov dword [rax + 0x18], ecx
mov ecx, dword [rsi + 4]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x1c], ecx
cmp rbx, 8
je 0x14002af67
mov ecx, dword [rsi + 8]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x20], ecx
mov ecx, dword [rsi + 0xc]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x24], ecx
mov edx, 4
mov ecx, 8
call fcn.14000ddc0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [rdi + 0x20]
mov rcx, rax
call fcn.14002a5a0
mov edx, dword [rbx]
mov rcx, qword [rdi + 0x20]
mov dword [rcx + 4], edx
mov ecx, dword [rbx + 4]
mov rax, qword [rdi + 0x20]
mov dword [rax + 8], ecx
mov ecx, dword [rbx + 8]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0xc], ecx
mov ecx, dword [rbx + 0xc]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsi + 0x10]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x18], ecx
mov ecx, dword [rsi + 0x14]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x1c], ecx
mov ecx, dword [rbx + 0x10]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x2c], ecx
mov ecx, dword [rbx + 0x14]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x30], ecx
mov ecx, dword [rbx + 0x18]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x34], ecx
mov ecx, dword [rbx + 0x1c]
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x38], ecx
mov edx, 8
mov r8d, 4
mov rcx, rbx
call fcn.14000de60
nop
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x20], ebp
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x24], ebp
mov r8d, 0x14
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x38]
call fcn.14002a960
mov rax, qword [rdi + 0x20]
inc dword [rax + 0x20]
mov rcx, qword [rdi + 0x20]
mov eax, ebp
cmp dword [rcx + 0x20], eax
sete al
add dword [rcx + 0x24], eax
mov qword [rdi + 0x50], rbp
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140092a00
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.14002a880
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000ae50
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000fab0
lea rdx, [0x1400dbb18]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3