Function at 0x551170
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 0x551a31
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 0x551213
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 0x5511a0
cmp r15, 0x15
jae 0x55123b
cmp r15, 1
jbe 0x551908
mov r8d, 1
mov rcx, qword [rsp + 0x38]
mov rdx, r15
call sym.core::slice::sort::insertion_sort_shift_left::h0ba912b8aa591552
jmp 0x551911
movabs rax, 0x7ffffffffffffffe
mov rdx, r15
and rdx, rax
movzx eax, byte [0x0083c308]
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x551b6a
mov r14, rax
movzx eax, byte [0x0083c308]
mov edx, 0x100
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
mov qword [rsp + 0x28], r14
je 0x551b76
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 0x5512e3
mov ebx, 1
mov rbp, qword [rsp + 0x20]
cmp rbp, r15
jae 0x5518e6
mov rax, r15
sub rax, rbp
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rbp*2]
cmp rax, 2
jae 0x551370
mov r8, rax
lea rax, [r8 + rbp]
mov rdi, rax
sub rdi, rbp
jb 0x551ad9
cmp rax, r15
ja 0x551ad9
jae 0x551420
cmp r8, 0xa
jae 0x551420
lea rdi, [rbp + 0xa]
cmp rdi, r15
cmovae rdi, r15
cmp rbp, 0xfffffffffffffff5
ja 0x551af6
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x20], rdi
sub rdi, rbp
mov rdx, rdi
call sym.core::slice::sort::insertion_sort_shift_left::h0ba912b8aa591552
cmp rbx, qword [rsp + 0x58]
je 0x55142c
jmp 0x55147c
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 0x5517b0
cmp rax, 2
je 0x5513e9
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 0x5513e9
inc r8
cmp rax, r8
jne 0x5513b0
mov r8, rax
mov rax, r8
add rax, rbp
jb 0x551b29
cmp rax, r15
ja 0x551b15
cmp r8, 2
jae 0x5517fe
mov r8d, 1
jmp 0x5512ff
mov qword [rsp + 0x20], rax
cmp rbx, qword [rsp + 0x58]
jne 0x55147c
mov rdx, rbx
shl rdx, 5
movzx eax, byte [0x0083c308]
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x551b07
mov rsi, rax
lea rax, [rbx + rbx]
mov qword [rsp + 0x58], rax
mov r8, rbx
shl r8, 4
mov rcx, rsi
mov rdx, r13
call sym.memcpy
mov rcx, qword [0x0083c108]
xor edx, edx
mov r8, r13
call fcn.006f5b74
mov r13, rsi
mov rax, rbx
shl rax, 4
mov qword [r13 + rax], rdi
mov qword [r13 + rax + 8], rbp
inc rbx
cmp rbx, 2
jb 0x5512d5
mov qword [rsp + 0x78], r13
jmp 0x551519
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 sym.memcpy
mov rax, qword [rsp + 0x80]
add rax, rsi
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 0x5512d0
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 0x551590
mov rdx, rbp
shl rdx, 4
mov r8, qword [rdx + r13 - 0x20]
cmp r8, rax
jbe 0x551590
cmp rbp, 2
je 0x551827
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x5515a6
cmp rbp, 3
jbe 0x5518d4
add r8, rcx
cmp qword [rdx + r13 - 0x40], r8
jbe 0x5515a6
jmp 0x5518de
cmp rbp, 2
je 0x5515ab
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
cmp rcx, rax
jb 0x5515af
lea r11, [rbp - 2]
cmp rbp, r11
jbe 0x551a5d
mov qword [rsp + 0x48], r10
lea rbx, [r11 + 1]
cmp rbp, rbx
jbe 0x551a45
mov r12, r11
shl r12, 4
mov rcx, qword [r13 + r12 + 8]
shl rbx, 4
mov rax, qword [r13 + rbx]
mov rdi, qword [r13 + rbx + 8]
add rdi, rax
mov rsi, rdi
sub rsi, rcx
jb 0x551a9c
mov qword [rsp + 0x40], rbp
cmp rdi, r15
ja 0x551ab0
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, rsi
sub r14, rbp
cmp r14, rbp
jae 0x5516f0
lea r8, [r14 + r14]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
mov rdx, r15
call sym.memcpy
lea r8, [rsi + r14*2]
test rbp, rbp
mov rsi, rbp
jle 0x55178f
test r14, r14
mov rbp, qword [rsp + 0x40]
jle 0x5514a1
mov rax, qword [rsp + 0x60]
lea rax, [rax + rdi*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 0x5516df
add rax, 0xfffffffffffffffe
cmp r8, r14
ja 0x551690
mov r13, r15
mov rdx, r14
jmp 0x5514b0
lea r8, [rbp*2]
mov r14, qword [rsp + 0x28]
mov rcx, r14
mov rdx, r13
call sym.memcpy
lea r8, [r14 + rbp*2]
test rbp, rbp
jle 0x55179c
cmp rsi, rbp
mov rsi, rbp
jle 0x551797
mov rax, qword [rsp + 0x38]
lea rax, [rax + rdi*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 0x551759
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 0x5514b0
movzx ecx, cl
lea r15, [r15 + rcx*2]
cmp r15, rax
jb 0x551730
jmp 0x5514b0
mov r13, r15
mov r14, qword [rsp + 0x28]
mov rdx, r14
jmp 0x5517a2
mov rdx, r14
mov rsi, rbp
mov rbp, qword [rsp + 0x40]
jmp 0x5514b0
cmp rax, 2
je 0x5512fb
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 0x5512fb
inc r8
cmp rax, r8
jne 0x5517c0
jmp 0x5512f8
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 0x551831
xor r9d, r9d
jmp 0x55189d
mov ebx, 2
jmp 0x5512d5
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 0x551860
test r8b, 2
je 0x5518c0
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 0x5512ff
mov ebx, 3
jmp 0x5512d5
mov rbx, rbp
jmp 0x5512d5
mov rcx, qword [0x0083c108]
xor edx, edx
mov r8, r13
call fcn.006f5b74
mov rcx, qword [0x0083c108]
xor edx, edx
mov r8, r14
call fcn.006f5b74
test r15, r15
je 0x551b52
mov r11, qword [rsp + 0x30]
mov rdi, qword [r11 + 0x10]
xor eax, eax
jmp 0x55193b
mov byte [rcx + rdi*2], bl
mov byte [rcx + rdi*2 + 1], bpl
inc rdi
mov qword [r11 + 0x10], rdi
mov rax, rsi
cmp r15, rsi
je 0x551a05
lea rsi, [rax + 1]
cmp rdi, r15
jbe 0x551984
mov rcx, qword [r11 + 8]
movzx r8d, byte [rcx + rdi*2 - 2]
movzx edx, byte [rcx + rdi*2 - 1]
movzx r10d, byte [rcx + rax*2]
movzx r9d, byte [rcx + rsi*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 0x5519c0
cmp rax, rdi
jae 0x551ac7
mov rcx, qword [r11 + 8]
movzx ebx, byte [rcx + rax*2]
movzx ebp, byte [rcx + rsi*2 - 1]
cmp rdi, qword [r11]
jne 0x551920
mov rcx, r11
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h1f65629abe87a1fd
mov r11, qword [rsp + 0x30]
mov rcx, qword [r11 + 8]
jmp 0x551920
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 + rdi*2 - 2], al
mov byte [rcx + rdi*2 - 1], r8b
mov rax, rsi
cmp r15, rsi
jne 0x55193b
mov rsi, rdi
sub rsi, r15
jb 0x551b40
mov qword [r11 + 0x10], 0
je 0x551a31
lea rdx, [rcx + r15*2]
lea r8, [rsi + rsi]
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x98], rax
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
jmp 0x551a73
lea rax, str.Index_out_of_bounds
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 sym.core::panicking::panic_fmt::h9e181c62584cc428
jmp 0x551b82
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rdx, rdi
call sym.core::slice::index::slice_index_order_fail::hb6f495100651f9f8
jmp 0x551b82
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rdi
mov rdx, r15
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
jmp 0x551b82
lea r8, str._home_slixe_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_src_hir_interval.rs
mov rcx, rax
mov rdx, rdi
call sym.core::panicking::panic_bounds_check::ha5eba36dbaff2278
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov edx, 0x2c
call sym.core::panicking::panic::h8ea5606244902eff
jmp 0x551b82
mov rdx, rdi
lea rax, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov qword [rsp + 0x50], rax
jmp 0x551b2c
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
jmp 0x551b82
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rax
mov rdx, r15
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
jmp 0x551b82
mov rdx, rax
mov rcx, rbp
mov r8, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
call sym.core::slice::index::slice_index_order_fail::hb6f495100651f9f8
jmp 0x551b82
lea r8, [0x007d1220]
mov rcx, r15
mov rdx, rdi
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
lea rcx, str.assertion_failed:__self.ranges.is_empty__
lea r8, str._home_slixe_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_src_hir_interval.rs
mov edx, 0x29
call sym.core::panicking::panic::h8ea5606244902eff
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
ud2