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

Disassembly:
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm15
movaps xmmword [rsp + 0x120], xmm14
movaps xmmword [rsp + 0x110], xmm13
movaps xmmword [rsp + 0x100], xmm12
movaps xmmword [rsp + 0xf0], xmm11
movaps xmmword [rsp + 0xe0], xmm10
movaps xmmword [rsp + 0xd0], xmm9
movaps xmmword [rsp + 0xc0], xmm8
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm6
mov r8, rdx
nop word cs:[rax + rax]
mov eax, dword [0x141dcb3f0]
and eax, dword [0x141dcb3f4]
or eax, 0x2000c880
and eax, 0x6010c884
cmp eax, 0x47265284
jb 0x1400725e0
mov r9, qword [rcx + 0x20]
lea rax, [r9 + 1]
movdqa xmm5, xmmword [rcx + 0x20]
mov rdx, rax
shr rdx, 0x20
movdqa xmm1, xmm5
pslldq xmm1, 8
shufps xmm1, xmm5, 0xe8
movd xmm0, edx
por xmm0, xmm1
movdqa xmm6, xmm0
pslldq xmm6, 8
shufps xmm6, xmm0, 0xe8
lea rdx, [r9 + 2]
mov r10, rdx
shr r10, 0x20
movd xmm0, r10d
por xmm0, xmm1
movdqa xmm2, xmm0
pslldq xmm2, 8
shufps xmm2, xmm0, 0xe8
lea r10, [r9 + 3]
mov r11, r10
shr r11, 0x20
movd xmm0, r11d
movaps xmmword [rsp + 0x40], xmm1
por xmm0, xmm1
movdqa xmm3, xmm0
pslldq xmm3, 8
shufps xmm3, xmm0, 0xe8
xor r11d, r11d
nop dword [rax]
test r11b, r11b
jne 0x140072680
movd xmm0, eax
orps xmm6, xmm0
movd xmm0, edx
orps xmm2, xmm0
movd xmm0, r10d
orps xmm3, xmm0
movdqa xmm8, xmmword [rcx]
movdqa xmm9, xmmword [rcx + 0x10]
movdqa xmm1, xmmword [0x140102d40]
xor eax, eax
mov edx, 6
movaps xmmword [rsp + 0x70], xmm3
movaps xmm11, xmm3
movaps xmmword [rsp + 0x80], xmm2
movaps xmm12, xmm2
movdqa xmm2, xmm1
movdqa xmm3, xmm1
movdqa xmm4, xmm1
movaps xmmword [rsp + 0x90], xmm6
movaps xmm0, xmm6
movaps xmmword [rsp + 0x30], xmm5
movdqa xmm14, xmm9
movdqa xmm7, xmm9
movdqa xmm15, xmm9
movdqa xmmword [rsp + 0x60], xmm9
movdqa xmm10, xmm8
movdqa xmm6, xmm8
movdqa xmm13, xmm8
movdqa xmmword [rsp + 0x50], xmm8
nop word cs:[rax + rax]
mov r10d, dword [0x141dcb3f8]
add r10d, dword [0x141dcb3fc]
imul r10, r10, 0x23de9279
shr r10, 0x3b
or r10d, 0xeb965e84
xor r10d, 0xe6fa5245
cmp r10d, 0xbf34b6c1
ja 0x140072720
paddd xmm1, xmm13
paddd xmm2, xmm8
paddd xmm3, xmm6
paddd xmm4, xmm10
pxor xmm5, xmm1
xorps xmm0, xmm2
xorps xmm12, xmm3
xorps xmm11, xmm4
pshuflw xmm5, xmm5, 0xb1
pshufhw xmm5, xmm5, 0xb1
pshuflw xmm0, xmm0, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm12, xmm12, 0xb1
pshufhw xmm12, xmm12, 0xb1
pshuflw xmm11, xmm11, 0xb1
pshufhw xmm11, xmm11, 0xb1
paddd xmm9, xmm5
paddd xmm15, xmm0
paddd xmm7, xmm12
movdqa xmmword [rsp], xmm7
paddd xmm14, xmm11
movdqa xmmword [rsp + 0x10], xmm14
pxor xmm13, xmm9
pxor xmm8, xmm15
pxor xmm6, xmm7
pxor xmm10, xmm14
movdqa xmm7, xmm13
psrld xmm7, 0x14
pslld xmm13, 0xc
por xmm13, xmm7
movdqa xmm7, xmm8
psrld xmm7, 0x14
pslld xmm8, 0xc
por xmm8, xmm7
movdqa xmm7, xmm6
psrld xmm7, 0x14
pslld xmm6, 0xc
por xmm6, xmm7
movdqa xmm7, xmm10
psrld xmm7, 0x14
pslld xmm10, 0xc
por xmm10, xmm7
paddd xmm1, xmm13
paddd xmm2, xmm8
paddd xmm3, xmm6
paddd xmm4, xmm10
movdqa xmm7, xmm1
movdqa xmm14, xmmword [0x140102900]
pshufb xmm7, xmm14
pshufb xmm5, xmm14
pxor xmm5, xmm7
movdqa xmm7, xmm2
pshufb xmm7, xmm14
pshufb xmm0, xmm14
pxor xmm0, xmm7
movdqa xmm7, xmm3
pshufb xmm7, xmm14
pshufb xmm12, xmm14
pxor xmm12, xmm7
movdqa xmm7, xmm4
pshufb xmm7, xmm14
pshufb xmm11, xmm14
pxor xmm11, xmm7
paddd xmm9, xmm5
paddd xmm15, xmm0
movdqa xmm7, xmmword [rsp]
paddd xmm7, xmm12
movdqa xmmword [rsp], xmm7
movdqa xmm14, xmm15
movdqa xmm15, xmmword [rsp + 0x10]
paddd xmm15, xmm11
movdqa xmmword [rsp + 0x10], xmm15
pxor xmm13, xmm9
pxor xmm8, xmm14
pxor xmm6, xmm7
pxor xmm10, xmm15
movdqa xmm7, xmm13
psrld xmm7, 0x19
pslld xmm13, 7
por xmm13, xmm7
movdqa xmm7, xmm8
psrld xmm7, 0x19
pslld xmm8, 7
por xmm8, xmm7
movdqa xmm7, xmm6
psrld xmm7, 0x19
pslld xmm6, 7
por xmm6, xmm7
movdqa xmm7, xmm10
psrld xmm7, 0x19
pslld xmm10, 7
por xmm10, xmm7
pshufd xmm7, xmm13, 0x39
pshufd xmm8, xmm8, 0x39
pshufd xmm6, xmm6, 0x39
pshufd xmm10, xmm10, 0x39
pshufd xmm9, xmm9, 0x4e
movdqa xmmword [rsp + 0x20], xmm9
pshufd xmm15, xmm14, 0x4e
pshufd xmm14, xmmword [rsp], 0x4e
pshufd xmm9, xmmword [rsp + 0x10], 0x4e
movdqa xmmword [rsp], xmm9
paddd xmm1, xmm7
paddd xmm2, xmm8
paddd xmm3, xmm6
paddd xmm4, xmm10
pshuflw xmm13, xmm1, 0xb1
pshufhw xmm13, xmm13, 0xb1
movdqa xmm9, xmmword [0x140102d80]
pshufb xmm5, xmm9
pxor xmm5, xmm13
pshuflw xmm13, xmm2, 0xb1
pshufhw xmm13, xmm13, 0xb1
pshufb xmm0, xmm9
pxor xmm0, xmm13
pshuflw xmm13, xmm3, 0xb1
pshufhw xmm13, xmm13, 0xb1
pshufb xmm12, xmm9
pxor xmm12, xmm13
pshuflw xmm13, xmm4, 0xb1
pshufhw xmm13, xmm13, 0xb1
pshufb xmm11, xmm9
pxor xmm11, xmm13
movdqa xmm13, xmmword [rsp + 0x20]
paddd xmm13, xmm5
movdqa xmmword [rsp + 0x20], xmm13
paddd xmm15, xmm0
paddd xmm14, xmm12
movdqa xmm9, xmmword [rsp]
paddd xmm9, xmm11
movdqa xmmword [rsp], xmm9
pxor xmm7, xmm13
pxor xmm8, xmm15
pxor xmm6, xmm14
pxor xmm10, xmm9
movdqa xmm13, xmm7
psrld xmm13, 0x14
pslld xmm7, 0xc
por xmm7, xmm13
movdqa xmm13, xmm8
psrld xmm13, 0x14
pslld xmm8, 0xc
por xmm8, xmm13
movdqa xmm13, xmm6
psrld xmm13, 0x14
pslld xmm6, 0xc
por xmm6, xmm13
movdqa xmm13, xmm10
psrld xmm13, 0x14
pslld xmm10, 0xc
por xmm10, xmm13
paddd xmm1, xmm7
paddd xmm2, xmm8
paddd xmm3, xmm6
paddd xmm4, xmm10
pxor xmm5, xmm1
pxor xmm0, xmm2
pxor xmm12, xmm3
pxor xmm11, xmm4
movdqa xmm9, xmmword [0x140102900]
pshufb xmm5, xmm9
pshufb xmm0, xmm9
pshufb xmm12, xmm9
pshufb xmm11, xmm9
movdqa xmm9, xmmword [rsp + 0x20]
paddd xmm9, xmm5
paddd xmm15, xmm0
paddd xmm14, xmm12
movdqa xmm13, xmmword [rsp]
paddd xmm13, xmm11
movdqa xmmword [rsp], xmm13
pxor xmm7, xmm9
pxor xmm8, xmm15
pxor xmm6, xmm14
pxor xmm10, xmm13
movdqa xmm13, xmm7
psrld xmm13, 0x19
pslld xmm7, 7
por xmm7, xmm13
movdqa xmm13, xmm8
psrld xmm13, 0x19
pslld xmm8, 7
por xmm8, xmm13
movdqa xmm13, xmm6
psrld xmm13, 0x19
pslld xmm6, 7
por xmm6, xmm13
movdqa xmm13, xmm10
psrld xmm13, 0x19
pslld xmm10, 7
por xmm10, xmm13
pshufd xmm13, xmm7, 0x93
pshufd xmm8, xmm8, 0x93
pshufd xmm6, xmm6, 0x93
pshufd xmm10, xmm10, 0x93
pshufd xmm9, xmm9, 0x4e
pshufd xmm15, xmm15, 0x4e
pshufd xmm7, xmm14, 0x4e
pshufd xmm14, xmmword [rsp], 0x4e
pshufd xmm5, xmm5, 0x39
pshufd xmm0, xmm0, 0x39
pshufd xmm12, xmm12, 0x39
pshufd xmm11, xmm11, 0x39
inc eax
dec edx
jne 0x140072720
paddd xmm5, xmmword [rsp + 0x30]
paddd xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x30], xmm0
paddd xmm12, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x10], xmm12
movdqa xmm0, xmmword [rsp + 0x50]
paddd xmm13, xmm0
paddd xmm8, xmm0
paddd xmm6, xmm0
paddd xmm10, xmm0
movdqa xmm0, xmmword [rsp + 0x60]
paddd xmm9, xmm0
paddd xmm15, xmm0
paddd xmm7, xmm0
movdqa xmmword [rsp], xmm7
paddd xmm14, xmm0
paddd xmm11, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x20], xmm11
mov eax, dword [0x141dcb400]
xor edx, edx
div dword [0x141dcb404]
or eax, 0xbffa7f7c
xor eax, 0xf8267d6f
cmp eax, 0x953de90c
ja 0x140072d30
mov eax, dword [0x141dcb408]
sub eax, dword [0x141dcb40c]
lea rdx, [r9 + 4]
movd xmm7, edx
shr rdx, 0x20
movdqa xmm11, xmmword [0x140102d40]
movd xmm0, edx
por xmm0, xmmword [rsp + 0x40]
movdqa xmm12, xmm0
pslldq xmm12, 8
shufps xmm12, xmm0, 0xe8
movdqa xmm0, xmm4
paddd xmm0, xmm11
por xmm7, xmm12
movdqa xmm12, xmm3
paddd xmm12, xmm11
movdqa xmmword [rcx + 0x20], xmm7
movdqa xmm7, xmm2
paddd xmm7, xmm11
paddd xmm11, xmm1
movdqu xmmword [r8], xmm11
movdqu xmmword [r8 + 0x10], xmm13
movdqu xmmword [r8 + 0x20], xmm9
movdqu xmmword [r8 + 0x30], xmm5
movdqu xmmword [r8 + 0x40], xmm7
movdqu xmmword [r8 + 0x50], xmm8
movdqu xmmword [r8 + 0x60], xmm15
movaps xmm7, xmmword [rsp + 0x30]
movups xmmword [r8 + 0x70], xmm7
movdqu xmmword [r8 + 0x80], xmm12
movdqu xmmword [r8 + 0x90], xmm6
movaps xmm7, xmmword [rsp]
movups xmmword [r8 + 0xa0], xmm7
movdqa xmm7, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0xb0], xmm7
movdqu xmmword [r8 + 0xc0], xmm0
mov edx, 0x8b7218a9
imul rdx, rax
shr rdx, 0x3f
movdqu xmmword [r8 + 0xd0], xmm10
movdqu xmmword [r8 + 0xe0], xmm14
movdqa xmm0, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0xf0], xmm0
cmp edx, 0x479920ed
jne 0x140072e17
movdqa xmm0, xmmword [0x140102d40]
lea rax, [r9 + 4]
movd xmm7, eax
shr rax, 0x20
movd xmm11, eax
por xmm11, xmmword [rsp + 0x40]
movdqa xmm12, xmm11
pslldq xmm12, 8
shufps xmm12, xmm11, 0xe8
movdqa xmm11, xmm4
paddd xmm11, xmm0
por xmm7, xmm12
movdqa xmm12, xmm3
paddd xmm12, xmm0
movdqa xmmword [rcx + 0x20], xmm7
movdqa xmm7, xmm2
paddd xmm7, xmm0
paddd xmm0, xmm1
movdqu xmmword [r8], xmm0
movdqu xmmword [r8 + 0x10], xmm13
movdqu xmmword [r8 + 0x20], xmm9
movdqu xmmword [r8 + 0x30], xmm5
movdqu xmmword [r8 + 0x40], xmm7
movdqu xmmword [r8 + 0x50], xmm8
movdqu xmmword [r8 + 0x60], xmm15
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r8 + 0x70], xmm0
movdqu xmmword [r8 + 0x80], xmm12
movdqu xmmword [r8 + 0x90], xmm6
movaps xmm0, xmmword [rsp]
movups xmmword [r8 + 0xa0], xmm0
movaps xmm0, xmmword [rsp + 0x10]
movups xmmword [r8 + 0xb0], xmm0
movdqu xmmword [r8 + 0xc0], xmm11
movdqu xmmword [r8 + 0xd0], xmm10
movdqu xmmword [r8 + 0xe0], xmm14
movdqa xmm0, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0xf0], xmm0
jmp 0x140072c27
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm11, xmmword [rsp + 0xf0]
movaps xmm12, xmmword [rsp + 0x100]
movaps xmm13, xmmword [rsp + 0x110]
movaps xmm14, xmmword [rsp + 0x120]
movaps xmm15, xmmword [rsp + 0x130]
add rsp, 0x148
ret