Function at 0x14020c330
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r15, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x14020c547
cmp rbx, 2
jb 0x14020cc40
lea rax, [rbx + 0x10]
cmp rax, r15
ja 0x14020cc54
mov rax, rbx
shr rax, 1
cmp rbx, 7
jbe 0x14020c9ac
mov rcx, qword [rdi + 0x20]
mov rdx, qword [rdi + 0x60]
xor r11d, r11d
xor r10d, r10d
cmp rcx, qword [rdi]
setae r11b
setb r10b
xor r9d, r9d
cmp rdx, qword [rdi + 0x40]
setb r9b
shl r10d, 5
lea rdx, [rdi + r10]
shl r11d, 5
lea rcx, [rdi + r11]
mov r14d, r9d
shl r14d, 5
lea r8, [rdi + r14]
add r8, 0x40
xor r9d, 3
shl r9d, 5
mov r14, qword [rdi + r14 + 0x40]
mov r15, qword [rdi + r9]
mov r11, qword [rdi + r11]
cmp r15, r11
mov r12, rcx
cmovb r12, r8
cmp r14, qword [rdi + r10]
cmovb r12, rdx
cmovb rdx, r8
lea r9, [rdi + r9]
cmovb r8, rcx
cmp r15, r11
cmovae rcx, r9
cmovb r8, r9
mov r9, qword [r8]
cmp r9, qword [r12]
mov r9, r12
cmovb r9, r8
cmovb r8, r12
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rsi + 0x50], xmm1
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [rcx]
mov rdx, rax
shl rdx, 5
mov r8, qword [rdi + rdx + 0x20]
mov r9, qword [rdi + rdx + 0x60]
xor r15d, r15d
xor r11d, r11d
cmp r8, qword [rdi + rdx]
setae r15b
setb r11b
xor r10d, r10d
cmp r9, qword [rdi + rdx + 0x40]
lea r14, [rdi + rdx]
setb r10b
shl r11d, 5
shl r15d, 5
lea r8, [r14 + r15]
mov r12d, r10d
shl r12d, 5
lea r9, [r12 + r14]
add r9, 0x40
xor r10d, 3
shl r10d, 5
mov r13, qword [r10 + r14]
mov r15, qword [r15 + r14]
cmp r13, r15
mov rbp, r8
cmovb rbp, r9
mov r12, qword [r14 + r12 + 0x40]
cmp r12, qword [r11 + r14]
lea r11, [r14 + r11]
cmovb rbp, r11
cmovb r11, r9
lea r10, [r14 + r10]
cmovb r9, r8
cmp r13, r15
cmovae r8, r10
cmovb r9, r10
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [r9]
cmp rcx, qword [rbp]
movups xmmword [rsi + 0x70], xmm1
mov rcx, rbp
cmovb rcx, r9
movups xmmword [rsi + 0x60], xmm0
cmovb r9, rbp
movups xmm0, xmmword [r11]
movups xmm1, xmmword [r11 + 0x10]
movups xmmword [rsi + rdx + 0x10], xmm1
movups xmmword [rsi + rdx], xmm0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + rdx + 0x20], xmm0
movups xmmword [rsi + rdx + 0x30], xmm1
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsi + rdx + 0x40], xmm0
movups xmmword [rsi + rdx + 0x50], xmm1
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rsi + rdx + 0x60], xmm0
movups xmmword [rsi + rdx + 0x70], xmm1
mov ecx, 4
jmp 0x14020c9d8
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x38], rax
mov ebp, dword [rsp + 0x120]
lea rax, [rsi - 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r15
lea rax, [rdi + 0x20]
mov qword [rsp + 0x50], rax
mov r14, rbx
nop word cs:[rax + rax]
sub ebp, 1
jb 0x14020c991
mov dword [rsp + 0x30], ebp
mov r9, r14
shr r9, 3
mov r12, r9
shl r12, 7
add r12, rdi
imul r8, r9, 0xe0
add r8, rdi
cmp r14, 0x40
jae 0x14020c5e0
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 0x14020c5ee
mov rcx, rdi
mov rdx, r12
call fcn.14020ccb0
mov r12, rax
mov r10, r12
sub r10, rdi
shr r10, 5
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
cmp qword [rsp + 0x38], 0
je 0x14020c62d
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
cmp rax, qword [r12]
jae 0x14020c800
cmp r14, r15
ja 0x14020cc54
mov r15, r14
shl r15, 5
lea rbp, [rsi + r15]
xor ebx, ebx
mov rax, rdi
mov rcx, rbp
mov qword [rsp + 0x40], r10
mov rdx, r10
nop word cs:[rax + rax]
mov r8, rdx
shl r8, 5
add r8, rdi
cmp rax, r8
jae 0x14020c6a8
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 0x14020c670
cmp rdx, r14
je 0x14020c6e0
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 0x14020c660
mov r13, rbx
shl r13, 5
mov rcx, rdi
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
movabs r10, 0x7fffffffffffffe
mov rdx, r14
sub rdx, rbx
je 0x14020c7af
lea rax, [rbx + 1]
cmp r14, rax
jne 0x14020c720
xor eax, eax
jmp 0x14020c783
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0x50]
lea r8, [rax + r13]
add r15, qword [rsp + 0x48]
xor r9d, r9d
nop dword [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 [rbp + r9]
movups xmm1, xmmword [rbp + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r15, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x14020c740
test dl, 1
je 0x14020c7af
lea rcx, [rdi + r13]
mov r8, rax
not r8
shl r8, 5
shl rax, 5
movups xmm0, xmmword [rbp + r8]
movups xmm1, xmmword [rbp + r8 + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
test rbx, rbx
mov r15, qword [rsp + 0x58]
mov r10, qword [rsp + 0x40]
je 0x14020c800
cmp r14, rbx
jb 0x14020cc56
add r13, rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov ebp, dword [rsp + 0x30]
mov dword [rsp + 0x20], ebp
mov rcx, r13
mov r8, rsi
mov r9, r15
call fcn.14020c330
mov r14, rbx
cmp rbx, 0x21
jae 0x14020c580
jmp 0x14020c359
cmp r14, r15
ja 0x14020cc54
mov rbp, r14
shl rbp, 5
lea rcx, [rsi + rbp]
xor r13d, r13d
mov rax, rdi
mov qword [rsp + 0x40], rcx
nop
mov rdx, r10
shl rdx, 5
add rdx, rdi
cmp rax, rdx
jae 0x14020c868
nop
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 0x14020c830
cmp r10, r14
je 0x14020c8a0
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 0x14020c820
mov r12, r13
shl r12, 5
mov rcx, rdi
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
movabs r9, 0x7fffffffffffffe
mov rbx, r14
sub rbx, r13
mov r10, qword [rsp + 0x40]
je 0x14020c968
lea rax, [r13 + 1]
cmp r14, rax
jne 0x14020c8dd
xor eax, eax
jmp 0x14020c93d
mov rcx, rbx
and rcx, 0xfffffffffffffffe
lea rdx, [rdi + r12]
add rdx, 0x20
add rbp, qword [rsp + 0x48]
xor r8d, r8d
nop word cs:[rax + rax]
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 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 rbp, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x14020c900
test bl, 1
je 0x14020c968
lea rcx, [rdi + 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 0x14020cc8d
add rdi, r12
mov eax, 0
mov qword [rsp + 0x38], rax
cmp rbx, 0x21
mov ebp, dword [rsp + 0x30]
jae 0x14020c569
jmp 0x14020c359
mov byte [rsp + 0x20], 1
mov rcx, rdi
mov rdx, r14
mov r8, rsi
mov r9, r15
call fcn.14020bc60
jmp 0x14020cc40
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rcx, rax
shl rcx, 5
movups xmm0, xmmword [rdi + rcx]
movups xmm1, xmmword [rdi + rcx + 0x10]
movups xmmword [rsi + rcx + 0x10], xmm1
movups xmmword [rsi + rcx], xmm0
mov ecx, 1
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 2
mov rdx, rbx
sub rdx, rax
mov r8d, ecx
shl r8d, 5
mov r14d, 2
xor r11d, r11d
cmp r14, r11
jne 0x14020ca21
jmp 0x14020cb1f
inc r11
cmp rcx, r10
jb 0x14020ca33
cmp r14, r11
je 0x14020cb1f
mov r9, qword [rsp + r11*8 + 0x60]
mov r10, rax
test r9, r9
je 0x14020ca10
mov r10, rdx
jmp 0x14020ca10
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], r11
shl r9, 5
lea r11, [rdi + r9]
add r9, rsi
mov r14, r8
mov r15, rcx
jmp 0x14020ca80
mov r13, r9
mov qword [r13], r12
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [r13 + 8], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [r13 + 0x18], rax
inc r15
add r14, 0x20
cmp r15, r10
je 0x14020cb07
mov r13, r15
shl r13, 5
movups xmm0, xmmword [r11 + r13]
movups xmm1, xmmword [r11 + r13 + 0x10]
movups xmmword [r9 + r13], xmm0
movups xmmword [r9 + r13 + 0x10], xmm1
mov r12, qword [r9 + r13]
cmp r12, qword [r9 + r13 - 0x20]
jae 0x14020ca70
add r13, r9
mov rax, qword [r13 + 0x18]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [r13 + 8]
movaps xmmword [rsp + 0x90], xmm0
mov rbp, r14
nop word [rax + rax]
movups xmm0, xmmword [r9 + rbp - 0x20]
movups xmm1, xmmword [r9 + rbp - 0x10]
movups xmmword [r9 + rbp + 0x10], xmm1
movups xmmword [r9 + rbp], xmm0
cmp rbp, 0x20
je 0x14020ca50
lea r13, [rbp - 0x20]
cmp r12, qword [r9 + rbp - 0x40]
mov rbp, r13
jb 0x14020cad0
add r13, r9
jmp 0x14020ca53
mov r11, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rax, qword [rsp + 0x30]
cmp r14, r11
jne 0x14020ca21
mov rdx, rax
shl rdx, 5
lea rcx, [rsi + rdx]
lea r8, [rsi + rdx]
add r8, 0xffffffffffffffe0
mov r9, rbx
shl r9, 5
lea rdx, [rsi + r9]
add rdx, 0xffffffffffffffe0
add r9, rdi
add r9, 0xffffffffffffffe0
jmp 0x14020cb9e
mov r11b, r12b
mov eax, 0
sbb rax, rax
shl r11d, 5
add rcx, r11
mov r10b, bpl
shl r10d, 5
add rsi, r10
add rdi, 0x20
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r9 + 0x10], xmm1
movups xmmword [r9], xmm0
shl r14, 5
add rdx, r14
shl rax, 5
add r8, rax
add r9, 0xffffffffffffffe0
mov rax, qword [rsp + 0x30]
dec rax
je 0x14020cbf6
mov qword [rsp + 0x30], rax
mov r15, qword [rcx]
xor r10d, r10d
xor r11d, r11d
mov r14, rcx
cmp r15, qword [rsi]
setae bpl
setb r12b
jb 0x14020cbbf
mov r14, rsi
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov r13, qword [rdx]
mov rax, qword [r8]
cmp r13, rax
mov r14d, 0
adc r14, 0xffffffffffffffff
mov r15, r8
cmp r13, rax
jb 0x14020cb50
mov r15, rdx
jmp 0x14020cb50
add r8, 0x20
test bl, 1
je 0x14020cc32
xor eax, eax
xor r9d, r9d
cmp rsi, r8
setae al
setb r9b
mov r10, rcx
cmovb r10, rsi
movups xmm0, xmmword [r10]
movups xmm1, xmmword [r10 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
shl r9d, 5
add rsi, r9
shl eax, 5
add rcx, rax
cmp rsi, r8
jne 0x14020cc9f
add rdx, 0x20
cmp rcx, rdx
jne 0x14020cc9f
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, str.mid___len
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rdx, str._rustc_3cb521a4344f0b556b81c55eec8facddeb1ead83librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rsp + 0x60]
call fcn.1400467a0
lea r8, str._rustc_3cb521a4344f0b556b81c55eec8facddeb1ead83librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r14
call fcn.1400467e0
call fcn.14004baf0
int3