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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r9d, dword [r8]
mov r13d, 0x6b206574
mov r10d, dword [r8 + 4]
mov ecx, 0x61707865
mov r11d, dword [r8 + 8]
mov ebx, dword [r8 + 0xc]
mov edi, dword [r8 + 0x10]
mov esi, dword [r8 + 0x14]
mov r14d, dword [r8 + 0x18]
mov r15d, dword [rdx]
mov r12d, dword [rdx + 4]
mov ebp, dword [rdx + 8]
mov r8d, dword [r8 + 0x1c]
mov edx, dword [rdx + 0xc]
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x14], edx
mov dword [rsp + 0x88], r9d
mov dword [rsp + 0x90], r10d
mov dword [rsp], r11d
mov dword [rsp + 4], ebx
mov dword [rsp + 0x18], edi
mov dword [rsp + 0x1c], esi
mov dword [rsp + 0x20], r14d
mov dword [rsp + 8], r15d
mov dword [rsp + 0xc], r12d
mov dword [rsp + 0x10], ebp
mov dword [rsp + 0xa0], 0x3320646e
mov dword [rsp + 0x98], 0x79622d32
mov qword [rsp + 0x28], 0xa
nop dword [rax]
lea eax, [rsi + rcx]
rol eax, 7
xor ebx, eax
lea eax, [rbx + rcx]
rol eax, 9
xor ebp, eax
lea eax, [rbx + rbp]
rol eax, 0xd
xor esi, eax
lea eax, [rsi + rbp]
ror eax, 0xe
xor ecx, eax
mov eax, dword [rsp + 0xa0]
add eax, r9d
rol eax, 7
xor edx, eax
mov eax, dword [rsp + 0xa0]
add eax, edx
rol eax, 9
xor r14d, eax
lea eax, [rdx + r14]
rol eax, 0xd
xor r9d, eax
lea eax, [r14 + r9]
ror eax, 0xe
xor dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x98]
add eax, r15d
rol eax, 7
xor r8d, eax
mov eax, dword [rsp + 0x98]
add eax, r8d
rol eax, 9
xor r10d, eax
lea eax, [r8 + r10]
rol eax, 0xd
xor r15d, eax
lea eax, [r15 + r10]
ror eax, 0xe
xor dword [rsp + 0x98], eax
lea eax, [rdi + r13]
rol eax, 7
xor r11d, eax
lea eax, [r11 + r13]
rol eax, 9
xor r12d, eax
lea eax, [r12 + r11]
rol eax, 0xd
xor edi, eax
lea eax, [r12 + rdi]
ror eax, 0xe
xor r13d, eax
lea eax, [r11 + rcx]
rol eax, 7
xor r9d, eax
lea eax, [r9 + rcx]
rol eax, 9
xor r10d, eax
lea eax, [r10 + r9]
rol eax, 0xd
xor r11d, eax
lea eax, [r11 + r10]
ror eax, 0xe
xor ecx, eax
mov eax, dword [rsp + 0xa0]
add eax, ebx
rol eax, 7
xor r15d, eax
mov eax, dword [rsp + 0xa0]
add eax, r15d
rol eax, 9
xor r12d, eax
lea eax, [r12 + r15]
rol eax, 0xd
xor ebx, eax
lea eax, [r12 + rbx]
ror eax, 0xe
xor dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x98]
add eax, edx
rol eax, 7
xor edi, eax
mov eax, dword [rsp + 0x98]
add eax, edi
rol eax, 9
xor ebp, eax
lea eax, [rdi + rbp]
rol eax, 0xd
xor edx, eax
lea eax, [rdx + rbp]
ror eax, 0xe
xor dword [rsp + 0x98], eax
lea eax, [r8 + r13]
rol eax, 7
xor esi, eax
lea eax, [rsi + r13]
rol eax, 9
xor r14d, eax
lea eax, [r14 + rsi]
rol eax, 0xd
xor r8d, eax
lea eax, [r8 + r14]
ror eax, 0xe
xor r13d, eax
sub qword [rsp + 0x28], 1
jne 0x180005b80
lea eax, [rcx + 0x61707865]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, dword [rsp + 0x88]
add eax, r9d
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x90]
add eax, r10d
mov dword [rcx + 8], eax
mov eax, dword [rsp]
add eax, r11d
mov dword [rcx + 0xc], eax
mov eax, dword [rsp + 4]
add eax, ebx
mov dword [rcx + 0x10], eax
mov eax, dword [rsp + 0xa0]
add eax, 0x3320646e
mov dword [rcx + 0x14], eax
mov eax, dword [rsp + 8]
add eax, r15d
mov dword [rcx + 0x18], eax
mov eax, dword [rsp + 0xc]
add eax, r12d
mov dword [rcx + 0x1c], eax
mov eax, dword [rsp + 0x10]
add eax, ebp
mov dword [rcx + 0x20], eax
mov eax, dword [rsp + 0x14]
add eax, edx
mov dword [rcx + 0x24], eax
mov eax, dword [rsp + 0x98]
add eax, 0x79622d32
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x18]
add eax, edi
mov dword [rcx + 0x2c], eax
mov eax, dword [rsp + 0x1c]
add eax, esi
mov dword [rcx + 0x30], eax
mov eax, dword [rsp + 0x20]
add eax, r14d
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x24]
add eax, r8d
mov dword [rcx + 0x38], eax
lea eax, [r13 + 0x6b206574]
mov dword [rcx + 0x3c], eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret