Function at 0x1401f1570
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x58], rcx
test r9, r9
je 0x1401f15a6
mov eax, dword [r9]
mov dword [rsp + 4], eax
mov eax, dword [r9 + 4]
mov dword [rsp + 8], eax
mov r14d, dword [r9 + 8]
mov edi, dword [r9 + 0xc]
jmp 0x1401f15c1
mov edi, 0x6b206574
mov dword [rsp + 4], 0x61707865
mov r14d, 0x79622d32
mov dword [rsp + 8], 0x3320646e
mov eax, dword [r8]
mov dword [rsp + 0x10], eax
mov eax, dword [r8 + 4]
mov ecx, dword [r8 + 8]
mov dword [rsp + 0xc], ecx
mov ecx, dword [r8 + 0xc]
mov esi, dword [r8 + 0x10]
mov r10d, dword [r8 + 0x14]
mov r9d, dword [r8 + 0x18]
mov r8d, dword [r8 + 0x1c]
mov r15d, dword [rdx]
mov r12d, dword [rdx + 4]
mov ebp, dword [rdx + 8]
mov edx, dword [rdx + 0xc]
mov dword [rsp + 0x30], r10d
mov r11d, r10d
mov dword [rsp + 0x34], r9d
mov r13d, r9d
mov dword [rsp + 0x38], r8d
mov r10d, r8d
mov dword [rsp + 0x40], edi
mov ebx, edi
mov dword [rsp + 0x2c], esi
mov edi, esi
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x28], edx
mov r9d, edx
mov dword [rsp + 0x24], ebp
mov r8d, ebp
mov dword [rsp + 0x20], r12d
mov edx, r12d
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x1c], r15d
mov ebp, r15d
mov edx, dword [rsp + 8]
mov r12d, edx
mov dword [rsp + 0x18], ecx
mov edx, dword [rsp + 0xc]
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x14], eax
mov edx, eax
mov eax, dword [rsp + 0x10]
mov r15d, eax
mov eax, dword [rsp + 4]
mov esi, dword [rsp + 0x110]
test esi, esi
jle 0x1401f18c5
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 4]
mov ecx, dword [rsp + 0x10]
mov r15d, ecx
mov ecx, dword [rsp + 0x14]
mov edx, ecx
mov ecx, dword [rsp + 0xc]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x18]
mov r8d, dword [rsp + 8]
mov r12d, r8d
mov r8d, dword [rsp + 0x1c]
mov ebp, r8d
mov r8d, dword [rsp + 0x20]
mov qword [rsp + 0x50], r8
mov r8d, dword [rsp + 0x24]
mov r9d, dword [rsp + 0x28]
mov r10d, dword [rsp + 0x3c]
mov r14d, r10d
mov r10d, dword [rsp + 0x2c]
mov edi, r10d
mov r10d, dword [rsp + 0x40]
mov ebx, r10d
mov r10d, dword [rsp + 0x38]
mov r11d, dword [rsp + 0x34]
mov r13d, r11d
mov r11d, dword [rsp + 0x30]
nop dword [rax]
lea esi, [rax + r11]
rol esi, 7
xor esi, ecx
mov qword [rsp + 0x88], rsi
lea ecx, [rsi + rax]
rol ecx, 9
xor ecx, r8d
mov r8, rcx
add ecx, esi
mov qword [rsp + 0x98], r8
rol ecx, 0xd
xor ecx, r11d
mov qword [rsp + 0xa0], rcx
lea esi, [rcx + r8]
rol esi, 0x12
lea ecx, [r15 + r12]
rol ecx, 7
xor ecx, r9d
mov qword [rsp + 0x80], rcx
lea r8d, [rcx + r12]
rol r8d, 9
xor r8d, r13d
mov qword [rsp + 0x90], r8
add ecx, r8d
rol ecx, 0xd
xor ecx, r15d
add r8d, ecx
rol r8d, 0x12
mov r15, r8
xor esi, eax
lea r8d, [r14 + rbp]
rol r8d, 7
xor r8d, r10d
mov qword [rsp + 0x78], r8
lea eax, [r8 + r14]
rol eax, 9
xor eax, edx
lea r9d, [rax + r8]
rol r9d, 0xd
xor r9d, ebp
lea r11d, [r9 + rax]
rol r11d, 0x12
xor r15d, r12d
mov qword [rsp + 0x70], r15
lea ebp, [rdi + rbx]
rol ebp, 7
xor ebp, dword [rsp + 0x48]
lea r12d, [rbx + rbp]
rol r12d, 9
xor r12d, dword [rsp + 0x50]
lea r10d, [r12 + rbp]
rol r10d, 0xd
xor r10d, edi
lea r13d, [r10 + r12]
rol r13d, 0x12
xor r11d, r14d
lea r15d, [rsi + rbp]
rol r15d, 7
xor r15d, ecx
lea edx, [r15 + rsi]
rol edx, 9
xor edx, eax
lea eax, [rdx + r15]
rol eax, 0xd
xor eax, ebp
mov qword [rsp + 0x48], rax
add eax, edx
rol eax, 0x12
xor r13d, ebx
mov r8, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x70]
lea ebp, [rbx + r8]
rol ebp, 7
xor ebp, r9d
lea r9d, [rbx + rbp]
rol r9d, 9
xor r9d, r12d
lea ecx, [r9 + rbp]
rol ecx, 0xd
xor ecx, r8d
mov qword [rsp + 0x50], r9
lea r12d, [rcx + r9]
rol r12d, 0x12
xor eax, esi
mov qword [rsp + 0x68], r11
mov rsi, qword [rsp + 0x80]
lea edi, [r11 + rsi]
rol edi, 7
xor edi, r10d
lea r8d, [rdi + r11]
rol r8d, 9
xor r8d, dword [rsp + 0x98]
lea r9d, [r8 + rdi]
rol r9d, 0xd
xor r9d, esi
lea r14d, [r9 + r8]
rol r14d, 0x12
xor r12d, ebx
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x60], r13
lea r11d, [rsi + r13]
rol r11d, 7
xor r11d, dword [rsp + 0xa0]
add r13d, r11d
rol r13d, 9
xor r13d, dword [rsp + 0x90]
lea r10d, [r11 + r13]
rol r10d, 0xd
xor r10d, esi
lea ebx, [r10 + r13]
rol ebx, 0x12
xor r14d, dword [rsp + 0x68]
xor ebx, dword [rsp + 0x60]
mov esi, dword [rsp + 0x44]
add esi, 2
mov dword [rsp + 0x44], esi
cmp esi, dword [rsp + 0x110]
jl 0x1401f16f0
add eax, dword [rsp + 4]
mov rsi, qword [rsp + 0x58]
mov dword [rsi], eax
add r15d, dword [rsp + 0x10]
mov dword [rsi + 4], r15d
add edx, dword [rsp + 0x14]
mov dword [rsi + 8], edx
mov rax, qword [rsp + 0x48]
add eax, dword [rsp + 0xc]
mov dword [rsi + 0xc], eax
add ecx, dword [rsp + 0x18]
mov dword [rsi + 0x10], ecx
add r12d, dword [rsp + 8]
mov dword [rsi + 0x14], r12d
add ebp, dword [rsp + 0x1c]
mov dword [rsi + 0x18], ebp
mov rax, qword [rsp + 0x50]
add eax, dword [rsp + 0x20]
mov dword [rsi + 0x1c], eax
add r8d, dword [rsp + 0x24]
mov dword [rsi + 0x20], r8d
add r9d, dword [rsp + 0x28]
mov dword [rsi + 0x24], r9d
add r14d, dword [rsp + 0x3c]
mov dword [rsi + 0x28], r14d
add edi, dword [rsp + 0x2c]
mov dword [rsi + 0x2c], edi
add r11d, dword [rsp + 0x30]
mov dword [rsi + 0x30], r11d
add r13d, dword [rsp + 0x34]
mov dword [rsi + 0x34], r13d
add r10d, dword [rsp + 0x38]
mov dword [rsi + 0x38], r10d
add ebx, dword [rsp + 0x40]
mov dword [rsi + 0x3c], ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret