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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movups xmm0, xmmword [str.expand_32_byte_k]
mov qword [rbp - 0x10], 0xa
movups xmm1, xmmword [rdx]
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rdx + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [r8]
mov r10d, dword [rbp - 0x34]
mov r9d, dword [rbp - 0x38]
mov r8d, dword [rbp - 0x3c]
mov r11d, dword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
mov eax, dword [rbp - 0x2c]
mov r12d, dword [rbp - 0x24]
mov r15d, dword [rbp - 0x28]
mov r13d, dword [rbp - 0x30]
movaps xmmword [rbp - 0x20], xmm1
mov edi, dword [rbp - 0x14]
mov ebx, dword [rbp - 0x18]
mov r14d, dword [rbp - 0x1c]
mov esi, dword [rbp - 0x20]
mov dword [rbp + 0x58], eax
nop dword [rax + rax]
mov eax, dword [rbp - 0x50]
add eax, r11d
mov edx, eax
xor edx, esi
rol edx, 0x10
lea ecx, [rdx + r13]
xor r11d, ecx
rol r11d, 0xc
lea esi, [rax + r11]
mov r13d, esi
xor r13d, edx
rol r13d, 8
lea eax, [rcx + r13]
mov ecx, dword [rbp + 0x58]
mov dword [rbp - 0x7c], eax
xor eax, r11d
rol eax, 7
mov dword [rbp - 0x78], eax
mov eax, dword [rbp - 0x4c]
add eax, r8d
mov edx, eax
xor edx, r14d
rol edx, 0x10
add ecx, edx
xor r8d, ecx
rol r8d, 0xc
lea r14d, [rax + r8]
mov eax, r14d
xor eax, edx
rol eax, 8
mov dword [rbp - 0x80], eax
add eax, ecx
mov r11d, eax
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x48]
xor r11d, r8d
add eax, r9d
rol r11d, 7
mov edx, eax
xor edx, ebx
rol edx, 0x10
lea ecx, [r15 + rdx]
xor r9d, ecx
rol r9d, 0xc
mov dword [rbp + 0x58], r9d
lea r15d, [rax + r9]
mov eax, r15d
xor eax, edx
rol eax, 8
mov dword [rbp - 0x74], eax
lea r9d, [rax + rcx]
mov eax, dword [rbp - 0x44]
add eax, r10d
mov ebx, r9d
xor ebx, dword [rbp + 0x58]
mov edx, eax
xor edx, edi
rol ebx, 7
rol edx, 0x10
lea ecx, [r12 + rdx]
xor r10d, ecx
rol r10d, 0xc
mov dword [rbp + 0x58], r10d
lea r12d, [rax + r10]
lea eax, [r11 + rsi]
mov r8d, r12d
xor r8d, edx
rol r8d, 8
lea r10d, [r8 + rcx]
mov ecx, eax
xor ecx, r8d
mov edi, r10d
xor edi, dword [rbp + 0x58]
rol ecx, 0x10
rol edi, 7
lea edx, [rcx + r9]
mov r8d, edx
xor r8d, r11d
rol r8d, 0xc
add eax, r8d
mov dword [rbp - 0x50], eax
xor eax, ecx
rol eax, 8
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x14], eax
add eax, edx
mov dword [rbp - 0x60], eax
xor eax, r8d
mov r8d, dword [rbp - 0x78]
rol eax, 7
mov dword [rbp - 0x6c], eax
lea eax, [rbx + r14]
mov ecx, eax
xor ecx, r13d
rol ecx, 0x10
lea edx, [rcx + r10]
mov r9d, edx
xor r9d, ebx
rol r9d, 0xc
lea esi, [r9 + rax]
mov dword [rbp - 0x4c], esi
xor esi, ecx
rol esi, 8
lea eax, [rsi + rdx]
mov edx, dword [rbp - 0x7c]
xor r9d, eax
mov dword [rbp - 0x64], eax
lea eax, [rdi + r15]
rol r9d, 7
mov r15d, dword [rbp - 0x60]
mov ecx, eax
xor ecx, dword [rbp - 0x80]
rol ecx, 0x10
add edx, ecx
mov r10d, edx
xor r10d, edi
mov edi, dword [rbp - 0x68]
rol r10d, 0xc
lea r14d, [r10 + rax]
lea eax, [r12 + r8]
mov dword [rbp - 0x48], r14d
mov r12d, dword [rbp - 0x64]
xor r14d, ecx
rol r14d, 8
mov ecx, eax
xor ecx, dword [rbp - 0x74]
rol ecx, 0x10
lea r13d, [r14 + rdx]
mov edx, dword [rbp - 0x70]
add edx, ecx
xor r10d, r13d
mov r11d, edx
rol r10d, 7
xor r11d, r8d
mov r8d, dword [rbp - 0x6c]
rol r11d, 0xc
lea ebx, [r11 + rax]
mov dword [rbp - 0x44], ebx
xor ebx, ecx
rol ebx, 8
lea eax, [rbx + rdx]
xor r11d, eax
mov dword [rbp + 0x58], eax
rol r11d, 7
sub qword [rbp - 0x10], 1
jne 0x180107190
mov rax, qword [rbp + 0x40]
movaps xmm0, xmmword [rbp - 0x50]
mov dword [rbp - 0x18], ebx
mov rbx, qword [rsp + 0xc8]
mov dword [rbp - 0x1c], r14d
mov dword [rbp - 0x20], esi
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret