Function at 0x1800185e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm15
movaps xmmword [rbp + 0xc0], xmm14
movaps xmmword [rbp + 0xb0], xmm13
movaps xmmword [rbp + 0xa0], xmm12
movaps xmmword [rbp + 0x90], xmm11
movaps xmmword [rbp + 0x80], xmm10
movaps xmmword [rbp + 0x70], xmm9
movaps xmmword [rbp + 0x60], xmm8
movaps xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x40], xmm6
mov r15, r9
mov rsi, r8
mov rbx, rdx
cmp rdx, 0x21
jb 0x180018ab7
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x30], rax
mov edi, dword [rbp + 0x150]
lea rax, [rsi - 0x20]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x38], rcx
lea rax, [rcx + 0x20]
mov qword [rbp + 8], rax
mov r14, rbx
nop dword [rax]
sub edi, 1
jb 0x180018a97
mov dword [rbp + 0x20], edi
mov r9, r14
shr r9, 3
mov r12, r9
shl r12, 7
mov rdi, qword [rbp + 0x38]
add r12, rdi
imul r8, r9, 0xe0
add r8, rdi
cmp r14, 0x40
jae 0x1800186e0
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 0x1800186ee
mov rcx, rdi
mov rdx, r12
call sym.core::slice::sort::shared::pivot::median3_rec::h888a02dcb83b9cca
mov r12, rax
mov r10, r12
sub r10, rdi
shr r10, 5
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x30], 0
je 0x180018723
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
cmp rax, qword [r12]
jae 0x1800188f0
cmp r14, r15
ja 0x180018ff7
mov r15, r14
shl r15, 5
lea rdi, [rsi + r15]
xor ebx, ebx
mov r11, qword [rbp + 0x38]
mov rax, r11
mov rcx, rdi
mov qword [rbp + 0x28], r10
mov rdx, r10
nop word [rax + rax]
mov r8, rdx
shl r8, 5
add r8, r11
cmp rax, r8
jae 0x180018798
nop
mov r9, qword [rax]
add rcx, 0xffffffffffffffe0
mov r10, rbx
shl r10, 5
cmp r9, qword [r12]
mov r9, rcx
cmovb r9, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r9 + r10 + 0x10], xmm1
movups xmmword [r9 + r10], xmm0
adc rbx, 0
add rax, 0x20
cmp rax, r8
jb 0x180018760
cmp rdx, r14
je 0x1800187d0
mov rdx, rbx
shl rdx, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + rdx - 0x10], xmm1
movups xmmword [rcx + rdx - 0x20], xmm0
add rcx, 0xffffffffffffffe0
add rax, 0x20
mov rdx, r14
jmp 0x180018750
mov rcx, r11
mov r13, rbx
shl r13, 5
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov rdx, r14
sub rdx, rbx
movabs r10, 0x7fffffffffffffe
je 0x1800188a0
lea rax, [rbx + 1]
cmp r14, rax
jne 0x180018810
xor eax, eax
jmp 0x180018872
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 8]
lea r8, [rax + r13]
add r15, qword [rbp + 0x10]
xor r9d, r9d
nop word cs:[rax + rax]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r8 - 0x10], xmm1
movups xmmword [r8 - 0x20], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 5
movups xmm0, xmmword [rdi + r9]
movups xmm1, xmmword [rdi + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r15, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x180018830
test dl, 1
je 0x1800188a0
mov rcx, qword [rbp + 0x38]
add rcx, r13
mov r8, rax
not r8
shl r8, 5
shl rax, 5
movups xmm0, xmmword [rdi + r8]
movups xmm1, xmmword [rdi + r8 + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
test rbx, rbx
mov r15, qword [rbp + 0x18]
mov r10, qword [rbp + 0x28]
je 0x1800188f0
cmp r14, rbx
jb 0x180018fae
add r13, qword [rbp + 0x38]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov edi, dword [rbp + 0x20]
mov dword [rsp + 0x20], edi
mov rcx, r13
mov r8, rsi
mov r9, r15
call sym.core::slice::sort::stable::quicksort::quicksort::h1491147c8fc43205
mov r14, rbx
cmp rbx, 0x21
jae 0x180018680
jmp 0x180018ab3
cmp r14, r15
ja 0x180018ff7
mov rdi, r15
mov r15, r14
shl r15, 5
lea rcx, [rsi + r15]
xor r13d, r13d
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x28], rcx
nop word cs:[rax + rax]
mov rdx, r10
shl rdx, 5
add rdx, qword [rbp + 0x38]
cmp rax, rdx
jae 0x180018968
mov r8, qword [r12]
add rcx, 0xffffffffffffffe0
mov r9, r13
shl r9, 5
cmp r8, qword [rax]
mov r8, rcx
cmovae r8, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + r9 + 0x10], xmm1
movups xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x20
cmp rax, rdx
jb 0x180018930
cmp r10, r14
je 0x1800189a0
add rcx, 0xffffffffffffffe0
mov rdx, r13
shl rdx, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + rdx + 0x10], xmm1
movups xmmword [rsi + rdx], xmm0
inc r13
add rax, 0x20
mov r10, r14
jmp 0x180018920
mov r12, r13
shl r12, 5
mov rcx, qword [rbp + 0x38]
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
movabs r9, 0x7fffffffffffffe
mov rbx, r14
sub rbx, r13
mov r10, qword [rbp + 0x28]
je 0x180018a6c
lea rax, [r13 + 1]
cmp r14, rax
jne 0x1800189dd
xor eax, eax
jmp 0x180018a3e
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 0x38]
lea rdx, [rax + r12]
add rdx, 0x20
add r15, qword [rbp + 0x10]
xor r8d, r8d
nop word [rax + rax]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 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 r15, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x180018a00
test bl, 1
je 0x180018a6c
mov rcx, qword [rbp + 0x38]
add rcx, r12
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 r14, r13
jb 0x180018fe0
mov rcx, qword [rbp + 0x38]
add rcx, r12
mov eax, 0
mov qword [rbp + 0x30], rax
cmp rbx, 0x21
mov r15, rdi
mov edi, dword [rbp + 0x20]
jae 0x18001866d
jmp 0x180018ab7
mov byte [rsp + 0x20], 1
mov rcx, qword [rbp + 0x38]
mov rdx, r14
mov r8, rsi
mov r9, r15
call sym.core::slice::sort::stable::drift::sort::hfadbb017caecf9c4
jmp 0x180018f58
mov rcx, qword [rbp + 0x38]
cmp rbx, 2
jb 0x180018f58
lea rax, [rbx + 0x10]
cmp rax, r15
ja 0x180018ff7
mov r15, rbx
shr r15, 1
cmp rbx, 7
mov qword [rbp + 0x38], rcx
jbe 0x180018cd3
mov rax, qword [rcx + 0x20]
mov rdx, qword [rcx + 0x60]
xor r11d, r11d
xor r10d, r10d
cmp rax, qword [rcx]
setae r11b
setb r10b
xor r9d, r9d
cmp rdx, qword [rcx + 0x40]
setb r9b
shl r10d, 5
lea r12, [rcx + r10]
shl r11d, 5
lea rdx, [rcx + r11]
mov eax, r9d
shl eax, 5
lea r8, [rcx + rax]
add r8, 0x40
xor r9d, 3
shl r9d, 5
mov rax, qword [rcx + rax + 0x40]
mov rdi, qword [rcx + r9]
mov r11, qword [rcx + r11]
cmp rdi, r11
mov r14, rdx
cmovb r14, r8
cmp rax, qword [rcx + r10]
cmovb r14, r12
cmovb r12, r8
mov qword [rbp + 0x30], r12
lea rax, [rcx + r9]
cmovb r8, rdx
cmp rdi, r11
cmovae rdx, rax
mov qword [rbp + 0x28], rdx
cmovb r8, rax
mov rax, qword [r8]
cmp rax, qword [r14]
mov r10, r14
cmovb r10, r8
cmovb r8, r14
mov r9, r15
shl r9, 5
lea rdi, [rcx + r9]
mov rax, qword [rcx + r9 + 0x20]
xor r13d, r13d
xor r12d, r12d
mov rcx, qword [rbp + 0x38]
cmp rax, qword [rcx + r9]
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + r9 + 0x60]
setae r13b
setb r12b
mov qword [rbp + 0x20], r15
xor r15d, r15d
mov rcx, qword [rbp + 0x38]
cmp rax, qword [rcx + r9 + 0x40]
setb r15b
shl r12d, 5
shl r13d, 5
lea r11, [rdi + r13]
mov eax, r15d
shl eax, 5
lea r14, [rax + rdi]
add r14, 0x40
xor r15d, 3
shl r15d, 5
mov rdx, qword [rdi + rax + 0x40]
mov rcx, qword [r15 + rdi]
mov rax, qword [r13 + rdi]
cmp rcx, rax
mov r13, r11
cmovb r13, r14
cmp rdx, qword [r12 + rdi]
lea rdx, [rdi + r12]
cmovb r13, rdx
cmovb rdx, r14
cmovb r14, r11
cmp rcx, rax
mov rax, qword [rbp + 0x30]
movups xmm0, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
lea rax, [rdi + r15]
mov r15, qword [rbp + 0x20]
movups xmm1, xmmword [r10]
cmovae r11, rax
movups xmm3, xmmword [r10 + 0x10]
cmovb r14, rax
movups xmm4, xmmword [r8]
movups xmm5, xmmword [r8 + 0x10]
mov rax, qword [r14]
cmp rax, qword [r13]
mov rcx, qword [rbp + 0x28]
movups xmm6, xmmword [rcx]
mov rax, r13
cmovb rax, r14
movups xmm7, xmmword [rcx + 0x10]
cmovb r14, r13
movups xmm8, xmmword [rdx]
movups xmm9, xmmword [rdx + 0x10]
movups xmm10, xmmword [rax]
movups xmm11, xmmword [rax + 0x10]
movups xmm12, xmmword [r14]
movups xmm13, xmmword [r14 + 0x10]
movups xmm14, xmmword [r11]
movups xmm15, xmmword [r11 + 0x10]
movups xmmword [rsi + 0x10], xmm2
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x50], xmm5
movups xmmword [rsi + 0x40], xmm4
movups xmmword [rsi + 0x70], xmm7
movups xmmword [rsi + 0x60], xmm6
movups xmmword [rsi + r9 + 0x10], xmm9
movups xmmword [rsi + r9], xmm8
movups xmmword [rsi + r9 + 0x20], xmm10
movups xmmword [rsi + r9 + 0x30], xmm11
movups xmmword [rsi + r9 + 0x40], xmm12
movups xmmword [rsi + r9 + 0x50], xmm13
movups xmmword [rsi + r9 + 0x60], xmm14
movups xmmword [rsi + r9 + 0x70], xmm15
mov r13d, 4
jmp 0x180018d00
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, r15
shl rax, 5
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
mov r13d, 1
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], 2
mov rdx, rbx
mov r8, r15
sub rdx, r15
mov ecx, r13d
shl ecx, 5
mov r11d, 2
xor edi, edi
jmp 0x180018d41
mov rdi, qword [rbp - 0x18]
mov r11, qword [rbp - 0x10]
cmp r11, rdi
je 0x180018e14
lea rax, [rdi + 1]
mov qword [rbp - 0x18], rax
mov r9, qword [rbp + rdi*8 - 0x28]
test r9, r9
mov r10, rdx
cmove r10, r8
mov rdi, rax
cmp r13, r10
jae 0x180018d38
shl r9, 5
mov rax, qword [rbp + 0x38]
lea r11, [rax + r9]
add r9, rsi
mov rdi, rcx
mov r14, r13
jmp 0x180018da2
mov rax, r9
mov qword [rax], r15
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rax + 8], xmm0
mov r15, qword [rbp - 0x40]
mov qword [rax + 0x18], r15
inc r14
add rdi, 0x20
cmp r14, r10
je 0x180018d30
mov rax, r14
shl rax, 5
movups xmm0, xmmword [r11 + rax]
movups xmm1, xmmword [r11 + rax + 0x10]
movups xmmword [r9 + rax], xmm0
movups xmmword [r9 + rax + 0x10], xmm1
mov r15, qword [r9 + rax]
cmp r15, qword [r9 + rax - 0x20]
jae 0x180018d96
add rax, r9
mov r12, qword [rax + 0x18]
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x50], xmm0
mov r12, rdi
movups xmm0, xmmword [r9 + r12 - 0x20]
movups xmm1, xmmword [r9 + r12 - 0x10]
movups xmmword [r9 + r12 + 0x10], xmm1
movups xmmword [r9 + r12], xmm0
cmp r12, 0x20
je 0x180018d80
lea rax, [r12 - 0x20]
cmp r15, qword [r9 + r12 - 0x40]
mov r12, rax
jb 0x180018de0
add rax, r9
jmp 0x180018d83
mov rax, r8
shl rax, 5
lea rdx, [rsi + rax]
lea r14, [rsi + rax]
add r14, 0xffffffffffffffe0
mov rax, rbx
shl rax, 5
lea r13, [rsi + rax]
add r13, 0xffffffffffffffe0
mov r10, qword [rbp + 0x38]
mov qword [rbp + 0x18], rax
lea r11, [r10 + rax]
add r11, 0xffffffffffffffe0
mov r9, rsi
mov rcx, r8
jmp 0x180018ea5
movzx eax, byte [rbp + 0x30]
mov r15b, al
mov eax, 0
sbb rax, rax
shl r15d, 5
mov rdx, qword [rbp + 0x20]
add rdx, r15
movzx r15d, byte [rbp + 0x28]
mov dil, r15b
shl edi, 5
add r9, rdi
add r10, 0x20
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [r11 + 0x10], xmm1
movups xmmword [r11], xmm0
shl r12, 5
add r13, r12
shl rax, 5
add r14, rax
add r11, 0xffffffffffffffe0
dec rcx
je 0x180018f04
mov rax, qword [rdx]
xor edi, edi
xor r15d, r15d
mov qword [rbp + 0x20], rdx
mov r8, rdx
cmp rax, qword [r9]
setae byte [rbp + 0x28]
setb byte [rbp + 0x30]
jb 0x180018ec4
mov r8, r9
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
mov rdx, r13
mov r13, qword [r13]
mov rax, qword [r14]
cmp r13, rax
mov r12d, 0
adc r12, 0xffffffffffffffff
mov r8, r14
cmp r13, rax
mov r13, rdx
jb 0x180018e50
mov r8, r13
jmp 0x180018e50
add r14, 0x20
test bl, 1
je 0x180018f42
xor eax, eax
xor r8d, r8d
cmp r9, r14
setae al
setb r8b
mov r11, rdx
cmovb r11, r9
movups xmm0, xmmword [r11]
movups xmm1, xmmword [r11 + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
shl r8d, 5
add r9, r8
shl eax, 5
add rdx, rax
cmp r9, r14
jne 0x180018ff2
add r13, 0x20
cmp rdx, r13
jne 0x180018ff2
movaps xmm6, xmmword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm8, xmmword [rbp + 0x60]
movaps xmm9, xmmword [rbp + 0x70]
movaps xmm10, xmmword [rbp + 0x80]
movaps xmm11, xmmword [rbp + 0x90]
movaps xmm12, xmmword [rbp + 0xa0]
movaps xmm13, xmmword [rbp + 0xb0]
movaps xmm14, xmmword [rbp + 0xc0]
movaps xmm15, xmmword [rbp + 0xd0]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x1800db8c8]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
mov qword [rbp - 0x18], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rdx, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x28]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
lea r8, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r14
call sym.core::slice::index::slice_start_index_len_fail::h8d3d56967d6340e8
call sym.core::slice::sort::shared::smallsort::panic_on_ord_violation::hcab1ddae54e1feac
ud2