Function at 0x140104120
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 + 0x38], rcx
mov r12, qword [rcx + 0x10]
mov eax, 0xff
mov rcx, r12
mov qword [rsp + 0x48], rdx
nop dword [rax]
cmp rcx, 2
jb 0x1401049d1
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 0x1401041c3
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 0x140104150
cmp r12, 0x15
jae 0x1401041eb
cmp r12, 1
jbe 0x1401048a4
mov r8d, 1
mov rcx, qword [rsp + 0x48]
mov rdx, r12
call sym.core::slice::sort::insertion_sort_shift_left::hc376d24deeb8c2b7
jmp 0x1401048ad
movabs r15, 0x7ffffffffffffffe
mov rdx, r12
and rdx, r15
movzx eax, byte [0x14035b110]
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140104b25
mov rsi, rax
movzx eax, byte [0x14035b110]
mov edx, 0x100
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140104b31
mov rbx, rax
mov rax, qword [rsp + 0x48]
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
xor r13d, r13d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x40], r12
jmp 0x140104284
mov r13d, 1
mov rbp, qword [rsp + 0x30]
cmp rbp, r12
jae 0x140104882
mov rax, r12
sub rax, rbp
mov rcx, qword [rsp + 0x48]
lea rcx, [rcx + rbp*2]
cmp rax, 2
jae 0x140104310
mov r8, rax
lea rdx, [r8 + rbp]
mov rdi, rdx
sub rdi, rbp
jb 0x140104aa4
cmp rdx, r12
ja 0x140104aa4
jae 0x1401043c0
cmp r8, 0xa
jae 0x1401043c0
lea rdi, [rbp + 0xa]
cmp rdi, r12
cmovae rdi, r12
cmp rbp, 0xfffffffffffffff6
jae 0x140104abc
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x30], rdi
sub rdi, rbp
mov rdx, rdi
call sym.core::slice::sort::insertion_sort_shift_left::hc376d24deeb8c2b7
cmp r13, qword [rsp + 0x58]
je 0x1401043cc
jmp 0x140104425
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 0x140104740
cmp rax, 2
je 0x14010438e
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 0x140104389
inc r8
cmp rax, r8
jne 0x140104350
mov r8, rax
mov rsi, qword [rsp + 0x28]
mov rdx, r8
add rdx, rbp
jb 0x140104aec
cmp rdx, r12
ja 0x140104ada
cmp r8, 2
jae 0x140104796
mov r8d, 1
jmp 0x1401042a0
mov qword [rsp + 0x30], rdx
cmp r13, qword [rsp + 0x58]
jne 0x140104425
mov rdx, r13
shl rdx, 5
movzx eax, byte [0x14035b110]
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140104ace
mov rsi, rax
lea rax, [r13*2]
mov qword [rsp + 0x58], rax
mov r8, r13
shl r8, 4
mov rcx, rsi
mov rdx, rbx
call sym.memcpy
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rbx
call fcn.140137fbc
mov rbx, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r13
shl rax, 4
mov qword [rbx + rax], rdi
mov qword [rbx + rax + 8], rbp
inc r13
mov rax, r13
cmp r13, 2
mov qword [rsp + 0x70], rbx
jae 0x1401044bf
jmp 0x140104276
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov rbx, qword [rsp + 0x70]
add rbp, rbx
add r14, rbx
sub r8, rdx
mov rcx, r13
call sym.memcpy
mov rax, qword [rsp + 0x78]
add rax, rdi
mov qword [r14], rax
mov rax, qword [rsp + 0x80]
mov qword [r14 + 8], rax
lea rdx, [rbp + 0x10]
mov rax, qword [rsp + 0x88]
not rax
mov r8, qword [rsp + 0x50]
add r8, rax
shl r8, 4
mov rcx, rbp
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x90]
cmp rax, 1
movabs r15, 0x7ffffffffffffffe
jbe 0x140104270
mov r13, rax
lea r10, [rax - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rbx + rcx]
mov rcx, qword [rbx + rcx + 8]
add rcx, rax
cmp rcx, r12
je 0x140104530
mov rdx, r13
shl rdx, 4
mov r8, qword [rdx + rbx - 0x20]
cmp r8, rax
jbe 0x140104530
cmp r13, 2
je 0x1401047c2
lea r11, [r13 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140104545
cmp r13, 3
jbe 0x140104877
add r8, rcx
cmp qword [rdx + rbx - 0x40], r8
jbe 0x140104545
jmp 0x140104276
cmp r13, 2
je 0x14010454a
lea r11, [r13 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
cmp rcx, rax
jb 0x14010454e
lea r11, [r13 - 2]
cmp r13, r11
jbe 0x140104a2b
lea r14, [r11 + 1]
cmp r13, r14
jbe 0x1401049e5
mov rbp, r11
shl rbp, 4
mov rcx, qword [rbx + rbp + 8]
shl r14, 4
mov rax, qword [rbx + r14]
mov r15, qword [rbx + r14 + 8]
add r15, rax
mov rsi, r15
sub rsi, rcx
jb 0x140104a71
mov qword [rsp + 0x50], r13
cmp r15, r12
ja 0x140104a80
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x90], r10
mov rdi, qword [rbx + rbp]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rcx
lea r13, [rax + rcx*2]
lea rbx, [rdi*2]
add rbx, r13
mov r12, rsi
sub r12, rdi
cmp r12, rdi
jae 0x140104680
lea r8, [r12 + r12]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call sym.memcpy
lea r8, [rsi + r12*2]
test rdi, rdi
jle 0x140104720
test r12, r12
jle 0x140104720
mov rax, qword [rsp + 0x60]
lea rax, [rax + r15*2]
mov r12, qword [rsp + 0x40]
nop word cs:[rax + rax]
movzx ecx, byte [r8 - 2]
movzx edx, byte [r8 - 1]
xor r9d, r9d
cmp dl, byte [rbx - 1]
setb r9b
xor edx, edx
cmp cl, byte [rbx - 2]
setb dl
cmove edx, r9d
movzx ecx, dl
lea edx, [rcx + rcx]
sub rbx, rdx
add r8, rdx
add r8, 0xfffffffffffffffe
test cl, cl
mov rcx, r8
cmovne rcx, rbx
movzx ecx, word [rcx]
mov word [rax], cx
cmp rbx, r13
jbe 0x14010466d
add rax, 0xfffffffffffffffe
cmp r8, rsi
ja 0x140104620
mov r13, rbx
jmp 0x140104450
lea r8, [rdi + rdi]
mov r12, qword [rsp + 0x28]
mov rcx, r12
mov rdx, r13
call sym.memcpy
lea r8, [r12 + rdi*2]
test rdi, rdi
jle 0x140104725
cmp rsi, rdi
mov r12, qword [rsp + 0x40]
jle 0x14010444b
mov rax, qword [rsp + 0x48]
lea rax, [rax + r15*2]
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
movzx r9d, byte [rbx]
movzx ecx, byte [rbx + 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, rbx
test cl, cl
jne 0x1401046e8
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 0x140104453
movzx ecx, cl
lea rbx, [rbx + rcx*2]
cmp rbx, rax
jb 0x1401046c0
jmp 0x140104453
mov r13, rbx
jmp 0x14010472a
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r12, qword [rsp + 0x40]
jmp 0x140104453
cmp rax, 2
je 0x14010429c
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 0x1401047cd
inc r8
cmp rax, r8
jne 0x140104750
mov r8, rax
mov rsi, qword [rsp + 0x28]
lea rdx, [rax + rbp]
jmp 0x1401042a0
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x50], r13
mov r13, 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 0x1401047d7
xor r9d, r9d
jmp 0x14010483d
mov r13d, 2
jmp 0x140104276
mov rsi, qword [rsp + 0x28]
jmp 0x14010429c
mov r10, rax
and r10, r15
mov r9, qword [rsp + 0x68]
lea r11, [r9 + rbp*2]
mov r9, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x30]
lea rsi, [r9 + rsi*2]
xor r9d, r9d
nop word [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, r15
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 0x140104800
test r8b, 2
je 0x140104860
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 rsi, qword [rsp + 0x28]
mov rbx, r13
mov r13, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
jmp 0x1401042a0
mov r13d, 3
jmp 0x140104276
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rbx
call fcn.140137fbc
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rsi
call fcn.140137fbc
test r12, r12
je 0x140104b0d
mov r11, qword [rsp + 0x38]
mov rdi, qword [r11 + 0x10]
xor eax, eax
jmp 0x1401048db
mov byte [rcx + rdi*2], bl
mov byte [rcx + rdi*2 + 1], bpl
inc rdi
mov qword [r11 + 0x10], rdi
mov rax, rsi
cmp r12, rsi
je 0x1401049a5
lea rsi, [rax + 1]
cmp rdi, r12
jbe 0x140104924
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 + 0x38]
jae 0x140104960
cmp rax, rdi
jae 0x140104a92
mov rcx, qword [r11 + 8]
movzx ebx, byte [rcx + rax*2]
movzx ebp, byte [rcx + rsi*2 - 1]
cmp rdi, qword [r11]
jne 0x1401048c0
mov rcx, r11
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h194e2fc892bf1dd2
mov r11, qword [rsp + 0x38]
mov rcx, qword [r11 + 8]
jmp 0x1401048c0
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 + 0x38]
mov byte [rcx + rdi*2 - 2], al
mov byte [rcx + rdi*2 - 1], r8b
mov rax, rsi
cmp r12, rsi
jne 0x1401048db
mov rsi, rdi
sub rsi, r12
jb 0x140104afb
mov qword [r11 + 0x10], 0
je 0x1401049d1
lea rdx, [rcx + r12*2]
lea r8, [rsi + rsi]
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x38]
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, [0x1403261b8]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
lea rcx, [rsp + 0x98]
call sym.core::panicking::panic_fmt::h9e181c62584cc428
lea rax, [0x1403261b8]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rdx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
lea rcx, [rsp + 0x98]
call sym.core::panicking::panic_fmt::h9e181c62584cc428
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rdx, r15
call sym.core::slice::index::slice_index_order_fail::hb6f495100651f9f8
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, r15
mov rdx, r12
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_srchirinterval.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
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rbp
mov rdx, rdi
call sym.core::slice::index::slice_index_order_fail::hb6f495100651f9f8
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rdx
mov rdx, r12
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23librarycore_src_slice_sort.rs
mov rcx, rbp
call sym.core::slice::index::slice_index_order_fail::hb6f495100651f9f8
lea r8, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_alloc_src_vecmod.rs
mov rcx, r12
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.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_srchirinterval.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
int3