Function at 0x10012890
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 0x10012d67
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 - 0x28], rax
mov r14, rbx
nop dword [rax]
sub edi, 1
jb 0x10012d47
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 0x10012990
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 0x1001299e
mov rcx, rdi
mov rdx, r12
call sym.core::slice::sort::shared::pivot::median3_rec::hde19464ca47be075
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 0x100129d3
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
cmp rax, qword [r12]
jae 0x10012ba0
cmp r14, r15
ja 0x100132f9
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 0x10012a48
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 0x10012a10
cmp rdx, r14
je 0x10012a80
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 0x10012a00
mov rcx, r11
mov r13, rbx
shl r13, 5
mov rdx, rsi
mov r8, r13
call fcn.100a2818
mov rax, r14
sub rax, rbx
movabs r10, 0x7fffffffffffffe
je 0x10012b4d
lea rcx, [rbx + 1]
cmp r14, rcx
jne 0x10012ac0
xor ecx, ecx
jmp 0x10012b22
mov rdx, rax
and rdx, 0xfffffffffffffffe
mov rcx, qword [rbp - 0x28]
lea r8, [rcx + 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 rcx, [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, rcx
cmp rdx, rcx
jne 0x10012ae0
test al, 1
je 0x10012b4d
mov rax, qword [rbp + 0x38]
add rax, r13
mov rdx, rcx
not rdx
shl rdx, 5
shl rcx, 5
movups xmm0, xmmword [rdi + rdx]
movups xmm1, xmmword [rdi + rdx + 0x10]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
test rbx, rbx
mov r15, qword [rbp + 0x18]
mov r10, qword [rbp + 0x28]
je 0x10012ba0
sub r14, rbx
jb 0x100132b0
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 rdx, r14
mov r8, rsi
mov r9, r15
call sym.core::slice::sort::stable::quicksort::quicksort::h255f3a1143cd8ce4
mov r14, rbx
cmp rbx, 0x21
jae 0x10012930
jmp 0x10012d63
cmp r14, r15
ja 0x100132f9
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 0x10012c18
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 0x10012be0
cmp r10, r14
je 0x10012c50
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 0x10012bd0
mov r12, r13
shl r12, 5
mov rcx, qword [rbp + 0x38]
mov rdx, rsi
mov r8, r12
call fcn.100a2818
movabs r9, 0x7fffffffffffffe
mov rbx, r14
sub rbx, r13
mov r10, qword [rbp + 0x28]
je 0x10012d1c
lea rax, [r13 + 1]
cmp r14, rax
jne 0x10012c8d
xor eax, eax
jmp 0x10012cee
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 0x10012cb0
test bl, 1
je 0x10012d1c
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 0x100132e2
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 0x1001291d
jmp 0x10012d67
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::h90a4bb1554339720
jmp 0x1001325a
mov rcx, qword [rbp + 0x38]
cmp rbx, 2
jb 0x1001325a
lea rax, [rbx + 0x10]
cmp rax, r15
ja 0x100132f9
mov r15, rbx
shr r15, 1
cmp rbx, 7
mov qword [rbp + 0x38], rcx
jbe 0x10012f94
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
mov rcx, qword [rbp + 0x38]
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 edx, 4
mov r14, rbx
sub r14, r15
cmp rdx, r15
jb 0x10012fcf
jmp 0x10013073
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 edx, 1
mov r14, rbx
sub r14, r15
cmp rdx, r15
jae 0x10013073
mov r8d, edx
shl r8d, 5
mov r9, rdx
jmp 0x10013002
mov rax, rsi
mov qword [rax], r10
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 8], xmm0
mov r10, qword [rbp - 0x10]
mov qword [rax + 0x18], r10
inc r9
add r8, 0x20
cmp r9, r15
je 0x10013073
mov rax, r9
shl rax, 5
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsi + rax], xmm0
movups xmmword [rsi + rax + 0x10], xmm1
mov r10, qword [rsi + rax]
cmp r10, qword [rsi + rax - 0x20]
jae 0x10012ff6
add rax, rcx
mov r11, qword [rax + 0x18]
mov qword [rbp - 0x10], r11
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x20], xmm0
mov r11, r8
nop dword [rax]
movups xmm0, xmmword [rsi + r11 - 0x20]
movups xmm1, xmmword [rsi + r11 - 0x10]
movups xmmword [rsi + r11 + 0x10], xmm1
movups xmmword [rsi + r11], xmm0
cmp r11, 0x20
je 0x10012fe0
lea rax, [r11 - 0x20]
cmp r10, qword [rsi + r11 - 0x40]
mov r11, rax
jb 0x10013040
add rax, rsi
jmp 0x10012fe3
mov r9, r15
shl r9, 5
lea r8, [rsi + r9]
cmp rdx, r14
jae 0x10013133
add r9, rcx
mov r10d, edx
shl r10d, 5
jmp 0x100130c2
mov rax, r8
mov qword [rax], r11
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 8], xmm0
mov r11, qword [rbp - 0x10]
mov qword [rax + 0x18], r11
inc rdx
add r10, 0x20
cmp rdx, r14
je 0x10013133
mov rax, rdx
shl rax, 5
movups xmm0, xmmword [r9 + rax]
movups xmm1, xmmword [r9 + rax + 0x10]
movups xmmword [r8 + rax], xmm0
movups xmmword [r8 + rax + 0x10], xmm1
mov r11, qword [r8 + rax]
cmp r11, qword [r8 + rax - 0x20]
jae 0x100130b6
add rax, r9
mov rdi, qword [rax + 0x18]
mov qword [rbp - 0x10], rdi
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x20], xmm0
mov rdi, r10
movups xmm0, xmmword [r8 + rdi - 0x20]
movups xmm1, xmmword [r8 + rdi - 0x10]
movups xmmword [r8 + rdi + 0x10], xmm1
movups xmmword [r8 + rdi], xmm0
cmp rdi, 0x20
je 0x100130a0
lea rax, [rdi - 0x20]
cmp r11, qword [r8 + rdi - 0x40]
mov rdi, rax
jb 0x10013100
add rax, r8
jmp 0x100130a3
lea r14, [r8 - 0x20]
mov rax, rbx
shl rax, 5
lea rdx, [rsi + rax]
add rdx, 0xffffffffffffffe0
mov qword [rbp + 0x18], rax
lea r11, [rcx + rax]
add r11, 0xffffffffffffffe0
mov r9, rsi
mov r10, rcx
jmp 0x100131b3
movzx eax, byte [rbp + 0x30]
mov r15b, al
mov eax, 0
sbb rax, rax
shl r15d, 5
add r8, r15
movzx r15d, byte [rbp + 0x28]
mov dil, r15b
shl edi, 5
add r9, rdi
add r10, 0x20
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r11 + 0x10], xmm1
movups xmmword [r11], xmm0
shl r12, 5
add rdx, r12
shl rax, 5
add r14, rax
add r11, 0xffffffffffffffe0
mov r15, qword [rbp + 0x20]
dec r15
je 0x10013209
mov qword [rbp + 0x20], r15
mov rax, qword [r8]
xor edi, edi
xor r15d, r15d
mov rcx, r8
cmp rax, qword [r9]
setae byte [rbp + 0x28]
setb byte [rbp + 0x30]
jb 0x100131d2
mov rcx, r9
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
mov r13, qword [rdx]
mov rax, qword [r14]
cmp r13, rax
mov r12d, 0
adc r12, 0xffffffffffffffff
mov rcx, r14
cmp r13, rax
jb 0x10013160
mov rcx, rdx
jmp 0x10013160
add r14, 0x20
test bl, 1
je 0x10013244
xor eax, eax
xor ecx, ecx
cmp r9, r14
setae al
setb cl
mov r11, r8
cmovb r11, r9
movups xmm0, xmmword [r11]
movups xmm1, xmmword [r11 + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
shl ecx, 5
add r9, rcx
shl eax, 5
add r8, rax
cmp r9, r14
jne 0x100132f4
add rdx, 0x20
cmp r8, rdx
jne 0x100132f4
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, [0x1013e090]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
lea rdx, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x20]
call sym.core::panicking::panic_fmt::h892a8564dcc06a8f
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r14
call sym.core::slice::index::slice_start_index_len_fail::h419d9fe760474afb
call sym.core::slice::sort::shared::smallsort::panic_on_ord_violation::he0ff1eb6100dcfb5
ud2