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

Disassembly:
push rsi
push rdi
sub rsp, 0x2a8
movaps xmmword [rsp + 0x290], xmm15
movaps xmmword [rsp + 0x280], xmm14
movaps xmmword [rsp + 0x270], xmm13
movaps xmmword [rsp + 0x260], xmm12
movaps xmmword [rsp + 0x250], xmm11
movaps xmmword [rsp + 0x240], xmm10
movaps xmmword [rsp + 0x230], xmm9
movaps xmmword [rsp + 0x220], xmm8
movaps xmmword [rsp + 0x210], xmm7
movaps xmmword [rsp + 0x200], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14030f168]
test rax, rax
je 0x1400c774a
test ax, ax
js 0x1400c759a
mov rax, qword [0x14030f168]
test rax, rax
je 0x1400c7754
bt eax, 0xe
jb 0x1400c7606
mov rax, qword [0x14030f168]
test rax, rax
je 0x1400c775e
bt eax, 0xa
jb 0x1400c7672
mov rax, qword [0x14030f168]
test rax, rax
je 0x1400c7768
bt eax, 9
jb 0x1400c76de
movdqa xmm14, xmmword [rdi]
movdqa xmm3, xmmword [rdi + 0x10]
movdqa xmm8, xmmword [rdi + 0x20]
mov rax, qword [rdi + 0x20]
lea rcx, [rax + 1]
movd xmm2, ecx
shr rcx, 0x20
pshufd xmm0, xmm8, 0xf8
pslldq xmm0, 4
movdqa xmmword [rsp + 0x50], xmm0
movd xmm0, ecx
pslldq xmm0, 8
shufps xmm0, xmm8, 0xe8
por xmm2, xmm0
lea rcx, [rax + 2]
movd xmm7, ecx
shr rcx, 0x20
movd xmm0, ecx
pslldq xmm0, 8
shufps xmm0, xmm8, 0xe8
por xmm7, xmm0
lea rcx, [rax + 3]
movd xmm6, ecx
shr rcx, 0x20
movd xmm0, ecx
pslldq xmm0, 8
shufps xmm0, xmm8, 0xe8
por xmm6, xmm0
movdqa xmm10, xmmword [str.expand_32_byte_kexpand_32_byte_kexpand_32_byte_k]
mov ecx, 6
movdqa xmmword [rsp + 0x20], xmm10
movdqa xmm9, xmm10
movdqa xmmword [rsp + 0x30], xmm10
movdqa xmm11, xmm14
movdqa xmm12, xmm14
movdqa xmm13, xmm14
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmm15, xmm3
movdqa xmm1, xmm3
movdqa xmm5, xmm3
movdqa xmmword [rsp + 0x90], xmm3
movaps xmmword [rsp + 0x80], xmm8
movdqa xmmword [rsp + 0x70], xmm2
movdqa xmmword [rsp + 0x60], xmm7
movdqa xmmword [rsp + 0x40], xmm6
movdqa xmm4, xmmword [rsp + 0x30]
paddd xmm4, xmm11
movdqa xmmword [rsp + 0x30], xmm4
movdqa xmm0, xmmword [rsp + 0x20]
paddd xmm0, xmm12
movdqa xmmword [rsp + 0x20], xmm0
paddd xmm9, xmm13
paddd xmm10, xmm14
pxor xmm8, xmm4
pxor xmm2, xmm0
pxor xmm7, xmm9
pxor xmm6, xmm10
pshuflw xmm0, xmm8, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm2, xmm2, 0xb1
pshufhw xmm2, xmm2, 0xb1
pshuflw xmm4, xmm7, 0xb1
pshufhw xmm4, xmm4, 0xb1
pshuflw xmm6, xmm6, 0xb1
pshufhw xmm6, xmm6, 0xb1
paddd xmm15, xmm0
paddd xmm1, xmm2
paddd xmm5, xmm4
paddd xmm3, xmm6
pxor xmm11, xmm15
movdqa xmm7, xmm11
psrld xmm7, 0x14
pslld xmm11, 0xc
por xmm11, xmm7
pxor xmm12, xmm1
movdqa xmm7, xmm12
psrld xmm7, 0x14
pslld xmm12, 0xc
por xmm12, xmm7
pxor xmm13, xmm5
movdqa xmm7, xmm13
psrld xmm7, 0x14
pslld xmm13, 0xc
por xmm13, xmm7
pxor xmm14, xmm3
movdqa xmm7, xmm14
psrld xmm7, 0x14
pslld xmm14, 0xc
por xmm14, xmm7
movdqa xmm7, xmmword [rsp + 0x30]
paddd xmm7, xmm11
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmm8, xmmword [rsp + 0x20]
paddd xmm8, xmm12
movdqa xmmword [rsp + 0x20], xmm8
paddd xmm9, xmm13
paddd xmm10, xmm14
pxor xmm0, xmm7
movdqa xmm7, xmm0
psrld xmm7, 0x18
pslld xmm0, 8
por xmm0, xmm7
pxor xmm2, xmm8
movdqa xmm7, xmm2
psrld xmm7, 0x18
pslld xmm2, 8
por xmm2, xmm7
pxor xmm4, xmm9
movdqa xmm7, xmm4
psrld xmm7, 0x18
pslld xmm4, 8
por xmm4, xmm7
pxor xmm6, xmm10
movdqa xmm7, xmm6
psrld xmm7, 0x18
pslld xmm6, 8
por xmm6, xmm7
paddd xmm15, xmm0
paddd xmm1, xmm2
paddd xmm5, xmm4
paddd xmm3, xmm6
pxor xmm11, xmm15
pxor xmm12, xmm1
pxor xmm13, xmm5
pxor xmm14, xmm3
movdqa xmm7, xmm11
psrld xmm7, 0x19
pslld xmm11, 7
por xmm11, xmm7
movdqa xmm7, xmm12
psrld xmm7, 0x19
pslld xmm12, 7
por xmm12, xmm7
movdqa xmm7, xmm13
psrld xmm7, 0x19
pslld xmm13, 7
por xmm13, xmm7
movdqa xmm7, xmm14
psrld xmm7, 0x19
pslld xmm14, 7
por xmm14, xmm7
pshufd xmm11, xmm11, 0x39
pshufd xmm12, xmm12, 0x39
pshufd xmm13, xmm13, 0x39
pshufd xmm14, xmm14, 0x39
pshufd xmm15, xmm15, 0x4e
pshufd xmm1, xmm1, 0x4e
movdqa xmmword [rsp + 0xb0], xmm1
pshufd xmm5, xmm5, 0x4e
pshufd xmm3, xmm3, 0x4e
pshufd xmm0, xmm0, 0x93
pshufd xmm2, xmm2, 0x93
pshufd xmm4, xmm4, 0x93
pshufd xmm7, xmm6, 0x93
movdqa xmm6, xmmword [rsp + 0x30]
paddd xmm6, xmm11
movdqa xmmword [rsp + 0x30], xmm6
movdqa xmm1, xmmword [rsp + 0x20]
paddd xmm1, xmm12
movdqa xmmword [rsp + 0x20], xmm1
paddd xmm9, xmm13
paddd xmm10, xmm14
pshuflw xmm6, xmm6, 0xb1
pshufhw xmm8, xmm6, 0xb1
pshuflw xmm0, xmm0, 0xb1
pshufhw xmm6, xmm0, 0xb1
pxor xmm6, xmm8
pshuflw xmm0, xmm1, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm2, xmm2, 0xb1
pshufhw xmm2, xmm2, 0xb1
pxor xmm2, xmm0
pshuflw xmm0, xmm9, 0xb1
pshufhw xmm8, xmm0, 0xb1
pshuflw xmm0, xmm4, 0xb1
pshufhw xmm0, xmm0, 0xb1
pxor xmm0, xmm8
pshuflw xmm4, xmm10, 0xb1
pshufhw xmm8, xmm4, 0xb1
pshuflw xmm4, xmm7, 0xb1
pshufhw xmm4, xmm4, 0xb1
pxor xmm4, xmm8
paddd xmm15, xmm6
movdqa xmm1, xmmword [rsp + 0xb0]
paddd xmm1, xmm2
paddd xmm5, xmm0
paddd xmm3, xmm4
pxor xmm11, xmm15
pxor xmm12, xmm1
pxor xmm13, xmm5
pxor xmm14, xmm3
movdqa xmm7, xmm11
psrld xmm7, 0x14
pslld xmm11, 0xc
por xmm11, xmm7
movdqa xmm7, xmm12
psrld xmm7, 0x14
pslld xmm12, 0xc
por xmm12, xmm7
movdqa xmm7, xmm13
psrld xmm7, 0x14
pslld xmm13, 0xc
por xmm13, xmm7
movdqa xmm7, xmm14
psrld xmm7, 0x14
pslld xmm14, 0xc
por xmm14, xmm7
movdqa xmm7, xmmword [rsp + 0x30]
paddd xmm7, xmm11
movdqa xmm8, xmmword [rsp + 0x20]
paddd xmm8, xmm12
paddd xmm9, xmm13
paddd xmm10, xmm14
movdqa xmmword [rsp + 0x30], xmm7
pxor xmm6, xmm7
movdqa xmm7, xmm6
psrld xmm7, 0x18
pslld xmm6, 8
por xmm6, xmm7
movdqa xmm7, xmm8
movdqa xmmword [rsp + 0x20], xmm8
pxor xmm2, xmm8
movdqa xmm7, xmm2
psrld xmm7, 0x18
pslld xmm2, 8
por xmm2, xmm7
pxor xmm0, xmm9
movdqa xmm7, xmm0
psrld xmm7, 0x18
pslld xmm0, 8
por xmm0, xmm7
pxor xmm4, xmm10
movdqa xmm7, xmm4
psrld xmm7, 0x18
pslld xmm4, 8
por xmm4, xmm7
paddd xmm15, xmm6
paddd xmm1, xmm2
paddd xmm5, xmm0
paddd xmm3, xmm4
pxor xmm11, xmm15
pxor xmm12, xmm1
pxor xmm13, xmm5
pxor xmm14, xmm3
movdqa xmm7, xmm11
psrld xmm7, 0x19
pslld xmm11, 7
por xmm11, xmm7
movdqa xmm7, xmm12
psrld xmm7, 0x19
pslld xmm12, 7
por xmm12, xmm7
movdqa xmm7, xmm13
psrld xmm7, 0x19
pslld xmm13, 7
por xmm13, xmm7
movdqa xmm7, xmm14
psrld xmm7, 0x19
pslld xmm14, 7
por xmm14, xmm7
pshufd xmm11, xmm11, 0x93
pshufd xmm12, xmm12, 0x93
pshufd xmm13, xmm13, 0x93
pshufd xmm14, xmm14, 0x93
pshufd xmm15, xmm15, 0x4e
pshufd xmm1, xmm1, 0x4e
pshufd xmm5, xmm5, 0x4e
pshufd xmm3, xmm3, 0x4e
pshufd xmm8, xmm6, 0x39
pshufd xmm2, xmm2, 0x39
pshufd xmm7, xmm0, 0x39
pshufd xmm6, xmm4, 0x39
dec ecx
jne 0x1400c6f25
add rax, 4
mov rcx, rax
shr rcx, 0x20
movd xmm0, ecx
por xmm0, xmmword [rsp + 0x50]
movdqa xmm4, xmm0
pslldq xmm4, 8
shufps xmm4, xmm0, 0xe8
movd xmm0, eax
por xmm0, xmm4
movaps xmm4, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xc0], xmm4
movdqa xmm4, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0xd0], xmm4
movdqa xmmword [rsp + 0xe0], xmm9
movdqa xmmword [rsp + 0xf0], xmm10
movdqa xmmword [rsp + 0x100], xmm11
movdqa xmmword [rsp + 0x110], xmm12
movdqa xmmword [rsp + 0x120], xmm13
movdqa xmmword [rsp + 0x130], xmm14
movdqa xmmword [rsp + 0x140], xmm15
movdqa xmmword [rsp + 0x150], xmm1
movdqa xmmword [rsp + 0x160], xmm5
movdqa xmmword [rsp + 0x170], xmm3
movaps xmmword [rsp + 0x180], xmm8
movdqa xmmword [rsp + 0x190], xmm2
movdqa xmmword [rsp + 0x1a0], xmm7
movdqa xmmword [rsp + 0x1b0], xmm6
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x1c0], xmm1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1d0], xmm1
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x1e0], xmm1
movdqa xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x1f0], xmm1
movdqa xmmword [rdi + 0x20], xmm0
xor eax, eax
movdqa xmm0, xmmword [str.expand_32_byte_kexpand_32_byte_kexpand_32_byte_k]
movdqa xmm5, xmmword [rsp + 0xa0]
movdqa xmm6, xmmword [rsp + 0x90]
movdqa xmm1, xmmword [rsp + rax + 0x180]
movdqa xmm2, xmmword [rsp + rax + 0xc0]
paddd xmm2, xmm0
movdqa xmm3, xmmword [rsp + rax + 0x100]
paddd xmm3, xmm5
movdqa xmm4, xmmword [rsp + rax + 0x140]
paddd xmm4, xmm6
paddd xmm1, xmmword [rsp + rax + 0x1c0]
movdqu xmmword [rsi + rax*4], xmm2
movdqu xmmword [rsi + rax*4 + 0x10], xmm3
movdqu xmmword [rsi + rax*4 + 0x20], xmm4
movdqu xmmword [rsi + rax*4 + 0x30], xmm1
add rax, 0x10
cmp rax, 0x40
jne 0x1400c74de
movaps xmm6, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm9, xmmword [rsp + 0x230]
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm11, xmmword [rsp + 0x250]
movaps xmm12, xmmword [rsp + 0x260]
movaps xmm13, xmmword [rsp + 0x270]
movaps xmm14, xmmword [rsp + 0x280]
movaps xmm15, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm9, xmmword [rsp + 0x230]
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm11, xmmword [rsp + 0x250]
movaps xmm12, xmmword [rsp + 0x260]
movaps xmm13, xmmword [rsp + 0x270]
movaps xmm14, xmmword [rsp + 0x280]
movaps xmm15, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rdi
pop rsi
jmp sym.rand_chacha::guts::refill_wide::impl_avx2::h34c6424b6f13b48d
mov rcx, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm9, xmmword [rsp + 0x230]
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm11, xmmword [rsp + 0x250]
movaps xmm12, xmmword [rsp + 0x260]
movaps xmm13, xmmword [rsp + 0x270]
movaps xmm14, xmmword [rsp + 0x280]
movaps xmm15, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rdi
pop rsi
jmp sym.rand_chacha::guts::refill_wide::impl_avx::h050947ea59a8e156
mov rcx, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm9, xmmword [rsp + 0x230]
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm11, xmmword [rsp + 0x250]
movaps xmm12, xmmword [rsp + 0x260]
movaps xmm13, xmmword [rsp + 0x270]
movaps xmm14, xmmword [rsp + 0x280]
movaps xmm15, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rdi
pop rsi
jmp sym.rand_chacha::guts::refill_wide::impl_sse41::he11fbec6615727b9
mov rcx, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm9, xmmword [rsp + 0x230]
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm11, xmmword [rsp + 0x250]
movaps xmm12, xmmword [rsp + 0x260]
movaps xmm13, xmmword [rsp + 0x270]
movaps xmm14, xmmword [rsp + 0x280]
movaps xmm15, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rdi
pop rsi
jmp sym.rand_chacha::guts::refill_wide::impl_ssse3::h00d6514d98b69e7f
call dbg.detect_and_initialize
jmp 0x1400c6de4
call dbg.detect_and_initialize
jmp 0x1400c6dfd
call dbg.detect_and_initialize
jmp 0x1400c6e17
call dbg.detect_and_initialize
jmp 0x1400c6e31