Function at 0x180019990
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x40], xmm7
movaps xmmword [rbp + 0x30], xmm6
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x180019a39
cmp rbx, 2
jb 0x18001a3df
lea rax, [rbx + 0x10]
cmp rax, r14
ja 0x18001a443
mov r12, rbx
shr r12, 1
cmp rbx, 0xf
jbe 0x180019ff8
mov r14, rbx
shl r14, 4
lea r8, [rsi + r14]
mov rcx, rdi
mov rdx, rsi
call sym.core::slice::sort::shared::smallsort::sort8_stable::ha0da8741c5619dd6
mov rdx, r12
shl rdx, 4
lea rcx, [rdi + rdx]
add rdx, rsi
lea r8, [rsi + r14]
add r8, 0x80
call sym.core::slice::sort::shared::smallsort::sort8_stable::ha0da8741c5619dd6
mov ecx, 8
mov rdx, rbx
sub rdx, r12
cmp rcx, r12
jb 0x18001a1d0
jmp 0x18001a246
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x10], rax
mov r15d, dword [rbp + 0xc0]
lea rax, [rsi - 0x10]
mov qword [rbp], rax
mov qword [rbp - 8], r14
lea rax, [rdi + 0x10]
mov qword [rbp - 0x10], rax
mov r11, rbx
nop word cs:[rax + rax]
sub r15d, 1
jb 0x180019fdd
mov dword [rbp + 0x20], r15d
mov r9, r11
shr r9, 3
mov r12, r9
shl r12, 6
add r12, rdi
imul r8, r9, 0x70
add r8, rdi
cmp r11, 0x40
mov qword [rbp + 0x28], r11
jae 0x180019ad0
mov rax, qword [rdi]
mov rcx, qword [r12]
cmp rax, rcx
setb dl
mov r9, qword [r8]
cmp rax, r9
setb al
xor al, dl
cmp rcx, r9
setb cl
xor cl, dl
cmovne r12, r8
test al, al
cmovne r12, rdi
jmp 0x180019ae2
mov rcx, rdi
mov rdx, r12
call sym.core::slice::sort::shared::pivot::median3_rec::h0a8900285c375aae
mov r11, qword [rbp + 0x28]
mov r12, rax
mov rax, r12
sub rax, rdi
shr rax, 4
mov qword [rbp + 0x18], rax
movdqu xmm0, xmmword [r12]
movdqa xmmword [rbp - 0x20], xmm0
cmp qword [rbp + 0x10], 0
je 0x180019b14
movq rax, xmm0
mov rcx, qword [rbp + 0x10]
cmp qword [rcx], rax
jae 0x180019da0
cmp r11, r14
ja 0x18001a443
mov r15, r11
shl r15, 4
lea r14, [rsi + r15]
xor ebx, ebx
mov rax, rdi
mov rcx, r14
mov rdx, qword [rbp + 0x18]
mov qword [rbp + 8], r15
nop dword [rax + rax]
mov r9, rdx
sub r9, 3
mov r8d, 0
cmovae r8, r9
shl r8, 4
add r8, rdi
cmp rax, r8
jae 0x180019c25
mov r15, r14
mov r14, rdi
nop word [rax + rax]
mov r9, qword [rax]
lea r10, [rcx - 0x10]
xor r11d, r11d
cmp r9, qword [r12]
cmovb r10, rsi
setb r11b
mov r9, rbx
shl r9, 4
lea rdi, [rbx + r11]
mov r13, qword [rax + 0x10]
shl rdi, 4
cmp r13, qword [r12]
movups xmm0, xmmword [rax]
lea r13, [rcx - 0x20]
cmovb r13, rsi
movups xmmword [r10 + r9], xmm0
movups xmm0, xmmword [rax + 0x10]
adc rbx, r11
movups xmmword [r13 + rdi], xmm0
mov r9, qword [rax + 0x20]
lea r10, [rcx - 0x30]
xor r11d, r11d
cmp r9, qword [r12]
cmovb r10, rsi
setb r11b
mov r9, rbx
shl r9, 4
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r10 + r9], xmm0
lea r9, [rbx + r11]
mov r10, qword [rax + 0x30]
add rcx, 0xffffffffffffffc0
shl r9, 4
cmp r10, qword [r12]
mov r10, rcx
cmovb r10, rsi
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmmword [r10 + r9], xmm0
adc rbx, r11
add rax, 0x40
cmp rax, r8
jb 0x180019b70
mov rdi, r14
mov r11, qword [rbp + 0x28]
mov r14, r15
mov r15, qword [rbp + 8]
mov r8, rdx
shl r8, 4
add r8, rdi
jmp 0x180019c6b
mov r9, qword [rax]
add rcx, 0xfffffffffffffff0
mov r10, rbx
shl r10, 4
cmp r9, qword [r12]
mov r9, rcx
cmovb r9, rsi
movdqu xmm0, xmmword [rax]
movdqu xmmword [r9 + r10], xmm0
adc rbx, 0
add rax, 0x10
cmp rax, r8
jb 0x180019c40
cmp rdx, r11
je 0x180019ca0
mov rdx, rbx
shl rdx, 4
movdqu xmm0, xmmword [rax]
movdqu xmmword [rcx + rdx - 0x10], xmm0
add rcx, 0xfffffffffffffff0
add rax, 0x10
mov rdx, r11
jmp 0x180019b40
mov r13, rbx
shl r13, 4
mov rcx, rdi
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov r11, qword [rbp + 0x28]
mov rdx, r11
sub rdx, rbx
movabs r10, 0xffffffffffffffe
je 0x180019d51
lea rax, [rbx + 1]
cmp r11, rax
jne 0x180019ce0
xor eax, eax
jmp 0x180019d2f
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp - 0x10]
lea r8, [rax + r13]
add r15, qword [rbp]
xor r9d, r9d
nop word cs:[rax + rax]
movups xmm0, xmmword [r15]
movups xmmword [r8 - 0x10], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 4
movdqu xmm0, xmmword [r14 + r9]
movdqu xmmword [r8], xmm0
add r8, 0x20
add r15, 0xffffffffffffffe0
mov r9, rax
cmp rcx, rax
jne 0x180019d00
test dl, 1
je 0x180019d51
lea rcx, [rdi + r13]
mov r8, rax
not r8
shl r8, 4
shl rax, 4
movdqu xmm0, xmmword [r14 + r8]
movdqu xmmword [rcx + rax], xmm0
test rbx, rbx
mov r14, qword [rbp - 8]
je 0x180019da0
cmp r11, rbx
jb 0x18001a3fb
add r13, rdi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov r15d, dword [rbp + 0x20]
mov dword [rsp + 0x20], r15d
mov rcx, r13
mov r8, rsi
mov r9, r14
call sym.core::slice::sort::stable::quicksort::quicksort::h3c412d3b6596c22d
mov r11, rbx
cmp rbx, 0x21
jae 0x180019a70
jmp 0x1800199c5
cmp r11, r14
ja 0x18001a443
mov r15, r11
shl r15, 4
lea r14, [rsi + r15]
xor r13d, r13d
mov rax, rdi
mov rcx, r14
mov rbx, qword [rbp + 0x18]
nop word cs:[rax + rax]
mov r8, rbx
sub r8, 3
mov edx, 0
cmovae rdx, r8
shl rdx, 4
add rdx, rdi
cmp rax, rdx
jae 0x180019e94
mov r8, qword [r12]
lea r9, [rcx - 0x10]
mov r10, r13
shl r10, 4
cmp r8, qword [rax]
cmovae r9, rsi
sbb r13, 0xffffffffffffffff
mov r8, qword [r12]
mov r11, r13
shl r11, 4
cmp r8, qword [rax + 0x10]
movups xmm0, xmmword [rax]
lea r8, [rcx - 0x20]
cmovae r8, rsi
movups xmmword [r9 + r10], xmm0
sbb r13, 0xffffffffffffffff
mov r9, qword [r12]
mov r10, r13
shl r10, 4
cmp r9, qword [rax + 0x20]
movups xmm0, xmmword [rax + 0x10]
lea r9, [rcx - 0x30]
cmovae r9, rsi
movups xmmword [r8 + r11], xmm0
movups xmm0, xmmword [rax + 0x20]
sbb r13, 0xffffffffffffffff
movups xmmword [r9 + r10], xmm0
mov r8, qword [r12]
add rcx, 0xffffffffffffffc0
mov r9, r13
shl r9, 4
cmp r8, qword [rax + 0x30]
mov r8, rcx
cmovae r8, rsi
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x40
cmp rax, rdx
jb 0x180019df0
mov r11, qword [rbp + 0x28]
mov rdx, rbx
shl rdx, 4
add rdx, rdi
cmp rax, rdx
jae 0x180019ee0
nop word cs:[rax + rax]
mov r8, qword [r12]
add rcx, 0xfffffffffffffff0
mov r9, r13
shl r9, 4
cmp r8, qword [rax]
mov r8, rcx
cmovae r8, rsi
movdqu xmm0, xmmword [rax]
movdqu xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x10
cmp rax, rdx
jb 0x180019eb0
cmp rbx, r11
je 0x180019f10
add rcx, 0xfffffffffffffff0
mov rdx, r13
shl rdx, 4
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsi + rdx], xmm0
inc r13
add rax, 0x10
mov rbx, r11
jmp 0x180019dd0
mov r12, r13
shl r12, 4
mov rcx, rdi
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp + 0x28]
movabs r9, 0xffffffffffffffe
mov rbx, rdx
sub rbx, r13
je 0x180019fb1
lea rax, [r13 + 1]
cmp rdx, rax
jne 0x180019f48
xor eax, eax
jmp 0x180019f8f
mov rcx, rbx
and rcx, 0xfffffffffffffffe
lea r10, [rdi + r12]
add r10, 0x10
add r15, qword [rbp]
xor r8d, r8d
nop
movups xmm0, xmmword [r15]
movups xmmword [r10 - 0x10], xmm0
lea rax, [r8 + 2]
xor r8, r9
shl r8, 4
movdqu xmm0, xmmword [r14 + r8]
movdqu xmmword [r10], xmm0
add r10, 0x20
add r15, 0xffffffffffffffe0
mov r8, rax
cmp rcx, rax
jne 0x180019f60
test bl, 1
je 0x180019fb1
lea rcx, [rdi + r12]
mov r8, rax
not r8
shl r8, 4
shl rax, 4
movdqu xmm0, xmmword [r14 + r8]
movdqu xmmword [rcx + rax], xmm0
cmp rdx, r13
jb 0x18001a42f
add rdi, r12
mov eax, 0
mov qword [rbp + 0x10], rax
cmp rbx, 0x21
mov r14, qword [rbp - 8]
mov r15d, dword [rbp + 0x20]
jae 0x180019a57
jmp 0x1800199c5
mov byte [rsp + 0x20], 1
mov rcx, rdi
mov rdx, r11
mov r8, rsi
mov r9, r14
call sym.core::slice::sort::stable::drift::sort::h0a32e54e48e2135c
jmp 0x18001a3df
cmp rbx, 7
jbe 0x18001a1a9
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x30]
xor eax, eax
xor r9d, r9d
cmp rcx, qword [rdi]
setae al
setb r9b
xor r8d, r8d
cmp rdx, qword [rdi + 0x20]
setb r8b
shl r9d, 4
lea r15, [rdi + r9]
shl eax, 4
lea rcx, [rdi + rax]
mov r10d, r8d
shl r10d, 4
lea rdx, [rdi + r10]
add rdx, 0x20
xor r8d, 3
shl r8d, 4
mov r10, qword [rdi + r10 + 0x20]
mov r11, qword [rdi + r8]
mov rax, qword [rdi + rax]
cmp r11, rax
mov r14, rcx
cmovb r14, rdx
cmp r10, qword [rdi + r9]
cmovb r14, r15
cmovb r15, rdx
mov qword [rbp + 0x18], r15
lea r8, [rdi + r8]
cmovb rdx, rcx
cmp r11, rax
cmovae rcx, r8
mov qword [rbp + 8], rcx
cmovb rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r14]
mov rax, r14
cmovb rax, rdx
mov qword [rbp + 0x20], rax
cmovb rdx, r14
mov r8, r12
shl r8, 4
lea r10, [rdi + r8]
mov r11, qword [rdi + r8 + 0x10]
xor eax, eax
xor r13d, r13d
cmp r11, qword [rdi + r8]
mov r11, qword [rdi + r8 + 0x30]
setae al
setb r13b
xor r14d, r14d
cmp r11, qword [rdi + r8 + 0x20]
setb r14b
shl r13d, 4
shl eax, 4
lea rcx, [r10 + rax]
mov r15d, r14d
shl r15d, 4
mov qword [rbp + 0x28], r12
lea r12, [r15 + r10]
add r12, 0x20
xor r14d, 3
shl r14d, 4
mov r15, qword [r10 + r15 + 0x20]
mov r9, qword [r14 + r10]
mov rax, qword [rax + r10]
cmp r9, rax
mov r11, rcx
cmovb r11, r12
cmp r15, qword [r13 + r10]
lea r15, [r10 + r13]
cmovb r11, r15
cmovb r15, r12
cmovb r12, rcx
cmp r9, rax
mov rax, qword [rbp + 0x18]
movdqu xmm0, xmmword [rax]
lea rax, [r10 + r14]
cmovae rcx, rax
cmovb r12, rax
mov rax, qword [rbp + 0x20]
movups xmm1, xmmword [rax]
mov rax, qword [r12]
cmp rax, qword [r11]
movups xmm2, xmmword [rdx]
mov rax, r11
cmovb rax, r12
mov rdx, qword [rbp + 8]
movups xmm3, xmmword [rdx]
cmovb r12, r11
movups xmm4, xmmword [r15]
movups xmm5, xmmword [rax]
movups xmm6, xmmword [r12]
mov r12, qword [rbp + 0x28]
movups xmm7, xmmword [rcx]
movdqu xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + r8], xmm4
movups xmmword [rsi + r8 + 0x10], xmm5
movups xmmword [rsi + r8 + 0x20], xmm6
movups xmmword [rsi + r8 + 0x30], xmm7
mov ecx, 4
mov rdx, rbx
sub rdx, r12
cmp rcx, r12
jb 0x18001a1d0
jmp 0x18001a246
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
mov rax, r12
shl rax, 4
movdqu xmm0, xmmword [rdi + rax]
movdqu xmmword [rsi + rax], xmm0
mov ecx, 1
mov rdx, rbx
sub rdx, r12
cmp rcx, r12
jae 0x18001a246
mov eax, ecx
shl eax, 4
mov r8, rcx
jmp 0x18001a1f6
mov r11, rsi
mov qword [r11], r9
mov qword [r11 + 8], r10
inc r8
add rax, 0x10
cmp r8, r12
je 0x18001a246
mov r10, r8
shl r10, 4
movdqu xmm0, xmmword [rdi + r10]
movdqu xmmword [rsi + r10], xmm0
mov r9, qword [rsi + r10]
cmp r9, qword [rsi + r10 - 0x10]
jae 0x18001a1ea
add r10, rsi
mov r10, qword [r10 + 8]
mov r14, rax
nop
movdqu xmm0, xmmword [rsi + r14 - 0x10]
movdqu xmmword [rsi + r14], xmm0
cmp r14, 0x10
je 0x18001a1e0
lea r11, [r14 - 0x10]
cmp r9, qword [rsi + r14 - 0x20]
mov r14, r11
jb 0x18001a220
add r11, rsi
jmp 0x18001a1e3
mov r8, r12
shl r8, 4
lea rax, [rsi + r8]
cmp rcx, rdx
jae 0x18001a2d6
add r8, rdi
mov r9d, ecx
shl r9d, 4
jmp 0x18001a286
mov r14, rax
mov qword [r14], r10
mov qword [r14 + 8], r11
inc rcx
add r9, 0x10
cmp rcx, rdx
je 0x18001a2d6
mov r11, rcx
shl r11, 4
movdqu xmm0, xmmword [r8 + r11]
movdqu xmmword [rax + r11], xmm0
mov r10, qword [rax + r11]
cmp r10, qword [rax + r11 - 0x10]
jae 0x18001a27a
add r11, rax
mov r11, qword [r11 + 8]
mov r15, r9
nop
movdqu xmm0, xmmword [rax + r15 - 0x10]
movdqu xmmword [rax + r15], xmm0
cmp r15, 0x10
je 0x18001a270
lea r14, [r15 - 0x10]
cmp r10, qword [rax + r15 - 0x20]
mov r15, r14
jb 0x18001a2b0
add r14, rax
jmp 0x18001a273
lea rdx, [rax - 0x10]
mov rcx, rbx
shl rcx, 4
lea r15, [rsi + rcx]
add r15, 0xfffffffffffffff0
mov qword [rbp + 0x10], rcx
lea r10, [rdi + rcx - 0x10]
mov r8, rsi
mov qword [rbp + 0x20], rdi
mov r9, rdi
jmp 0x18001a34d
movzx edi, byte [rbp + 0x18]
mov r12b, dil
mov edi, 0
sbb rdi, rdi
shl r12d, 4
add rax, r12
movzx r14d, byte [rbp + 8]
mov r11b, r14b
shl r11d, 4
add r8, r11
add r9, 0x10
movdqu xmm0, xmmword [rcx]
movdqu xmmword [r10], xmm0
shl r13, 4
add r15, r13
shl rdi, 4
add rdx, rdi
add r10, 0xfffffffffffffff0
mov r12, qword [rbp + 0x28]
dec r12
je 0x18001a39b
mov qword [rbp + 0x28], r12
mov r14, qword [rax]
xor r11d, r11d
xor r12d, r12d
mov rcx, rax
cmp r14, qword [r8]
setae byte [rbp + 8]
setb byte [rbp + 0x18]
jb 0x18001a36d
mov rcx, r8
movups xmm0, xmmword [rcx]
movups xmmword [r9], xmm0
mov r14, qword [r15]
mov rdi, qword [rdx]
cmp r14, rdi
mov r13d, 0
adc r13, 0xffffffffffffffff
mov rcx, rdx
cmp r14, rdi
jb 0x18001a300
mov rcx, r15
jmp 0x18001a300
add rdx, 0x10
test bl, 1
je 0x18001a3d1
xor ecx, ecx
xor r10d, r10d
cmp r8, rdx
setae cl
setb r10b
mov r11, rax
cmovb r11, r8
movdqu xmm0, xmmword [r11]
movdqu xmmword [r9], xmm0
shl r10d, 4
add r8, r10
shl ecx, 4
add rax, rcx
cmp r8, rdx
jne 0x18001a43e
add r15, 0x10
cmp rax, r15
jne 0x18001a43e
movaps xmm6, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x1800db8c8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x40], 8
pxor xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
lea rdx, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x50]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
lea r8, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
call sym.core::slice::index::slice_start_index_len_fail::h8d3d56967d6340e8
call sym.core::slice::sort::shared::smallsort::panic_on_ord_violation::hcab1ddae54e1feac
ud2