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

Disassembly:
push rbp
mov rax, rdx
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
test r9, r9
je 0x14000d330
mov esi, dword [r9 + 0xc]
mov edi, dword [r9 + 4]
mov r14d, dword [r9]
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x28], edi
mov edi, dword [r9 + 8]
mov esi, dword [r8 + 4]
mov edx, dword [r8 + 0x14]
mov qword [rbp + 0x10], rcx
mov r12d, dword [r8 + 0xc]
mov r11d, dword [r8 + 0x1c]
mov dword [rsp + 0xc], 0xa
mov r9d, dword [r8]
mov r13d, dword [r8 + 0x18]
mov dword [rsp + 0x24], esi
mov esi, dword [r8 + 8]
mov r15d, dword [rax]
mov r10d, r12d
mov ebx, r11d
mov ecx, dword [rsp + 0x18]
mov dword [rsp + 0x20], esi
mov esi, dword [r8 + 0x10]
mov r8d, dword [rax + 8]
mov dword [rsp + 0x1c], esi
mov esi, dword [rax + 4]
mov dword [rsp + 0x2c], esi
mov esi, dword [rax + 0xc]
mov eax, edi
mov edi, edx
mov edx, esi
mov esi, edi
nop dword [rax]
lea r12d, [r14 + rsi]
mov r11d, dword [rsp + 0x28]
rol r12d, 7
xor r12d, r10d
lea r10d, [r12 + r14]
rol r10d, 9
xor r10d, r8d
lea r8d, [r12 + r10]
mov dword [rsp + 0x18], r10d
rol r8d, 0xd
xor r8d, esi
lea esi, [r9 + r11]
rol esi, 7
lea r10d, [r10 + r8]
mov dword [rsp + 0x14], r8d
xor esi, edx
ror r10d, 0xe
lea edx, [rsi + r11]
xor r10d, r14d
rol edx, 9
xor edx, r13d
mov r13d, dword [rsp + 0x2c]
lea r14d, [rsi + rdx]
mov dword [rsp + 0x10], edx
rol r14d, 0xd
xor r14d, r9d
mov r9d, dword [rsp + 0x24]
add edx, r14d
ror edx, 0xe
xor edx, r11d
lea r11d, [r15 + rax]
rol r11d, 7
xor r11d, ebx
lea ebx, [r11 + rax]
rol ebx, 9
xor ebx, r9d
mov r9d, dword [rsp + 0x1c]
lea r8d, [r11 + rbx]
rol r8d, 0xd
xor r15d, r8d
mov r8d, dword [rsp + 0x20]
lea edi, [rbx + r15]
ror edi, 0xe
xor edi, eax
lea eax, [r9 + rcx]
rol eax, 7
xor eax, r8d
lea r8d, [rax + rcx]
rol r8d, 9
xor r8d, r13d
lea r13d, [rax + r8]
rol r13d, 0xd
xor r13d, r9d
lea r9d, [r8 + r13]
ror r9d, 0xe
xor ecx, r9d
lea r9d, [r10 + rax]
rol r9d, 7
xor r9d, r14d
lea r14d, [r10 + r9]
rol r14d, 9
xor r14d, ebx
lea ebx, [r9 + r14]
mov dword [rsp + 0x24], r14d
rol ebx, 0xd
xor ebx, eax
lea eax, [r12 + rdx]
rol eax, 7
add r14d, ebx
mov dword [rsp + 0x20], ebx
xor r15d, eax
ror r14d, 0xe
lea eax, [rdx + r15]
xor r14d, r10d
rol eax, 9
mov ebx, eax
xor ebx, r8d
lea r10d, [r15 + rbx]
mov dword [rsp + 0x2c], ebx
rol r10d, 0xd
xor r10d, r12d
lea eax, [rbx + r10]
ror eax, 0xe
xor eax, edx
mov dword [rsp + 0x28], eax
lea eax, [rsi + rdi]
rol eax, 7
mov ebx, eax
mov eax, dword [rsp + 0x18]
xor ebx, r13d
lea r8d, [rdi + rbx]
mov dword [rsp + 0x1c], ebx
rol r8d, 9
xor r8d, eax
lea edx, [rbx + r8]
mov ebx, dword [rsp + 0x14]
rol edx, 0xd
xor edx, esi
lea esi, [r11 + rcx]
rol esi, 7
lea eax, [r8 + rdx]
xor esi, ebx
ror eax, 0xe
xor eax, edi
lea r13d, [rcx + rsi]
mov edi, dword [rsp + 0x10]
rol r13d, 9
xor r13d, edi
lea ebx, [rsi + r13]
rol ebx, 0xd
xor ebx, r11d
lea r11d, [r13 + rbx]
ror r11d, 0xe
xor ecx, r11d
sub dword [rsp + 0xc], 1
jne 0x14000d138
mov edi, eax
movd xmm3, dword [rsp + 0x28]
mov eax, ecx
movd xmm0, r14d
movd xmm1, edi
movd xmm2, eax
mov rcx, qword [rbp + 0x10]
mov eax, dword [rsp + 0x2c]
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
punpcklqdq xmm0, xmm1
mov dword [rcx + 0x14], eax
xor eax, eax
mov dword [rcx + 0x10], r15d
mov dword [rcx + 0x18], r8d
mov dword [rcx + 0x1c], edx
movups xmmword [rcx], xmm0
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dword [rsp + 0x18], 0x6b206574
mov edi, 0x79622d32
mov r14d, 0x61707865
mov dword [rsp + 0x28], 0x3320646e
jmp 0x14000d0da