Function at 0x645480
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
movaps xmmword [rsp + 0xd0], xmm6
mov r14, rcx
mov r8, qword [rcx + 8]
mov r15, qword [rcx + 0x10]
mov eax, 0xff
mov ecx, 0xffffffff
mov rdx, r15
mov qword [rsp + 0x38], r8
nop dword [rax + rax]
cmp rdx, 2
jb 0x645d1b
mov esi, dword [r8]
mov r11d, dword [r8 + 4]
mov r9d, dword [r8 + 8]
mov r10d, dword [r8 + 0xc]
xor edi, edi
cmp esi, r9d
setne dil
cmovb edi, eax
cmp r11d, r10d
mov ebx, 0
sbb ebx, ebx
test dil, dil
cmovne ebx, edi
cmp bl, 2
jb 0x64551b
dec rdx
cmp esi, r9d
cmova r9d, esi
cmp r11d, r10d
cmovb r10d, r11d
inc r10d
cmove r10d, ecx
add r8, 8
cmp r9d, r10d
ja 0x6454c0
cmp r15, 0x15
jae 0x645543
cmp r15, 1
jbe 0x645c26
mov r8d, 1
mov rcx, qword [rsp + 0x38]
mov rdx, r15
call fcn.0064c220
jmp 0x645c2f
movabs rax, 0x7ffffffffffffff8
lea rdx, [r15*4]
and rdx, rax
movzx eax, byte [0x0076d188]
xor ecx, ecx
call fcn.0069df80
mov qword [rsp + 0x30], rax
test rax, rax
je 0x645e5c
mov qword [rsp + 0x68], r14
movzx eax, byte [0x0076d188]
mov edx, 0x100
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x645e68
mov r13, rax
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov qword [rsp + 0x70], rcx
add rax, 0xfffffffffffffff8
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 r14, qword [rsp + 0x30]
mov qword [rsp + 0x78], r15
jmp 0x6455f3
mov ebx, 1
mov rbp, qword [rsp + 0x28]
cmp rbp, r15
jae 0x645bfb
mov rax, r15
sub rax, rbp
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rbp*8]
cmp rax, 2
jae 0x645680
mov r8, rax
lea rax, [r8 + rbp]
mov rsi, rax
sub rsi, rbp
jb 0x645dcb
cmp rax, r15
ja 0x645dcb
jae 0x645730
cmp r8, 0xa
jae 0x645730
lea rsi, [rbp + 0xa]
cmp rsi, r15
cmovae rsi, r15
cmp rbp, 0xfffffffffffffff5
ja 0x645de8
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x28], rsi
sub rsi, rbp
mov rdx, rsi
call fcn.0064c220
cmp rbx, qword [rsp + 0x58]
je 0x64573c
jmp 0x64578c
mov edx, dword [rcx + 8]
mov r9d, dword [rcx + 0xc]
xor r8d, r8d
cmp r9d, dword [rcx + 4]
setb r8b
xor r10d, r10d
cmp edx, dword [rcx]
setb r10b
cmove r10d, r8d
mov r8d, 2
test r10b, r10b
je 0x645ac0
cmp rax, 2
je 0x6456f7
nop word cs:[rax + rax]
mov r10d, edx
mov r11d, r9d
mov edx, dword [rcx + r8*8]
mov r9d, dword [rcx + r8*8 + 4]
xor esi, esi
cmp r9d, r11d
setb sil
xor r11d, r11d
cmp edx, r10d
setb r11b
cmove r11d, esi
cmp r11b, 1
jne 0x6456f7
inc r8
cmp rax, r8
jne 0x6456c0
mov r8, rax
mov rax, r8
add rax, rbp
jb 0x645e1b
cmp rax, r15
ja 0x645e07
cmp r8, 2
jae 0x645b0c
mov r8d, 1
jmp 0x64560f
mov qword [rsp + 0x28], rax
cmp rbx, qword [rsp + 0x58]
jne 0x64578c
mov rdx, rbx
shl rdx, 5
movzx eax, byte [0x0076d188]
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x645df9
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 0x6455e5
mov qword [rsp + 0x80], r13
jmp 0x64582c
mov r13, r15
mov r14, qword [rsp + 0x30]
mov rdx, r14
nop
mov rax, qword [rsp + 0x80]
add r12, rax
add rbx, rax
sub r8, rdx
mov rcx, r13
mov r13, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x88]
add rax, rdi
mov qword [rbx], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 8], rax
lea rdx, [r12 + 0x10]
mov rax, qword [rsp + 0x98]
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 + 0x78]
jbe 0x6455e0
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 0x6458a0
mov rdx, rbp
shl rdx, 4
mov r8, qword [rdx + r13 - 0x20]
cmp r8, rax
jbe 0x6458a0
cmp rbp, 2
je 0x645b39
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x6458b6
cmp rbp, 3
jbe 0x645be9
add r8, rcx
cmp qword [rdx + r13 - 0x40], r8
jbe 0x6458b6
jmp 0x645bf3
cmp rbp, 2
je 0x6458bb
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
cmp rcx, rax
jb 0x6458bf
lea r11, [rbp - 2]
cmp rbp, r11
jbe 0x645d4f
mov qword [rsp + 0x48], r10
lea rbx, [r11 + 1]
cmp rbp, rbx
jbe 0x645d37
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 0x645d8e
mov qword [rsp + 0x40], rbp
cmp rsi, r15
ja 0x645da2
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], r11
mov rbp, qword [r13 + r12]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rcx
lea r13, [rax + rcx*8]
lea r15, [rbp*8]
add r15, r13
mov r14, rdi
sub r14, rbp
cmp r14, rbp
jae 0x645a00
lea r8, [r14*8]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, r15
call sub.msvcrt.dll_memcpy
lea r8, [rdi + r14*8]
test rbp, rbp
mov rdi, rbp
jle 0x645a9a
test r14, r14
mov rbp, qword [rsp + 0x40]
jle 0x6457b4
mov rax, qword [rsp + 0x60]
lea rax, [rax + rsi*8]
mov r14, qword [rsp + 0x30]
nop word cs:[rax + rax]
mov ecx, dword [r8 - 8]
mov edx, dword [r8 - 4]
xor r9d, r9d
cmp edx, dword [r15 - 4]
setb r9b
xor edx, edx
cmp ecx, dword [r15 - 8]
setb dl
cmove edx, r9d
movzx ecx, dl
lea edx, [rcx*8]
sub r15, rdx
add r8, rdx
add r8, 0xfffffffffffffff8
test cl, cl
mov rcx, r8
cmovne rcx, r15
mov rcx, qword [rcx]
mov qword [rax], rcx
cmp r15, r13
jbe 0x6459f1
add rax, 0xfffffffffffffff8
cmp r8, r14
ja 0x6459a0
mov r13, r15
mov rdx, r14
jmp 0x6457c0
lea r8, [rbp*8]
mov r14, qword [rsp + 0x30]
mov rcx, r14
mov rdx, r13
call sub.msvcrt.dll_memcpy
lea r8, [r14 + rbp*8]
test rbp, rbp
jle 0x645aa7
cmp rdi, rbp
mov rdi, rbp
jle 0x645aa2
mov rax, qword [rsp + 0x38]
lea rax, [rax + rsi*8]
mov rdx, r14
mov rbp, qword [rsp + 0x40]
nop
mov r9d, dword [r15]
mov ecx, dword [r15 + 4]
xor r10d, r10d
cmp ecx, dword [rdx + 4]
setb r10b
xor ecx, ecx
cmp r9d, dword [rdx]
setb cl
cmove ecx, r10d
test cl, cl
mov r9, rdx
cmovne r9, r15
mov r9, qword [r9]
mov qword [r13], r9
add r13, 8
mov r9d, ecx
xor r9b, 1
movzx r9d, r9b
lea rdx, [rdx + r9*8]
cmp rdx, r8
jae 0x6457c0
movzx ecx, cl
lea r15, [r15 + rcx*8]
cmp r15, rax
jb 0x645a40
jmp 0x6457c0
mov r13, r15
mov r14, qword [rsp + 0x30]
mov rdx, r14
jmp 0x645aad
mov rdx, r14
mov rdi, rbp
mov rbp, qword [rsp + 0x40]
jmp 0x6457c0
cmp rax, 2
je 0x64560b
nop word [rax + rax]
mov r10d, edx
mov r11d, r9d
mov edx, dword [rcx + r8*8]
mov r9d, dword [rcx + r8*8 + 4]
xor esi, esi
cmp r9d, r11d
setb sil
xor r11d, r11d
cmp edx, r10d
setb r11b
cmove r11d, esi
test r11b, r11b
jne 0x64560b
inc r8
cmp rax, r8
jne 0x645ad0
jmp 0x645608
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rbx
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*8]
lea r9, [rax*8]
sub rdx, r9
cmp rax, 1
jne 0x645b43
xor r9d, r9d
jmp 0x645bb6
mov ebx, 2
jmp 0x6455e5
movabs r9, 0x7ffffffffffffff8
lea r10, [r9 + 6]
and r10, rax
mov r9, qword [rsp + 0x70]
lea r11, [r9 + rbp*8]
mov r9, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
lea rsi, [r9 + rsi*8]
xor r9d, r9d
movabs r12, 0x1ffffffffffffffe
nop dword [rax + rax]
mov rdi, qword [rsi]
mov rbx, qword [r11 + r9*8 - 8]
mov qword [r11 + r9*8 - 8], rdi
mov qword [rsi], rbx
mov rdi, r9
xor rdi, r12
add rdi, rax
mov rbx, qword [rdx + rdi*8]
mov r14, qword [r11 + r9*8]
mov qword [r11 + r9*8], rbx
mov qword [rdx + rdi*8], r14
add r9, 2
add rsi, 0xfffffffffffffff0
cmp r10, r9
jne 0x645b80
test r8b, 2
je 0x645bd5
mov r10, r9
not r10
add rax, r10
mov r10, qword [rdx + rax*8]
mov r11, qword [rcx + r9*8]
mov qword [rcx + r9*8], r10
mov qword [rdx + rax*8], r11
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x28]
jmp 0x64560f
mov ebx, 3
jmp 0x6455e5
mov rbx, rbp
jmp 0x6455e5
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 r14, qword [rsp + 0x68]
mov r15, qword [r14 + 0x10]
test r15, r15
je 0x645e44
xor eax, eax
mov rsi, r15
jmp 0x645c57
movlps qword [rcx + rsi*8], xmm6
inc rsi
mov qword [r14 + 0x10], rsi
mov rax, rdi
cmp r15, rdi
je 0x645cf0
lea rdi, [rax + 1]
cmp rsi, r15
jbe 0x645c91
mov rcx, qword [r14 + 8]
mov r9d, dword [rcx + rsi*8 - 8]
mov edx, dword [rcx + rax*8]
cmp r9d, edx
mov r11d, edx
cmova r11d, r9d
mov r10d, dword [rcx + rsi*8 - 4]
mov r8d, dword [rcx + rdi*8 - 4]
cmp r10d, r8d
mov ebx, r8d
cmovb ebx, r10d
inc ebx
cmp r11d, ebx
jbe 0x645cc0
cmp rax, rsi
jae 0x645db9
mov rcx, qword [r14 + 8]
movsd xmm6, qword [rcx + rax*8]
cmp rsi, qword [r14]
jne 0x645c40
mov rcx, r14
call fcn.005d01b0
mov rcx, qword [r14 + 8]
jmp 0x645c40
cmp r9d, edx
cmovb edx, r9d
cmp r10d, r8d
cmova r8d, r10d
cmp edx, r8d
mov eax, r8d
cmova r8d, edx
cmovb eax, edx
mov dword [rcx + rsi*8 - 8], eax
mov dword [rcx + rsi*8 - 4], r8d
mov rax, rdi
cmp r15, rdi
jne 0x645c57
mov rdi, rsi
sub rdi, r15
jb 0x645e32
mov qword [r14 + 0x10], 0
je 0x645d1b
lea rdx, [rcx + r15*8]
lea r8, [rdi*8]
call sub.msvcrt.dll_memmove
mov qword [r14 + 0x10], rdi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x00724948]
mov qword [rsp + 0xa0], rax
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
jmp 0x645d65
lea rax, [0x00724948]
mov qword [rsp + 0xa0], rax
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
lea rcx, [rsp + 0xa0]
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call fcn.0056d430
jmp 0x645e74
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rdx, rsi
call fcn.00571ef0
jmp 0x645e74
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rsi
mov rdx, r15
call fcn.0056ddd0
jmp 0x645e74
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 0x645e74
mov rdx, rsi
lea rax, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov qword [rsp + 0x50], rax
jmp 0x645e1e
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call fcn.005722f0
jmp 0x645e74
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rax
mov rdx, r15
call fcn.0056ddd0
jmp 0x645e74
mov rdx, rax
mov rcx, rbp
mov r8, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
call fcn.00571ef0
jmp 0x645e74
lea r8, [0x00727f50]
mov rcx, r15
mov rdx, rsi
call fcn.0056ddd0
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 rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call fcn.005722f0
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call fcn.005722f0
ud2