Function at 0x1400c3ff0
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 0x1400c48c1
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 0x1400c4093
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 0x1400c4020
cmp r15, 0x15
jae 0x1400c40c0
cmp r15, 1
jbe 0x1400c48d5
mov r8d, 1
mov rcx, qword [rsp + 0x38]
mov rdx, r15
call fcn.1400cbca0
mov r11, qword [rsp + 0x30]
jmp 0x1400c479a
movabs rax, 0x7ffffffffffffffe
mov rdx, r15
and rdx, rax
movzx eax, byte [0x140297030]
xor ecx, ecx
call fcn.1400f4570
test rax, rax
je 0x1400c4a05
mov r14, rax
movzx eax, byte [0x140297030]
mov edx, 0x100
xor ecx, ecx
call fcn.1400f4570
test rax, rax
mov qword [rsp + 0x28], r14
je 0x1400c4a11
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_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rsp + 0x70], r15
jmp 0x1400c4163
mov ebx, 1
mov rbp, qword [rsp + 0x20]
cmp rbp, r15
jae 0x1400c4766
mov rax, r15
sub rax, rbp
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rbp*2]
cmp rax, 2
jae 0x1400c41f0
mov r8, rax
lea rax, [r8 + rbp]
mov rsi, rax
sub rsi, rbp
jb 0x1400c498f
cmp rax, r15
ja 0x1400c498f
jae 0x1400c42a0
cmp r8, 0xa
jae 0x1400c42a0
lea rsi, [rbp + 0xa]
cmp rsi, r15
cmovae rsi, r15
cmp rbp, 0xfffffffffffffff5
ja 0x1400c49a9
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x20], rsi
sub rsi, rbp
mov rdx, rsi
call fcn.1400cbca0
cmp rbx, qword [rsp + 0x58]
je 0x1400c42ac
jmp 0x1400c42fc
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 0x1400c4630
cmp rax, 2
je 0x1400c4269
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 0x1400c4269
inc r8
cmp rax, r8
jne 0x1400c4230
mov r8, rax
mov rax, r8
add rax, rbp
jb 0x1400c49dc
cmp rax, r15
ja 0x1400c49c8
cmp r8, 2
jae 0x1400c467e
mov r8d, 1
jmp 0x1400c417f
mov qword [rsp + 0x20], rax
cmp rbx, qword [rsp + 0x58]
jne 0x1400c42fc
mov rdx, rbx
shl rdx, 5
movzx eax, byte [0x140297030]
xor ecx, ecx
call fcn.1400f4570
test rax, rax
je 0x1400c49ba
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 [0x1402970b8]
xor edx, edx
mov r8, r13
call fcn.1400f8e9c
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 0x1400c4155
mov qword [rsp + 0x78], r13
jmp 0x1400c4399
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 0x1400c4150
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 0x1400c4410
mov rdx, rbp
shl rdx, 4
mov r8, qword [rdx + r13 - 0x20]
cmp r8, rax
jbe 0x1400c4410
cmp rbp, 2
je 0x1400c46a7
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x1400c4426
cmp rbp, 3
jbe 0x1400c4754
add r8, rcx
cmp qword [rdx + r13 - 0x40], r8
jbe 0x1400c4426
jmp 0x1400c475e
cmp rbp, 2
je 0x1400c442b
lea r11, [rbp - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r13 + rcx]
cmp rcx, rax
jb 0x1400c442f
lea r11, [rbp - 2]
cmp rbp, r11
jbe 0x1400c4913
mov qword [rsp + 0x48], r10
lea rbx, [r11 + 1]
cmp rbp, rbx
jbe 0x1400c48fb
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 0x1400c4952
mov qword [rsp + 0x40], rbp
cmp rsi, r15
ja 0x1400c4966
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 0x1400c4570
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 0x1400c460f
test r14, r14
mov rbp, qword [rsp + 0x40]
jle 0x1400c4321
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
sub r15, rcx
sub r15, rcx
lea r8, [r8 + rcx*2]
add r8, 0xfffffffffffffffe
test cl, cl
mov rcx, r8
cmovne rcx, r15
movzx ecx, word [rcx]
mov word [rax], cx
cmp r15, r13
jbe 0x1400c4560
add rax, 0xfffffffffffffffe
cmp r8, r14
ja 0x1400c4510
mov r13, r15
mov rdx, r14
jmp 0x1400c4330
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 0x1400c461c
cmp rdi, rbp
mov rdi, rbp
jle 0x1400c4617
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 0x1400c45d9
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 0x1400c4330
movzx ecx, cl
lea r15, [r15 + rcx*2]
cmp r15, rax
jb 0x1400c45b0
jmp 0x1400c4330
mov r13, r15
mov r14, qword [rsp + 0x28]
mov rdx, r14
jmp 0x1400c4622
mov rdx, r14
mov rdi, rbp
mov rbp, qword [rsp + 0x40]
jmp 0x1400c4330
cmp rax, 2
je 0x1400c417b
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 0x1400c417b
inc r8
cmp rax, r8
jne 0x1400c4640
jmp 0x1400c4178
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 0x1400c46b1
xor r9d, r9d
jmp 0x1400c471d
mov ebx, 2
jmp 0x1400c4155
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 0x1400c46e0
test r8b, 2
je 0x1400c4740
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 0x1400c417f
mov ebx, 3
jmp 0x1400c4155
mov rbx, rbp
jmp 0x1400c4155
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, r13
call fcn.1400f8e9c
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, r14
call fcn.1400f8e9c
mov r11, qword [rsp + 0x30]
mov r15, qword [r11 + 0x10]
test r15, r15
je 0x1400c48e3
xor eax, eax
mov rsi, r15
jmp 0x1400c47cb
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 0x1400c4895
lea rdi, [rax + 1]
cmp rsi, r15
jbe 0x1400c4814
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 0x1400c4850
cmp rax, rsi
jae 0x1400c497d
mov rcx, qword [r11 + 8]
movzx ebx, byte [rcx + rax*2]
movzx ebp, byte [rcx + rdi*2 - 1]
cmp rsi, qword [r11]
jne 0x1400c47b0
mov rcx, r11
call fcn.140053e30
mov r11, qword [rsp + 0x30]
mov rcx, qword [r11 + 8]
jmp 0x1400c47b0
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 0x1400c47cb
mov rdi, rsi
sub rdi, r15
jb 0x1400c49f3
mov qword [r11 + 0x10], 0
je 0x1400c48c1
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 0x1400c479a
lea rcx, str.assertion_failed:__self.ranges.is_empty__
lea r8, str.C:Userswin10_x64.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.3_srchirinterval.rs
mov edx, 0x29
call fcn.140039220
lea rax, [0x1402828c8]
mov qword [rsp + 0x98], rax
lea rdx, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
jmp 0x1400c4929
lea rax, [0x1402828c8]
mov qword [rsp + 0x98], rax
lea rdx, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_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.140038510
jmp 0x1400c4a1d
lea r8, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
mov rdx, rsi
call fcn.14003a260
jmp 0x1400c4a1d
lea r8, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
mov rcx, rsi
mov rdx, r15
call fcn.140038eb0
jmp 0x1400c4a1d
lea r8, str.C:Userswin10_x64.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.3_srchirinterval.rs
mov rcx, rax
mov rdx, rsi
call fcn.1400385c0
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
mov edx, 0x2c
call fcn.140039220
jmp 0x1400c4a1d
mov rdx, rsi
lea rax, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
mov qword [rsp + 0x50], rax
jmp 0x1400c49df
lea rcx, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
call fcn.14003a2d0
jmp 0x1400c4a1d
lea r8, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
mov rcx, rax
mov rdx, r15
call fcn.140038eb0
jmp 0x1400c4a1d
mov rdx, rax
mov rcx, rbp
mov r8, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
call fcn.14003a260
jmp 0x1400c4a1d
lea r8, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35library_alloc_src_vecmod.rs
mov rcx, r15
mov rdx, rsi
call fcn.140038eb0
lea rcx, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
call fcn.14003a2d0
lea rcx, str._rustc_105fc5ccc942631c367a53a902c57f45ea534d35librarycore_src_slice_sort.rs
call fcn.14003a2d0
ud2