Function at 0x140264f20
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 [0x1403531c0]
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 0x140264f5c
mov rcx, rdi
call fcn.140251df0
test rbx, 0xffffffffffffffe7
jne 0x1402651d5
cmp rbx, 0x10
je 0x1402651d5
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 0x14026501c
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 0x14026506a
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 0x1402650ab
mov dword [rax + 0x18], ebp
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x1c], ebp
jmp 0x140265177
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 0x140265177
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.140245630
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.1402647b0
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.1402456d0
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.140264b70
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.1402d55d0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140264a90
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140247060
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14024f690
lea rdx, [0x140351190]
lea rcx, [rsp + 0x40]
call fcn.1402d6228
int3