Function at 0x14019f980
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r9
mov rsi, rcx
mov r12, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rdx]
lea rax, [rcx + r9]
mov qword [rdx], rax
movdqu xmm0, xmmword [r15 + 1]
test byte [r15], 1
mov byte [r15], 0
jne 0x14019f9d2
mov rax, r14
and rax, 0xfffffffffffffff0
mov rbx, r8
mov rdi, r14
jmp 0x14019fad9
and ecx, 0xf
movdqa xmmword [rsp + 0x20], xmm0
mov eax, 0x10
sub rax, rcx
mov rdi, r14
sub rdi, rax
jae 0x14019f9fd
add rcx, rsp
add rcx, 0x20
mov rdx, r8
mov r8, r14
jmp 0x14019fc01
lea rbx, [r8 + rax]
add rcx, rsp
add rcx, 0x20
mov rdx, r8
mov r8, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
bswap eax
bswap ecx
mov edx, dword [rsp + 0x28]
bswap edx
mov r9d, dword [rsp + 0x2c]
bswap r9d
xor r9d, dword [rsi]
xor edx, dword [rsi + 4]
xor ecx, dword [rsi + 8]
xor eax, dword [rsi + 0xc]
pxor xmm0, xmm0
mov r8d, 0x800
nop word cs:[rax + rax]
mov r10d, eax
shld r10d, ecx, 0x1f
shld ecx, edx, 0x1f
shld edx, r9d, 0x1f
and r9d, 1
neg r9d
movdqu xmm1, xmmword [r12 + r8 - 0x20]
movdqu xmm2, xmmword [r12 + r8 - 0x10]
movd xmm3, r9d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov r11d, eax
shr r11d, 1
shld r11d, r10d, 0x1f
pxor xmm3, xmm0
shld r10d, ecx, 0x1f
mov r9d, ecx
shld r9d, edx, 0x1f
and edx, 1
neg edx
movd xmm0, edx
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr eax, 2
mov ecx, r11d
mov edx, r10d
add r8, 0xffffffffffffffe0
jne 0x14019fa50
movdqu xmmword [rsi], xmm0
and r14, 0xfffffffffffffff0
mov rax, r14
cmp r14, rdi
ja 0x14019fc41
test rax, rax
je 0x14019fbdb
movdqu xmm0, xmmword [rsi]
mov rcx, rax
mov rdx, rbx
nop dword [rax]
add rcx, 0xfffffffffffffff0
mov r10d, dword [rdx]
mov r8d, dword [rdx + 4]
bswap r10d
bswap r8d
mov ebp, dword [rdx + 8]
bswap ebp
mov r11d, dword [rdx + 0xc]
bswap r11d
movd r9d, xmm0
xor r9d, r11d
pshufd xmm1, xmm0, 0x55
movd r11d, xmm1
xor r11d, ebp
pshufd xmm1, xmm0, 0xee
movd ebp, xmm1
xor ebp, r8d
pshufd xmm0, xmm0, 0xff
movd r8d, xmm0
xor r8d, r10d
pxor xmm0, xmm0
mov r10d, 0x800
nop word cs:[rax + rax]
mov r14d, r8d
shld r14d, ebp, 0x1f
shld ebp, r11d, 0x1f
shld r11d, r9d, 0x1f
and r9d, 1
neg r9d
movdqu xmm1, xmmword [r12 + r10 - 0x20]
movdqu xmm2, xmmword [r12 + r10 - 0x10]
movd xmm3, r9d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov r13d, r8d
shr r13d, 1
shld r13d, r14d, 0x1f
pxor xmm3, xmm0
shld r14d, ebp, 0x1f
mov r9d, ebp
shld r9d, r11d, 0x1f
and r11d, 1
neg r11d
movd xmm0, r11d
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr r8d, 2
mov ebp, r13d
mov r11d, r14d
add r10, 0xffffffffffffffe0
jne 0x14019fb50
add rdx, 0x10
test rcx, rcx
jne 0x14019faf0
movdqu xmmword [rsi], xmm0
cmp rdi, rax
je 0x14019fc16
sub rdi, rax
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
cmp rdi, 0x10
ja 0x14019fc27
add rbx, rax
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm0, xmmword [rsp + 0x20]
mov byte [r15], 1
movdqu xmmword [r15 + 1], xmm0
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_dst.len_____src.len__C:Users_admin.JUPITERSERVERS.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_srccryptoutil.rs
lea r8, [0x1402acee8]
mov edx, 0x28
call fcn.1401e1be0
ud2
lea rcx, str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
lea r8, str.C:Users_admin.JUPITERSERVERS.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_srcghash.rs
mov edx, 0x23
call fcn.1401e1be0
ud2