Function at 0x140091690
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov qword [rsp + 0x40], r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
cmp rdx, 0x21
jae 0x140091719
cmp rbx, 2
jb 0x140092275
lea rax, [rbx + 0x10]
cmp rax, qword [rsp + 0x40]
ja 0x140092289
mov rsi, rbx
shr rsi, 1
mov rbp, rsi
shl rbp, 5
lea r12, [r15 + rbp]
lea r14, [rdi + rbp]
cmp rbx, 7
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x70], r14
jbe 0x140091db1
mov rcx, r15
mov rdx, rdi
call fcn.1400922f0
mov rcx, r12
mov rdx, r14
call fcn.1400922f0
mov eax, 4
jmp 0x140091dda
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x58], rax
mov esi, dword [rsp + 0x150]
lea rax, [rdi - 0x20]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdi
lea rax, [r15 + 0x20]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x50], r15
nop word cs:[rax + rax]
sub esi, 1
jb 0x140091d92
mov dword [rsp + 0x60], esi
mov rax, qword [rsp + 0x30]
mov r9, rax
shr r9, 3
mov rbx, r9
shl rbx, 7
add rbx, r15
imul r13, r9, 0xe0
add r13, r15
cmp rax, 0x40
jae 0x1400918b0
mov rcx, qword [r15 + 8]
mov qword [rsp + 0x38], rcx
mov rax, r15
mov r15, qword [r15 + 0x10]
mov rsi, rax
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
mov rbp, r15
sub rbp, r8
mov qword [rsp + 0x68], r8
cmovb r8, r15
mov qword [rsp + 0x48], rdx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbp, rax
movzx r14d, byte [rsi + 0x18]
movzx ecx, byte [rbx + 0x18]
mov eax, r14d
mov byte [rsp + 0x70], cl
sub al, cl
xor esi, esi
cmp al, 0xff
sete sil
xor eax, eax
test rbp, rbp
sets al
cmovne esi, eax
mov rdx, qword [r13 + 8]
mov rbp, qword [r13 + 0x10]
mov r12, r15
sub r12, rbp
cmovae r15, rbp
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rdx
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
movzx r15d, byte [r13 + 0x18]
sub r14b, r15b
xor eax, eax
cmp r14b, 0xff
sete al
xor ecx, ecx
test r12, r12
sets cl
cmovne eax, ecx
mov rcx, qword [rsp + 0x50]
mov r12, rcx
cmp sil, al
jne 0x1400918c4
mov rax, qword [rsp + 0x68]
mov r14, rax
sub r14, rbp
cmovb rbp, rax
mov r12, rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
movzx ecx, byte [rsp + 0x70]
sub cl, r15b
xor eax, eax
cmp cl, 0xff
sete al
xor ecx, ecx
test r14, r14
sets cl
cmovne eax, ecx
mov rcx, r12
xor sil, al
cmovne rbx, r13
mov r12, rbx
jmp 0x1400918c4
mov rcx, r15
mov rdx, rbx
mov r8, r13
call fcn.14008aad0
mov r12, rax
mov rcx, r15
mov rax, r12
sub rax, rcx
shr rax, 5
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
cmp qword [rsp + 0x58], 0
mov r15, rcx
mov rsi, qword [rsp + 0x30]
je 0x140091955
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
mov rsi, rax
sub rsi, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
movzx eax, byte [rbx + 0x18]
sub al, byte [r12 + 0x18]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test rsi, rsi
mov rsi, qword [rsp + 0x30]
sets al
cmovne ecx, eax
cmp cl, 1
jne 0x140091b90
cmp rsi, qword [rsp + 0x40]
ja 0x140092289
shl rsi, 5
mov qword [rsp + 0x68], rsi
lea rbp, [rdi + rsi]
xor ebx, ebx
mov r13, r15
mov qword [rsp + 0x48], rbp
mov rsi, qword [rsp + 0x38]
nop dword [rax]
mov r14, rsi
shl r14, 5
add r14, r15
cmp r13, r14
mov rdi, qword [rsp + 0x80]
jae 0x140091a1b
nop dword [rax + rax]
mov rcx, qword [r13 + 8]
mov rax, qword [r13 + 0x10]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
mov r15, rax
sub r15, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r15, rax
movzx eax, byte [r13 + 0x18]
sub al, byte [r12 + 0x18]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test r15, r15
sets al
cmovne ecx, eax
add rbp, 0xffffffffffffffe0
test cl, cl
mov rax, rbp
cmovne rax, rdi
mov rdx, rbx
shl rdx, 5
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rax + rdx + 0x10], xmm1
movups xmmword [rax + rdx], xmm0
movzx eax, cl
add rbx, rax
add r13, 0x20
cmp r13, r14
jb 0x1400919a0
mov rax, qword [rsp + 0x30]
cmp rsi, rax
mov rsi, rax
je 0x140091a60
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rbp + rax - 0x10], xmm1
movups xmmword [rbp + rax - 0x20], xmm0
add rbp, 0xffffffffffffffe0
add r13, 0x20
mov r15, qword [rsp + 0x50]
jmp 0x140091980
mov r13, rbx
shl r13, 5
mov r15, qword [rsp + 0x50]
mov rcx, r15
mov rdi, qword [rsp + 0x80]
mov rdx, rdi
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rsi
sub rdx, rbx
mov r11, qword [rsp + 0x48]
je 0x140091b3d
lea rax, [rbx + 1]
cmp rsi, rax
jne 0x140091aa0
xor eax, eax
jmp 0x140091b12
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0xb8]
lea r8, [rax + r13]
mov r14, qword [rsp + 0x68]
add r14, qword [rsp + 0x78]
xor r9d, r9d
movabs r10, 0x7fffffffffffffe
nop word [rax + rax]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r8 - 0x10], xmm1
movups xmmword [r8 - 0x20], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 5
movups xmm0, xmmword [r11 + r9]
movups xmm1, xmmword [r11 + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r14, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x140091ad0
test dl, 1
je 0x140091b3d
lea rcx, [r15 + r13]
mov r8, rax
not r8
shl r8, 5
shl rax, 5
movups xmm0, xmmword [r11 + r8]
movups xmm1, xmmword [r11 + r8 + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
test rbx, rbx
je 0x140091b90
cmp rsi, rbx
jb 0x14009228b
add r13, r15
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov esi, dword [rsp + 0x60]
mov dword [rsp + 0x20], esi
mov rcx, r13
mov r8, rdi
mov r9, qword [rsp + 0x40]
call fcn.140091690
mov qword [rsp + 0x30], rbx
cmp rbx, 0x21
jae 0x140091760
jmp 0x1400916b7
cmp rsi, qword [rsp + 0x40]
ja 0x140092289
shl rsi, 5
mov qword [rsp + 0x58], rsi
lea rax, [rdi + rsi]
xor r13d, r13d
mov rbx, r15
mov qword [rsp + 0x48], rax
mov r15, rax
mov rsi, qword [rsp + 0x38]
nop dword [rax + rax]
mov rbp, rsi
shl rsi, 5
add rsi, qword [rsp + 0x50]
jmp 0x140091bf2
mov r8, r13
shl r8, 5
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdx + r8 + 0x10], xmm1
movups xmmword [rdx + r8], xmm0
mov cl, al
add r13, rcx
add rbx, 0x20
cmp rbx, rsi
jae 0x140091c60
mov rcx, qword [r12 + 8]
mov rax, qword [r12 + 0x10]
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
mov r14, rax
sub r14, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
xor eax, eax
test r14, r14
setne al
mov ecx, 0xff
cmovs eax, ecx
test al, al
jne 0x140091c40
movzx eax, byte [r12 + 0x18]
sub al, byte [rbx + 0x18]
movzx eax, al
add r15, 0xffffffffffffffe0
xor ecx, ecx
mov rdx, rdi
cmp al, 0xff
setne al
jne 0x140091bd0
mov rdx, r15
jmp 0x140091bd0
mov rsi, qword [rsp + 0x30]
cmp rbp, rsi
je 0x140091ca0
add r15, 0xffffffffffffffe0
mov rax, r13
shl rax, 5
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc r13
add rbx, 0x20
jmp 0x140091bc0
mov r12, r13
shl r12, 5
mov r15, qword [rsp + 0x50]
mov rcx, r15
mov rdx, rdi
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov rbx, rsi
sub rbx, r13
movabs r9, 0x7fffffffffffffe
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x58]
je 0x140091d69
lea rax, [r13 + 1]
cmp rsi, rax
jne 0x140091ce7
xor eax, eax
jmp 0x140091d3e
mov rcx, rbx
and rcx, 0xfffffffffffffffe
lea rdx, [r15 + r12]
add rdx, 0x20
add r11, qword [rsp + 0x78]
xor r8d, r8d
nop
movups xmm0, xmmword [r11]
movups xmm1, xmmword [r11 + 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 r11, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x140091d00
test bl, 1
je 0x140091d69
lea rcx, [r15 + 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 rsi, r13
jb 0x1400922d1
add r15, r12
mov eax, 0
mov qword [rsp + 0x58], rax
cmp rbx, 0x21
mov esi, dword [rsp + 0x60]
jae 0x14009173e
jmp 0x1400916b7
mov byte [rsp + 0x20], 1
mov rcx, r15
mov rdx, qword [rsp + 0x30]
mov r8, rdi
mov r9, qword [rsp + 0x40]
call fcn.140090ea0
jmp 0x140092275
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
mov eax, 1
mov qword [rsp + 0x50], r15
mov rcx, rbx
sub rcx, rsi
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rax
cmp rax, rsi
jae 0x140091f80
mov rax, qword [rsp + 0x40]
mov ecx, eax
shl ecx, 5
mov qword [rsp + 0x60], rcx
mov r13, rax
jmp 0x140091e69
add r13, rdi
mov rax, rdi
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov qword [r13 - 0x18], r12
mov qword [r13 - 0x10], r15
mov byte [r13 - 8], sil
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
mov dword [r13 - 7], eax
mov dword [r13 - 4], ecx
mov r13, qword [rsp + 0x38]
inc r13
add qword [rsp + 0x60], 0x20
cmp r13, qword [rsp + 0x30]
je 0x140091f80
mov qword [rsp + 0x38], r13
shl r13, 5
mov rax, qword [rsp + 0x50]
movups xmm0, xmmword [rax + r13]
movups xmm1, xmmword [rax + r13 + 0x10]
movups xmmword [rdi + r13], xmm0
movups xmmword [rdi + r13 + 0x10], xmm1
mov r12, qword [rdi + r13 + 8]
mov r15, qword [rdi + r13 + 0x10]
mov rdx, qword [rdi + r13 - 0x18]
mov r8, qword [rdi + r13 - 0x10]
mov r14, r15
sub r14, r8
cmovb r8, r15
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
movzx esi, byte [rdi + r13 + 0x18]
mov eax, esi
sub al, byte [rdi + r13 - 8]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test r14, r14
sets al
cmovne ecx, eax
cmp cl, 1
jne 0x140091e50
add r13, rdi
mov rax, qword [r13]
mov qword [rsp + 0x68], rax
mov eax, dword [r13 + 0x1c]
mov dword [rsp + 0x8b], eax
mov eax, dword [r13 + 0x19]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x60]
nop word [rax + rax]
mov r13, rax
movups xmm0, xmmword [rdi + rax - 0x20]
movups xmm1, xmmword [rdi + rax - 0x10]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
cmp rax, 0x20
je 0x140091e20
mov rdx, qword [rdi + r13 - 0x38]
mov r8, qword [rdi + r13 - 0x30]
mov r14, r15
sub r14, r8
cmovb r8, r15
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
mov eax, esi
sub al, byte [rdi + r13 - 0x28]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test r14, r14
sets al
cmovne ecx, eax
lea rax, [r13 - 0x20]
test cl, cl
jne 0x140091f10
add r13, rdi
add rax, rdi
jmp 0x140091e26
mov r15, qword [rsp + 0x40]
cmp r15, qword [rsp + 0x48]
jae 0x140092101
add rbp, rdi
mov eax, r15d
shl eax, 5
mov qword [rsp + 0x38], rax
jmp 0x140091fe9
add r15, rbp
mov rax, rbp
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov qword [r15 - 0x18], r12
mov qword [r15 - 0x10], r13
mov byte [r15 - 8], sil
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
mov dword [r15 - 7], eax
mov dword [r15 - 4], ecx
mov r15, qword [rsp + 0x40]
inc r15
add qword [rsp + 0x38], 0x20
cmp r15, qword [rsp + 0x48]
je 0x140092101
mov qword [rsp + 0x40], r15
shl r15, 5
mov rax, qword [rsp + 0x58]
movups xmm0, xmmword [rax + r15]
movups xmm1, xmmword [rax + r15 + 0x10]
movups xmmword [rbp + r15], xmm0
movups xmmword [rbp + r15 + 0x10], xmm1
mov r12, qword [rbp + r15 + 8]
mov r13, qword [rbp + r15 + 0x10]
mov rdx, qword [rbp + r15 - 0x18]
mov r8, qword [rbp + r15 - 0x10]
mov r14, r13
sub r14, r8
cmovb r8, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
movzx esi, byte [rbp + r15 + 0x18]
mov eax, esi
sub al, byte [rbp + r15 - 8]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test r14, r14
sets al
cmovne ecx, eax
cmp cl, 1
jne 0x140091fd0
add r15, rbp
mov rax, qword [r15]
mov qword [rsp + 0x60], rax
mov eax, dword [r15 + 0x1c]
mov dword [rsp + 0x8b], eax
mov eax, dword [r15 + 0x19]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x38]
nop word [rax + rax]
mov r15, rax
movups xmm0, xmmword [rbp + rax - 0x20]
movups xmm1, xmmword [rbp + rax - 0x10]
movups xmmword [rbp + rax + 0x10], xmm1
movups xmmword [rbp + rax], xmm0
cmp rax, 0x20
je 0x140091fa0
mov rdx, qword [rbp + r15 - 0x38]
mov r8, qword [rbp + r15 - 0x30]
mov r14, r13
sub r14, r8
cmovb r8, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
mov eax, esi
sub al, byte [rbp + r15 - 0x28]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test r14, r14
sets al
cmovne ecx, eax
lea rax, [r15 - 0x20]
test cl, cl
jne 0x140092090
add r15, rbp
add rax, rbp
jmp 0x140091fa6
mov rbp, qword [rsp + 0x70]
lea r12, [rbp - 0x20]
mov rax, rbx
shl rax, 5
lea r15, [rdi + rax]
add r15, 0xffffffffffffffe0
mov r14, qword [rsp + 0x50]
lea r13, [r14 + rax]
add r13, 0xffffffffffffffe0
mov rax, qword [rsp + 0x30]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
mov rsi, rdi
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rdi, rax
sub rdi, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rdi, rax
movzx eax, byte [rbp + 0x18]
sub al, byte [rsi + 0x18]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test rdi, rdi
sets al
cmovne ecx, eax
test cl, cl
mov rax, rsi
cmovne rax, rbp
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movzx eax, cl
xor cl, 1
shl eax, 5
add rax, rbp
mov rbp, rax
movzx edi, cl
shl edi, 5
add rdi, rsi
add r14, 0x20
mov rcx, qword [r15 + 8]
mov rax, qword [r15 + 0x10]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
mov rsi, rax
sub rsi, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
movzx eax, byte [r15 + 0x18]
sub al, byte [r12 + 0x18]
xor ecx, ecx
cmp al, 0xff
sete cl
xor eax, eax
test rsi, rsi
sets al
cmovne ecx, eax
test cl, cl
mov rax, r15
cmovne rax, r12
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
movzx eax, cl
shl eax, 5
add r15, rax
add r15, 0xffffffffffffffe0
sub r12, rax
mov rax, qword [rsp + 0x30]
add r13, 0xffffffffffffffe0
dec rax
jne 0x140092130
add r12, 0x20
test bl, 1
je 0x140092267
xor eax, eax
xor ecx, ecx
cmp rdi, r12
setae al
setb cl
mov rdx, rbp
cmovb rdx, rdi
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
shl ecx, 5
add rdi, rcx
shl eax, 5
add rbp, rax
cmp rdi, r12
jne 0x1400922e3
add r15, 0x20
cmp rbp, r15
jne 0x1400922e3
add rsp, 0xe8
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 + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x98], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea rdx, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rsp + 0x88]
call fcn.1400dec20
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, rsi
call fcn.1400deb40
call fcn.1400df1e0
int3