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

Disassembly:
push rsi
sub rsp, 0x130
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
movdqa xmm7, xmmword [rcx + 0x20]
mov rax, qword [rcx + 0x20]
lea r11, [rax + 1]
mov r10, r11
shr r10, 0x20
lea r9, [rax + 2]
mov r8, r9
shr r8, 0x20
nop
mov esi, dword [0x141dc8050]
sub esi, dword [0x141dc8054]
add esi, 0x747831a
and esi, 0x1000023
cmp esi, 0x67a24024
ja 0x140070af0
movdqa xmm0, xmm7
pinsrd xmm0, r11d, 0
pinsrd xmm0, r10d, 1
movdqa xmm8, xmm7
pinsrd xmm8, r9d, 0
lea r10, [rax + 3]
mov r9, r10
shr r9, 0x20
pinsrd xmm8, r8d, 1
mov r8d, dword [0x141dc8058]
or r8d, dword [0x141dc805c]
and r8d, 0x2c6a8fe
add r8d, 0x1cf9635
and r8d, 0x71e0cf8
cmp r8d, 0x51bc3f7
je 0x140070b40
movdqa xmm9, xmm7
pinsrd xmm9, r10d, 0
pinsrd xmm9, r9d, 1
movdqa xmm11, xmmword [rcx]
movdqa xmm12, xmmword [rcx + 0x10]
movdqa xmm13, xmmword [0x1400ffd50]
mov r8d, 6
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmm2, xmm13
movdqa xmm3, xmm13
movdqa xmm4, xmm13
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm7
movdqa xmm10, xmm12
movdqa xmm14, xmm12
movdqa xmm1, xmm12
movdqa xmm15, xmm11
movdqa xmm6, xmm11
movdqa xmm5, xmm11
paddd xmm13, xmm6
movdqa xmmword [rsp + 0x10], xmm13
paddd xmm2, xmm5
movdqa xmmword [rsp], xmm2
paddd xmm3, xmm15
paddd xmm4, xmm11
pxor xmm7, xmm13
pxor xmm0, xmm2
pxor xmm8, xmm3
pxor xmm9, xmm4
pshuflw xmm7, xmm7, 0xb1
pshufhw xmm7, xmm7, 0xb1
pshuflw xmm0, xmm0, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm8, xmm8, 0xb1
pshufhw xmm13, xmm8, 0xb1
pshuflw xmm8, xmm9, 0xb1
pshufhw xmm2, xmm8, 0xb1
paddd xmm1, xmm7
paddd xmm14, xmm0
paddd xmm10, xmm13
movdqa xmmword [rsp + 0x20], xmm10
paddd xmm12, xmm2
pxor xmm6, xmm1
pxor xmm5, xmm14
pxor xmm15, xmm10
pxor xmm11, xmm12
movdqa xmm10, xmm6
psrld xmm10, 0x14
pslld xmm6, 0xc
por xmm6, xmm10
movdqa xmm10, xmm5
psrld xmm10, 0x14
pslld xmm5, 0xc
por xmm5, xmm10
movdqa xmm10, xmm15
psrld xmm10, 0x14
pslld xmm15, 0xc
por xmm15, xmm10
movdqa xmm10, xmm11
psrld xmm10, 0x14
pslld xmm11, 0xc
por xmm11, xmm10
movdqa xmm9, xmmword [rsp + 0x10]
paddd xmm9, xmm6
movdqa xmmword [rsp + 0x10], xmm9
movdqa xmm8, xmmword [rsp]
paddd xmm8, xmm5
movdqa xmmword [rsp], xmm8
paddd xmm3, xmm15
paddd xmm4, xmm11
movdqa xmm10, xmmword [rsp + 0x10]
movdqa xmm9, xmm12
movdqa xmm12, xmmword [0x1400ff900]
pshufb xmm10, xmm12
pshufb xmm7, xmm12
pxor xmm7, xmm10
movdqa xmm10, xmmword [rsp]
pshufb xmm10, xmm12
pshufb xmm0, xmm12
pxor xmm0, xmm10
movdqa xmm10, xmm3
pshufb xmm10, xmm12
pshufb xmm13, xmm12
pxor xmm13, xmm10
movdqa xmm10, xmm4
pshufb xmm10, xmm12
pshufb xmm2, xmm12
pxor xmm2, xmm10
paddd xmm1, xmm7
paddd xmm14, xmm0
movdqa xmm8, xmmword [rsp + 0x20]
paddd xmm8, xmm13
paddd xmm9, xmm2
pxor xmm6, xmm1
pxor xmm5, xmm14
pxor xmm15, xmm8
pxor xmm11, xmm9
movdqa xmm12, xmm9
movdqa xmm10, xmm6
psrld xmm10, 0x19
pslld xmm6, 7
por xmm6, xmm10
movdqa xmm10, xmm5
psrld xmm10, 0x19
pslld xmm5, 7
por xmm5, xmm10
movdqa xmm10, xmm15
psrld xmm10, 0x19
pslld xmm15, 7
por xmm15, xmm10
movdqa xmm10, xmm11
psrld xmm10, 0x19
pslld xmm11, 7
por xmm11, xmm10
pshufd xmm10, xmm6, 0x39
pshufd xmm5, xmm5, 0x39
pshufd xmm15, xmm15, 0x39
pshufd xmm11, xmm11, 0x39
pshufd xmm1, xmm1, 0x4e
movdqa xmmword [rsp + 0x20], xmm1
pshufd xmm9, xmm14, 0x4e
pshufd xmm14, xmm8, 0x4e
pshufd xmm8, xmm12, 0x4e
movdqa xmm1, xmmword [rsp + 0x10]
paddd xmm1, xmm10
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmm1, xmmword [rsp]
paddd xmm1, xmm5
movdqa xmmword [rsp], xmm1
paddd xmm3, xmm15
paddd xmm4, xmm11
pshuflw xmm6, xmmword [rsp + 0x10], 0xb1
pshufhw xmm6, xmm6, 0xb1
movdqa xmm12, xmmword [0x1400ffd80]
pshufb xmm7, xmm12
pxor xmm7, xmm6
pshuflw xmm6, xmmword [rsp], 0xb1
pshufhw xmm6, xmm6, 0xb1
pshufb xmm0, xmm12
pxor xmm0, xmm6
pshuflw xmm6, xmm3, 0xb1
pshufhw xmm6, xmm6, 0xb1
pshufb xmm13, xmm12
pxor xmm13, xmm6
pshuflw xmm6, xmm4, 0xb1
pshufhw xmm6, xmm6, 0xb1
pshufb xmm2, xmm12
pxor xmm2, xmm6
movdqa xmm12, xmmword [rsp + 0x20]
paddd xmm12, xmm7
paddd xmm9, xmm0
paddd xmm14, xmm13
paddd xmm8, xmm2
pxor xmm10, xmm12
pxor xmm5, xmm9
pxor xmm15, xmm14
pxor xmm11, xmm8
movdqa xmm6, xmm10
psrld xmm6, 0x14
pslld xmm10, 0xc
por xmm10, xmm6
movdqa xmm6, xmm5
psrld xmm6, 0x14
pslld xmm5, 0xc
por xmm5, xmm6
movdqa xmm6, xmm15
psrld xmm6, 0x14
pslld xmm15, 0xc
por xmm15, xmm6
movdqa xmm6, xmm11
psrld xmm6, 0x14
pslld xmm11, 0xc
por xmm11, xmm6
movdqa xmm1, xmmword [rsp + 0x10]
paddd xmm1, xmm10
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmm1, xmmword [rsp]
paddd xmm1, xmm5
movdqa xmmword [rsp], xmm1
paddd xmm3, xmm15
paddd xmm4, xmm11
pxor xmm7, xmmword [rsp + 0x10]
pxor xmm0, xmmword [rsp]
pxor xmm13, xmm3
pxor xmm2, xmm4
movdqa xmm1, xmmword [0x1400ff900]
pshufb xmm7, xmm1
pshufb xmm0, xmm1
pshufb xmm13, xmm1
pshufb xmm2, xmm1
paddd xmm12, xmm7
paddd xmm9, xmm0
paddd xmm14, xmm13
movdqa xmmword [rsp + 0x20], xmm14
paddd xmm8, xmm2
pxor xmm10, xmm12
pxor xmm5, xmm9
pxor xmm15, xmm14
pxor xmm11, xmm8
movdqa xmm6, xmm10
psrld xmm6, 0x19
pslld xmm10, 7
por xmm10, xmm6
movdqa xmm6, xmm5
psrld xmm6, 0x19
pslld xmm5, 7
por xmm5, xmm6
movdqa xmm6, xmm15
psrld xmm6, 0x19
pslld xmm15, 7
por xmm15, xmm6
movdqa xmm6, xmm11
psrld xmm6, 0x19
pslld xmm11, 7
por xmm11, xmm6
pshufd xmm6, xmm10, 0x93
pshufd xmm5, xmm5, 0x93
pshufd xmm15, xmm15, 0x93
pshufd xmm11, xmm11, 0x93
pshufd xmm1, xmm12, 0x4e
pshufd xmm14, xmm9, 0x4e
pshufd xmm10, xmmword [rsp + 0x20], 0x4e
pshufd xmm12, xmm8, 0x4e
pshufd xmm7, xmm7, 0x39
pshufd xmm0, xmm0, 0x39
pshufd xmm8, xmm13, 0x39
movdqa xmm13, xmmword [rsp + 0x10]
pshufd xmm9, xmm2, 0x39
movdqa xmm2, xmmword [rsp]
dec r8d
jne 0x140070be0
movdqa xmmword [rsp + 0x20], xmm10
mov r8d, dword [0x141dc8060]
xor r8d, dword [0x141dc8064]
imul r8d, r8d, 0xd8cb15ab
or r8d, 0xb4f04f9f
paddd xmm7, xmmword [rsp + 0x60]
paddd xmm0, xmmword [rsp + 0x50]
paddd xmm8, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm8
paddd xmm9, xmmword [rsp + 0x30]
cmp r8d, 0x31569eb3
movdqa xmm10, xmm14
movdqa xmmword [rsp + 0x50], xmm9
jne 0x1400711fe
movdqa xmm9, xmmword [0x1400ffd50]
movdqa xmm8, xmm4
paddd xmm8, xmm9
movdqa xmmword [rsp + 0x80], xmm8
movdqa xmm8, xmm3
paddd xmm8, xmm9
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm1, xmmword [rcx]
movdqa xmm14, xmmword [rcx + 0x10]
lea r8, [rax + 4]
movdqa xmmword [rsp + 0x70], xmm10
movdqa xmm10, xmmword [rsp + 0x60]
pinsrd xmm10, r8d, 0
shr r8, 0x20
pinsrd xmm10, r8d, 1
movdqa xmmword [rcx + 0x20], xmm10
movdqa xmm10, xmm2
paddd xmm10, xmm9
paddd xmm9, xmm13
movdqu xmmword [rdx], xmm9
movdqa xmm9, xmm6
paddd xmm9, xmm1
movdqu xmmword [rdx + 0x10], xmm9
movdqa xmm9, xmmword [rsp + 0x30]
paddd xmm9, xmm14
movdqu xmmword [rdx + 0x20], xmm9
movdqu xmmword [rdx + 0x30], xmm7
movdqu xmmword [rdx + 0x40], xmm10
movdqa xmm10, xmmword [rsp + 0x70]
movdqa xmm9, xmm5
paddd xmm9, xmm1
movdqu xmmword [rdx + 0x50], xmm9
movdqa xmm9, xmm10
paddd xmm9, xmm14
movdqu xmmword [rdx + 0x60], xmm9
movdqa xmm9, xmmword [rsp + 0x50]
movdqu xmmword [rdx + 0x70], xmm0
movdqu xmmword [rdx + 0x80], xmm8
movdqa xmm8, xmm15
paddd xmm8, xmm1
movdqu xmmword [rdx + 0x90], xmm8
movdqa xmm8, xmmword [rsp + 0x20]
paddd xmm8, xmm14
movdqu xmmword [rdx + 0xa0], xmm8
movaps xmm8, xmmword [rsp + 0x40]
movups xmmword [rdx + 0xb0], xmm8
movdqa xmm8, xmmword [rsp + 0x80]
movdqu xmmword [rdx + 0xc0], xmm8
paddd xmm1, xmm11
movdqu xmmword [rdx + 0xd0], xmm1
movdqa xmm1, xmmword [rsp + 0x30]
paddd xmm14, xmm12
movdqu xmmword [rdx + 0xe0], xmm14
movdqu xmmword [rdx + 0xf0], xmm9
add rax, 4
mov r8, rax
shr r8, 0x20
movdqa xmm8, xmmword [0x1400ffd50]
paddd xmm4, xmm8
paddd xmm3, xmm8
paddd xmm2, xmm8
paddd xmm13, xmm8
movdqa xmm14, xmm10
nop dword [rax + rax]
movdqa xmm8, xmmword [rcx]
movdqa xmm10, xmmword [rsp + 0x60]
pinsrd xmm10, eax, 0
movdqa xmm9, xmmword [rcx + 0x10]
pinsrd xmm10, r8d, 1
movdqa xmmword [rcx + 0x20], xmm10
movdqu xmmword [rdx], xmm13
movdqa xmm10, xmm6
paddd xmm10, xmm8
movdqu xmmword [rdx + 0x10], xmm10
movdqa xmm10, xmm1
paddd xmm10, xmm9
movdqu xmmword [rdx + 0x20], xmm10
movdqu xmmword [rdx + 0x30], xmm7
movdqu xmmword [rdx + 0x40], xmm2
movdqa xmm10, xmm5
paddd xmm10, xmm8
movdqu xmmword [rdx + 0x50], xmm10
movdqa xmm10, xmm14
paddd xmm10, xmm9
movdqu xmmword [rdx + 0x60], xmm10
movdqu xmmword [rdx + 0x70], xmm0
movdqu xmmword [rdx + 0x80], xmm3
movdqa xmm10, xmm15
paddd xmm10, xmm8
movdqu xmmword [rdx + 0x90], xmm10
movdqa xmm10, xmmword [rsp + 0x20]
paddd xmm10, xmm9
movdqu xmmword [rdx + 0xa0], xmm10
movdqa xmm10, xmmword [rsp + 0x40]
movdqu xmmword [rdx + 0xb0], xmm10
movdqu xmmword [rdx + 0xc0], xmm4
paddd xmm8, xmm11
movdqu xmmword [rdx + 0xd0], xmm8
paddd xmm9, xmm12
movdqu xmmword [rdx + 0xe0], xmm9
movdqa xmm9, xmmword [rsp + 0x50]
mov r9d, dword [0x141dc8068]
xor r9d, dword [0x141dc806c]
or r9d, 0x2d796370
xor r9d, 0x1429e6d4
movdqu xmmword [rdx + 0xf0], xmm9
cmp r9d, 0xbf773928
ja 0x140071230
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, 0x130
pop rsi
ret