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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov edx, 0x61707865
movq xmm0, rdx
pshufd xmm0, xmm0, 0
mov edx, 0x3320646e
movq xmm1, rdx
pshufd xmm1, xmm1, 0
mov edx, 0x79622d32
movq xmm2, rdx
pshufd xmm2, xmm2, 0
mov edx, 0x6b206574
movq xmm3, rdx
pshufd xmm3, xmm3, 0
mov dword [rsp], ecx
inc ecx
mov dword [rsp + 4], ecx
inc ecx
mov dword [rsp + 8], ecx
inc ecx
mov dword [rsp + 0xc], ecx
movdqu xmm12, xmmword [rsp]
mov edi, dword [rax]
movq xmm4, rdi
pshufd xmm4, xmm4, 0
mov esi, dword [rax + 4]
movq xmm5, rsi
pshufd xmm5, xmm5, 0
mov r8d, dword [rax + 8]
movq xmm6, r8
pshufd xmm6, xmm6, 0
mov r9d, dword [rax + 0xc]
movq xmm7, r9
pshufd xmm7, xmm7, 0
mov r10d, dword [rax + 0x10]
movq xmm8, r10
pshufd xmm8, xmm8, 0
mov r11d, dword [rax + 0x14]
movq xmm9, r11
pshufd xmm9, xmm9, 0
mov r12d, dword [rax + 0x18]
movq xmm10, r12
pshufd xmm10, xmm10, 0
mov r13d, dword [rax + 0x1c]
movq xmm11, r13
pshufd xmm11, xmm11, 0
mov edx, 0
movq xmm13, rdx
movq xmm14, rdx
movdqu xmmword [rbx + 0xf0], xmm14
mov edx, 4
paddd xmm0, xmm4
pxor xmm12, xmm0
movdqa xmm15, xmm12
pslld xmm15, 0x10
psrld xmm12, 0x10
pxor xmm12, xmm15
paddd xmm8, xmm12
pxor xmm4, xmm8
movdqa xmm15, xmm4
pslld xmm15, 0xc
psrld xmm4, 0x14
pxor xmm4, xmm15
paddd xmm0, xmm4
pxor xmm12, xmm0
movdqa xmm15, xmm12
pslld xmm15, 8
psrld xmm12, 0x18
pxor xmm12, xmm15
paddd xmm8, xmm12
pxor xmm4, xmm8
movdqa xmm15, xmm4
pslld xmm15, 7
psrld xmm4, 0x19
pxor xmm4, xmm15
movdqu xmmword [rbx + 0x40], xmm4
paddd xmm1, xmm5
pxor xmm13, xmm1
movdqa xmm15, xmm13
pslld xmm15, 0x10
psrld xmm13, 0x10
pxor xmm13, xmm15
paddd xmm9, xmm13
pxor xmm5, xmm9
movdqa xmm15, xmm5
pslld xmm15, 0xc
psrld xmm5, 0x14
pxor xmm5, xmm15
paddd xmm1, xmm5
pxor xmm13, xmm1
movdqa xmm15, xmm13
pslld xmm15, 8
psrld xmm13, 0x18
pxor xmm13, xmm15
paddd xmm9, xmm13
pxor xmm5, xmm9
movdqa xmm15, xmm5
pslld xmm15, 7
psrld xmm5, 0x19
pxor xmm5, xmm15
movdqu xmm15, xmmword [rbx + 0xf0]
paddd xmm2, xmm6
pxor xmm14, xmm2
movdqa xmm4, xmm14
pslld xmm4, 0x10
psrld xmm14, 0x10
pxor xmm14, xmm4
paddd xmm10, xmm14
pxor xmm6, xmm10
movdqa xmm4, xmm6
pslld xmm4, 0xc
psrld xmm6, 0x14
pxor xmm6, xmm4
paddd xmm2, xmm6
pxor xmm14, xmm2
movdqa xmm4, xmm14
pslld xmm4, 8
psrld xmm14, 0x18
pxor xmm14, xmm4
paddd xmm10, xmm14
pxor xmm6, xmm10
movdqa xmm4, xmm6
pslld xmm4, 7
psrld xmm6, 0x19
pxor xmm6, xmm4
paddd xmm3, xmm7
pxor xmm15, xmm3
movdqa xmm4, xmm15
pslld xmm4, 0x10
psrld xmm15, 0x10
pxor xmm15, xmm4
paddd xmm11, xmm15
pxor xmm7, xmm11
movdqa xmm4, xmm7
pslld xmm4, 0xc
psrld xmm7, 0x14
pxor xmm7, xmm4
paddd xmm3, xmm7
pxor xmm15, xmm3
movdqa xmm4, xmm15
pslld xmm4, 8
psrld xmm15, 0x18
pxor xmm15, xmm4
paddd xmm11, xmm15
pxor xmm7, xmm11
movdqa xmm4, xmm7
pslld xmm4, 7
psrld xmm7, 0x19
pxor xmm7, xmm4
paddd xmm0, xmm5
pxor xmm15, xmm0
movdqa xmm4, xmm15
pslld xmm4, 0x10
psrld xmm15, 0x10
pxor xmm15, xmm4
paddd xmm10, xmm15
pxor xmm5, xmm10
movdqa xmm4, xmm5
pslld xmm4, 0xc
psrld xmm5, 0x14
pxor xmm5, xmm4
paddd xmm0, xmm5
pxor xmm15, xmm0
movdqa xmm4, xmm15
pslld xmm4, 8
psrld xmm15, 0x18
pxor xmm15, xmm4
paddd xmm10, xmm15
pxor xmm5, xmm10
movdqa xmm4, xmm5
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm5, xmm4
movdqu xmmword [rbx + 0xf0], xmm15
paddd xmm1, xmm6
pxor xmm12, xmm1
movdqa xmm4, xmm12
pslld xmm4, 0x10
psrld xmm12, 0x10
pxor xmm12, xmm4
paddd xmm11, xmm12
pxor xmm6, xmm11
movdqa xmm4, xmm6
pslld xmm4, 0xc
psrld xmm6, 0x14
pxor xmm6, xmm4
paddd xmm1, xmm6
pxor xmm12, xmm1
movdqa xmm4, xmm12
pslld xmm4, 8
psrld xmm12, 0x18
pxor xmm12, xmm4
paddd xmm11, xmm12
pxor xmm6, xmm11
movdqa xmm4, xmm6
pslld xmm4, 7
psrld xmm6, 0x19
pxor xmm6, xmm4
movdqu xmm4, xmmword [rbx + 0x40]
paddd xmm2, xmm7
pxor xmm13, xmm2
movdqa xmm15, xmm13
pslld xmm15, 0x10
psrld xmm13, 0x10
pxor xmm13, xmm15
paddd xmm8, xmm13
pxor xmm7, xmm8
movdqa xmm15, xmm7
pslld xmm15, 0xc
psrld xmm7, 0x14
pxor xmm7, xmm15
paddd xmm2, xmm7
pxor xmm13, xmm2
movdqa xmm15, xmm13
pslld xmm15, 8
psrld xmm13, 0x18
pxor xmm13, xmm15
paddd xmm8, xmm13
pxor xmm7, xmm8
movdqa xmm15, xmm7
pslld xmm15, 7
psrld xmm7, 0x19
pxor xmm7, xmm15
paddd xmm3, xmm4
pxor xmm14, xmm3
movdqa xmm15, xmm14
pslld xmm15, 0x10
psrld xmm14, 0x10
pxor xmm14, xmm15
paddd xmm9, xmm14
pxor xmm4, xmm9
movdqa xmm15, xmm4
pslld xmm15, 0xc
psrld xmm4, 0x14
pxor xmm4, xmm15
paddd xmm3, xmm4
pxor xmm14, xmm3
movdqa xmm15, xmm14
pslld xmm15, 8
psrld xmm14, 0x18
pxor xmm14, xmm15
paddd xmm9, xmm14
pxor xmm4, xmm9
movdqa xmm15, xmm4
pslld xmm15, 7
psrld xmm4, 0x19
pxor xmm4, xmm15
dec edx
jne 0x40366d
movdqu xmmword [rbx], xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmmword [rbx + 0x20], xmm2
movdqu xmmword [rbx + 0x30], xmm3
movdqu xmmword [rbx + 0xc0], xmm12
movdqu xmmword [rbx + 0xd0], xmm13
movdqu xmmword [rbx + 0xe0], xmm14
movq xmm0, rdi
pshufd xmm0, xmm0, 0
movq xmm1, rsi
pshufd xmm1, xmm1, 0
movq xmm2, r8
pshufd xmm2, xmm2, 0
movq xmm3, r9
pshufd xmm3, xmm3, 0
movq xmm12, r10
pshufd xmm12, xmm12, 0
movq xmm13, r11
pshufd xmm13, xmm13, 0
movq xmm14, r12
pshufd xmm14, xmm14, 0
movq xmm15, r13
pshufd xmm15, xmm15, 0
paddd xmm4, xmm0
paddd xmm5, xmm1
paddd xmm6, xmm2
paddd xmm7, xmm3
paddd xmm8, xmm12
paddd xmm9, xmm13
paddd xmm10, xmm14
paddd xmm11, xmm15
movdqu xmmword [rbx + 0x40], xmm4
movdqu xmmword [rbx + 0x50], xmm5
movdqu xmmword [rbx + 0x60], xmm6
movdqu xmmword [rbx + 0x70], xmm7
movdqu xmmword [rbx + 0x80], xmm8
movdqu xmmword [rbx + 0x90], xmm9
movdqu xmmword [rbx + 0xa0], xmm10
movdqu xmmword [rbx + 0xb0], xmm11
mov eax, 0
movq xmm15, rax
add rsp, 0x10
pop rbp
ret