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

Disassembly:
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm15
movaps xmmword [rsp + 0x110], xmm14
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xf0], xmm12
movaps xmmword [rsp + 0xe0], xmm11
movaps xmmword [rsp + 0xd0], xmm10
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm6
mov r8, rdx
nop word cs:[rax + rax]
mov eax, dword [0x141dca2a0]
add eax, dword [0x141dca2a4]
shr eax, 3
imul rax, rax, 0x90861b7
shr rax, 0x38
imul eax, eax, 0x8aa3b898
cmp eax, 0x36132596
je 0x1400723b0
mov eax, dword [0x141dca2a8]
xor edx, edx
div dword [0x141dca2ac]
nop word cs:[rax + rax]
mov eax, dword [0x141dca2b0]
mov edx, dword [0x141dca2b4]
add eax, edx
add eax, 0x4a254490
and eax, 0x46b34aec
add eax, 0x68ba0f62
cmp eax, 0x814a35b3
jb 0x1400723f0
mov rax, qword [rcx + 0x20]
lea rdx, [rax + 1]
movdqa xmm0, xmmword [rcx + 0x20]
movdqa xmm3, xmm0
pinsrd xmm3, edx, 0
shr rdx, 0x20
lea r9, [rax + 2]
movdqa xmm1, xmm0
pinsrd xmm1, r9d, 0
shr r9, 0x20
pinsrd xmm3, edx, 1
pinsrd xmm1, r9d, 1
lea rdx, [rax + 3]
movdqa xmm2, xmm0
pinsrd xmm2, edx, 0
shr rdx, 0x20
pinsrd xmm2, edx, 1
movdqa xmm6, xmmword [rcx]
movdqa xmm12, xmmword [rcx + 0x10]
movdqa xmm9, xmmword [0x140101d30]
mov edx, 6
movdqa xmmword [rsp + 0x70], xmm2
movdqa xmm10, xmm2
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmm11, xmm1
movdqa xmm2, xmm9
movdqa xmm1, xmm9
movdqa xmm4, xmm9
movdqa xmmword [rsp + 0x30], xmm3
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm7, xmm0
movdqa xmm13, xmm12
movdqa xmmword [rsp + 0x20], xmm12
movdqa xmm14, xmm12
movdqa xmm15, xmm6
movdqa xmm8, xmm6
movdqa xmm5, xmm6
nop word cs:[rax + rax]
paddd xmm9, xmm8
paddd xmm2, xmm5
paddd xmm1, xmm15
paddd xmm4, xmm6
pxor xmm7, xmm9
pxor xmm3, xmm2
pxor xmm11, xmm1
pxor xmm10, xmm4
pshuflw xmm0, xmm7, 0xb1
pshufhw xmm7, xmm0, 0xb1
pshuflw xmm0, xmm3, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm3, xmm11, 0xb1
pshufhw xmm11, xmm3, 0xb1
pshuflw xmm3, xmm10, 0xb1
pshufhw xmm10, xmm3, 0xb1
paddd xmm14, xmm7
movdqa xmm3, xmm14
movdqa xmmword [rsp + 0x10], xmm14
movdqa xmm14, xmmword [rsp + 0x20]
paddd xmm14, xmm0
paddd xmm13, xmm11
movdqa xmmword [rsp], xmm13
paddd xmm12, xmm10
pxor xmm8, xmm3
pxor xmm5, xmm14
pxor xmm15, xmm13
pxor xmm6, xmm12
movdqa xmm3, xmm8
psrld xmm3, 0x14
pslld xmm8, 0xc
por xmm8, xmm3
movdqa xmm3, xmm5
psrld xmm3, 0x14
pslld xmm5, 0xc
por xmm5, xmm3
movdqa xmm3, xmm15
psrld xmm3, 0x14
pslld xmm15, 0xc
por xmm15, xmm3
movdqa xmm3, xmm6
psrld xmm3, 0x14
pslld xmm6, 0xc
por xmm6, xmm3
paddd xmm9, xmm8
paddd xmm2, xmm5
paddd xmm1, xmm15
paddd xmm4, xmm6
movdqa xmm3, xmm9
movdqa xmm13, xmmword [0x140101900]
pshufb xmm3, xmm13
pshufb xmm7, xmm13
pxor xmm7, xmm3
movdqa xmm3, xmm2
pshufb xmm3, xmm13
pshufb xmm0, xmm13
pxor xmm0, xmm3
movdqa xmm3, xmm1
pshufb xmm3, xmm13
pshufb xmm11, xmm13
pxor xmm11, xmm3
movdqa xmm3, xmm4
pshufb xmm3, xmm13
pshufb xmm10, xmm13
pxor xmm10, xmm3
movdqa xmm13, xmmword [rsp + 0x10]
paddd xmm13, xmm7
paddd xmm14, xmm0
movdqa xmm3, xmmword [rsp]
paddd xmm3, xmm11
movdqa xmmword [rsp], xmm3
paddd xmm12, xmm10
pxor xmm8, xmm13
pxor xmm5, xmm14
pxor xmm15, xmm3
pxor xmm6, xmm12
movdqa xmm3, xmm8
psrld xmm3, 0x19
pslld xmm8, 7
por xmm8, xmm3
movdqa xmm3, xmm5
psrld xmm3, 0x19
pslld xmm5, 7
por xmm5, xmm3
movdqa xmm3, xmm15
psrld xmm3, 0x19
pslld xmm15, 7
por xmm15, xmm3
movdqa xmm3, xmm6
psrld xmm3, 0x19
pslld xmm6, 7
por xmm6, xmm3
pshufd xmm8, xmm8, 0x39
pshufd xmm5, xmm5, 0x39
pshufd xmm15, xmm15, 0x39
pshufd xmm6, xmm6, 0x39
pshufd xmm3, xmm13, 0x4e
movdqa xmmword [rsp + 0x20], xmm3
pshufd xmm13, xmm14, 0x4e
movdqa xmm3, xmm12
pshufd xmm14, xmmword [rsp], 0x4e
pshufd xmm3, xmm12, 0x4e
movdqa xmmword [rsp], xmm3
paddd xmm9, xmm8
paddd xmm2, xmm5
paddd xmm1, xmm15
paddd xmm4, xmm6
pshuflw xmm3, xmm9, 0xb1
pshufhw xmm3, xmm3, 0xb1
movdqa xmm12, xmmword [0x140101d60]
pshufb xmm7, xmm12
pxor xmm7, xmm3
pshuflw xmm3, xmm2, 0xb1
pshufhw xmm3, xmm3, 0xb1
pshufb xmm0, xmm12
pxor xmm0, xmm3
pshuflw xmm3, xmm1, 0xb1
pshufhw xmm3, xmm3, 0xb1
pshufb xmm11, xmm12
pxor xmm11, xmm3
pshuflw xmm3, xmm4, 0xb1
pshufhw xmm3, xmm3, 0xb1
pshufb xmm10, xmm12
pxor xmm10, xmm3
movdqa xmm12, xmmword [rsp + 0x20]
paddd xmm12, xmm7
paddd xmm13, xmm0
paddd xmm14, xmm11
movdqa xmm3, xmmword [rsp]
paddd xmm3, xmm10
movdqa xmmword [rsp], xmm3
pxor xmm8, xmm12
pxor xmm5, xmm13
pxor xmm15, xmm14
pxor xmm6, xmm3
movdqa xmm3, xmm8
psrld xmm3, 0x14
pslld xmm8, 0xc
por xmm8, xmm3
movdqa xmm3, xmm5
psrld xmm3, 0x14
pslld xmm5, 0xc
por xmm5, xmm3
movdqa xmm3, xmm15
psrld xmm3, 0x14
pslld xmm15, 0xc
por xmm15, xmm3
movdqa xmm3, xmm6
psrld xmm3, 0x14
pslld xmm6, 0xc
por xmm6, xmm3
paddd xmm9, xmm8
paddd xmm2, xmm5
paddd xmm1, xmm15
paddd xmm4, xmm6
pxor xmm7, xmm9
pxor xmm0, xmm2
pxor xmm11, xmm1
pxor xmm10, xmm4
movdqa xmm3, xmmword [0x140101900]
pshufb xmm7, xmm3
pshufb xmm0, xmm3
pshufb xmm11, xmm3
pshufb xmm10, xmm3
paddd xmm12, xmm7
paddd xmm13, xmm0
paddd xmm14, xmm11
movdqa xmmword [rsp + 0x10], xmm14
movdqa xmm3, xmmword [rsp]
paddd xmm3, xmm10
movdqa xmmword [rsp], xmm3
pxor xmm8, xmm12
pxor xmm5, xmm13
pxor xmm15, xmm14
pxor xmm6, xmm3
movdqa xmm3, xmm8
psrld xmm3, 0x19
pslld xmm8, 7
por xmm8, xmm3
movdqa xmm3, xmm5
psrld xmm3, 0x19
pslld xmm5, 7
por xmm5, xmm3
movdqa xmm3, xmm15
psrld xmm3, 0x19
pslld xmm15, 7
por xmm15, xmm3
movdqa xmm3, xmm6
psrld xmm3, 0x19
pslld xmm6, 7
por xmm6, xmm3
pshufd xmm8, xmm8, 0x93
pshufd xmm5, xmm5, 0x93
pshufd xmm15, xmm15, 0x93
pshufd xmm6, xmm6, 0x93
pshufd xmm14, xmm12, 0x4e
pshufd xmm3, xmm13, 0x4e
movdqa xmmword [rsp + 0x20], xmm3
pshufd xmm13, xmmword [rsp + 0x10], 0x4e
pshufd xmm12, xmmword [rsp], 0x4e
pshufd xmm7, xmm7, 0x39
pshufd xmm3, xmm0, 0x39
pshufd xmm11, xmm11, 0x39
pshufd xmm10, xmm10, 0x39
dec edx
jne 0x1400724e0
mov edx, dword [0x141dca2b8]
sub edx, dword [0x141dca2bc]
mov r9d, 0xa36492e9
imul r9, rdx
xor edx, edx
bt r9, 0x3e
adc edx, 0x32041af
movdqa xmmword [rsp + 0x50], xmm12
movdqa xmm12, xmmword [rsp + 0x40]
paddd xmm7, xmm12
movdqa xmmword [rsp + 0x60], xmm7
paddd xmm3, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm3
paddd xmm11, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x10], xmm11
paddd xmm10, xmmword [rsp + 0x70]
movdqa xmmword [rsp], xmm10
cmp edx, 0xfa0beeee
ja 0x140072ac6
lea rdx, [rax + 4]
movdqa xmm0, xmm12
pinsrd xmm0, edx, 0
shr rdx, 0x20
movdqa xmm3, xmmword [0x140101d30]
movdqa xmm10, xmm4
paddd xmm10, xmm3
movdqa xmm11, xmm1
paddd xmm11, xmm3
movdqa xmm7, xmmword [rcx]
movdqa xmm12, xmmword [rcx + 0x10]
pinsrd xmm0, edx, 1
movdqa xmmword [rcx + 0x20], xmm0
movdqa xmm0, xmm2
paddd xmm0, xmm3
paddd xmm3, xmm9
movdqu xmmword [r8], xmm3
movdqa xmm3, xmm8
paddd xmm3, xmm7
movdqu xmmword [r8 + 0x10], xmm3
movdqa xmm3, xmm14
paddd xmm3, xmm12
movdqu xmmword [r8 + 0x20], xmm3
movdqa xmm3, xmmword [rsp + 0x60]
movdqu xmmword [r8 + 0x30], xmm3
movdqu xmmword [r8 + 0x40], xmm0
movdqa xmm0, xmm5
paddd xmm0, xmm7
movdqu xmmword [r8 + 0x50], xmm0
movdqa xmm0, xmmword [rsp + 0x20]
paddd xmm0, xmm12
movdqu xmmword [r8 + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r8 + 0x70], xmm0
movdqu xmmword [r8 + 0x80], xmm11
movdqa xmm0, xmm15
paddd xmm0, xmm7
movdqu xmmword [r8 + 0x90], xmm0
movdqa xmm0, xmm13
paddd xmm0, xmm12
movdqu xmmword [r8 + 0xa0], xmm0
movaps xmm0, xmmword [rsp + 0x10]
movups xmmword [r8 + 0xb0], xmm0
movdqu xmmword [r8 + 0xc0], xmm10
paddd xmm7, xmm6
movdqu xmmword [r8 + 0xd0], xmm7
paddd xmm12, xmmword [rsp + 0x50]
movdqu xmmword [r8 + 0xe0], xmm12
mov edx, dword [0x141dca2c0]
sub edx, dword [0x141dca2c4]
imul rdx, rdx, 0x32c40723
shr rdx, 0x36
xor edx, 0xa15a2fd3
add edx, 0x98a20de9
movdqa xmm0, xmmword [rsp]
movdqu xmmword [r8 + 0xf0], xmm0
cmp edx, 0xfc17c87
jae 0x140072bf8
movdqa xmm7, xmmword [0x140101d30]
movdqa xmm10, xmm4
paddd xmm10, xmm7
movdqa xmm3, xmm1
paddd xmm3, xmm7
movdqa xmm0, xmmword [rcx]
movdqa xmm11, xmmword [rcx + 0x10]
lea rdx, [rax + 4]
movdqa xmm12, xmmword [rsp + 0x40]
pinsrd xmm12, edx, 0
shr rdx, 0x20
pinsrd xmm12, edx, 1
movdqa xmmword [rcx + 0x20], xmm12
movdqa xmm12, xmm2
paddd xmm12, xmm7
paddd xmm7, xmm9
movdqu xmmword [r8], xmm7
movdqa xmm7, xmm8
paddd xmm7, xmm0
movdqu xmmword [r8 + 0x10], xmm7
movdqa xmm7, xmm14
paddd xmm7, xmm11
movdqu xmmword [r8 + 0x20], xmm7
movaps xmm7, xmmword [rsp + 0x60]
movups xmmword [r8 + 0x30], xmm7
movdqu xmmword [r8 + 0x40], xmm12
movdqa xmm12, xmmword [rsp + 0x40]
movdqa xmm7, xmm5
paddd xmm7, xmm0
movdqu xmmword [r8 + 0x50], xmm7
movdqa xmm7, xmmword [rsp + 0x20]
paddd xmm7, xmm11
movdqu xmmword [r8 + 0x60], xmm7
movdqa xmm7, xmmword [rsp + 0x30]
movdqu xmmword [r8 + 0x70], xmm7
movdqu xmmword [r8 + 0x80], xmm3
movdqa xmm3, xmm15
paddd xmm3, xmm0
movdqu xmmword [r8 + 0x90], xmm3
movdqa xmm3, xmm13
paddd xmm3, xmm11
movdqu xmmword [r8 + 0xa0], xmm3
movdqa xmm3, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0xb0], xmm3
movdqu xmmword [r8 + 0xc0], xmm10
paddd xmm0, xmm6
movdqu xmmword [r8 + 0xd0], xmm0
paddd xmm11, xmmword [rsp + 0x50]
movdqu xmmword [r8 + 0xe0], xmm11
movdqa xmm0, xmmword [rsp]
movdqu xmmword [r8 + 0xf0], xmm0
jmp 0x140072978
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x100]
movaps xmm14, xmmword [rsp + 0x110]
movaps xmm15, xmmword [rsp + 0x120]
add rsp, 0x138
ret