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

Disassembly:
sub rsp, 0x288
movaps xmmword [rsp + 0x270], xmm15
movaps xmmword [rsp + 0x260], xmm14
movaps xmmword [rsp + 0x250], xmm13
movaps xmmword [rsp + 0x240], xmm12
movaps xmmword [rsp + 0x230], xmm11
movaps xmmword [rsp + 0x220], xmm10
movaps xmmword [rsp + 0x210], xmm9
movaps xmmword [rsp + 0x200], xmm8
movaps xmmword [rsp + 0x1f0], xmm7
movaps xmmword [rsp + 0x1e0], xmm6
movdqa xmm6, xmmword [rcx]
movdqa xmm11, xmmword [rcx + 0x10]
movdqa xmm13, xmmword [rcx + 0x20]
mov rax, qword [rcx + 0x20]
lea r8, [rax + 1]
movd xmm14, r8d
shr r8, 0x20
movdqa xmm2, xmm13
pslldq xmm2, 8
shufps xmm2, xmm13, 0xe8
movd xmm0, r8d
por xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 8
shufps xmm1, xmm0, 0xe8
por xmm14, xmm1
lea r8, [rax + 2]
movd xmm15, r8d
shr r8, 0x20
movd xmm0, r8d
por xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 8
shufps xmm1, xmm0, 0xe8
por xmm15, xmm1
lea r8, [rax + 3]
movd xmm7, r8d
shr r8, 0x20
movd xmm0, r8d
movaps xmmword [rsp + 0x40], xmm2
por xmm0, xmm2
movdqa xmm1, xmm0
pslldq xmm1, 8
shufps xmm1, xmm0, 0xe8
por xmm7, xmm1
movdqa xmm10, xmmword [0x140218f80]
mov r8d, 6
movdqa xmm8, xmm10
movdqa xmm9, xmm10
movdqa xmmword [rsp + 0x10], xmm10
movdqa xmm0, xmm6
movdqa xmm3, xmm6
movdqa xmm4, xmm6
movdqa xmmword [rsp + 0x90], xmm6
movdqa xmm1, xmm11
movdqa xmm5, xmm11
movdqa xmm12, xmm11
movdqa xmmword [rsp + 0x80], xmm11
movaps xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm14
movdqa xmmword [rsp + 0x50], xmm15
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmm2, xmm7
movdqa xmm7, xmmword [rsp + 0x10]
paddd xmm7, xmm0
movdqa xmmword [rsp + 0x10], xmm7
paddd xmm8, xmm3
paddd xmm9, xmm4
paddd xmm10, xmm6
pxor xmm13, xmm7
pxor xmm14, xmm8
pxor xmm15, xmm9
pxor xmm2, xmm10
pshuflw xmm13, xmm13, 0xb1
pshufhw xmm7, xmm13, 0xb1
movdqa xmmword [rsp], xmm7
pshuflw xmm14, xmm14, 0xb1
pshufhw xmm14, xmm14, 0xb1
pshuflw xmm15, xmm15, 0xb1
pshufhw xmm15, xmm15, 0xb1
pshuflw xmm2, xmm2, 0xb1
pshufhw xmm2, xmm2, 0xb1
movdqa xmmword [rsp + 0x20], xmm2
paddd xmm1, xmm7
paddd xmm5, xmm14
paddd xmm12, xmm15
paddd xmm11, xmm2
pxor xmm0, xmm1
movdqa xmm7, xmm0
psrld xmm7, 0x14
pslld xmm0, 0xc
por xmm0, xmm7
pxor xmm3, xmm5
movdqa xmm7, xmm3
psrld xmm7, 0x14
pslld xmm3, 0xc
por xmm3, xmm7
pxor xmm4, xmm12
movdqa xmm7, xmm4
psrld xmm7, 0x14
pslld xmm4, 0xc
por xmm4, xmm7
pxor xmm6, xmm11
movdqa xmm7, xmm6
psrld xmm7, 0x14
pslld xmm6, 0xc
por xmm6, xmm7
movdqa xmm7, xmmword [rsp + 0x10]
paddd xmm7, xmm0
movdqa xmmword [rsp + 0x10], xmm7
paddd xmm8, xmm3
paddd xmm9, xmm4
paddd xmm10, xmm6
movdqa xmm2, xmmword [0x140218f90]
pshufb xmm7, xmm2
movdqa xmm13, xmmword [rsp]
pshufb xmm13, xmm2
pxor xmm13, xmm7
movdqa xmmword [rsp], xmm13
movdqa xmm7, xmm8
pshufb xmm7, xmm2
pshufb xmm14, xmm2
pxor xmm14, xmm7
movdqa xmm7, xmm9
pshufb xmm7, xmm2
pshufb xmm15, xmm2
pxor xmm15, xmm7
movdqa xmm7, xmm10
pshufb xmm7, xmm2
movdqa xmm13, xmmword [rsp + 0x20]
pshufb xmm13, xmm2
pxor xmm13, xmm7
movdqa xmm2, xmm13
paddd xmm1, xmmword [rsp]
paddd xmm5, xmm14
paddd xmm12, xmm15
paddd xmm11, xmm13
pxor xmm0, xmm1
pxor xmm3, xmm5
pxor xmm4, xmm12
pxor xmm6, xmm11
movdqa xmm7, xmm0
psrld xmm7, 0x19
pslld xmm0, 7
por xmm0, xmm7
movdqa xmm7, xmm3
psrld xmm7, 0x19
pslld xmm3, 7
por xmm3, xmm7
movdqa xmm7, xmm4
psrld xmm7, 0x19
pslld xmm4, 7
por xmm4, xmm7
movdqa xmm7, xmm6
psrld xmm7, 0x19
pslld xmm6, 7
por xmm6, xmm7
pshufd xmm0, xmm0, 0x39
pshufd xmm3, xmm3, 0x39
pshufd xmm4, xmm4, 0x39
pshufd xmm6, xmm6, 0x39
pshufd xmm1, xmm1, 0x4e
movdqa xmmword [rsp + 0x20], xmm1
pshufd xmm5, xmm5, 0x4e
pshufd xmm12, xmm12, 0x4e
pshufd xmm11, xmm11, 0x4e
movdqa xmm1, xmmword [rsp + 0x10]
paddd xmm1, xmm0
movdqa xmmword [rsp + 0x10], xmm1
paddd xmm8, xmm3
paddd xmm9, xmm4
paddd xmm10, xmm6
pshuflw xmm7, xmm1, 0xb1
pshufhw xmm7, xmm7, 0xb1
movdqa xmm13, xmmword [0x140218fa0]
movdqa xmm1, xmmword [rsp]
pshufb xmm1, xmm13
pxor xmm1, xmm7
pshuflw xmm7, xmm8, 0xb1
pshufhw xmm7, xmm7, 0xb1
pshufb xmm14, xmm13
pxor xmm14, xmm7
pshuflw xmm7, xmm9, 0xb1
pshufhw xmm7, xmm7, 0xb1
pshufb xmm15, xmm13
pxor xmm15, xmm7
pshuflw xmm7, xmm10, 0xb1
pshufhw xmm7, xmm7, 0xb1
pshufb xmm2, xmm13
pxor xmm2, xmm7
movdqa xmm7, xmmword [rsp + 0x20]
paddd xmm7, xmm1
movdqa xmmword [rsp + 0x20], xmm7
paddd xmm5, xmm14
paddd xmm12, xmm15
paddd xmm11, xmm2
pxor xmm0, xmm7
pxor xmm3, xmm5
pxor xmm4, xmm12
pxor xmm6, xmm11
movdqa xmm7, xmm0
psrld xmm7, 0x14
pslld xmm0, 0xc
por xmm0, xmm7
movdqa xmm7, xmm3
psrld xmm7, 0x14
pslld xmm3, 0xc
por xmm3, xmm7
movdqa xmm7, xmm4
psrld xmm7, 0x14
pslld xmm4, 0xc
por xmm4, xmm7
movdqa xmm7, xmm6
psrld xmm7, 0x14
pslld xmm6, 0xc
por xmm6, xmm7
movdqa xmm7, xmmword [rsp + 0x10]
paddd xmm7, xmm0
paddd xmm8, xmm3
paddd xmm9, xmm4
paddd xmm10, xmm6
movdqa xmmword [rsp + 0x10], xmm7
pxor xmm1, xmm7
movdqa xmm13, xmm1
movdqa xmm1, xmmword [0x140218f90]
pshufb xmm13, xmm1
pxor xmm14, xmm8
pshufb xmm14, xmm1
pxor xmm15, xmm9
pshufb xmm15, xmm1
pxor xmm2, xmm10
pshufb xmm2, xmm1
movdqa xmm1, xmmword [rsp + 0x20]
paddd xmm1, xmm13
paddd xmm5, xmm14
paddd xmm12, xmm15
paddd xmm11, xmm2
pxor xmm0, xmm1
pxor xmm3, xmm5
pxor xmm4, xmm12
pxor xmm6, xmm11
movdqa xmm7, xmm0
psrld xmm7, 0x19
pslld xmm0, 7
por xmm0, xmm7
movdqa xmm7, xmm3
psrld xmm7, 0x19
pslld xmm3, 7
por xmm3, xmm7
movdqa xmm7, xmm4
psrld xmm7, 0x19
pslld xmm4, 7
por xmm4, xmm7
movdqa xmm7, xmm6
psrld xmm7, 0x19
pslld xmm6, 7
por xmm6, xmm7
pshufd xmm0, xmm0, 0x93
pshufd xmm3, xmm3, 0x93
pshufd xmm4, xmm4, 0x93
pshufd xmm6, xmm6, 0x93
pshufd xmm1, xmm1, 0x4e
pshufd xmm5, xmm5, 0x4e
pshufd xmm12, xmm12, 0x4e
pshufd xmm11, xmm11, 0x4e
pshufd xmm13, xmm13, 0x39
pshufd xmm14, xmm14, 0x39
pshufd xmm15, xmm15, 0x39
pshufd xmm2, xmm2, 0x39
dec r8d
jne 0x1400c8a73
add rax, 4
mov r8, rax
shr r8, 0x20
movd xmm7, r8d
por xmm7, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm7
movdqa xmmword [rsp], xmm7
movdqa xmm7, xmmword [rsp]
pslldq xmm7, 8
movdqa xmmword [rsp], xmm7
movaps xmm7, xmmword [rsp]
shufps xmm7, xmmword [rsp + 0x20], 0xe8
movaps xmmword [rsp], xmm7
movd xmm7, eax
por xmm7, xmmword [rsp]
movdqa xmmword [rsp], xmm7
movaps xmm7, xmmword [rsp + 0x10]
movaps xmmword [rsp + 0xa0], xmm7
movdqa xmmword [rsp + 0xb0], xmm8
movdqa xmmword [rsp + 0xc0], xmm9
movdqa xmmword [rsp + 0xd0], xmm10
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xf0], xmm3
movdqa xmmword [rsp + 0x100], xmm4
movdqa xmmword [rsp + 0x110], xmm6
movdqa xmmword [rsp + 0x120], xmm1
movdqa xmmword [rsp + 0x130], xmm5
movdqa xmmword [rsp + 0x140], xmm12
movdqa xmmword [rsp + 0x150], xmm11
movaps xmmword [rsp + 0x160], xmm13
movdqa xmmword [rsp + 0x170], xmm14
movdqa xmmword [rsp + 0x180], xmm15
movdqa xmmword [rsp + 0x190], xmm2
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x1c0], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmm0, xmmword [rsp]
movaps xmmword [rcx + 0x20], xmm0
xor eax, eax
movdqa xmm0, xmmword [0x140218f80]
movdqa xmm5, xmmword [rsp + 0x90]
movdqa xmm6, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + rax + 0x1a0]
movdqa xmm2, xmmword [rsp + rax + 0xa0]
paddd xmm2, xmm0
movdqa xmm3, xmmword [rsp + rax + 0xe0]
paddd xmm3, xmm5
movdqa xmm4, xmmword [rsp + rax + 0x120]
paddd xmm4, xmm6
paddd xmm1, xmmword [rsp + rax + 0x160]
movdqu xmmword [rdx + rax*4], xmm2
movdqu xmmword [rdx + rax*4 + 0x10], xmm3
movdqu xmmword [rdx + rax*4 + 0x20], xmm4
movdqu xmmword [rdx + rax*4 + 0x30], xmm1
add rax, 0x10
cmp rax, 0x40
jne 0x1400c8fc6
movaps xmm6, xmmword [rsp + 0x1e0]
movaps xmm7, xmmword [rsp + 0x1f0]
movaps xmm8, xmmword [rsp + 0x200]
movaps xmm9, xmmword [rsp + 0x210]
movaps xmm10, xmmword [rsp + 0x220]
movaps xmm11, xmmword [rsp + 0x230]
movaps xmm12, xmmword [rsp + 0x240]
movaps xmm13, xmmword [rsp + 0x250]
movaps xmm14, xmmword [rsp + 0x260]
movaps xmm15, xmmword [rsp + 0x270]
add rsp, 0x288
ret