Function at 0x4aab80
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x80], rsi
cmp rcx, 0x1f
jbe 0x4aadf4
nop
cmp r8, 0xf
jbe 0x4aade7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [rbx]
mov edi, dword [rbx + 4]
mov r8d, dword [rbx + 8]
mov r9d, dword [rbx + 0xc]
mov r10d, dword [rbx + 0x10]
mov r11d, dword [rbx + 0x14]
mov r12d, dword [rbx + 0x18]
mov ebx, dword [rbx + 0x1c]
mov r13d, dword [rsi]
mov r15d, dword [rsi + 4]
mov eax, dword [rsi + 8]
mov esi, dword [rsi + 0xc]
mov ecx, 0x14
mov ecx, 0x61707865
mov dword [rsp + 0x2c], ecx
mov ecx, 0x3320646e
mov dword [rsp + 0x28], ecx
mov ecx, 0x79622d32
mov dword [rsp + 0x1c], ecx
mov ecx, 0x6b206574
mov dword [rsp + 0x18], ecx
mov ecx, 0x14
jmp 0x4aad8f
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x2c]
add ecx, edx
xor r13d, ecx
rol r13d, 0x10
add r10d, r13d
xor edx, r10d
rol edx, 0xc
add ecx, edx
xor r13d, ecx
rol r13d, 8
add r10d, r13d
xor edx, r10d
rol edx, 7
mov dword [rsp + 0x14], edx
mov edx, dword [rsp + 0x28]
add edx, edi
xor r15d, edx
rol r15d, 0x10
add r11d, r15d
xor edi, r11d
rol edi, 0xc
add edx, edi
xor r15d, edx
rol r15d, 8
add r11d, r15d
mov dword [rsp + 0x10], r11d
xor edi, r11d
rol edi, 7
mov r11d, dword [rsp + 0x1c]
add r11d, r8d
xor eax, r11d
rol eax, 0x10
add r12d, eax
xor r8d, r12d
rol r8d, 0xc
add r11d, r8d
xor eax, r11d
rol eax, 8
mov dword [rsp + 0x20], eax
add r12d, eax
xor r8d, r12d
rol r8d, 7
mov eax, dword [rsp + 0x18]
add eax, r9d
xor esi, eax
rol esi, 0x10
add ebx, esi
xor r9d, ebx
rol r9d, 0xc
add eax, r9d
xor esi, eax
rol esi, 8
add ebx, esi
xor r9d, ebx
rol r9d, 7
add ecx, edi
xor esi, ecx
rol esi, 0x10
add r12d, esi
xor edi, r12d
rol edi, 0xc
add ecx, edi
mov dword [rsp + 0x2c], ecx
xor esi, ecx
rol esi, 8
add r12d, esi
xor edi, r12d
add edx, r8d
xor r13d, edx
rol r13d, 0x10
add ebx, r13d
xor r8d, ebx
rol r8d, 0xc
add edx, r8d
mov dword [rsp + 0x28], edx
xor r13d, edx
rol r13d, 8
add ebx, r13d
mov dword [rsp + 0x24], ebx
xor r8d, ebx
add r11d, r9d
xor r15d, r11d
rol r15d, 0x10
add r10d, r15d
xor r9d, r10d
rol r9d, 0xc
add r11d, r9d
xor r15d, r11d
rol r15d, 8
add r10d, r15d
xor r9d, r10d
mov ecx, dword [rsp + 0x14]
add eax, ecx
mov edx, dword [rsp + 0x20]
xor edx, eax
rol edx, 0x10
mov ebx, dword [rsp + 0x10]
add ebx, edx
xor ecx, ebx
rol ecx, 0xc
add eax, ecx
mov dword [rsp + 0x18], eax
xor edx, eax
rol edx, 8
add ebx, edx
xor ecx, ebx
mov rax, qword [rsp + 0x30]
add rax, 0xfffffffffffffffe
rol edi, 7
rol r8d, 7
rol r9d, 7
rol ecx, 7
mov dword [rsp + 0x1c], r11d
mov r11d, ebx
mov ebx, dword [rsp + 0x24]
mov ebx, ecx
mov rcx, rax
mov eax, edx
mov edx, ebx
mov ebx, dword [rsp + 0x24]
test rcx, rcx
jg 0x4aac12
mov rcx, qword [rsp + 0x50]
nop dword [rax]
cmp rcx, 0x1f
jbe 0x4aaddd
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov dword [rdx], ecx
mov ecx, dword [rsp + 0x28]
mov dword [rdx + 4], ecx
mov ecx, dword [rsp + 0x1c]
mov dword [rdx + 8], ecx
mov ecx, dword [rsp + 0x18]
mov dword [rdx + 0xc], ecx
nop
mov dword [rdx + 0x10], r13d
nop
mov dword [rdx + 0x14], r15d
mov dword [rdx + 0x18], eax
nop
mov dword [rdx + 0x1c], esi
add rsp, 0x38
pop rbp
ret
mov eax, 0x1f
call sym.runtime.panicIndex
mov eax, 0xf
mov rcx, r8
call sym.runtime.panicIndex
mov eax, 0x1f
call sym.runtime.panicIndex
nop
int3