Function at 0x1401f2210
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 + 0x20], r9
mov rsi, r8
mov rbx, rdx
cmp rdx, 0x21
jb 0x1401f2755
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x28], rax
mov edi, dword [rbp + 0xa0]
lea rax, [rsi - 0x20]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x30], rcx
lea rax, [rcx + 0x20]
mov qword [rbp], rax
mov r14, rbx
nop word [rax + rax]
sub edi, 1
jb 0x1401f2734
mov dword [rbp + 0x1c], edi
mov r9, r14
shr r9, 3
mov rdx, r9
shl rdx, 7
mov r15, qword [rbp + 0x30]
add rdx, r15
imul r8, r9, 0xe0
add r8, r15
cmp r14, 0x40
jae 0x1401f22e0
mov rdi, qword [r15]
mov rbx, qword [r15 + 0x10]
mov rax, qword [rdx]
mov r9, qword [rdx + 0x10]
cmp rbx, r9
jae 0x1401f22f0
mov r10, qword [r8]
mov r11, qword [r8 + 0x10]
mov cl, 1
cmp rbx, r11
jb 0x1401f2330
mov r12, r15
ja 0x1401f234d
mov r12, r15
cmp rdi, r10
jb 0x1401f2330
jmp 0x1401f234d
mov rcx, r15
call fcn.1401f2cf0
mov r12, rax
jmp 0x1401f234d
setbe r10b
cmp rdi, rax
setb cl
and cl, r10b
mov r10, qword [r8]
mov r11, qword [r8 + 0x10]
cmp rbx, r11
jae 0x1401f2314
mov r12, r15
test cl, cl
mov cl, 1
jne 0x1401f2330
jmp 0x1401f234d
setbe bl
cmp rdi, r10
setb dil
and dil, bl
mov r12, r15
cmp cl, dil
jne 0x1401f234d
nop dword [rax]
mov bl, 1
cmp r9, r11
jb 0x1401f2344
setbe r9b
cmp rax, r10
setb bl
and bl, r9b
xor cl, bl
cmovne rdx, r8
mov r12, rdx
mov rax, r12
sub rax, r15
shr rax, 5
mov qword [rbp + 8], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x28], 0
je 0x1401f239b
mov rax, qword [r12 + 0x10]
mov rcx, qword [rbp + 0x28]
cmp qword [rcx + 0x10], rax
jb 0x1401f239b
ja 0x1401f2570
mov rax, qword [r12]
mov rcx, qword [rbp + 0x28]
cmp qword [rcx], rax
jae 0x1401f2570
cmp r14, qword [rbp + 0x20]
ja 0x1401f2b42
mov r15, r14
shl r15, 5
lea rdi, [rsi + r15]
xor ebx, ebx
mov r13, qword [rbp + 0x30]
mov rax, r13
mov rcx, rdi
mov rdx, qword [rbp + 8]
mov r8, rdx
shl r8, 5
add r8, r13
jmp 0x1401f2414
mov r9, qword [rax]
setbe r10b
cmp r9, qword [r12]
setb r9b
and r9b, r10b
add rcx, 0xffffffffffffffe0
test r9b, r9b
mov r10, rcx
cmovne r10, rsi
mov r11, rbx
shl r11, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
movups xmmword [r10 + r11], xmm0
movzx r9d, r9b
add rbx, r9
add rax, 0x20
cmp rax, r8
jae 0x1401f2430
mov r9, qword [r12 + 0x10]
cmp qword [rax + 0x10], r9
jae 0x1401f23d0
add rcx, 0xffffffffffffffe0
mov r9b, 1
mov r10, rsi
jmp 0x1401f23f0
cmp rdx, r14
je 0x1401f2460
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 0x1401f23c0
mov rcx, r13
mov r13, rbx
shl r13, 5
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov rdx, r14
sub rdx, rbx
je 0x1401f2520
lea rax, [rbx + 1]
cmp r14, rax
jne 0x1401f2490
xor eax, eax
jmp 0x1401f24f2
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp]
lea r8, [rax + r13]
add r15, qword [rbp + 0x10]
xor r9d, r9d
movabs r10, 0x7fffffffffffffe
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 [rdi + r9]
movups xmm1, xmmword [rdi + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r15, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x1401f24b0
test dl, 1
je 0x1401f2520
mov rcx, qword [rbp + 0x30]
add rcx, r13
mov r8, rax
not r8
shl r8, 5
shl rax, 5
movups xmm0, xmmword [rdi + r8]
movups xmm1, xmmword [rdi + r8 + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
test rbx, rbx
je 0x1401f2570
cmp r14, rbx
jb 0x1401f2b0b
add r13, qword [rbp + 0x30]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov edi, dword [rbp + 0x1c]
mov dword [rsp + 0x20], edi
mov rcx, r13
mov r8, rsi
mov r9, qword [rbp + 0x20]
call fcn.1401f2210
mov r14, rbx
cmp rbx, 0x21
jae 0x1401f2270
jmp 0x1401f2751
cmp r14, qword [rbp + 0x20]
ja 0x1401f2b42
mov r15, r14
shl r15, 5
lea rcx, [rsi + r15]
xor r13d, r13d
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x28], rcx
movabs rdi, 0x7fffffffffffffe
mov r11, qword [rbp + 8]
nop
mov rdx, r11
shl rdx, 5
add rdx, qword [rbp + 0x30]
jmp 0x1401f25f9
mov r8, qword [r12]
seta r9b
cmp r8, qword [rax]
setae r8b
or r8b, r9b
add rcx, 0xffffffffffffffe0
test r8b, 1
mov r9, rcx
cmovne r9, rsi
mov r10, r13
shl r10, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r9 + r10 + 0x10], xmm1
movups xmmword [r9 + r10], xmm0
movzx r8d, r8b
and r8d, 1
add r13, r8
add rax, 0x20
cmp rax, rdx
jae 0x1401f2620
mov r8, qword [rax + 0x10]
cmp qword [r12 + 0x10], r8
jae 0x1401f25b0
add rcx, 0xffffffffffffffe0
xor r8d, r8d
mov r9, rcx
jmp 0x1401f25d1
cmp r11, r14
je 0x1401f2650
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 r11, r14
jmp 0x1401f25a0
mov r12, r13
shl r12, 5
mov rcx, qword [rbp + 0x30]
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rbx, r14
sub rbx, r13
mov r9, qword [rbp + 0x28]
je 0x1401f270c
lea rax, [r13 + 1]
cmp r14, rax
jne 0x1401f2683
xor eax, eax
jmp 0x1401f26de
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 0x30]
lea rdx, [rax + r12]
add rdx, 0x20
add r15, qword [rbp + 0x10]
xor r8d, r8d
nop dword [rax]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdx - 0x10], xmm1
movups xmmword [rdx - 0x20], xmm0
lea rax, [r8 + 2]
xor r8, rdi
shl r8, 5
movups xmm0, xmmword [r9 + r8]
movups xmm1, xmmword [r9 + r8 + 0x10]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add rdx, 0x40
add r15, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x1401f26a0
test bl, 1
je 0x1401f270c
mov rcx, qword [rbp + 0x30]
add rcx, r12
mov rdx, rax
not rdx
shl rdx, 5
shl rax, 5
movups xmm0, xmmword [r9 + rdx]
movups xmm1, xmmword [r9 + rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
cmp r14, r13
jb 0x1401f2b44
mov rcx, qword [rbp + 0x30]
add rcx, r12
mov eax, 0
mov qword [rbp + 0x28], rax
cmp rbx, 0x21
mov edi, dword [rbp + 0x1c]
jae 0x1401f2258
jmp 0x1401f2755
mov byte [rsp + 0x20], 1
mov rcx, qword [rbp + 0x30]
mov rdx, r14
mov r8, rsi
mov r9, qword [rbp + 0x20]
call fcn.1401f1ac0
jmp 0x1401f2af7
mov rcx, qword [rbp + 0x30]
cmp rbx, 2
jb 0x1401f2af7
mov r12, rbx
shr r12, 1
mov r14, r12
shl r14, 5
lea r15, [rcx + r14]
add r14, rsi
cmp rbx, 8
mov qword [rbp + 0x30], rcx
jb 0x1401f2797
mov rdx, rsi
call fcn.1401f2b80
mov rcx, r15
mov rdx, r14
call fcn.1401f2b80
mov eax, 4
jmp 0x1401f27bc
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
mov eax, 1
mov rcx, rbx
sub rcx, r12
mov qword [rbp + 0x20], rcx
cmp rax, r12
jae 0x1401f28d0
mov edx, eax
shl edx, 5
add rdx, 0xffffffffffffffe0
mov r8, rax
mov qword [rbp + 0x28], r15
jmp 0x1401f2817
mov r13, rsi
mov r15, qword [rbp + 0x28]
mov qword [r13], r10
mov qword [r13 + 8], rdi
mov qword [r13 + 0x10], r9
mov qword [r13 + 0x18], r11
inc r8
add rdx, 0x20
cmp r8, r12
je 0x1401f28d0
mov r13, r8
shl r13, 5
mov rcx, qword [rbp + 0x30]
movups xmm0, xmmword [rcx + r13]
movups xmm1, xmmword [rcx + r13 + 0x10]
movups xmmword [rsi + r13 + 0x10], xmm1
movups xmmword [rsi + r13], xmm0
lea rcx, [rsi + r13]
add rcx, 0xffffffffffffffe0
mov r9, qword [rsi + r13 + 0x10]
mov r10, qword [rsi + r13]
cmp r9, qword [rsi + r13 - 0x10]
jb 0x1401f2857
ja 0x1401f2807
cmp r10, qword [rcx]
jae 0x1401f2807
add r13, rsi
mov rdi, qword [r13 + 8]
mov r11, qword [r13 + 0x18]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm1
mov r13, rsi
cmp rcx, rsi
je 0x1401f27f7
mov rcx, rdx
jmp 0x1401f28ad
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
add rcx, 0xffffffffffffffe0
je 0x1401f27f0
lea r13, [rsi + rcx]
lea r15, [rsi + rcx]
add r15, 0xffffffffffffffe0
cmp r9, qword [rsi + rcx - 0x10]
jb 0x1401f2890
ja 0x1401f27f3
cmp r10, qword [r15]
jb 0x1401f2890
jmp 0x1401f27f3
mov rcx, qword [rbp + 0x20]
cmp rax, rcx
jae 0x1401f29bf
mov edx, eax
shl edx, 5
add rdx, 0xffffffffffffffe0
jmp 0x1401f2916
mov rdi, r14
mov rcx, qword [rbp + 0x20]
mov qword [rdi], r9
mov qword [rdi + 8], r11
mov qword [rdi + 0x10], r8
mov qword [rdi + 0x18], r10
inc rax
add rdx, 0x20
cmp rax, rcx
je 0x1401f29bf
mov rdi, rax
shl rdi, 5
movups xmm0, xmmword [r15 + rdi]
movups xmm1, xmmword [r15 + rdi + 0x10]
movups xmmword [r14 + rdi + 0x10], xmm1
movups xmmword [r14 + rdi], xmm0
lea r13, [r14 + rdi]
add r13, 0xffffffffffffffe0
mov r8, qword [r14 + rdi + 0x10]
mov r9, qword [r14 + rdi]
cmp r8, qword [r14 + rdi - 0x10]
jb 0x1401f2953
ja 0x1401f2906
cmp r9, qword [r13]
jae 0x1401f2906
add rdi, r14
mov r11, qword [rdi + 8]
mov r10, qword [rdi + 0x18]
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov rdi, r14
cmp r13, r14
je 0x1401f28f7
mov rcx, rdx
jmp 0x1401f299b
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
add rcx, 0xffffffffffffffe0
je 0x1401f28f0
lea rdi, [r14 + rcx]
lea r13, [r14 + rcx]
add r13, 0xffffffffffffffe0
cmp r8, qword [r14 + rcx - 0x10]
jb 0x1401f2980
ja 0x1401f28f3
cmp r9, qword [r13]
jb 0x1401f2980
jmp 0x1401f28f3
lea rcx, [r14 - 0x20]
mov r15, rbx
shl r15, 5
lea rax, [rsi + r15]
add rax, 0xffffffffffffffe0
mov r8, qword [rbp + 0x30]
lea r9, [r8 + r15]
add r9, 0xffffffffffffffe0
mov rdx, rsi
jmp 0x1401f2a39
movzx r13d, r11b
xor r11b, 1
shl r13d, 5
add r14, r13
movzx r11d, r11b
shl r11d, 5
add rdx, r11
add r8, 0x20
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r9 + 0x10], xmm1
movups xmmword [r9], xmm0
movzx r10d, r10b
shl r10d, 5
add rax, r10
add rax, 0xffffffffffffffe0
sub rcx, r10
add r9, 0xffffffffffffffe0
dec r12
je 0x1401f2aa8
mov r13, qword [rdx + 0x10]
mov r10b, 1
mov r11b, 1
mov rdi, r14
cmp qword [r14 + 0x10], r13
jb 0x1401f2a65
mov r11, qword [r14]
setbe r13b
cmp r11, qword [rdx]
setb r11b
mov rdi, r14
and r11b, r13b
jne 0x1401f2a65
mov rdi, rdx
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
mov r13, qword [rcx + 0x10]
mov rdi, rcx
cmp qword [rax + 0x10], r13
jb 0x1401f29f0
mov r10, qword [rax]
setbe r13b
cmp r10, qword [rcx]
setb r10b
mov rdi, rcx
and r10b, r13b
jne 0x1401f29f0
mov rdi, rax
jmp 0x1401f29f0
add rcx, 0x20
test bl, 1
je 0x1401f2ae9
xor r9d, r9d
xor r10d, r10d
cmp rdx, rcx
setae r9b
setb r10b
mov r11, r14
cmovb r11, rdx
movups xmm0, xmmword [r11]
movups xmm1, xmmword [r11 + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
shl r10d, 5
add rdx, r10
shl r9d, 5
add r14, r9
cmp rdx, rcx
jne 0x1401f2b3d
add rax, 0x20
cmp r14, rax
jne 0x1401f2b3d
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
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_3cb521a4344f0b556b81c55eec8facddeb1ead83librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rbp - 0x30]
call fcn.1400467a0
call fcn.14004baf0
ud2
lea r8, str._rustc_3cb521a4344f0b556b81c55eec8facddeb1ead83librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, r14
call fcn.1400467e0
mov rbx, rax
mov rcx, qword [rbp + 0x30]
mov rdx, rsi
mov r8, r15
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call fcn.14021dd00
int3