Function at 0x140018c60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov r13, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x140018eb6
cmp rbx, 2
jb 0x1400195bd
lea rax, [rbx + 0x10]
cmp rax, r13
ja 0x14001961a
mov r15, rbx
shr r15, 1
cmp rbx, 7
mov qword [rbp + 0x30], rdi
jbe 0x1400192ff
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 r12, [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 rdi, qword [r9]
mov rcx, qword [rbp + 0x30]
mov r11, qword [rcx + r11*8]
cmp rdi, r11
mov r14, r8
cmovb r14, rdx
mov rcx, qword [rbp + 0x30]
cmp rax, qword [rcx + r10*8]
cmovb r14, r12
cmovb r12, rdx
mov qword [rbp + 0x28], r12
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 + 0x20], rax
cmovb rdx, r14
lea rax, [r15*8]
lea r9, [rax + rax*2]
mov rax, qword [rbp + 0x30]
lea r13, [rax + r9]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + r9 + 0x18]
mov rcx, qword [rbp + 0x30]
mov r11, qword [rcx + r9 + 0x48]
xor edi, edi
xor r14d, r14d
mov rcx, qword [rbp + 0x30]
cmp rax, qword [rcx + r9]
setae dil
setb r14b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x18], r15
lea r15, [rax + r9 + 0x48]
mov rax, qword [rbp + 0x30]
add rax, r9
add rax, 0x30
mov rcx, qword [rbp + 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 rdi, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 0x20]
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 r15, qword [rbp + 0x18]
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]
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 edx, 4
mov r8, rbx
sub r8, r15
cmp rdx, r15
jb 0x14001933f
jmp 0x1400193e1
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x28], rax
mov r14d, dword [rbp + 0xa0]
lea rax, [rsi - 0x18]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x30], r13
mov r15, rbx
nop word [rax + rax]
sub r14d, 1
jb 0x1400192e4
mov r9, r15
shr r9, 3
lea r12, [r9 + r9*2]
shl r12, 5
add r12, rdi
imul r8, r9, 0xa8
add r8, rdi
cmp r15, 0x40
mov dword [rbp + 0x18], r14d
jae 0x140018f40
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 0x140018f4e
mov rcx, rdi
mov rdx, r12
call fcn.140013070
mov r12, rax
mov r14, r12
sub r14, rdi
shr r14, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul r14, rax
mov rax, qword [r12 + 0x10]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [r12]
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x28], 0
je 0x140018f90
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
cmp rax, qword [r12]
jae 0x140019140
cmp r15, r13
ja 0x14001961a
lea rax, [r15 + r15*2]
mov qword [rbp + 0x20], rax
lea r13, [rsi + rax*8]
xor ebx, ebx
mov rax, rdi
mov rcx, r13
mov rdx, r14
lea r8, [rdx + rdx*2]
lea r8, [rdi + r8*8]
cmp rax, r8
jae 0x140018ff4
nop dword [rax]
add rcx, 0xffffffffffffffe8
mov r9, qword [rax]
cmp r9, qword [r12]
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 0x140018fc0
cmp rdx, r15
je 0x140019020
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 0x140018fb0
lea rax, [rbx*8]
lea r8, [rax + rax*2]
mov rcx, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rcx, r15
sub rcx, rbx
je 0x1400190e7
lea rax, [rbx + rbx*2]
lea r10, [rdi + rax*8]
lea rdx, [rbx + 1]
cmp r15, rdx
mov qword [rbp + 8], r10
jne 0x140019060
xor r9d, r9d
jmp 0x1400190bf
mov rdx, rcx
and rdx, 0xfffffffffffffffe
mov r8, qword [rbp + 0x10]
mov rax, qword [rbp + 0x20]
lea r8, [r8 + rax*8]
xor r11d, r11d
movabs rax, 0x1ffffffffffffffe
mov r9, qword [r8 + 0x10]
mov qword [r10 + 0x10], r9
movups xmm0, xmmword [r8]
movups xmmword [r10], xmm0
lea r9, [r11 + 2]
xor r11, rax
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 rdx, r9
jne 0x140019080
test cl, 1
je 0x1400190e7
lea rcx, [r9 + r9*2]
not r9
lea rdx, [r9 + r9*2]
mov r8, qword [r13 + rdx*8 + 0x10]
mov rax, qword [rbp + 8]
mov qword [rax + rcx*8 + 0x10], r8
movups xmm0, xmmword [r13 + rdx*8]
movups xmmword [rax + rcx*8], xmm0
test rbx, rbx
mov r13, qword [rbp + 0x30]
je 0x140019140
sub r15, rbx
jb 0x1400195d1
lea rax, [rbx + rbx*2]
lea rcx, [rdi + rax*8]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov r14d, dword [rbp + 0x18]
mov dword [rsp + 0x20], r14d
mov rdx, r15
mov r8, rsi
mov r9, r13
call fcn.140018c60
mov r15, rbx
cmp rbx, 0x21
jae 0x140018ee0
jmp 0x140018c91
cmp r15, r13
ja 0x14001961a
lea rax, [r15 + r15*2]
mov qword [rbp + 0x20], rax
lea rcx, [rsi + rax*8]
xor r13d, r13d
mov rax, rdi
mov qword [rbp + 0x28], rcx
nop
lea rdx, [r14 + r14*2]
lea rdx, [rdi + rdx*8]
cmp rax, rdx
jae 0x1400191a5
nop dword [rax]
mov r8, qword [r12]
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 0x140019170
cmp r14, r15
je 0x1400191e0
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 r14, r15
jmp 0x140019160
lea rax, [r13*8]
lea r8, [rax + rax*2]
mov rcx, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rbx, r15
sub rbx, r13
mov r14d, dword [rbp + 0x18]
movabs r11, 0x1ffffffffffffffe
mov r12, qword [rbp + 0x28]
je 0x1400192b0
lea rax, [r13*2]
add rax, r13
lea rax, [rdi + rax*8]
lea rcx, [r13 + 1]
cmp r15, rcx
jne 0x140019232
xor r8d, r8d
jmp 0x14001928d
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rdx, [rdx + r8*8]
mov r9, rax
xor r10d, r10d
nop dword [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, r11
lea r10, [r10 + r10*2]
movups xmm0, xmmword [r12 + r10*8]
movups xmmword [r9 + 0x18], xmm0
mov r10, qword [r12 + r10*8 + 0x10]
mov qword [r9 + 0x28], r10
add r9, 0x30
add rdx, 0xffffffffffffffd0
mov r10, r8
cmp rcx, r8
jne 0x140019250
test bl, 1
je 0x1400192b0
lea rcx, [r8 + r8*2]
not r8
lea rdx, [r8 + r8*2]
mov r8, qword [r12 + rdx*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r8
movups xmm0, xmmword [r12 + rdx*8]
movups xmmword [rax + rcx*8], xmm0
cmp r15, r13
jb 0x140019603
lea rax, [r13*2]
add rax, r13
lea rdi, [rdi + rax*8]
mov eax, 0
mov qword [rbp + 0x28], rax
cmp rbx, 0x21
mov r13, qword [rbp + 0x30]
jae 0x140018ed4
jmp 0x140018c91
mov byte [rsp + 0x20], 1
mov rcx, rdi
mov rdx, r15
mov r8, rsi
mov r9, r13
call fcn.140015450
jmp 0x1400195bd
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
lea rax, [r15*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 edx, 1
mov r8, rbx
sub r8, r15
cmp rdx, r15
jae 0x1400193e1
lea eax, [rdx*8]
lea rcx, [rax + rax*2]
mov r9, rdx
jmp 0x14001936a
mov rax, rsi
mov qword [rax], r10
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rax + 8], xmm0
inc r9
add rcx, 0x18
cmp r9, r15
je 0x1400193e1
lea rax, [r9*8]
lea rax, [rax + rax*2]
movups xmm0, xmmword [rdi + rax]
movups xmmword [rsi + rax], xmm0
mov r10, qword [rdi + rax + 0x10]
mov qword [rsi + rax + 0x10], r10
mov r10, qword [rsi + rax]
cmp r10, qword [rsi + rax - 0x18]
jae 0x14001935e
add rax, rdi
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x30], xmm0
mov r11, rcx
nop word cs:[rax + rax]
mov rax, qword [rsi + r11 - 8]
mov qword [rsi + r11 + 0x10], rax
movups xmm0, xmmword [rsi + r11 - 0x18]
movups xmmword [rsi + r11], xmm0
cmp r11, 0x18
je 0x140019350
lea rax, [r11 - 0x18]
cmp r10, qword [rsi + r11 - 0x30]
mov r11, rax
jb 0x1400193b0
add rax, rsi
jmp 0x140019353
lea rax, [r15*8]
lea r9, [rax + rax*2]
lea rcx, [rsi + r9]
cmp rdx, r8
jae 0x14001949f
add r9, rdi
lea eax, [rdx*8]
lea r10, [rax + rax*2]
jmp 0x14001942e
mov rax, rcx
mov qword [rax], r11
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rax + 8], xmm0
mov rdi, qword [rbp + 0x30]
inc rdx
add r10, 0x18
cmp rdx, r8
je 0x14001949f
lea rax, [rdx*8]
lea rax, [rax + rax*2]
movups xmm0, xmmword [r9 + rax]
movups xmmword [rcx + rax], xmm0
mov r11, qword [r9 + rax + 0x10]
mov qword [rcx + rax + 0x10], r11
mov r11, qword [rcx + rax]
cmp r11, qword [rcx + rax - 0x18]
jae 0x140019422
add rax, r9
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x30], xmm0
mov rdi, r10
nop word cs:[rax + rax]
mov rax, qword [rcx + rdi - 8]
mov qword [rcx + rdi + 0x10], rax
movups xmm0, xmmword [rcx + rdi - 0x18]
movups xmmword [rcx + rdi], xmm0
cmp rdi, 0x18
je 0x140019410
lea rax, [rdi - 0x18]
cmp r11, qword [rcx + rdi - 0x30]
mov rdi, rax
jb 0x140019470
add rax, rcx
jmp 0x140019413
mov r10, rdi
lea rdi, [rcx - 0x18]
lea rax, [rbx + rbx*2]
lea rdx, [rsi + rax*8]
add rdx, 0xffffffffffffffe8
lea r11, [r10 + rax*8]
add r11, 0xffffffffffffffe8
mov r9, rsi
jmp 0x140019519
movzx eax, byte [rbp + 0x20]
mov r15b, al
lea rax, [r15 + r15*2]
lea rcx, [rcx + rax*8]
movzx eax, byte [rbp + 0x28]
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 r15, qword [rbp + 0x18]
dec r15
je 0x140019570
mov qword [rbp + 0x18], r15
mov rax, qword [rcx]
xor r14d, r14d
xor r15d, r15d
mov r8, rcx
cmp rax, qword [r9]
setae byte [rbp + 0x28]
setb byte [rbp + 0x20]
jb 0x140019539
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 0x1400194c0
mov r8, rdx
jmp 0x1400194c0
add rdi, 0x18
test bl, 1
je 0x1400195af
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 0x140019615
add rdx, 0x18
cmp rcx, rdx
jne 0x140019615
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x1400aeb00]
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_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x30]
call fcn.140090850
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r15
call fcn.140097180
call fcn.140096c80
ud2