Function at 0x140263f00
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 [0x1403531c0]
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 0x140263f3c
mov rcx, rdi
call fcn.140251df0
cmp rbx, 0x18
ja 0x14026420b
mov eax, 0x1001101
bt rax, rbx
jae 0x14026420b
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 0x140263ffe
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 0x14026404c
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 0x14026408d
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x38], ebp
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x3c], ebp
jmp 0x1402641c8
cmp rbx, 8
jne 0x1402640ab
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 0x1402641c8
cmp rbx, 0xc
jne 0x1402640d3
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 0x1402641c8
cmp rbx, 0x18
jne 0x1402641c8
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.140245630
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.140263700
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.1402456d0
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.140262b60
mov qword [rdi + 0x58], rbp
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1402d55d0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.140263be0
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140247060
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14024f690
lea rdx, [0x140351190]
lea rcx, [rsp + 0x50]
call fcn.1402d6228
int3