Function at 0x14001b790
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
cmp rdx, 0x21
jae 0x14001b7d8
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, r15
mov r8, rdi
mov r9, r14
call fcn.14001c320
jmp 0x14001bc89
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x38], rax
mov ebp, dword [rsp + 0x120]
lea rax, [rdi - 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
lea rax, [rbx + 0x20]
mov qword [rsp + 0x48], rax
mov rsi, r15
nop word cs:[rax + rax]
sub ebp, 1
jb 0x14001bc66
mov r9, rsi
shr r9, 3
mov rax, r9
shl rax, 7
add rax, rbx
imul r8, r9, 0xe0
add r8, rbx
cmp rsi, 0x40
mov dword [rsp + 0x44], ebp
jae 0x14001b880
xor ecx, ecx
sub rcx, qword [rbx + 0x10]
xor edx, edx
sub rdx, qword [rax + 0x10]
cmp rcx, rdx
setb r9b
xor r10d, r10d
sub r10, qword [r8 + 0x10]
cmp rcx, r10
setb cl
xor cl, r9b
cmp rdx, r10
setb dl
xor dl, r9b
cmovne rax, r8
test cl, cl
cmovne rax, rbx
jmp 0x14001b88b
mov rcx, rbx
mov rdx, rax
call fcn.140017da0
mov rbp, rax
sub rbp, rbx
shr rbp, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
cmp qword [rsp + 0x38], 0
je 0x14001b8d1
xor ecx, ecx
mov rdx, qword [rsp + 0x38]
sub rcx, qword [rdx + 0x10]
mov rax, qword [rax + 0x10]
xor edx, edx
sub rdx, rax
cmp rcx, rdx
jae 0x14001bab0
cmp rsi, r14
ja 0x14001bc9e
mov r14, rsi
shl r14, 5
lea r13, [rdi + r14]
mov rax, rbp
shl rax, 5
add rax, rbx
add rax, 0x10
xor r15d, r15d
mov rcx, rbx
mov rdx, r13
mov r8, rbp
nop
mov r9, r8
shl r9, 5
add r9, rbx
cmp rcx, r9
jae 0x14001b954
nop
xor r10d, r10d
sub r10, qword [rcx + 0x10]
mov r11, qword [rax]
xor r12d, r12d
sub r12, r11
add rdx, 0xffffffffffffffe0
mov r11, r15
shl r11, 5
cmp r10, r12
mov r10, rdx
cmovb r10, rdi
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
movups xmmword [r10 + r11], xmm0
adc r15, 0
add rcx, 0x20
cmp rcx, r9
jb 0x14001b910
cmp r8, rsi
je 0x14001b980
mov r8, r15
shl r8, 5
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + r8 - 0x10], xmm1
movups xmmword [rdx + r8 - 0x20], xmm0
add rdx, 0xffffffffffffffe0
add rcx, 0x20
mov r8, rsi
jmp 0x14001b900
mov r12, r15
shl r12, 5
mov rcx, rbx
mov rdx, rdi
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rdx, rsi
sub rdx, r15
movabs r10, 0x7fffffffffffffe
je 0x14001ba4f
lea rax, [r15 + 1]
cmp rsi, rax
jne 0x14001b9c0
xor eax, eax
jmp 0x14001ba23
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0x48]
lea r8, [rax + r12]
add r14, qword [rsp + 0x50]
xor r9d, r9d
nop dword [rax + rax]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r8 - 0x10], xmm1
movups xmmword [r8 - 0x20], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 5
movups xmm0, xmmword [r13 + r9]
movups xmm1, xmmword [r13 + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r14, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x14001b9e0
test dl, 1
je 0x14001ba4f
lea rcx, [rbx + r12]
mov r8, rax
not r8
shl r8, 5
shl rax, 5
movups xmm0, xmmword [r13 + r8]
movups xmm1, xmmword [r13 + r8 + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
test r15, r15
mov r14, qword [rsp + 0x58]
je 0x14001bab0
cmp rsi, r15
jb 0x14001bca0
add r12, rbx
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov ebp, dword [rsp + 0x44]
mov dword [rsp + 0x20], ebp
mov rcx, r12
mov r8, rdi
mov r9, r14
call fcn.14001b790
mov rsi, r15
cmp r15, 0x21
jae 0x14001b810
jmp 0x14001b7b5
cmp rsi, r14
ja 0x14001bc9e
mov r13, rsi
shl r13, 5
lea rdx, [rdi + r13]
mov rax, rbp
shl rax, 5
add rax, rbx
add rax, 0x10
xor r12d, r12d
mov rcx, rbx
mov qword [rsp + 0x48], rdx
nop dword [rax]
mov r8, rbp
shl r8, 5
add r8, rbx
cmp rcx, r8
jae 0x14001bb34
nop
xor r9d, r9d
sub r9, qword [rax]
mov r10, qword [rcx + 0x10]
xor r11d, r11d
sub r11, r10
add rdx, 0xffffffffffffffe0
mov r10, r12
shl r10, 5
cmp r9, r11
mov r9, rdx
cmovae r9, rdi
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r9 + r10 + 0x10], xmm1
movups xmmword [r9 + r10], xmm0
sbb r12, 0xffffffffffffffff
add rcx, 0x20
cmp rcx, r8
jb 0x14001baf0
cmp rbp, rsi
je 0x14001bb70
add rdx, 0xffffffffffffffe0
mov r8, r12
shl r8, 5
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdi + r8 + 0x10], xmm1
movups xmmword [rdi + r8], xmm0
inc r12
add rcx, 0x20
mov rbp, rsi
jmp 0x14001bae0
mov r8, r12
shl r8, 5
mov rcx, rbx
mov rdx, rdi
mov qword [rsp + 0x38], r8
call sub.msvcrt.dll_memcpy
mov r15, rsi
sub r15, r12
mov ebp, dword [rsp + 0x44]
movabs r9, 0x7fffffffffffffe
mov r10, qword [rsp + 0x48]
je 0x14001bc3f
lea rax, [r12 + 1]
cmp rsi, rax
jne 0x14001bbb4
xor eax, eax
jmp 0x14001bc0f
mov rcx, r15
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0x38]
lea rdx, [rbx + rax]
add rdx, 0x20
add r13, qword [rsp + 0x50]
xor r8d, r8d
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rdx - 0x10], xmm1
movups xmmword [rdx - 0x20], xmm0
lea rax, [r8 + 2]
xor r8, r9
shl r8, 5
movups xmm0, xmmword [r10 + r8]
movups xmm1, xmmword [r10 + r8 + 0x10]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add rdx, 0x40
add r13, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x14001bbd0
test r15b, 1
je 0x14001bc3f
mov rcx, qword [rsp + 0x38]
add rcx, rbx
mov rdx, rax
not rdx
shl rdx, 5
shl rax, 5
movups xmm0, xmmword [r10 + rdx]
movups xmm1, xmmword [r10 + rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
cmp rsi, r12
jb 0x14001bcd7
add rbx, qword [rsp + 0x38]
mov eax, 0
mov qword [rsp + 0x38], rax
cmp r15, 0x21
jae 0x14001b7fa
jmp 0x14001b7b5
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
mov r9, r14
call fcn.1400184b0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, [0x1401507b0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rdx, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rsmid___len
lea rcx, [rsp + 0x60]
call fcn.1401332b0
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rsmid___len
mov rcx, r12
mov rdx, rsi
call fcn.140139be0
int3