Function at 0x180019020
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov r13, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x180019246
cmp rbx, 2
jb 0x18001990d
lea rax, [rbx + 0x10]
cmp rax, r13
ja 0x18001996a
mov r13, rbx
shr r13, 1
cmp rbx, 7
mov qword [rbp + 0x18], rdi
jbe 0x180019690
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x48]
xor edx, edx
xor r8d, r8d
cmp rax, qword [rdi]
setae dl
setb r8b
lea r9, [rdi + 0x48]
lea rax, [rdi + 0x30]
cmp rcx, qword [rdi + 0x30]
lea r10, [r8 + r8*2]
lea r15, [rdi + r10*8]
lea r11, [rdx + rdx*2]
mov rdx, rax
cmovb rdx, r9
lea r8, [rdi + r11*8]
cmovb r9, rax
mov rax, qword [rdx]
mov rcx, rdi
mov rdi, qword [r9]
mov r11, qword [rcx + r11*8]
cmp rdi, r11
mov r14, r8
cmovb r14, rdx
cmp rax, qword [rcx + r10*8]
cmovb r14, r15
cmovb r15, rdx
mov qword [rbp + 0x20], r15
cmovb rdx, r8
cmp rdi, r11
cmovae r8, r9
cmovb rdx, r9
mov rax, qword [rdx]
cmp rax, qword [r14]
mov rax, r14
cmovb rax, rdx
mov qword [rbp + 8], rax
cmovb rdx, r14
lea rax, [r13*8]
lea r9, [rax + rax*2]
mov qword [rbp + 0x10], r13
lea r13, [rcx + r9]
mov rax, qword [rcx + r9 + 0x18]
mov r11, qword [rcx + r9 + 0x48]
xor edi, edi
xor r14d, r14d
cmp rax, qword [rcx + r9]
setae dil
setb r14b
lea r15, [rcx + r9]
add r15, 0x48
lea rax, [rcx + r9]
add rax, 0x30
cmp r11, qword [rcx + r9 + 0x30]
lea rcx, [r14 + r14*2]
lea rdi, [rdi + rdi*2]
lea r11, [r13 + rdi*8]
mov r14, rax
cmovb r14, r15
cmovb r15, rax
mov rax, qword [r15]
mov rdi, qword [r13 + rdi*8]
cmp rax, rdi
mov r12, r11
cmovb r12, r14
mov r10, qword [r14]
cmp r10, qword [r13 + rcx*8]
lea r13, [r13 + rcx*8]
cmovb r12, r13
cmovb r13, r14
cmovb r14, r11
cmp rax, rdi
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 8]
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x28], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x40], rax
movups xmm0, xmmword [rdx]
cmovae r11, r15
movups xmmword [rsi + 0x30], xmm0
cmovb r14, r15
mov rax, qword [r8 + 0x10]
mov qword [rsi + 0x58], rax
mov rax, qword [r14]
cmp rax, qword [r12]
movups xmm0, xmmword [r8]
mov rax, r12
cmovb rax, r14
movups xmmword [rsi + 0x48], xmm0
cmovb r14, r12
mov rcx, qword [r13 + 0x10]
mov qword [rsi + r9 + 0x10], rcx
movups xmm0, xmmword [r13]
mov r13, qword [rbp + 0x10]
movups xmmword [rsi + r9], xmm0
movups xmm0, xmmword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsi + r9 + 0x28], rax
movups xmmword [rsi + r9 + 0x18], xmm0
movups xmm0, xmmword [r14]
mov rax, qword [r14 + 0x10]
mov qword [rsi + r9 + 0x40], rax
movups xmmword [rsi + r9 + 0x30], xmm0
movups xmm0, xmmword [r11]
mov rax, qword [r11 + 0x10]
mov qword [rsi + r9 + 0x58], rax
movups xmmword [rsi + r9 + 0x48], xmm0
mov ecx, 4
jmp 0x1800196c1
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x20], rax
mov r14d, dword [rbp + 0x90]
lea rax, [rsi - 0x18]
mov qword [rbp], rax
mov qword [rbp + 0x18], r13
mov r15, rbx
nop word [rax + rax]
sub r14d, 1
jb 0x180019675
mov r9, r15
shr r9, 3
lea rax, [r9 + r9*2]
shl rax, 5
add rax, rdi
imul r8, r9, 0xa8
add r8, rdi
cmp r15, 0x40
mov dword [rbp + 0x10], r14d
jae 0x1800192d0
mov rcx, qword [rdi]
mov rdx, qword [rax]
cmp rcx, rdx
setb r9b
mov r10, qword [r8]
cmp rcx, r10
setb cl
xor cl, r9b
cmp rdx, r10
setb dl
xor dl, r9b
cmovne rax, r8
test cl, cl
cmovne rax, rdi
jmp 0x1800192db
mov rcx, rdi
mov rdx, rax
call sym.core::slice::sort::shared::pivot::median3_rec::h18f76c2b373db548
sub rax, rdi
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
mov r12, rdx
shr r12, 4
lea rax, [r12 + r12*2]
lea r14, [rdi + rax*8]
mov rcx, qword [rdi + rax*8 + 0x10]
mov qword [rbp - 0x40], rcx
movups xmm0, xmmword [rdi + rax*8]
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x20], 0
je 0x180019322
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
cmp rax, qword [r14]
jae 0x1800194d0
cmp r15, r13
ja 0x18001996a
lea rax, [r15 + r15*2]
mov qword [rbp + 8], rax
lea r13, [rsi + rax*8]
xor ebx, ebx
mov rax, rdi
mov rcx, r13
mov rdx, r12
nop word cs:[rax + rax]
lea r8, [rdx + rdx*2]
lea r8, [rdi + r8*8]
cmp rax, r8
jae 0x180019393
nop dword [rax]
add rcx, 0xffffffffffffffe8
mov r9, qword [rax]
cmp r9, qword [r14]
mov r9, qword [rax + 0x10]
mov r10, rcx
cmovb r10, rsi
lea r11, [rbx + rbx*2]
mov qword [r10 + r11*8 + 0x10], r9
movups xmm0, xmmword [rax]
movups xmmword [r10 + r11*8], xmm0
adc rbx, 0
add rax, 0x18
cmp rax, r8
jb 0x180019360
cmp rdx, r15
je 0x1800193c0
lea rdx, [rbx + rbx*2]
mov r8, qword [rax + 0x10]
mov qword [rcx + rdx*8 - 8], r8
movups xmm0, xmmword [rax]
movups xmmword [rcx + rdx*8 - 0x18], xmm0
add rcx, 0xffffffffffffffe8
add rax, 0x18
mov rdx, r15
jmp 0x180019350
lea rax, [rbx*8]
lea r8, [rax + rax*2]
mov rcx, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rdx, r15
sub rdx, rbx
je 0x180019484
lea rax, [rbx + rbx*2]
lea rax, [rdi + rax*8]
lea rcx, [rbx + 1]
cmp r15, rcx
jne 0x180019400
xor r9d, r9d
jmp 0x180019460
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov r8, qword [rbp]
mov r9, qword [rbp + 8]
lea r8, [r8 + r9*8]
mov r10, rax
xor r11d, r11d
nop dword [rax]
mov r9, qword [r8 + 0x10]
mov qword [r10 + 0x10], r9
movups xmm0, xmmword [r8]
movups xmmword [r10], xmm0
lea r9, [r11 + 2]
xor r11, 0xfffffffffffffffe
lea r11, [r11 + r11*2]
movups xmm0, xmmword [r13 + r11*8]
movups xmmword [r10 + 0x18], xmm0
mov r11, qword [r13 + r11*8 + 0x10]
mov qword [r10 + 0x28], r11
add r10, 0x30
add r8, 0xffffffffffffffd0
mov r11, r9
cmp rcx, r9
jne 0x180019420
test dl, 1
je 0x180019484
lea rcx, [r9 + r9*2]
not r9
lea r8, [r9 + r9*2]
mov r9, qword [r13 + r8*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r9
movups xmm0, xmmword [r13 + r8*8]
movups xmmword [rax + rcx*8], xmm0
test rbx, rbx
mov r13, qword [rbp + 0x18]
je 0x1800194d0
cmp r15, rbx
jb 0x180019921
lea rax, [rbx + rbx*2]
lea rcx, [rdi + rax*8]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov r14d, dword [rbp + 0x10]
mov dword [rsp + 0x20], r14d
mov r8, rsi
mov r9, r13
call sym.core::slice::sort::stable::quicksort::quicksort::h2b06ded086faa30d
mov r15, rbx
cmp rbx, 0x21
jae 0x180019270
jmp 0x180019051
cmp r15, r13
ja 0x18001996a
lea rax, [r15 + r15*2]
mov qword [rbp + 0x20], rax
lea r11, [rsi + rax*8]
xor r13d, r13d
mov rax, rdi
mov rcx, r11
nop
lea rdx, [r12 + r12*2]
lea rdx, [rdi + rdx*8]
cmp rax, rdx
jae 0x180019534
nop dword [rax]
mov r8, qword [r14]
add rcx, 0xffffffffffffffe8
cmp r8, qword [rax]
mov r8, rcx
cmovae r8, rsi
lea r9, [r13 + r13*2]
mov r10, qword [rax + 0x10]
mov qword [r8 + r9*8 + 0x10], r10
movups xmm0, xmmword [rax]
movups xmmword [r8 + r9*8], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x18
cmp rax, rdx
jb 0x180019500
cmp r12, r15
je 0x180019570
add rcx, 0xffffffffffffffe8
lea rdx, [r13*2]
add rdx, r13
mov r8, qword [rax + 0x10]
mov qword [rsi + rdx*8 + 0x10], r8
movups xmm0, xmmword [rax]
movups xmmword [rsi + rdx*8], xmm0
inc r13
add rax, 0x18
mov r12, r15
jmp 0x1800194f0
lea rax, [r13*8]
lea r8, [rax + rax*2]
mov rcx, rdi
mov rdx, rsi
mov rbx, r11
call sub.msvcrt.dll_memcpy
mov r11, rbx
mov rbx, r15
sub rbx, r13
mov r14d, dword [rbp + 0x10]
je 0x180019641
lea rax, [r13*2]
add rax, r13
lea rax, [rdi + rax*8]
lea rcx, [r13 + 1]
cmp r15, rcx
jne 0x1800195ba
xor r8d, r8d
jmp 0x18001961e
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rdx, qword [rbp]
mov r8, qword [rbp + 0x20]
lea rdx, [rdx + r8*8]
mov r9, rax
xor r10d, r10d
nop word cs:[rax + rax]
mov r8, qword [rdx + 0x10]
mov qword [r9 + 0x10], r8
movups xmm0, xmmword [rdx]
movups xmmword [r9], xmm0
lea r8, [r10 + 2]
xor r10, 0xfffffffffffffffe
lea r10, [r10 + r10*2]
movups xmm0, xmmword [r11 + r10*8]
movups xmmword [r9 + 0x18], xmm0
mov r10, qword [r11 + r10*8 + 0x10]
mov qword [r9 + 0x28], r10
add r9, 0x30
add rdx, 0xffffffffffffffd0
mov r10, r8
cmp rcx, r8
jne 0x1800195e0
test bl, 1
je 0x180019641
lea rcx, [r8 + r8*2]
not r8
lea rdx, [r8 + r8*2]
mov r8, qword [r11 + rdx*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r8
movups xmm0, xmmword [r11 + rdx*8]
movups xmmword [rax + rcx*8], xmm0
cmp r15, r13
jb 0x180019953
lea rax, [r13*2]
add rax, r13
lea rdi, [rdi + rax*8]
mov eax, 0
mov qword [rbp + 0x20], rax
cmp rbx, 0x21
mov r13, qword [rbp + 0x18]
jae 0x180019264
jmp 0x180019051
mov byte [rsp + 0x20], 1
mov rcx, rdi
mov rdx, r15
mov r8, rsi
mov r9, r13
call sym.core::slice::sort::stable::drift::sort::h2a961bd0195230cd
jmp 0x18001990d
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
lea rax, [r13*8]
lea rax, [rax + rax*2]
mov rcx, qword [rdi + rax + 0x10]
mov qword [rsi + rax + 0x10], rcx
movups xmm0, xmmword [rdi + rax]
movups xmmword [rsi + rax], xmm0
mov ecx, 1
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], 2
mov rdx, rbx
sub rdx, r13
lea eax, [rcx*8]
lea r8, [rax + rax*2]
mov r10d, 2
xor r11d, r11d
jmp 0x180019711
mov r11, qword [rbp - 0x20]
mov r10, qword [rbp - 0x18]
cmp r10, r11
je 0x1800197e1
lea rdi, [r11 + 1]
mov qword [rbp - 0x20], rdi
mov rax, qword [rbp + r11*8 - 0x30]
test rax, rax
mov r9, rdx
cmove r9, r13
mov r11, rdi
cmp rcx, r9
jae 0x180019708
shl rax, 3
lea r10, [rax + rax*2]
mov rax, qword [rbp + 0x18]
lea r11, [rax + r10]
add r10, rsi
mov r14, r8
mov r15, rcx
jmp 0x18001976a
mov rax, r10
mov qword [rax], r12
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rax + 8], xmm0
inc r15
add r14, 0x18
cmp r15, r9
je 0x180019700
lea rax, [r15*8]
lea rax, [rax + rax*2]
movups xmm0, xmmword [r11 + rax]
movups xmmword [r10 + rax], xmm0
mov rdi, qword [r11 + rax + 0x10]
mov qword [r10 + rax + 0x10], rdi
mov r12, qword [r10 + rax]
cmp r12, qword [r10 + rax - 0x18]
jae 0x18001975e
add rax, r10
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x50], xmm0
mov rdi, r14
nop word cs:[rax + rax]
mov rax, qword [r10 + rdi - 8]
mov qword [r10 + rdi + 0x10], rax
movups xmm0, xmmword [r10 + rdi - 0x18]
movups xmmword [r10 + rdi], xmm0
cmp rdi, 0x18
je 0x180019750
lea rax, [rdi - 0x18]
cmp r12, qword [r10 + rdi - 0x30]
mov rdi, rax
jb 0x1800197b0
add rax, r10
jmp 0x180019753
lea rax, [r13*2]
add rax, r13
lea rcx, [rsi + rax*8]
lea rdi, [rsi + rax*8 - 0x18]
lea rax, [rbx + rbx*2]
lea rdx, [rsi + rax*8 - 0x18]
mov r10, qword [rbp + 0x18]
lea r11, [r10 + rax*8]
add r11, 0xffffffffffffffe8
mov r9, rsi
jmp 0x180019869
movzx eax, byte [rbp + 8]
mov r15b, al
lea rax, [r15 + r15*2]
lea rcx, [rcx + rax*8]
movzx eax, byte [rbp + 0x20]
mov r14b, al
lea rax, [r14 + r14*2]
mov r14d, 0
sbb r14, r14
lea r9, [r9 + rax*8]
add r10, 0x18
mov rax, qword [r8 + 0x10]
mov qword [r11 + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [r11], xmm0
lea rax, [r13 + r13*2]
lea rdx, [rdx + rax*8]
lea rax, [r14 + r14*2]
lea rdi, [rdi + rax*8]
add r11, 0xffffffffffffffe8
mov r13, qword [rbp + 0x10]
dec r13
je 0x1800198c0
mov qword [rbp + 0x10], r13
mov rax, qword [rcx]
xor r14d, r14d
xor r15d, r15d
mov r8, rcx
cmp rax, qword [r9]
setae byte [rbp + 0x20]
setb byte [rbp + 8]
jb 0x180019889
mov r8, r9
mov r13, qword [r8 + 0x10]
mov qword [r10 + 0x10], r13
movups xmm0, xmmword [r8]
movups xmmword [r10], xmm0
mov r12, qword [rdx]
mov rax, qword [rdi]
cmp r12, rax
mov r13d, 0
adc r13, 0xffffffffffffffff
mov r8, rdi
cmp r12, rax
jb 0x180019810
mov r8, rdx
jmp 0x180019810
add rdi, 0x18
test bl, 1
je 0x1800198ff
xor eax, eax
xor r8d, r8d
cmp r9, rdi
setae al
setb r8b
mov r11, rcx
cmovb r11, r9
mov r14, qword [r11 + 0x10]
mov qword [r10 + 0x10], r14
movups xmm0, xmmword [r11]
movups xmmword [r10], xmm0
lea r8, [r8 + r8*2]
lea r9, [r9 + r8*8]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
cmp r9, rdi
jne 0x180019965
add rdx, 0x18
cmp rcx, rdx
jne 0x180019965
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x1800db8c8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x30]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
lea r8, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r15
call sym.core::slice::index::slice_start_index_len_fail::h8d3d56967d6340e8
call sym.core::slice::sort::shared::smallsort::panic_on_ord_violation::hcab1ddae54e1feac
ud2