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

Disassembly:
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm15
movaps xmmword [rsp + 0xe0], xmm14
movaps xmmword [rsp + 0xd0], xmm13
movaps xmmword [rsp + 0xc0], xmm12
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm10
movaps xmmword [rsp + 0x90], xmm9
movdqa xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [rcx + 0x20]
movdqa xmm9, xmmword [rcx]
movdqa xmm7, xmmword [rcx + 0x10]
movdqa xmm12, xmmword [rcx + 0x20]
lea r8, [rax + 1]
movd xmm13, r8d
shr r8, 0x20
movdqa xmm0, xmm12
pslldq xmm0, 8
shufps xmm0, xmm12, 0xe8
movd xmm1, r8d
por xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 8
shufps xmm2, xmm1, 0xe8
por xmm13, xmm2
lea r8, [rax + 2]
movd xmm14, r8d
shr r8, 0x20
movd xmm1, r8d
por xmm1, xmm0
movdqa xmm2, xmm1
pslldq xmm2, 8
shufps xmm2, xmm1, 0xe8
por xmm14, xmm2
add rax, 3
movd xmm15, eax
shr rax, 0x20
movd xmm1, eax
por xmm1, xmm0
movdqa xmm0, xmm1
pslldq xmm0, 8
shufps xmm0, xmm1, 0xe8
por xmm15, xmm0
movdqa xmm5, xmmword [0x140066500]
mov eax, 6
movdqa xmm4, xmm5
movdqa xmmword [rsp], xmm5
movdqa xmm3, xmm5
movdqa xmm10, xmm7
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmm0, xmm7
movdqa xmmword [rsp + 0x50], xmm7
movdqa xmm6, xmm9
movdqa xmm1, xmm9
movdqa xmm11, xmm9
movdqa xmmword [rsp + 0x40], xmm9
nop dword [rax]
paddd xmm5, xmm6
paddd xmm4, xmm1
movdqa xmm2, xmmword [rsp]
paddd xmm2, xmm11
paddd xmm3, xmm9
pxor xmm12, xmm5
pxor xmm13, xmm4
pxor xmm14, xmm2
pxor xmm15, xmm3
pshuflw xmm12, xmm12, 0xb1
pshufhw xmm12, xmm12, 0xb1
pshuflw xmm13, xmm13, 0xb1
pshufhw xmm13, xmm13, 0xb1
pshuflw xmm14, xmm14, 0xb1
pshufhw xmm14, xmm14, 0xb1
pshuflw xmm15, xmm15, 0xb1
pshufhw xmm15, xmm15, 0xb1
paddd xmm7, xmm12
paddd xmm0, xmm13
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm8, xmmword [rsp + 0x10]
paddd xmm8, xmm14
movdqa xmmword [rsp + 0x10], xmm8
paddd xmm10, xmm15
movdqa xmmword [rsp + 0x20], xmm10
pxor xmm6, xmm7
pxor xmm1, xmm0
pxor xmm11, xmm8
pxor xmm9, xmm10
movdqa xmm8, xmm6
psrld xmm8, 0x14
pslld xmm6, 0xc
por xmm6, xmm8
movdqa xmm8, xmm1
psrld xmm8, 0x14
pslld xmm1, 0xc
por xmm1, xmm8
movdqa xmm8, xmm11
psrld xmm8, 0x14
pslld xmm11, 0xc
por xmm11, xmm8
movdqa xmm8, xmm9
psrld xmm8, 0x14
pslld xmm9, 0xc
por xmm9, xmm8
paddd xmm5, xmm6
paddd xmm4, xmm1
paddd xmm2, xmm11
movdqa xmm0, xmm2
movdqa xmmword [rsp], xmm2
paddd xmm3, xmm9
movdqa xmm8, xmm5
movdqa xmm2, xmmword [0x140066510]
pshufb xmm8, xmm2
pshufb xmm12, xmm2
pxor xmm12, xmm8
movdqa xmm8, xmm4
pshufb xmm8, xmm2
pshufb xmm13, xmm2
pxor xmm13, xmm8
pshufb xmm0, xmm2
pshufb xmm14, xmm2
pxor xmm14, xmm0
movdqa xmm8, xmm3
pshufb xmm8, xmm2
pshufb xmm15, xmm2
pxor xmm15, xmm8
paddd xmm7, xmm12
movdqa xmm0, xmmword [rsp + 0x30]
paddd xmm0, xmm13
movdqa xmm2, xmmword [rsp + 0x10]
paddd xmm2, xmm14
movdqa xmm8, xmmword [rsp + 0x20]
paddd xmm8, xmm15
pxor xmm6, xmm7
pxor xmm1, xmm0
movdqa xmm10, xmm0
pxor xmm11, xmm2
pxor xmm9, xmm8
movdqa xmm0, xmm8
movdqa xmm8, xmm6
psrld xmm8, 0x19
pslld xmm6, 7
por xmm6, xmm8
movdqa xmm8, xmm1
psrld xmm8, 0x19
pslld xmm1, 7
por xmm1, xmm8
movdqa xmm8, xmm11
psrld xmm8, 0x19
pslld xmm11, 7
por xmm11, xmm8
movdqa xmm8, xmm9
psrld xmm8, 0x19
pslld xmm9, 7
por xmm9, xmm8
pshufd xmm6, xmm6, 0x39
pshufd xmm1, xmm1, 0x39
pshufd xmm11, xmm11, 0x39
pshufd xmm9, xmm9, 0x39
pshufd xmm7, xmm7, 0x4e
movdqa xmmword [rsp + 0x20], xmm7
pshufd xmm7, xmm10, 0x4e
movdqa xmmword [rsp + 0x10], xmm7
pshufd xmm10, xmm2, 0x4e
pshufd xmm8, xmm0, 0x4e
paddd xmm5, xmm6
paddd xmm4, xmm1
movdqa xmm2, xmmword [rsp]
paddd xmm2, xmm11
movdqa xmmword [rsp], xmm2
paddd xmm3, xmm9
pshuflw xmm0, xmm5, 0xb1
pshufhw xmm0, xmm0, 0xb1
movdqa xmm7, xmmword [0x140066520]
pshufb xmm12, xmm7
pxor xmm12, xmm0
pshuflw xmm0, xmm4, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshufb xmm13, xmm7
pxor xmm13, xmm0
pshuflw xmm0, xmm2, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshufb xmm14, xmm7
pxor xmm14, xmm0
pshuflw xmm0, xmm3, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshufb xmm15, xmm7
pxor xmm15, xmm0
movdqa xmm7, xmmword [rsp + 0x20]
paddd xmm7, xmm12
movdqa xmm2, xmmword [rsp + 0x10]
paddd xmm2, xmm13
paddd xmm10, xmm14
paddd xmm8, xmm15
pxor xmm6, xmm7
pxor xmm1, xmm2
pxor xmm11, xmm10
pxor xmm9, xmm8
movdqa xmm0, xmm6
psrld xmm0, 0x14
pslld xmm6, 0xc
por xmm6, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x14
pslld xmm1, 0xc
por xmm1, xmm0
movdqa xmm0, xmm11
psrld xmm0, 0x14
pslld xmm11, 0xc
por xmm11, xmm0
movdqa xmm0, xmm9
psrld xmm0, 0x14
pslld xmm9, 0xc
por xmm9, xmm0
paddd xmm5, xmm6
paddd xmm4, xmm1
movdqa xmm0, xmmword [rsp]
paddd xmm0, xmm11
paddd xmm3, xmm9
pxor xmm12, xmm5
pxor xmm13, xmm4
movdqa xmmword [rsp], xmm0
pxor xmm14, xmm0
pxor xmm15, xmm3
movdqa xmm0, xmmword [0x140066510]
pshufb xmm12, xmm0
pshufb xmm13, xmm0
pshufb xmm14, xmm0
pshufb xmm15, xmm0
paddd xmm7, xmm12
paddd xmm2, xmm13
paddd xmm10, xmm14
paddd xmm8, xmm15
pxor xmm6, xmm7
pxor xmm1, xmm2
pxor xmm11, xmm10
pxor xmm9, xmm8
movdqa xmm0, xmm6
psrld xmm0, 0x19
pslld xmm6, 7
por xmm6, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x19
pslld xmm1, 7
por xmm1, xmm0
movdqa xmm0, xmm11
psrld xmm0, 0x19
pslld xmm11, 7
por xmm11, xmm0
movdqa xmm0, xmm9
psrld xmm0, 0x19
pslld xmm9, 7
por xmm9, xmm0
pshufd xmm6, xmm6, 0x93
pshufd xmm1, xmm1, 0x93
pshufd xmm11, xmm11, 0x93
pshufd xmm9, xmm9, 0x93
pshufd xmm7, xmm7, 0x4e
pshufd xmm0, xmm2, 0x4e
pshufd xmm10, xmm10, 0x4e
movdqa xmmword [rsp + 0x10], xmm10
pshufd xmm10, xmm8, 0x4e
pshufd xmm12, xmm12, 0x39
pshufd xmm13, xmm13, 0x39
pshufd xmm14, xmm14, 0x39
pshufd xmm15, xmm15, 0x39
dec eax
jne 0x1400189a0
movdqa xmm8, xmmword [0x140066500]
paddd xmm3, xmm8
movdqa xmm2, xmmword [rsp]
paddd xmm2, xmm8
movdqa xmmword [rsp], xmm2
paddd xmm4, xmm8
paddd xmm5, xmm8
movdqa xmm8, xmmword [rcx + 0x20]
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmm2, xmm8
pslldq xmm2, 8
shufps xmm2, xmm8, 0xe8
movaps xmmword [rsp + 0x30], xmm2
movq rax, xmm8
lea r8, [rax + 4]
mov r9, r8
shr r9, 0x20
movd xmm8, r9d
por xmm8, xmm2
movdqa xmm2, xmm8
pslldq xmm2, 8
shufps xmm2, xmm8, 0xe8
movd xmm8, r8d
por xmm8, xmm2
movdqa xmmword [rcx + 0x20], xmm8
movdqu xmmword [rdx], xmm5
movdqa xmm2, xmmword [rsp + 0x40]
paddd xmm6, xmm2
movdqu xmmword [rdx + 0x10], xmm6
movdqa xmm8, xmmword [rsp + 0x50]
paddd xmm7, xmm8
movdqu xmmword [rdx + 0x20], xmm7
paddd xmm12, xmmword [rsp + 0x20]
lea rcx, [rax + 1]
mov r8, rcx
shr r8, 0x20
movdqu xmmword [rdx + 0x30], xmm12
movd xmm5, r8d
movdqa xmm7, xmmword [rsp + 0x30]
por xmm5, xmm7
movdqa xmm6, xmm5
pslldq xmm6, 8
shufps xmm6, xmm5, 0xe8
movd xmm5, ecx
orps xmm6, xmm5
movdqu xmmword [rdx + 0x40], xmm4
paddd xmm1, xmm2
movdqu xmmword [rdx + 0x50], xmm1
paddd xmm0, xmm8
movdqu xmmword [rdx + 0x60], xmm0
lea rcx, [rax + 2]
mov r8, rcx
shr r8, 0x20
paddd xmm6, xmm13
movd xmm0, r8d
por xmm0, xmm7
movdqu xmmword [rdx + 0x70], xmm6
movdqa xmm1, xmm0
pslldq xmm1, 8
shufps xmm1, xmm0, 0xe8
movd xmm0, ecx
orps xmm1, xmm0
movaps xmm0, xmmword [rsp]
movups xmmword [rdx + 0x80], xmm0
paddd xmm11, xmm2
movdqu xmmword [rdx + 0x90], xmm11
movdqa xmm0, xmmword [rsp + 0x10]
paddd xmm0, xmm8
movdqu xmmword [rdx + 0xa0], xmm0
paddd xmm1, xmm14
movdqu xmmword [rdx + 0xb0], xmm1
add rax, 3
mov rcx, rax
shr rcx, 0x20
movd xmm0, ecx
por xmm0, xmm7
movdqa xmm1, xmm0
pslldq xmm1, 8
shufps xmm1, xmm0, 0xe8
movd xmm0, eax
orps xmm1, xmm0
movdqu xmmword [rdx + 0xc0], xmm3
paddd xmm9, xmm2
movdqu xmmword [rdx + 0xd0], xmm9
paddd xmm10, xmm8
movdqu xmmword [rdx + 0xe0], xmm10
paddd xmm1, xmm15
movdqu xmmword [rdx + 0xf0], xmm1
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm12, xmmword [rsp + 0xc0]
movaps xmm13, xmmword [rsp + 0xd0]
movaps xmm14, xmmword [rsp + 0xe0]
movaps xmm15, xmmword [rsp + 0xf0]
add rsp, 0x108
ret