Function at 0x14002d490
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
movdqa xmmword [rsp + 0xd0], xmm13
movaps xmmword [rsp + 0xc0], xmm12
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm10
movaps xmmword [rsp + 0x90], xmm9
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [rcx + 0x20]
movdqa xmm4, xmmword [rcx]
movaps xmm0, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x10], xmm0
movdqa xmm14, xmmword [rcx + 0x20]
lea r9, [rax + 1]
movdqa xmm15, xmm14
pinsrd xmm15, r9d, 0
shr r9, 0x20
pinsrd xmm15, r9d, 1
lea r9, [rax + 2]
movdqa xmm7, xmm14
pinsrd xmm7, r9d, 0
shr r9, 0x20
pinsrd xmm7, r9d, 1
lea r9, [rax + 3]
movdqa xmm6, xmm14
pinsrd xmm6, r9d, 0
shr r9, 0x20
pinsrd xmm6, r9d, 1
test edx, edx
je 0x14002da06
movdqa xmm3, xmmword [0x1400f8fb0]
movdqa xmm2, xmm3
movdqa xmm1, xmm3
movdqa xmm0, xmm3
movdqa xmm12, xmmword [rsp + 0x10]
movdqa xmm8, xmm12
movdqa xmm10, xmm12
movdqa xmm5, xmm4
movdqa xmm11, xmm4
movdqa xmm9, xmm4
nop dword [rax]
paddd xmm3, xmm5
paddd xmm2, xmm11
paddd xmm1, xmm9
paddd xmm0, xmm4
pxor xmm14, xmm3
pxor xmm15, xmm2
pxor xmm7, xmm1
pxor xmm6, xmm0
pshuflw xmm14, xmm14, 0xb1
pshufhw xmm14, xmm14, 0xb1
pshuflw xmm15, xmm15, 0xb1
pshufhw xmm15, xmm15, 0xb1
pshuflw xmm7, xmm7, 0xb1
pshufhw xmm7, xmm7, 0xb1
pshuflw xmm6, xmm6, 0xb1
pshufhw xmm6, xmm6, 0xb1
paddd xmm12, xmm14
paddd xmm10, xmm15
paddd xmm8, xmm7
movdqa xmmword [rsp], xmm8
movdqa xmm13, xmmword [rsp + 0x10]
paddd xmm13, xmm6
movdqa xmmword [rsp + 0x10], xmm13
pxor xmm5, xmm12
pxor xmm11, xmm10
pxor xmm9, xmm8
pxor xmm4, xmm13
movdqa xmm13, xmm5
psrld xmm13, 0x14
pslld xmm5, 0xc
por xmm5, xmm13
movdqa xmm13, xmm11
psrld xmm13, 0x14
pslld xmm11, 0xc
por xmm11, xmm13
movdqa xmm13, xmm9
psrld xmm13, 0x14
pslld xmm9, 0xc
por xmm9, xmm13
movdqa xmm13, xmm4
psrld xmm13, 0x14
pslld xmm4, 0xc
por xmm4, xmm13
paddd xmm3, xmm5
paddd xmm2, xmm11
paddd xmm1, xmm9
paddd xmm0, xmm4
movdqa xmm13, xmm3
movdqa xmm8, xmmword [0x1400f8fc0]
pshufb xmm13, xmm8
pshufb xmm14, xmm8
pxor xmm14, xmm13
movdqa xmm13, xmm2
pshufb xmm13, xmm8
pshufb xmm15, xmm8
pxor xmm15, xmm13
movdqa xmm13, xmm1
pshufb xmm13, xmm8
pshufb xmm7, xmm8
pxor xmm7, xmm13
movdqa xmm13, xmm0
pshufb xmm13, xmm8
pshufb xmm6, xmm8
pxor xmm6, xmm13
paddd xmm12, xmm14
paddd xmm10, xmm15
movdqa xmm13, xmmword [rsp]
paddd xmm13, xmm7
movdqa xmmword [rsp], xmm13
movdqa xmm8, xmmword [rsp + 0x10]
paddd xmm8, xmm6
pxor xmm5, xmm12
pxor xmm11, xmm10
pxor xmm9, xmm13
pxor xmm4, xmm8
movdqa xmm13, xmm5
psrld xmm13, 0x19
pslld xmm5, 7
por xmm5, xmm13
movdqa xmm13, xmm11
psrld xmm13, 0x19
pslld xmm11, 7
por xmm11, xmm13
movdqa xmm13, xmm9
psrld xmm13, 0x19
pslld xmm9, 7
por xmm9, xmm13
movdqa xmm13, xmm4
psrld xmm13, 0x19
pslld xmm4, 7
por xmm4, xmm13
pshufd xmm13, xmm5, 0x39
pshufd xmm11, xmm11, 0x39
pshufd xmm9, xmm9, 0x39
pshufd xmm4, xmm4, 0x39
pshufd xmm12, xmm12, 0x4e
pshufd xmm10, xmm10, 0x4e
pshufd xmm5, xmmword [rsp], 0x4e
movdqa xmmword [rsp], xmm5
pshufd xmm5, xmm8, 0x4e
movdqa xmmword [rsp + 0x10], xmm5
paddd xmm3, xmm13
paddd xmm2, xmm11
paddd xmm1, xmm9
paddd xmm0, xmm4
pshuflw xmm5, xmm3, 0xb1
pshufhw xmm5, xmm5, 0xb1
movdqa xmm8, xmmword [0x1400f8fd0]
pshufb xmm14, xmm8
pxor xmm14, xmm5
pshuflw xmm5, xmm2, 0xb1
pshufhw xmm5, xmm5, 0xb1
pshufb xmm15, xmm8
pxor xmm15, xmm5
pshuflw xmm5, xmm1, 0xb1
pshufhw xmm5, xmm5, 0xb1
pshufb xmm7, xmm8
pxor xmm7, xmm5
pshuflw xmm5, xmm0, 0xb1
pshufhw xmm5, xmm5, 0xb1
pshufb xmm6, xmm8
pxor xmm6, xmm5
paddd xmm12, xmm14
paddd xmm10, xmm15
movdqa xmm8, xmmword [rsp]
paddd xmm8, xmm7
movdqa xmm5, xmmword [rsp + 0x10]
paddd xmm5, xmm6
movdqa xmmword [rsp + 0x10], xmm5
pxor xmm13, xmm12
pxor xmm11, xmm10
pxor xmm9, xmm8
pxor xmm4, xmm5
movdqa xmm5, xmm13
psrld xmm5, 0x14
pslld xmm13, 0xc
por xmm13, xmm5
movdqa xmm5, xmm11
psrld xmm5, 0x14
pslld xmm11, 0xc
por xmm11, xmm5
movdqa xmm5, xmm9
psrld xmm5, 0x14
pslld xmm9, 0xc
por xmm9, xmm5
movdqa xmm5, xmm4
psrld xmm5, 0x14
pslld xmm4, 0xc
por xmm4, xmm5
paddd xmm3, xmm13
paddd xmm2, xmm11
paddd xmm1, xmm9
paddd xmm0, xmm4
pxor xmm14, xmm3
pxor xmm15, xmm2
pxor xmm7, xmm1
pxor xmm6, xmm0
movdqa xmm5, xmmword [0x1400f8fc0]
pshufb xmm14, xmm5
pshufb xmm15, xmm5
pshufb xmm7, xmm5
pshufb xmm6, xmm5
paddd xmm12, xmm14
paddd xmm10, xmm15
paddd xmm8, xmm7
movdqa xmm5, xmmword [rsp + 0x10]
paddd xmm5, xmm6
movdqa xmmword [rsp + 0x10], xmm5
pxor xmm13, xmm12
pxor xmm11, xmm10
pxor xmm9, xmm8
pxor xmm4, xmm5
movdqa xmm5, xmm13
psrld xmm5, 0x19
pslld xmm13, 7
por xmm13, xmm5
movdqa xmm5, xmm11
psrld xmm5, 0x19
pslld xmm11, 7
por xmm11, xmm5
movdqa xmm5, xmm9
psrld xmm5, 0x19
pslld xmm9, 7
por xmm9, xmm5
movdqa xmm5, xmm4
psrld xmm5, 0x19
pslld xmm4, 7
por xmm4, xmm5
pshufd xmm5, xmm13, 0x93
pshufd xmm11, xmm11, 0x93
pshufd xmm9, xmm9, 0x93
pshufd xmm4, xmm4, 0x93
pshufd xmm12, xmm12, 0x4e
pshufd xmm10, xmm10, 0x4e
pshufd xmm8, xmm8, 0x4e
pshufd xmm13, xmmword [rsp + 0x10], 0x4e
movdqa xmmword [rsp + 0x10], xmm13
pshufd xmm14, xmm14, 0x39
pshufd xmm15, xmm15, 0x39
pshufd xmm7, xmm7, 0x39
pshufd xmm6, xmm6, 0x39
dec edx
jne 0x14002d590
mov rax, qword [rcx + 0x20]
movaps xmm13, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm13
movaps xmm13, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x40], xmm13
movaps xmm13, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x20], xmm13
movdqa xmm13, xmmword [0x1400f8fb0]
paddd xmm3, xmm13
paddd xmm2, xmm13
paddd xmm1, xmm13
paddd xmm0, xmm13
jmp 0x14002da50
movdqa xmm0, xmmword [0x1400f8fa0]
movdqa xmm9, xmm4
movdqa xmm1, xmmword [rsp + 0x10]
movdqa xmm8, xmm1
movdqa xmm11, xmm4
movdqa xmm10, xmm1
movdqa xmm5, xmm4
movdqa xmm12, xmm1
movdqa xmmword [rsp + 0x20], xmm14
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x30], xmm4
movdqa xmm1, xmm0
movdqa xmm2, xmm0
movdqa xmm3, xmm0
lea rdx, [rax + 1]
movaps xmm13, xmmword [rsp + 0x20]
movaps xmmword [rsp], xmm13
movdqa xmm13, xmmword [rsp]
pinsrd xmm13, edx, 0
movdqa xmmword [rsp], xmm13
shr rdx, 0x20
movdqa xmm13, xmmword [rsp]
pinsrd xmm13, edx, 1
movdqa xmmword [rsp], xmm13
lea rdx, [rax + 2]
movdqa xmm13, xmmword [rsp + 0x20]
pinsrd xmm13, edx, 0
shr rdx, 0x20
pinsrd xmm13, edx, 1
movdqa xmmword [rsp + 0x50], xmm13
movdqa xmm13, xmmword [rsp]
paddd xmm13, xmm15
movdqa xmmword [rsp], xmm13
movdqa xmm13, xmmword [rsp + 0x50]
paddd xmm13, xmm7
lea rdx, [rax + 3]
movdqa xmm15, xmmword [rsp + 0x20]
movdqa xmm7, xmm15
pinsrd xmm7, edx, 0
shr rdx, 0x20
pinsrd xmm7, edx, 1
paddd xmm7, xmm6
add rax, 4
mov rdx, rax
movdqa xmm6, xmm15
paddd xmm14, xmm15
pinsrd xmm6, eax, 0
shr rdx, 0x20
pinsrd xmm6, edx, 1
movdqa xmmword [rcx + 0x20], xmm6
movdqu xmmword [r8], xmm3
movdqa xmm6, xmmword [rsp + 0x30]
paddd xmm5, xmm6
movdqu xmmword [r8 + 0x10], xmm5
movdqa xmm3, xmmword [rsp + 0x40]
paddd xmm12, xmm3
movdqu xmmword [r8 + 0x20], xmm12
movdqu xmmword [r8 + 0x30], xmm14
movdqu xmmword [r8 + 0x40], xmm2
paddd xmm11, xmm6
movdqu xmmword [r8 + 0x50], xmm11
paddd xmm10, xmm3
movdqu xmmword [r8 + 0x60], xmm10
movaps xmm2, xmmword [rsp]
movups xmmword [r8 + 0x70], xmm2
movdqu xmmword [r8 + 0x80], xmm1
paddd xmm9, xmm6
movdqu xmmword [r8 + 0x90], xmm9
paddd xmm8, xmm3
movdqu xmmword [r8 + 0xa0], xmm8
movdqu xmmword [r8 + 0xb0], xmm13
movdqu xmmword [r8 + 0xc0], xmm0
paddd xmm4, xmm6
movdqu xmmword [r8 + 0xd0], xmm4
movdqa xmm0, xmmword [rsp + 0x10]
paddd xmm0, xmm3
movdqu xmmword [r8 + 0xe0], xmm0
movdqu xmmword [r8 + 0xf0], xmm7
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