Function at 0x18000ce90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm15
movaps xmmword [rbp + 0xb0], xmm14
movaps xmmword [rbp + 0xa0], xmm13
movaps xmmword [rbp + 0x90], xmm12
movaps xmmword [rbp + 0x80], xmm11
movaps xmmword [rbp + 0x70], xmm10
movaps xmmword [rbp + 0x60], xmm9
movaps xmmword [rbp + 0x50], xmm8
movaps xmmword [rbp + 0x40], xmm7
movaps xmmword [rbp + 0x30], xmm6
mov r15, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x18000d147
cmp rbx, 2
jb 0x18000d878
lea rax, [rbx + 0x10]
cmp rax, r15
ja 0x18000d914
mov r12, rbx
shr r12, 1
cmp rbx, 7
mov qword [rbp + 0x28], rdi
jbe 0x18000d5b1
mov rax, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x70]
xor ecx, ecx
xor r10d, r10d
cmp rax, qword [rdi + 0x10]
setae cl
setb r10b
xor r9d, r9d
cmp rdx, qword [rdi + 0x50]
setb r9b
shl r10d, 5
lea r15, [rdi + r10]
shl ecx, 5
lea r14, [rdi + rcx]
mov eax, r9d
shl eax, 5
lea r8, [rdi + rax]
add r8, 0x40
xor r9d, 3
shl r9d, 5
mov rax, qword [rdi + rax + 0x50]
mov r11, qword [rdi + r9 + 0x10]
mov rcx, qword [rdi + rcx + 0x10]
cmp r11, rcx
mov rdi, r14
cmovb rdi, r8
mov rdx, qword [rbp + 0x28]
cmp rax, qword [rdx + r10 + 0x10]
cmovb rdi, r15
cmovb r15, r8
mov qword [rbp + 0x20], r15
mov rax, qword [rbp + 0x28]
lea rax, [rax + r9]
cmovb r8, r14
cmp r11, rcx
cmovae r14, rax
mov qword [rbp + 0x18], r14
cmovb r8, rax
mov rax, qword [r8 + 0x10]
cmp rax, qword [rdi + 0x10]
mov r10, rdi
cmovb r10, r8
cmovb r8, rdi
mov r9, r12
shl r9, 5
mov rax, qword [rbp + 0x28]
lea r14, [rax + r9]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + r9 + 0x30]
xor ecx, ecx
xor r13d, r13d
mov rdx, qword [rbp + 0x28]
cmp rax, qword [rdx + r9 + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + r9 + 0x70]
setae cl
setb r13b
mov qword [rbp + 0x10], r12
xor r12d, r12d
mov rdx, qword [rbp + 0x28]
cmp rax, qword [rdx + r9 + 0x50]
setb r12b
shl r13d, 5
shl ecx, 5
lea r11, [r14 + rcx]
mov eax, r12d
shl eax, 5
lea r15, [rax + r14]
add r15, 0x40
xor r12d, 3
shl r12d, 5
mov rdx, qword [r14 + rax + 0x50]
mov rdi, qword [r12 + r14 + 0x10]
mov rax, qword [rcx + r14 + 0x10]
cmp rdi, rax
mov rcx, r11
cmovb rcx, r15
cmp rdx, qword [r13 + r14 + 0x10]
lea rdx, [r14 + r13]
cmovb rcx, rdx
cmovb rdx, r15
cmovb r15, r11
cmp rdi, rax
mov rdi, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
movups xmm0, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
lea rax, [r14 + r12]
mov r12, qword [rbp + 0x10]
movups xmm1, xmmword [r10]
cmovae r11, rax
movups xmm3, xmmword [r10 + 0x10]
cmovb r15, rax
movups xmm4, xmmword [r8]
movups xmm5, xmmword [r8 + 0x10]
mov rax, qword [r15 + 0x10]
cmp rax, qword [rcx + 0x10]
mov r8, qword [rbp + 0x18]
movups xmm6, xmmword [r8]
mov rax, rcx
cmovb rax, r15
movups xmm7, xmmword [r8 + 0x10]
cmovb r15, rcx
movups xmm8, xmmword [rdx]
movups xmm9, xmmword [rdx + 0x10]
movups xmm10, xmmword [rax]
movups xmm11, xmmword [rax + 0x10]
movups xmm12, xmmword [r15]
movups xmm13, xmmword [r15 + 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 edx, 4
mov r8, rbx
sub r8, r12
cmp rdx, r12
jb 0x18000d5ec
jmp 0x18000d68f
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x20], rax
mov r13d, dword [rbp + 0x140]
lea rax, [rsi - 0x20]
mov qword [rbp], rax
mov qword [rbp + 0x28], r15
lea rax, [rdi + 0x20]
mov qword [rbp + 8], rax
mov r14, rbx
sub r13d, 1
jb 0x18000d596
mov r9, r14
shr r9, 3
mov rax, r9
shl rax, 7
add rax, rdi
imul r8, r9, 0xe0
add r8, rdi
cmp r14, 0x40
jae 0x18000d1d0
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rax + 0x10]
cmp rcx, rdx
setb r9b
mov 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, rdi
jmp 0x18000d1db
mov rcx, rdi
mov rdx, rax
call fcn.180007e10
mov r11, rax
sub r11, rdi
shr r11, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x20], 0
mov dword [rbp + 0x10], r13d
je 0x18000d211
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x10]
cmp rcx, qword [rax + 0x10]
jae 0x18000d3f0
cmp r14, r15
ja 0x18000d914
mov r15, r14
shl r15, 5
lea r13, [rsi + r15]
mov rax, r11
shl rax, 5
add rax, rdi
add rax, 0x10
xor ebx, ebx
mov rcx, rdi
mov rdx, r13
mov qword [rbp + 0x18], r11
mov r8, r11
nop word cs:[rax + rax]
mov r9, r8
shl r9, 5
add r9, rdi
cmp rcx, r9
jae 0x18000d298
nop
mov r10, qword [rcx + 0x10]
add rdx, 0xffffffffffffffe0
mov r11, rbx
shl r11, 5
cmp r10, qword [rax]
mov r10, rdx
cmovb r10, rsi
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
movups xmmword [r10 + r11], xmm0
adc rbx, 0
add rcx, 0x20
cmp rcx, r9
jb 0x18000d260
cmp r8, r14
je 0x18000d2d0
mov r8, rbx
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, r14
jmp 0x18000d250
mov r12, rbx
shl r12, 5
mov rcx, rdi
mov rdx, rsi
mov r8, r12
call fcn.18009b440
mov rdx, r14
sub rdx, rbx
movabs r10, 0x7fffffffffffffe
mov r11, qword [rbp + 0x18]
je 0x18000d39f
lea rax, [rbx + 1]
cmp r14, rax
jne 0x18000d310
xor eax, eax
jmp 0x18000d373
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 8]
lea r8, [rax + r12]
add r15, qword [rbp]
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 [r13 + r9]
movups xmm1, xmmword [r13 + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r15, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x18000d330
test dl, 1
je 0x18000d39f
lea rcx, [rdi + 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 rbx, rbx
mov r15, qword [rbp + 0x28]
mov r13d, dword [rbp + 0x10]
je 0x18000d3f0
cmp r14, rbx
jb 0x18000d8cb
add r12, rdi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov rcx, r12
mov r8, rsi
mov r9, r15
call fcn.18000ce90
mov r14, rbx
cmp rbx, 0x21
jae 0x18000d170
jmp 0x18000cf00
cmp r14, r15
ja 0x18000d914
mov r13, r14
shl r13, 5
lea rdx, [rsi + r13]
mov rax, r11
shl rax, 5
add rax, rdi
add rax, 0x10
xor r12d, r12d
mov rcx, rdi
mov qword [rbp + 0x20], rdx
nop dword [rax]
mov r8, r11
shl r8, 5
add r8, rdi
cmp rcx, r8
jae 0x18000d468
nop
mov r9, qword [rax]
add rdx, 0xffffffffffffffe0
mov r10, r12
shl r10, 5
cmp r9, qword [rcx + 0x10]
mov r9, rdx
cmovae r9, rsi
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 0x18000d430
cmp r11, r14
je 0x18000d4a0
add rdx, 0xffffffffffffffe0
mov r8, r12
shl r8, 5
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + r8 + 0x10], xmm1
movups xmmword [rsi + r8], xmm0
inc r12
add rcx, 0x20
mov r11, r14
jmp 0x18000d420
mov r8, r12
shl r8, 5
mov rcx, rdi
mov rdx, rsi
mov qword [rbp + 0x18], r8
call fcn.18009b440
movabs r9, 0x7fffffffffffffe
mov rbx, r14
sub rbx, r12
mov r10, qword [rbp + 0x20]
je 0x18000d56d
lea rax, [r12 + 1]
cmp r14, rax
jne 0x18000d4de
xor eax, eax
jmp 0x18000d53f
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 0x18]
lea rdx, [rdi + rax]
add rdx, 0x20
add r13, qword [rbp]
xor r8d, r8d
nop dword [rax + rax]
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 0x18000d500
test bl, 1
je 0x18000d56d
mov rcx, qword [rbp + 0x18]
add rcx, rdi
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, r12
jb 0x18000d8fd
add rdi, qword [rbp + 0x18]
mov eax, 0
mov qword [rbp + 0x20], rax
cmp rbx, 0x21
mov r13d, dword [rbp + 0x10]
jae 0x18000d165
jmp 0x18000cf00
mov byte [rsp + 0x20], 1
mov rcx, rdi
mov rdx, r14
mov r8, rsi
mov r9, r15
call fcn.180009370
jmp 0x18000d878
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, r12
shl rax, 5
movups xmm0, xmmword [rdi + rax]
movups xmm1, xmmword [rdi + rax + 0x10]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
mov edx, 1
mov r8, rbx
sub r8, r12
cmp rdx, r12
jae 0x18000d68f
mov ecx, edx
shl ecx, 5
mov r9, rdx
jmp 0x18000d622
mov rax, rsi
movups xmm0, xmmword [r11]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r10
mov qword [rax + 0x18], r14
mov rdi, qword [rbp + 0x28]
inc r9
add rcx, 0x20
cmp r9, r12
je 0x18000d68f
mov rax, r9
shl rax, 5
movups xmm0, xmmword [rdi + rax]
movups xmm1, xmmword [rdi + rax + 0x10]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
mov r10, qword [rsi + rax + 0x10]
cmp r10, qword [rsi + rax - 0x10]
jae 0x18000d616
lea r11, [rdi + rax]
add rax, rsi
mov r14, qword [rax + 0x18]
mov rdi, rcx
nop word cs:[rax + rax]
movups xmm0, xmmword [rsi + rdi - 0x20]
movups xmm1, xmmword [rsi + rdi - 0x10]
movups xmmword [rsi + rdi + 0x10], xmm1
movups xmmword [rsi + rdi], xmm0
cmp rdi, 0x20
je 0x18000d600
lea rax, [rdi - 0x20]
cmp r10, qword [rsi + rdi - 0x30]
mov rdi, rax
jb 0x18000d660
add rax, rsi
jmp 0x18000d603
mov r9, r12
shl r9, 5
lea rcx, [rsi + r9]
cmp rdx, r8
jae 0x18000d73f
add r9, rdi
mov r10d, edx
shl r10d, 5
jmp 0x18000d6d2
mov rax, rcx
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r11
mov qword [rax + 0x18], r15
mov rdi, qword [rbp + 0x28]
inc rdx
add r10, 0x20
cmp rdx, r8
je 0x18000d73f
mov rax, rdx
shl rax, 5
movups xmm0, xmmword [r9 + rax]
movups xmm1, xmmword [r9 + rax + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
mov r11, qword [rcx + rax + 0x10]
cmp r11, qword [rcx + rax - 0x10]
jae 0x18000d6c6
lea r14, [r9 + rax]
add rax, rcx
mov r15, qword [rax + 0x18]
mov rdi, r10
nop word [rax + rax]
movups xmm0, xmmword [rcx + rdi - 0x20]
movups xmm1, xmmword [rcx + rdi - 0x10]
movups xmmword [rcx + rdi + 0x10], xmm1
movups xmmword [rcx + rdi], xmm0
cmp rdi, 0x20
je 0x18000d6b0
lea rax, [rdi - 0x20]
cmp r11, qword [rcx + rdi - 0x30]
mov rdi, rax
jb 0x18000d710
add rax, rcx
jmp 0x18000d6b3
lea rax, [rcx - 0x20]
mov r8, rbx
shl r8, 5
lea rdx, [rsi + r8]
add rdx, 0xffffffffffffffe0
mov qword [rbp + 8], r8
lea r11, [rdi + r8]
add r11, 0xffffffffffffffe0
mov r9, rsi
mov r10, rdi
jmp 0x18000d7c6
movzx edi, byte [rbp + 0x20]
mov r12b, dil
mov edi, 0
sbb rdi, rdi
shl r12d, 5
add rcx, r12
movzx r14d, byte [rbp + 0x18]
mov r15b, r14b
shl r15d, 5
add r9, r15
add r10, 0x20
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [r11 + 0x10], xmm1
movups xmmword [r11], xmm0
shl r13, 5
add rdx, r13
shl rdi, 5
add rax, rdi
add r11, 0xffffffffffffffe0
mov r12, qword [rbp + 0x10]
dec r12
je 0x18000d823
mov qword [rbp + 0x10], r12
mov rdi, qword [rcx + 0x10]
xor r15d, r15d
xor r12d, r12d
mov r8, rcx
cmp rdi, qword [r9 + 0x10]
setae byte [rbp + 0x18]
setb byte [rbp + 0x20]
jb 0x18000d7e8
mov r8, r9
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
mov r14, qword [rdx + 0x10]
mov rdi, qword [rax + 0x10]
cmp r14, rdi
mov r13d, 0
adc r13, 0xffffffffffffffff
mov r8, rax
cmp r14, rdi
jb 0x18000d770
mov r8, rdx
jmp 0x18000d770
add rax, 0x20
test bl, 1
je 0x18000d862
xor r8d, r8d
xor r11d, r11d
cmp r9, rax
setae r8b
setb r11b
mov rdi, rcx
cmovb rdi, r9
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
shl r11d, 5
add r9, r11
shl r8d, 5
add rcx, r8
cmp r9, rax
jne 0x18000d90f
add rdx, 0x20
cmp rcx, rdx
jne 0x18000d90f
movaps xmm6, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x50]
movaps xmm9, xmmword [rbp + 0x60]
movaps xmm10, xmmword [rbp + 0x70]
movaps xmm11, xmmword [rbp + 0x80]
movaps xmm12, xmmword [rbp + 0x90]
movaps xmm13, xmmword [rbp + 0xa0]
movaps xmm14, xmmword [rbp + 0xb0]
movaps xmm15, xmmword [rbp + 0xc0]
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x1800c4e98]
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_08328a323ecd80b443a8fcc72c6b1071f48e233flibrarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x30]
call fcn.180085150
lea r8, str._rustc_08328a323ecd80b443a8fcc72c6b1071f48e233flibrarycore_src_slice_sort_stablequicksort.rs
mov rcx, r12
mov rdx, r14
call fcn.18008b390
call fcn.18008aec0
ud2