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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400df040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
jne 0x140029d2c
mov rcx, rdi
call fcn.14000dd30
cmp rbx, 0x18
ja 0x140029ffb
mov eax, 0x1001101
bt rax, rbx
jae 0x140029ffb
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x10], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 4]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x14], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 8]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x18], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0xc]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x1c], ecx
mov rdx, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x28]
mov dword [rax], 0x61707865
mov rax, qword [rdi + 0x28]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x10
jne 0x140029dee
mov dword [rax + 4], 0x3120646e
mov rax, qword [rdi + 0x28]
mov dword [rax + 8], 0x79622d36
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], 0x6b206574
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x20], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 4]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x24], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 8]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0xc]
jmp 0x140029e3c
mov dword [rax + 4], 0x3320646e
mov rax, qword [rdi + 0x28]
mov dword [rax + 8], 0x79622d32
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], 0x6b206574
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0x10]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x20], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x24], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0x18]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0x1c]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x2c], ecx
mov rax, qword [rdi + 0x28]
xor ebp, ebp
mov dword [rax + 0x30], ebp
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x34], ebp
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ebp
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ebp
mov qword [rdi + 0x58], rbp
test rbx, rbx
jne 0x140029e7d
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ebp
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ebp
jmp 0x140029fb8
cmp rbx, 8
jne 0x140029e9b
mov ecx, dword [rsi]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ecx
mov ecx, dword [rsi + 4]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ecx
jmp 0x140029fb8
cmp rbx, 0xc
jne 0x140029ec3
mov ecx, dword [rsi]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsi + 4]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ecx
mov ecx, dword [rsi + 8]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ecx
jmp 0x140029fb8
cmp rbx, 0x18
jne 0x140029fb8
mov ecx, dword [rsi]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsi + 4]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsi + 8]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ecx
mov ecx, dword [rsi + 0xc]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ecx
mov edx, 4
mov ecx, 8
call fcn.14000ddc0
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [rax + 0x20]
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rsp + 0x28], rcx
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x28]
mov rcx, rax
call fcn.1400294f0
mov ecx, dword [rbx]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x10], ecx
mov ecx, dword [rbx + 4]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x14], ecx
mov ecx, dword [rbx + 8]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x18], ecx
mov ecx, dword [rbx + 0xc]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x1c], ecx
mov ecx, dword [rbx + 0x10]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x20], ecx
mov ecx, dword [rbx + 0x14]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x24], ecx
mov ecx, dword [rbx + 0x18]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x28], ecx
mov ecx, dword [rbx + 0x1c]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x2c], ecx
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x30], ebp
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x34], ebp
mov ecx, dword [rsi + 0x10]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ecx
mov ecx, dword [rsi + 0x14]
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ecx
mov edx, 8
mov r8d, 4
mov rcx, rbx
call fcn.14000de60
nop
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x48]
sub rdx, rcx
shr rdx, 6
mov r9, qword [rdi + 8]
mov r8, qword [rdi + 0x28]
call fcn.140028960
mov qword [rdi + 0x58], rbp
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140092a00
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.1400299d0
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14000ae50
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000fab0
lea rdx, [0x1400dbb18]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3