Function at 0x1400cc940
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x1400ccb56
cmp rbx, 2
jb 0x1400cd21d
mov r13, rbx
shr r13, 1
cmp rbx, 8
mov qword [rbp + 0x18], rdi
jb 0x1400ccfa0
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 r15, [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 rcx, rdi
mov rdi, qword [r9]
mov r11, qword [rcx + r11*8]
cmp rdi, r11
mov r14, r8
cmovb r14, rdx
cmp rax, qword [rcx + r10*8]
cmovb r14, r15
cmovb r15, rdx
mov qword [rbp + 0x20], r15
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 + 8], rax
cmovb rdx, r14
lea rax, [r13*8]
lea r9, [rax + rax*2]
mov qword [rbp + 0x10], r13
lea r13, [rcx + r9]
mov rax, qword [rcx + r9 + 0x18]
mov r11, qword [rcx + r9 + 0x48]
xor edi, edi
xor r14d, r14d
cmp rax, qword [rcx + r9]
setae dil
setb r14b
lea r15, [rcx + r9]
add r15, 0x48
lea rax, [rcx + r9]
add rax, 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 rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 8]
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 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]
mov r13, qword [rbp + 0x10]
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 ecx, 4
jmp 0x1400ccfd1
mov r13, r9
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x20], rax
mov r14d, dword [rbp + 0x90]
lea rax, [rsi - 0x18]
mov qword [rbp], rax
mov qword [rbp + 0x18], r9
mov r15, rbx
nop word [rax + rax]
sub r14d, 1
jb 0x1400ccf85
mov r9, r15
shr r9, 3
lea rax, [r9 + r9*2]
shl rax, 5
add rax, rdi
imul r8, r9, 0xa8
add r8, rdi
cmp r15, 0x40
mov dword [rbp + 0x10], r14d
jae 0x1400ccbe0
mov rcx, qword [rdi]
mov rdx, qword [rax]
cmp rcx, rdx
setb r9b
mov r10, qword [r8]
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 0x1400ccbeb
mov rcx, rdi
mov rdx, rax
call fcn.1400cd2a0
sub rax, rdi
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
mov r12, rdx
shr r12, 4
lea rax, [r12 + r12*2]
lea r14, [rdi + rax*8]
mov rcx, qword [rdi + rax*8 + 0x10]
mov qword [rbp - 0x40], rcx
movups xmm0, xmmword [rdi + rax*8]
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x20], 0
je 0x1400ccc32
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
cmp rax, qword [r14]
jae 0x1400ccde0
cmp r15, r13
ja 0x1400cd27a
lea rax, [r15 + r15*2]
mov qword [rbp + 8], rax
lea r13, [rsi + rax*8]
xor ebx, ebx
mov rax, rdi
mov rcx, r13
mov rdx, r12
nop word cs:[rax + rax]
lea r8, [rdx + rdx*2]
lea r8, [rdi + r8*8]
cmp rax, r8
jae 0x1400ccca3
nop dword [rax]
add rcx, 0xffffffffffffffe8
mov r9, qword [rax]
cmp r9, qword [r14]
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 0x1400ccc70
cmp rdx, r15
je 0x1400cccd0
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 0x1400ccc60
lea rax, [rbx*8]
lea r8, [rax + rax*2]
mov rcx, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rdx, r15
sub rdx, rbx
je 0x1400ccd94
lea rax, [rbx + rbx*2]
lea rax, [rdi + rax*8]
lea rcx, [rbx + 1]
cmp r15, rcx
jne 0x1400ccd10
xor r9d, r9d
jmp 0x1400ccd70
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov r8, qword [rbp]
mov r9, qword [rbp + 8]
lea r8, [r8 + r9*8]
mov r10, rax
xor r11d, r11d
nop dword [rax]
mov r9, qword [r8 + 0x10]
mov qword [r10 + 0x10], r9
movups xmm0, xmmword [r8]
movups xmmword [r10], xmm0
lea r9, [r11 + 2]
xor r11, 0xfffffffffffffffe
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 rcx, r9
jne 0x1400ccd30
test dl, 1
je 0x1400ccd94
lea rcx, [r9 + r9*2]
not r9
lea r8, [r9 + r9*2]
mov r9, qword [r13 + r8*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r9
movups xmm0, xmmword [r13 + r8*8]
movups xmmword [rax + rcx*8], xmm0
test rbx, rbx
mov r13, qword [rbp + 0x18]
je 0x1400ccde0
cmp r15, rbx
jb 0x1400cd231
lea rax, [rbx + rbx*2]
lea rcx, [rdi + rax*8]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov r14d, dword [rbp + 0x10]
mov dword [rsp + 0x20], r14d
mov r8, rsi
mov r9, r13
call fcn.1400cc940
mov r15, rbx
cmp rbx, 0x21
jae 0x1400ccb80
jmp 0x1400cc96e
cmp r15, r13
ja 0x1400cd27a
lea rax, [r15 + r15*2]
mov qword [rbp + 0x20], rax
lea r11, [rsi + rax*8]
xor r13d, r13d
mov rax, rdi
mov rcx, r11
nop
lea rdx, [r12 + r12*2]
lea rdx, [rdi + rdx*8]
cmp rax, rdx
jae 0x1400cce44
nop dword [rax]
mov r8, qword [r14]
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 0x1400cce10
cmp r12, r15
je 0x1400cce80
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 r12, r15
jmp 0x1400cce00
lea rax, [r13*8]
lea r8, [rax + rax*2]
mov rcx, rdi
mov rdx, rsi
mov rbx, r11
call sub.msvcrt.dll_memcpy
mov r11, rbx
mov rbx, r15
sub rbx, r13
mov r14d, dword [rbp + 0x10]
je 0x1400ccf51
lea rax, [r13*2]
add rax, r13
lea rax, [rdi + rax*8]
lea rcx, [r13 + 1]
cmp r15, rcx
jne 0x1400cceca
xor r8d, r8d
jmp 0x1400ccf2e
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rdx, qword [rbp]
mov r8, qword [rbp + 0x20]
lea rdx, [rdx + r8*8]
mov r9, rax
xor r10d, r10d
nop word cs:[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, 0xfffffffffffffffe
lea r10, [r10 + r10*2]
movups xmm0, xmmword [r11 + r10*8]
movups xmmword [r9 + 0x18], xmm0
mov r10, qword [r11 + r10*8 + 0x10]
mov qword [r9 + 0x28], r10
add r9, 0x30
add rdx, 0xffffffffffffffd0
mov r10, r8
cmp rcx, r8
jne 0x1400ccef0
test bl, 1
je 0x1400ccf51
lea rcx, [r8 + r8*2]
not r8
lea rdx, [r8 + r8*2]
mov r8, qword [r11 + rdx*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r8
movups xmm0, xmmword [r11 + rdx*8]
movups xmmword [rax + rcx*8], xmm0
cmp r15, r13
jb 0x1400cd263
lea rax, [r13*2]
add rax, r13
lea rdi, [rdi + rax*8]
mov eax, 0
mov qword [rbp + 0x20], rax
cmp rbx, 0x21
mov r13, qword [rbp + 0x18]
jae 0x1400ccb77
jmp 0x1400cc96e
mov byte [rsp + 0x20], 1
mov rcx, rdi
mov rdx, r15
mov r8, rsi
mov r9, r13
call fcn.1400cc260
jmp 0x1400cd21d
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
lea rax, [r13*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 ecx, 1
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], 2
mov rdx, rbx
sub rdx, r13
lea eax, [rcx*8]
lea r8, [rax + rax*2]
mov r10d, 2
xor r11d, r11d
jmp 0x1400cd021
lea rax, str.mid___len
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_2059132d3c715514da0e4f9cd395a708e666e306librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x30]
call fcn.140044de0
lea r8, str._rustc_2059132d3c715514da0e4f9cd395a708e666e306librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r15
call fcn.140044e20