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

Disassembly:
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm15
movaps xmmword [rsp + 0x100], xmm14
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm12
movaps xmmword [rsp + 0xd0], xmm11
movaps xmmword [rsp + 0xc0], xmm10
movaps xmmword [rsp + 0xb0], xmm9
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0x80], xmm6
mov r8, rdx
mov r9d, 0x916898ed
nop dword [rax + rax]
mov eax, dword [0x141f38740]
xor edx, edx
div dword [0x141f38744]
imul rax, r9
shr rax, 0x3f
or eax, 0x30278a22
cmp eax, 0xb0ff0a68
ja 0x140077c00
mov rax, qword [rcx + 0x20]
lea rdx, [rax + 1]
movdqa xmm10, xmmword [rcx + 0x20]
movdqa xmm11, xmm10
pinsrd xmm11, edx, 0
shr rdx, 0x20
lea r9, [rax + 2]
movdqa xmm12, xmm10
pinsrd xmm12, r9d, 0
shr r9, 0x20
pinsrd xmm11, edx, 1
pinsrd xmm12, r9d, 1
lea rdx, [rax + 3]
movdqa xmm13, xmm10
pinsrd xmm13, edx, 0
shr rdx, 0x20
pinsrd xmm13, edx, 1
movdqa xmm8, xmmword [rcx]
movdqa xmm9, xmmword [rcx + 0x10]
movdqa xmm6, xmmword [0x140108d40]
mov edx, 6
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmm7, xmm6
movdqa xmm5, xmm6
movdqa xmm4, xmm6
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x30], xmm10
movdqa xmm14, xmm9
movdqa xmm0, xmm9
movdqa xmm2, xmm9
movdqa xmm15, xmm8
movdqa xmm3, xmm8
movdqa xmm1, xmm8
nop dword [rax + rax]
paddd xmm6, xmm3
paddd xmm7, xmm1
paddd xmm5, xmm15
paddd xmm4, xmm8
movdqa xmmword [rsp + 0x40], xmm4
pxor xmm10, xmm6
pxor xmm11, xmm7
pxor xmm12, xmm5
pxor xmm13, xmm4
pshuflw xmm10, xmm10, 0xb1
pshufhw xmm4, xmm10, 0xb1
movdqa xmmword [rsp + 0x10], xmm4
pshuflw xmm11, xmm11, 0xb1
pshufhw xmm10, xmm11, 0xb1
movdqa xmmword [rsp + 0x20], xmm10
pshuflw xmm12, xmm12, 0xb1
pshufhw xmm12, xmm12, 0xb1
pshuflw xmm13, xmm13, 0xb1
pshufhw xmm13, xmm13, 0xb1
paddd xmm2, xmm4
movdqa xmm4, xmmword [rsp + 0x40]
paddd xmm0, xmm10
paddd xmm14, xmm12
paddd xmm9, xmm13
movdqa xmmword [rsp], xmm9
pxor xmm3, xmm2
pxor xmm1, xmm0
pxor xmm15, xmm14
pxor xmm8, xmm9
movdqa xmm9, xmm3
psrld xmm9, 0x14
pslld xmm3, 0xc
por xmm3, xmm9
movdqa xmm9, xmm1
psrld xmm9, 0x14
pslld xmm1, 0xc
por xmm1, xmm9
movdqa xmm9, xmm15
psrld xmm9, 0x14
pslld xmm15, 0xc
por xmm15, xmm9
movdqa xmm9, xmm8
psrld xmm9, 0x14
pslld xmm8, 0xc
por xmm8, xmm9
paddd xmm6, xmm3
paddd xmm7, xmm1
paddd xmm5, xmm15
paddd xmm4, xmm8
movdqa xmm9, xmm6
movdqa xmm11, xmmword [0x140108900]
pshufb xmm9, xmm11
movdqa xmm10, xmmword [rsp + 0x10]
pshufb xmm10, xmm11
pxor xmm10, xmm9
movdqa xmmword [rsp + 0x10], xmm10
movdqa xmm9, xmm7
pshufb xmm9, xmm11
movdqa xmm10, xmmword [rsp + 0x20]
pshufb xmm10, xmm11
pxor xmm10, xmm9
movdqa xmmword [rsp + 0x20], xmm10
movdqa xmm9, xmm5
pshufb xmm9, xmm11
pshufb xmm12, xmm11
pxor xmm12, xmm9
movdqa xmm9, xmm4
pshufb xmm9, xmm11
pshufb xmm13, xmm11
pxor xmm13, xmm9
movdqa xmm11, xmmword [rsp + 0x10]
paddd xmm2, xmm11
paddd xmm0, xmm10
paddd xmm14, xmm12
movdqa xmm9, xmmword [rsp]
paddd xmm9, xmm13
pxor xmm3, xmm2
pxor xmm1, xmm0
pxor xmm15, xmm14
pxor xmm8, xmm9
movdqa xmm10, xmm9
movdqa xmm9, xmm3
psrld xmm9, 0x19
pslld xmm3, 7
por xmm3, xmm9
movdqa xmm9, xmm1
psrld xmm9, 0x19
pslld xmm1, 7
por xmm1, xmm9
movdqa xmm9, xmm15
psrld xmm9, 0x19
pslld xmm15, 7
por xmm15, xmm9
movdqa xmm9, xmm8
psrld xmm9, 0x19
pslld xmm8, 7
por xmm8, xmm9
pshufd xmm3, xmm3, 0x39
pshufd xmm1, xmm1, 0x39
pshufd xmm15, xmm15, 0x39
pshufd xmm8, xmm8, 0x39
pshufd xmm2, xmm2, 0x4e
movdqa xmmword [rsp + 0x40], xmm2
pshufd xmm0, xmm0, 0x4e
movdqa xmmword [rsp], xmm0
pshufd xmm14, xmm14, 0x4e
pshufd xmm9, xmm10, 0x4e
paddd xmm6, xmm3
paddd xmm7, xmm1
paddd xmm5, xmm15
paddd xmm4, xmm8
pshuflw xmm0, xmm6, 0xb1
pshufhw xmm0, xmm0, 0xb1
movdqa xmm2, xmmword [0x140108d80]
movdqa xmm10, xmm11
pshufb xmm10, xmm2
pxor xmm10, xmm0
pshuflw xmm0, xmm7, 0xb1
pshufhw xmm0, xmm0, 0xb1
movdqa xmm11, xmmword [rsp + 0x20]
pshufb xmm11, xmm2
pxor xmm11, xmm0
pshuflw xmm0, xmm5, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshufb xmm12, xmm2
pxor xmm12, xmm0
pshuflw xmm0, xmm4, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshufb xmm13, xmm2
pxor xmm13, xmm0
movdqa xmm2, xmmword [rsp + 0x40]
paddd xmm2, xmm10
movdqa xmm0, xmmword [rsp]
paddd xmm0, xmm11
movdqa xmmword [rsp], xmm0
paddd xmm14, xmm12
paddd xmm9, xmm13
pxor xmm3, xmm2
pxor xmm1, xmm0
pxor xmm15, xmm14
pxor xmm8, xmm9
movdqa xmm0, xmm3
psrld xmm0, 0x14
pslld xmm3, 0xc
por xmm3, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x14
pslld xmm1, 0xc
por xmm1, xmm0
movdqa xmm0, xmm15
psrld xmm0, 0x14
pslld xmm15, 0xc
por xmm15, xmm0
movdqa xmm0, xmm8
psrld xmm0, 0x14
pslld xmm8, 0xc
por xmm8, xmm0
paddd xmm6, xmm3
paddd xmm7, xmm1
paddd xmm5, xmm15
paddd xmm4, xmm8
pxor xmm10, xmm6
movdqa xmm0, xmm11
pxor xmm0, xmm7
pxor xmm12, xmm5
pxor xmm13, xmm4
movdqa xmm11, xmmword [0x140108900]
pshufb xmm10, xmm11
movdqa xmmword [rsp + 0x10], xmm10
pshufb xmm0, xmm11
pshufb xmm12, xmm11
pshufb xmm13, xmm11
paddd xmm2, xmm10
movdqa xmm10, xmmword [rsp]
paddd xmm10, xmm0
movdqa xmm11, xmm0
paddd xmm14, xmm12
paddd xmm9, xmm13
pxor xmm3, xmm2
pxor xmm1, xmm10
pxor xmm15, xmm14
pxor xmm8, xmm9
movdqa xmm0, xmm3
psrld xmm0, 0x19
pslld xmm3, 7
por xmm3, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x19
pslld xmm1, 7
por xmm1, xmm0
movdqa xmm0, xmm15
psrld xmm0, 0x19
pslld xmm15, 7
por xmm15, xmm0
movdqa xmm0, xmm8
psrld xmm0, 0x19
pslld xmm8, 7
por xmm8, xmm0
pshufd xmm3, xmm3, 0x93
pshufd xmm1, xmm1, 0x93
pshufd xmm15, xmm15, 0x93
pshufd xmm8, xmm8, 0x93
pshufd xmm2, xmm2, 0x4e
pshufd xmm0, xmm10, 0x4e
pshufd xmm14, xmm14, 0x4e
pshufd xmm9, xmm9, 0x4e
pshufd xmm10, xmmword [rsp + 0x10], 0x39
pshufd xmm11, xmm11, 0x39
pshufd xmm12, xmm12, 0x39
pshufd xmm13, xmm13, 0x39
dec edx
jne 0x140077ce0
movdqa xmmword [rsp], xmm9
movdqa xmm9, xmmword [0x140108d40]
paddd xmm4, xmm9
paddd xmm5, xmm9
paddd xmm7, xmm9
paddd xmm6, xmm9
add rax, 4
mov rdx, rax
shr rdx, 0x20
movdqa xmm9, xmmword [rsp + 0x30]
paddd xmm10, xmm9
pinsrd xmm9, eax, 0
pinsrd xmm9, edx, 1
movdqa xmmword [rsp + 0x30], xmm9
movaps xmm9, xmmword [rcx]
movaps xmmword [rsp + 0x20], xmm9
movaps xmm9, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x10], xmm9
movaps xmm9, xmmword [rsp + 0x30]
movaps xmmword [rcx + 0x20], xmm9
movdqu xmmword [r8], xmm6
movdqa xmm6, xmmword [rsp + 0x20]
paddd xmm3, xmm6
movdqu xmmword [r8 + 0x10], xmm3
movdqa xmm3, xmmword [rsp + 0x10]
paddd xmm2, xmm3
movdqu xmmword [r8 + 0x20], xmm2
movdqu xmmword [r8 + 0x30], xmm10
movdqu xmmword [r8 + 0x40], xmm7
paddd xmm1, xmm6
movdqu xmmword [r8 + 0x50], xmm1
paddd xmm0, xmm3
movdqu xmmword [r8 + 0x60], xmm0
paddd xmm11, xmmword [rsp + 0x50]
movdqu xmmword [r8 + 0x70], xmm11
movdqu xmmword [r8 + 0x80], xmm5
paddd xmm15, xmm6
movdqu xmmword [r8 + 0x90], xmm15
paddd xmm14, xmm3
movdqu xmmword [r8 + 0xa0], xmm14
paddd xmm12, xmmword [rsp + 0x60]
movdqu xmmword [r8 + 0xb0], xmm12
movdqu xmmword [r8 + 0xc0], xmm4
paddd xmm8, xmm6
movdqu xmmword [r8 + 0xd0], xmm8
movdqa xmm0, xmmword [rsp]
paddd xmm0, xmm3
movdqu xmmword [r8 + 0xe0], xmm0
paddd xmm13, xmmword [rsp + 0x70]
movdqu xmmword [r8 + 0xf0], xmm13
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm12, xmmword [rsp + 0xe0]
movaps xmm13, xmmword [rsp + 0xf0]
movaps xmm14, xmmword [rsp + 0x100]
movaps xmm15, xmmword [rsp + 0x110]
add rsp, 0x128
ret