Function at 0x645fe0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x30], rcx
mov r15, qword [rcx + 0x10]
mov eax, 0xff
mov rcx, r15
mov qword [rsp + 0x38], rdx
nop dword [rax]
cmp rcx, 2
jb 0x6468b1
movzx r10d, byte [rdx]
movzx r8d, byte [rdx + 1]
movzx r11d, byte [rdx + 2]
movzx r9d, byte [rdx + 3]
xor esi, esi
cmp r10b, r11b
setne sil
cmovb esi, eax
cmp r8b, r9b
mov edi, 0
sbb edi, edi
test sil, sil
cmovne edi, esi
cmp dil, 2
jb 0x646083
dec rcx
movzx esi, r10b
movzx edi, r11b
cmp r10b, r11b
cmova edi, esi
movzx r10d, dil
movzx r11d, r8b
movzx esi, r9b
cmp r8b, r9b
cmovb esi, r11d
movzx r8d, sil
inc r8d
add rdx, 2
cmp r8d, r10d
jb 0x646010
cmp r15, 0x15
jae 0x6460b0
cmp r15, 1
jbe 0x6468c5
mov r8d, 1
mov rcx, qword [rsp + 0x38]
mov rdx, r15
call fcn.0064be20
mov r11, qword [rsp + 0x30]
jmp 0x64678a
movabs rax, 0x7ffffffffffffffe
mov rdx, r15
and rdx, rax
movzx eax, byte [0x0076d188]
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x6469f5
mov r14, rax
movzx eax, byte [0x0076d188]
mov edx, 0x100
xor ecx, ecx
call fcn.0069df80
test rax, rax
mov qword [rsp + 0x28], r14
je 0x646a01
mov r13, rax
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 3]
mov qword [rsp + 0x68], rcx
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x60], rax
mov eax, 0x10
mov qword [rsp + 0x58], rax
xor ebp, ebp
lea rax, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rsp + 0x70], r15
jmp 0x646153
mov ebx, 1
mov rbp, qword [rsp + 0x20]
cmp rbp, r15
jae 0x646756
mov rax, r15
sub rax, rbp
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rbp*2]
cmp rax, 2
jae 0x6461e0
mov r8, rax
lea rax, [r8 + rbp]
mov rsi, rax
sub rsi, rbp
jb 0x64697f
cmp rax, r15
ja 0x64697f
jae 0x646290
cmp r8, 0xa
jae 0x646290
lea rsi, [rbp + 0xa]
cmp rsi, r15
cmovae rsi, r15
cmp rbp, 0xfffffffffffffff5
ja 0x646999
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x20], rsi
sub rsi, rbp
mov rdx, rsi
call fcn.0064be20
cmp rbx, qword [rsp + 0x58]
je 0x64629c
jmp 0x6462ec
movzx edx, byte [rcx + 2]
movzx r9d, byte [rcx + 3]
xor r8d, r8d
cmp r9b, byte [rcx + 1]
setb r8b
xor r10d, r10d
cmp dl, byte [rcx]
setb r10b
cmove r10d, r8d
mov r8d, 2
test r10b, r10b
je 0x646620
cmp rax, 2
je 0x646259
nop word cs:[rax + rax]
mov r10d, edx
mov r11d, r9d
movzx edx, byte [rcx + r8*2]
movzx r9d, byte [rcx + r8*2 + 1]
xor esi, esi
cmp r9b, r11b
setb sil
xor r11d, r11d
cmp dl, r10b
setb r11b
cmove r11d, esi
cmp r11b, 1
jne 0x646259
inc r8
cmp rax, r8
jne 0x646220
mov r8, rax
mov rax, r8
add rax, rbp
jb 0x6469cc
cmp rax, r15
ja 0x6469b8
cmp r8, 2
jae 0x64666e
mov r8d, 1
jmp 0x64616f
mov qword [rsp + 0x20], rax
cmp rbx, qword [rsp + 0x58]
jne 0x6462ec
mov rdx, rbx
shl rdx, 5
movzx eax, byte [0x0076d188]
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x6469aa
mov rdi, rax
lea rax, [rbx + rbx]
mov qword [rsp + 0x58], rax
mov r8, rbx
shl r8, 4
mov rcx, rdi
mov rdx, r13
call sub.msvcrt.dll_memcpy
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, r13
call fcn.006d3c74
mov r13, rdi
mov rax, rbx
shl rax, 4
mov qword [r13 + rax], rsi
mov qword [r13 + rax + 8], rbp
inc rbx
cmp rbx, 2
jb 0x646145
mov qword [rsp + 0x78], r13
jmp 0x646389
mov r13, r15
mov r14, qword [rsp + 0x28]
mov rdx, r14
nop dword [rax]
mov rax, qword [rsp + 0x78]
add r12, rax
add rbx, rax
sub r8, rdx
mov rcx, r13
mov r13, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x80]
add rax, rdi
mov qword [rbx], rax
mov rax, qword [rsp + 0x88]
mov qword [rbx + 8], rax
lea rdx, [r12 + 0x10]
mov rax, qword [rsp + 0x90]
not rax
add rbp, rax
shl rbp, 4
mov rcx, r12
mov r8, rbp
call sub.msvcrt.dll_memmove
mov rbx, qword [rsp + 0x48]
cmp rbx, 1
mov r15, qword [rsp + 0x70]
jbe 0x646140
mov rbp, rbx
lea r10, [rbx - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [r13 + rcx]
mov rcx, qword [r13 + rcx + 8]
add rcx, rax
cmp rcx, r15
je 0x646400
mov rdx, rbp
shl rdx, 4
mov r8, qword [rdx + r13 - 0x20]
cmp r8, rax
jbe 0x646400
cmp rbp, 2
je 0x646697
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x646416
cmp rbp, 3
jbe 0x646744
add r8, rcx
cmp qword [rdx + r13 - 0x40], r8
jbe 0x646416
jmp 0x64674e
cmp rbp, 2
je 0x64641b
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
cmp rcx, rax
jb 0x64641f
lea r11, [rbp - 2]
cmp rbp, r11
jbe 0x646903
mov qword [rsp + 0x48], r10
lea rbx, [r11 + 1]
cmp rbp, rbx
jbe 0x6468eb
mov r12, r11
shl r12, 4
mov rcx, qword [r13 + r12 + 8]
shl rbx, 4
mov rax, qword [r13 + rbx]
mov rsi, qword [r13 + rbx + 8]
add rsi, rax
mov rdi, rsi
sub rdi, rcx
jb 0x646942
mov qword [rsp + 0x40], rbp
cmp rsi, r15
ja 0x646956
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], r11
mov rbp, qword [r13 + r12]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x88], rcx
lea r13, [rax + rcx*2]
lea r15, [rbp*2]
add r15, r13
mov r14, rdi
sub r14, rbp
cmp r14, rbp
jae 0x646560
lea r8, [r14 + r14]
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
mov rdx, r15
call sub.msvcrt.dll_memcpy
lea r8, [rdi + r14*2]
test rbp, rbp
mov rdi, rbp
jle 0x6465ff
test r14, r14
mov rbp, qword [rsp + 0x40]
jle 0x646311
mov rax, qword [rsp + 0x60]
lea rax, [rax + rsi*2]
mov r14, qword [rsp + 0x28]
nop word cs:[rax + rax]
movzx ecx, byte [r8 - 2]
movzx edx, byte [r8 - 1]
xor r9d, r9d
cmp dl, byte [r15 - 1]
setb r9b
xor edx, edx
cmp cl, byte [r15 - 2]
setb dl
cmove edx, r9d
movzx ecx, dl
lea edx, [rcx + rcx]
sub r15, rdx
add r8, rdx
add r8, 0xfffffffffffffffe
test cl, cl
mov rcx, r8
cmovne rcx, r15
movzx ecx, word [rcx]
mov word [rax], cx
cmp r15, r13
jbe 0x64654f
add rax, 0xfffffffffffffffe
cmp r8, r14
ja 0x646500
mov r13, r15
mov rdx, r14
jmp 0x646320
lea r8, [rbp*2]
mov r14, qword [rsp + 0x28]
mov rcx, r14
mov rdx, r13
call sub.msvcrt.dll_memcpy
lea r8, [r14 + rbp*2]
test rbp, rbp
jle 0x64660c
cmp rdi, rbp
mov rdi, rbp
jle 0x646607
mov rax, qword [rsp + 0x38]
lea rax, [rax + rsi*2]
mov rdx, r14
mov rbp, qword [rsp + 0x40]
nop
movzx r9d, byte [r15]
movzx ecx, byte [r15 + 1]
xor r10d, r10d
cmp cl, byte [rdx + 1]
setb r10b
xor ecx, ecx
cmp r9b, byte [rdx]
setb cl
cmove ecx, r10d
mov r9, r15
test cl, cl
jne 0x6465c9
mov r9, rdx
movzx r9d, word [r9]
mov word [r13], r9w
add r13, 2
mov r9d, ecx
xor r9b, 1
movzx r9d, r9b
lea rdx, [rdx + r9*2]
cmp rdx, r8
jae 0x646320
movzx ecx, cl
lea r15, [r15 + rcx*2]
cmp r15, rax
jb 0x6465a0
jmp 0x646320
mov r13, r15
mov r14, qword [rsp + 0x28]
mov rdx, r14
jmp 0x646612
mov rdx, r14
mov rdi, rbp
mov rbp, qword [rsp + 0x40]
jmp 0x646320
cmp rax, 2
je 0x64616b
nop word [rax + rax]
mov r10d, edx
mov r11d, r9d
movzx edx, byte [rcx + r8*2]
movzx r9d, byte [rcx + r8*2 + 1]
xor esi, esi
cmp r9b, r11b
setb sil
xor r11d, r11d
cmp dl, r10b
setb r11b
cmove r11d, esi
test r11b, r11b
jne 0x64616b
inc r8
cmp rax, r8
jne 0x646630
jmp 0x646168
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rbx
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*2]
mov r9, r8
and r9, 0xfffffffffffffffe
sub rdx, r9
cmp rax, 1
jne 0x6466a1
xor r9d, r9d
jmp 0x64670d
mov ebx, 2
jmp 0x646145
mov r10, rax
movabs r12, 0x7ffffffffffffffe
and r10, r12
mov r9, qword [rsp + 0x68]
lea r11, [r9 + rbp*2]
mov r9, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x20]
lea rsi, [r9 + rsi*2]
xor r9d, r9d
nop dword [rax + rax]
movzx edi, word [r11 + r9*2 - 3]
movzx ebx, word [rsi]
mov word [r11 + r9*2 - 3], bx
mov word [rsi], di
mov rdi, r9
xor rdi, r12
add rdi, rax
movzx ebx, word [r11 + r9*2 - 1]
movzx r14d, word [rdx + rdi*2]
mov word [r11 + r9*2 - 1], r14w
mov word [rdx + rdi*2], bx
add r9, 2
add rsi, 0xfffffffffffffffc
cmp r10, r9
jne 0x6466d0
test r8b, 2
je 0x646730
mov r10, r9
not r10
add rax, r10
movzx r10d, word [rcx + r9*2]
movzx r11d, word [rdx + rax*2]
mov word [rcx + r9*2], r11w
mov word [rdx + rax*2], r10w
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x20]
jmp 0x64616f
mov ebx, 3
jmp 0x646145
mov rbx, rbp
jmp 0x646145
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, r13
call fcn.006d3c74
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, r14
call fcn.006d3c74
mov r11, qword [rsp + 0x30]
mov r15, qword [r11 + 0x10]
test r15, r15
je 0x6468d3
xor eax, eax
mov rsi, r15
jmp 0x6467bb
mov byte [rcx + rsi*2], bl
mov byte [rcx + rsi*2 + 1], bpl
inc rsi
mov qword [r11 + 0x10], rsi
mov rax, rdi
cmp r15, rdi
je 0x646885
lea rdi, [rax + 1]
cmp rsi, r15
jbe 0x646804
mov rcx, qword [r11 + 8]
movzx r8d, byte [rcx + rsi*2 - 2]
movzx edx, byte [rcx + rsi*2 - 1]
movzx r10d, byte [rcx + rax*2]
movzx r9d, byte [rcx + rdi*2 - 1]
cmp r8b, r10b
mov r11d, r10d
cmova r11d, r8d
cmp dl, r9b
mov ebx, r9d
cmovb ebx, edx
movzx r11d, r11b
movzx ebx, bl
inc ebx
cmp ebx, r11d
mov r11, qword [rsp + 0x30]
jae 0x646840
cmp rax, rsi
jae 0x64696d
mov rcx, qword [r11 + 8]
movzx ebx, byte [rcx + rax*2]
movzx ebp, byte [rcx + rdi*2 - 1]
cmp rsi, qword [r11]
jne 0x6467a0
mov rcx, r11
call fcn.0064b770
mov r11, qword [rsp + 0x30]
mov rcx, qword [r11 + 8]
jmp 0x6467a0
movzx eax, r8b
movzx r11d, r10b
cmp r8b, r10b
cmovb r11d, eax
movzx eax, dl
movzx r8d, r9b
cmp dl, r9b
cmova r8d, eax
cmp r11b, r8b
mov eax, r8d
cmova r8d, r11d
cmovb eax, r11d
mov r11, qword [rsp + 0x30]
mov byte [rcx + rsi*2 - 2], al
mov byte [rcx + rsi*2 - 1], r8b
mov rax, rdi
cmp r15, rdi
jne 0x6467bb
mov rdi, rsi
sub rdi, r15
jb 0x6469e3
mov qword [r11 + 0x10], 0
je 0x6468b1
lea rdx, [rcx + r15*2]
lea r8, [rdi + rdi]
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rdi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r11, qword [rsp + 0x30]
test r15, r15
jne 0x64678a
lea rcx, str.assertion_failed:__self.ranges.is_empty__
lea r8, str._home_uni_100_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_src_hir_interval.rs
mov edx, 0x29
call fcn.0056e140
lea rax, [0x00724948]
mov qword [rsp + 0x98], rax
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
jmp 0x646919
lea rax, [0x00724948]
mov qword [rsp + 0x98], rax
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
lea rcx, [rsp + 0x98]
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call fcn.0056d430
jmp 0x646a0d
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rdx, rsi
call fcn.00571ef0
jmp 0x646a0d
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rsi
mov rdx, r15
call fcn.0056ddd0
jmp 0x646a0d
lea r8, str._home_uni_100_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_src_hir_interval.rs
mov rcx, rax
mov rdx, rsi
call fcn.0056d4e0
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov edx, 0x2c
call fcn.0056e140
jmp 0x646a0d
mov rdx, rsi
lea rax, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov qword [rsp + 0x50], rax
jmp 0x6469cf
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call fcn.005722f0
jmp 0x646a0d
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rax
mov rdx, r15
call fcn.0056ddd0
jmp 0x646a0d
mov rdx, rax
mov rcx, rbp
mov r8, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
call fcn.00571ef0
jmp 0x646a0d
lea r8, [0x00727f50]
mov rcx, r15
mov rdx, rsi
call fcn.0056ddd0
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call fcn.005722f0
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call fcn.005722f0
ud2