Function at 0x1800d46f0
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 qword [rbp + 0x30], 0xfffffffffffffffe
mov rdi, r9
mov r13, r8
mov rsi, rdx
mov qword [rbp + 0x28], rcx
cmp rdx, 0x21
mov qword [rbp - 8], r8
jae 0x1800d47a2
cmp rsi, 2
jb 0x1800d5246
lea rax, [rsi + 0x10]
cmp rax, rdi
ja 0x1800d52a3
mov r12, rsi
shr r12, 1
cmp rsi, 0xf
jbe 0x1800d4dec
mov rdi, rsi
shl rdi, 4
lea r8, [rdi + r13]
mov rbx, qword [rbp + 0x28]
mov rcx, rbx
mov rdx, r13
call fcn.1800d3bd0
mov rdx, r12
shl rdx, 4
lea rcx, [rbx + rdx]
add rdx, r13
lea r8, [rdi + r13]
add r8, 0x80
call fcn.1800d3bd0
mov eax, 8
mov rcx, rsi
sub rcx, r12
cmp rax, r12
jb 0x1800d4ff1
jmp 0x1800d507b
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x20], rax
mov r12d, dword [rbp + 0xa0]
lea rax, [r13 - 0x10]
mov qword [rbp + 8], rax
mov qword [rbp], rdi
mov rax, qword [rbp + 0x28]
add rax, 0x10
mov qword [rbp + 0x10], rax
mov r15, rsi
nop
sub r12d, 1
jb 0x1800d4dc4
mov r9, r15
shr r9, 3
mov rax, r9
shl rax, 6
mov rsi, qword [rbp + 0x28]
add rax, rsi
imul r8, r9, 0x70
add r8, rsi
cmp r15, 0x40
mov dword [rbp + 0x18], r12d
jae 0x1800d4840
mov rcx, qword [rsi + 8]
mov rdx, qword [rax + 8]
mov ecx, dword [rcx]
mov edx, dword [rdx]
cmp ecx, edx
setl r9b
mov r10, qword [r8 + 8]
mov r10d, dword [r10]
cmp ecx, r10d
setl cl
xor cl, r9b
cmp edx, r10d
setl dl
xor dl, r9b
cmovne rax, r8
test cl, cl
cmovne rax, rsi
jmp 0x1800d484b
mov rcx, rsi
mov rdx, rax
call fcn.1800d3b10
mov r12, rax
sub r12, rsi
shr r12, 4
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp + 0x20], 0
je 0x1800d487d
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 8]
mov ecx, dword [rcx]
cmp ecx, dword [rax]
jge 0x1800d4b30
cmp r15, rdi
ja 0x1800d52a3
mov rbx, r15
shl rbx, 4
lea rdi, [rbx + r13]
mov rax, r12
shl rax, 4
mov rcx, qword [rbp + 0x28]
add rax, rcx
add rax, 8
xor esi, esi
mov rdx, rdi
mov r8, r12
nop dword [rax + rax]
mov r10, r8
sub r10, 3
mov r9d, 0
cmovae r9, r10
shl r9, 4
add r9, qword [rbp + 0x28]
cmp rcx, r9
jae 0x1800d49a6
nop word cs:[rax + rax]
mov r10, qword [rcx + 8]
mov r11, qword [rax]
mov r14d, dword [r10]
lea r13, [rdx - 0x10]
xor r10d, r10d
cmp r14d, dword [r11]
setl r10b
cmovl r13, qword [rbp - 8]
add r10, rsi
shl rsi, 4
movups xmm0, xmmword [rcx]
movups xmmword [r13 + rsi], xmm0
mov r11, qword [rcx + 0x18]
mov rsi, qword [rax]
mov r14d, dword [r11]
lea r13, [rdx - 0x20]
xor r11d, r11d
cmp r14d, dword [rsi]
cmovl r13, qword [rbp - 8]
setl r11b
add r11, r10
shl r10, 4
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [r13 + r10], xmm0
mov r13, qword [rbp - 8]
mov r10, qword [rcx + 0x28]
mov rsi, qword [rax]
mov r14d, dword [r10]
xor r10d, r10d
cmp r14d, dword [rsi]
lea rsi, [rdx - 0x30]
setl r10b
cmovl rsi, r13
add r10, r11
shl r11, 4
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + r11], xmm0
mov r11, qword [rcx + 0x38]
mov r14, qword [rax]
mov r11d, dword [r11]
add rdx, 0xffffffffffffffc0
xor esi, esi
cmp r11d, dword [r14]
mov r11, rdx
cmovl r11, r13
setl sil
add rsi, r10
shl r10, 4
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [r11 + r10], xmm0
add rcx, 0x40
cmp rcx, r9
jb 0x1800d48e0
mov r9, r8
shl r9, 4
add r9, qword [rbp + 0x28]
jmp 0x1800d49f5
mov r10, qword [rcx + 8]
mov r11, qword [rax]
mov r10d, dword [r10]
add rdx, 0xfffffffffffffff0
xor r14d, r14d
cmp r10d, dword [r11]
mov r10, rdx
cmovl r10, r13
setl r14b
mov r11, rsi
shl r11, 4
movups xmm0, xmmword [rcx]
movups xmmword [r10 + r11], xmm0
add rsi, r14
add rcx, 0x10
cmp rcx, r9
jb 0x1800d49c0
cmp r8, r15
je 0x1800d4a20
mov r8, rsi
shl r8, 4
movups xmm0, xmmword [rcx]
movups xmmword [rdx + r8 - 0x10], xmm0
add rdx, 0xfffffffffffffff0
add rcx, 0x10
mov r8, r15
jmp 0x1800d48b0
mov r14, rsi
shl r14, 4
mov rcx, qword [rbp + 0x28]
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, r15
sub rdx, rsi
movabs r10, 0xffffffffffffffe
je 0x1800d4acf
lea rax, [rsi + 1]
cmp r15, rax
jne 0x1800d4a60
xor eax, eax
jmp 0x1800d4aac
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 0x10]
lea r8, [rax + r14]
add rbx, qword [rbp + 8]
xor r9d, r9d
nop word cs:[rax + rax]
movups xmm0, xmmword [rbx]
movups xmmword [r8 - 0x10], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 4
movups xmm0, xmmword [rdi + r9]
movups xmmword [r8], xmm0
add r8, 0x20
add rbx, 0xffffffffffffffe0
mov r9, rax
cmp rcx, rax
jne 0x1800d4a80
test dl, 1
je 0x1800d4acf
mov rcx, qword [rbp + 0x28]
add rcx, r14
mov r8, rax
not r8
shl r8, 4
shl rax, 4
movups xmm0, xmmword [rdi + r8]
movups xmmword [rcx + rax], xmm0
test rsi, rsi
mov rdi, qword [rbp]
je 0x1800d4b30
cmp r15, rsi
jb 0x1800d525a
add r14, qword [rbp + 0x28]
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov r12d, dword [rbp + 0x18]
mov dword [rsp + 0x20], r12d
mov rcx, r14
mov r8, r13
mov r9, rdi
call fcn.1800d46f0
mov r15, rsi
cmp rsi, 0x21
jae 0x1800d47d0
jmp 0x1800d472a
cmp r15, rdi
ja 0x1800d52a3
mov rax, r15
shl rax, 4
mov qword [rbp + 0x10], rax
lea rdx, [rax + r13]
mov rax, r12
shl rax, 4
mov rcx, qword [rbp + 0x28]
add rax, rcx
add rax, 8
xor r14d, r14d
mov rdi, rcx
mov qword [rbp + 0x20], rdx
nop word cs:[rax + rax]
mov r9, r12
sub r9, 3
mov r8d, 0
cmovae r8, r9
shl r8, 4
add r8, rcx
cmp rdi, r8
jae 0x1800d4c5f
nop word cs:[rax + rax]
mov r10, qword [rdi + 8]
mov r9, qword [rax]
mov r11d, dword [r9]
lea rsi, [rdx - 0x10]
xor r9d, r9d
cmp r11d, dword [r10]
setge r9b
cmovge rsi, r13
add r9, r14
shl r14, 4
movups xmm0, xmmword [rdi]
movups xmmword [rsi + r14], xmm0
mov r11, qword [rdi + 0x18]
mov r10, qword [rax]
mov esi, dword [r10]
lea rbx, [rdx - 0x20]
xor r10d, r10d
cmp esi, dword [r11]
cmovge rbx, r13
setge r10b
add r10, r9
shl r9, 4
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + r9], xmm0
mov r11, qword [rdi + 0x28]
mov r9, qword [rax]
mov esi, dword [r9]
xor r9d, r9d
cmp esi, dword [r11]
lea r11, [rdx - 0x30]
setge r9b
cmovge r11, r13
add r9, r10
shl r10, 4
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [r11 + r10], xmm0
mov r10, qword [rdi + 0x38]
mov r11, qword [rax]
mov r11d, dword [r11]
add rdx, 0xffffffffffffffc0
xor r14d, r14d
cmp r11d, dword [r10]
mov r10, rdx
cmovge r10, r13
setge r14b
add r14, r9
shl r9, 4
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [r10 + r9], xmm0
add rdi, 0x40
cmp rdi, r8
jb 0x1800d4ba0
mov r8, r12
shl r8, 4
mov rcx, qword [rbp + 0x28]
add r8, rcx
cmp rdi, r8
jae 0x1800d4cba
nop word cs:[rax + rax]
mov r9, qword [rdi + 8]
mov r10, qword [rax]
mov r10d, dword [r10]
add rdx, 0xfffffffffffffff0
xor r11d, r11d
cmp r10d, dword [r9]
mov r9, rdx
cmovge r9, r13
setge r11b
mov r10, r14
shl r10, 4
movups xmm0, xmmword [rdi]
movups xmmword [r9 + r10], xmm0
add r14, r11
add rdi, 0x10
cmp rdi, r8
jb 0x1800d4c80
cmp r12, r15
je 0x1800d4cf0
add rdx, 0xfffffffffffffff0
mov r8, r14
shl r8, 4
movups xmm0, xmmword [rdi]
movups xmmword [r13 + r8], xmm0
inc r14
add rdi, 0x10
mov r12, r15
jmp 0x1800d4b70
mov rbx, r14
shl rbx, 4
mov rdx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rsi, r15
sub rsi, r14
mov rdi, qword [rbp]
mov r12d, dword [rbp + 0x18]
movabs r9, 0xffffffffffffffe
mov r10, qword [rbp + 0x20]
je 0x1800d4d9f
lea rax, [r14 + 1]
cmp r15, rax
jne 0x1800d4d2d
xor eax, eax
jmp 0x1800d4d7b
mov rcx, rsi
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 0x28]
lea rdx, [rax + rbx]
add rdx, 0x10
mov r11, qword [rbp + 0x10]
add r11, qword [rbp + 8]
xor r8d, r8d
nop dword [rax + rax]
movups xmm0, xmmword [r11]
movups xmmword [rdx - 0x10], xmm0
lea rax, [r8 + 2]
xor r8, r9
shl r8, 4
movups xmm0, xmmword [r10 + r8]
movups xmmword [rdx], xmm0
add rdx, 0x20
add r11, 0xffffffffffffffe0
mov r8, rax
cmp rcx, rax
jne 0x1800d4d50
test sil, 1
je 0x1800d4d9f
mov rcx, qword [rbp + 0x28]
add rcx, rbx
mov rdx, rax
not rdx
shl rdx, 4
shl rax, 4
movups xmm0, xmmword [r10 + rdx]
movups xmmword [rcx + rax], xmm0
cmp r15, r14
jb 0x1800d528c
add qword [rbp + 0x28], rbx
mov eax, 0
mov qword [rbp + 0x20], rax
cmp rsi, 0x21
jae 0x1800d47c0
jmp 0x1800d472a
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
mov rcx, qword [rbp + 0x28]
mov rdx, r15
mov r8, r13
mov r9, rdi
call fcn.1800d3f80
jmp 0x1800d5246
cmp rsi, 7
jbe 0x1800d4fc0
mov r14, qword [rbp + 0x28]
mov rax, qword [r14 + 8]
mov rcx, qword [r14 + 0x18]
mov ecx, dword [rcx]
xor r9d, r9d
xor r10d, r10d
cmp ecx, dword [rax]
setge r9b
setl r10b
mov rax, qword [r14 + 0x38]
mov rcx, qword [r14 + 0x28]
mov eax, dword [rax]
xor edx, edx
cmp eax, dword [rcx]
setl dl
shl r10d, 4
lea rax, [r14 + r10]
shl r9d, 4
lea rcx, [r14 + r9]
mov r11d, edx
shl r11d, 4
lea r8, [r14 + r11]
add r8, 0x20
xor edx, 3
shl edx, 4
mov r11, qword [r14 + r11 + 0x28]
mov r10, qword [r14 + r10 + 8]
mov r11d, dword [r11]
mov rdi, qword [r14 + rdx + 8]
mov r9, qword [r14 + r9 + 8]
mov edi, dword [rdi]
mov r9d, dword [r9]
cmp edi, r9d
mov rbx, rcx
cmovl rbx, r8
cmp r11d, dword [r10]
cmovl rbx, rax
cmovl rax, r8
cmovl r8, rcx
add rdx, r14
cmp edi, r9d
cmovge rcx, rdx
cmovl r8, rdx
mov rdx, qword [r8 + 8]
mov r9, qword [rbx + 8]
mov edx, dword [rdx]
cmp edx, dword [r9]
mov rdx, rbx
cmovl rdx, r8
cmovl r8, rbx
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm0, xmmword [rdx]
movups xmmword [r13 + 0x10], xmm0
movups xmm0, xmmword [r8]
movups xmmword [r13 + 0x20], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [r13 + 0x30], xmm0
mov rax, r12
shl rax, 4
lea rcx, [r14 + rax]
mov rdx, qword [r14 + rax + 8]
mov r8, qword [r14 + rax + 0x18]
mov r9d, dword [r8]
xor r11d, r11d
xor r8d, r8d
cmp r9d, dword [rdx]
setge r11b
setl r8b
mov rdx, qword [r14 + rax + 0x38]
mov r10, qword [r14 + rax + 0x28]
mov edx, dword [rdx]
xor r9d, r9d
cmp edx, dword [r10]
setl r9b
shl r8d, 4
shl r11d, 4
lea rdx, [rcx + r11]
mov edi, r9d
shl edi, 4
lea r10, [rdi + rcx]
add r10, 0x20
xor r9d, 3
shl r9d, 4
mov rdi, qword [rcx + rdi + 0x28]
mov rbx, qword [r8 + rcx + 8]
mov edi, dword [rdi]
mov r14, qword [r9 + rcx + 8]
mov r11, qword [r11 + rcx + 8]
mov r14d, dword [r14]
mov r11d, dword [r11]
cmp r14d, r11d
mov r15, rdx
cmovl r15, r10
cmp edi, dword [rbx]
lea r8, [rcx + r8]
cmovl r15, r8
cmovl r8, r10
cmovl r10, rdx
add rcx, r9
cmp r14d, r11d
cmovge rdx, rcx
cmovl r10, rcx
mov rcx, qword [r10 + 8]
mov r9, qword [r15 + 8]
mov ecx, dword [rcx]
cmp ecx, dword [r9]
mov rcx, r15
cmovl rcx, r10
cmovl r10, r15
movups xmm0, xmmword [r8]
movups xmmword [r13 + rax], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [r13 + rax + 0x10], xmm0
movups xmm0, xmmword [r10]
movups xmmword [r13 + rax + 0x20], xmm0
movups xmm0, xmmword [rdx]
movups xmmword [r13 + rax + 0x30], xmm0
mov eax, 4
mov rcx, rsi
sub rcx, r12
cmp rax, r12
jb 0x1800d4ff1
jmp 0x1800d507b
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rcx]
movups xmmword [r13], xmm0
mov rax, r12
shl rax, 4
movups xmm0, xmmword [rcx + rax]
movups xmmword [r13 + rax], xmm0
mov eax, 1
mov rcx, rsi
sub rcx, r12
cmp rax, r12
jae 0x1800d507b
mov edx, eax
shl edx, 4
mov r8, rax
jmp 0x1800d5017
mov rdi, r13
mov qword [rdi], r10
mov qword [r13 + r11 - 8], r9
inc r8
add rdx, 0x10
cmp r8, r12
je 0x1800d507b
mov r10, r8
shl r10, 4
mov r9, qword [rbp + 0x28]
movups xmm0, xmmword [r9 + r10]
movups xmmword [r13 + r10], xmm0
mov r9, qword [r13 + r10 + 8]
mov r11, qword [r13 + r10 - 8]
mov edi, dword [r9]
cmp edi, dword [r11]
jge 0x1800d500b
add r10, r13
mov r10, qword [r10]
mov rdi, rdx
nop dword [rax + rax]
mov r11, rdi
movups xmm0, xmmword [r13 + rdi - 0x10]
movups xmmword [r13 + rdi], xmm0
cmp rdi, 0x10
je 0x1800d5000
mov rbx, qword [r13 + r11 - 0x18]
mov r14d, dword [r9]
lea rdi, [r11 - 0x10]
cmp r14d, dword [rbx]
jl 0x1800d5050
add rdi, r13
jmp 0x1800d5003
mov rdx, r12
shl rdx, 4
mov qword [rbp + 0x18], rdx
cmp rax, rcx
jae 0x1800d512a
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x18]
add r8, rdx
lea r9, [rdx + r13]
mov r10d, eax
shl r10d, 4
jmp 0x1800d50ca
mov r14, r9
mov r12, rdx
mov qword [r14], rdi
mov qword [r9 + rbx - 8], r11
inc rax
add r10, 0x10
cmp rax, rcx
je 0x1800d512a
mov rdi, rax
shl rdi, 4
movups xmm0, xmmword [r8 + rdi]
movups xmmword [r9 + rdi], xmm0
mov r11, qword [r9 + rdi + 8]
mov rbx, qword [r9 + rdi - 8]
mov r14d, dword [r11]
cmp r14d, dword [rbx]
jge 0x1800d50be
mov rdx, r12
add rdi, r9
mov rdi, qword [rdi]
mov r14, r10
nop dword [rax]
mov rbx, r14
movups xmm0, xmmword [r9 + r14 - 0x10]
movups xmmword [r9 + r14], xmm0
cmp r14, 0x10
je 0x1800d50b0
mov r15, qword [r9 + rbx - 0x18]
mov r12d, dword [r11]
lea r14, [rbx - 0x10]
cmp r12d, dword [r15]
jl 0x1800d5100
add r14, r9
jmp 0x1800d50b3
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + r13]
mov r8, r13
add r13, rcx
add r13, 0xfffffffffffffff0
mov rdx, rsi
shl rdx, 4
lea rcx, [r8 + rdx]
add rcx, 0xfffffffffffffff0
mov r9, qword [rbp + 0x28]
mov qword [rbp + 8], rdx
lea r10, [r9 + rdx]
add r10, 0xfffffffffffffff0
jmp 0x1800d51aa
movzx edi, byte [rbp + 0x10]
mov r14b, dil
shl r14d, 4
add rax, r14
movzx edi, byte [rbp + 0x20]
mov r11b, dil
shl r11d, 4
add r8, r11
movups xmm0, xmmword [rdx]
mov r15b, r12b
shl r15d, 4
sub rcx, r15
movzx edx, byte [rbp]
mov bl, dl
shl ebx, 4
sub r13, rbx
add r9, 0x10
movups xmmword [r10], xmm0
add r10, 0xfffffffffffffff0
mov r12, qword [rbp + 0x18]
dec r12
je 0x1800d5203
mov qword [rbp + 0x18], r12
mov rdx, qword [rax + 8]
mov rdi, qword [r8 + 8]
mov ebx, dword [rdx]
xor r11d, r11d
xor r14d, r14d
mov rdx, rax
cmp ebx, dword [rdi]
setge byte [rbp + 0x20]
setl byte [rbp + 0x10]
jl 0x1800d51d0
mov rdx, r8
movups xmm0, xmmword [rdx]
movups xmmword [r9], xmm0
mov rdx, qword [rcx + 8]
mov r12, qword [r13 + 8]
mov edi, dword [rdx]
xor ebx, ebx
xor r15d, r15d
mov rdx, r13
cmp edi, dword [r12]
setl byte [rbp]
setge r12b
jl 0x1800d5160
mov rdx, rcx
jmp 0x1800d5160
add r13, 0x10
test sil, 1
je 0x1800d5238
xor edx, edx
xor r10d, r10d
cmp r8, r13
setae dl
setb r10b
mov r11, rax
cmovb r11, r8
movups xmm0, xmmword [r11]
movups xmmword [r9], xmm0
shl r10d, 4
add r8, r10
shl edx, 4
add rax, rdx
cmp r8, r13
jne 0x1800d529e
add rcx, 0x10
cmp rax, rcx
jne 0x1800d529e
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x180249d58]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, str._rustc_662180b34d95f72d05b7c467b0baf4d23d36b1e1librarycore_src_slice_sort_stablequicksort.rsmid___lenO
lea rcx, [rbp - 0x48]
call fcn.18022de80
lea r8, str._rustc_662180b34d95f72d05b7c467b0baf4d23d36b1e1librarycore_src_slice_sort_stablequicksort.rsmid___lenO
mov rcx, r14
mov rdx, r15
call fcn.18022e2c0
call fcn.18022e280
ud2