Function at 0x1400d05c0
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 + 0x28], rcx
mov r14, qword [rcx + 0x10]
mov eax, 0xff
mov rcx, r14
mov qword [rsp + 0x40], rdx
nop dword [rax]
cmp rcx, 2
jb 0x1400d0e71
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 0x1400d0663
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 0x1400d05f0
cmp r14, 0x15
jae 0x1400d0690
cmp r14, 1
jbe 0x1400d0e85
mov r8d, 1
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.1400b9620
mov r11, qword [rsp + 0x28]
jmp 0x1400d0d4f
movabs rax, 0x7ffffffffffffffe
mov rcx, r14
and rcx, rax
mov rsi, qword [0x140472688]
movzx eax, byte [rsi]
mov edx, 1
mov qword [rsp + 0x58], rcx
call fcn.14000d8f0
test rax, rax
je 0x1400d0fd5
mov rbp, rax
movzx eax, byte [rsi]
mov ecx, 0x100
mov edx, 8
call fcn.14000d8f0
test rax, rax
je 0x1400d0fe1
mov rbx, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 3]
mov qword [rsp + 0x60], rcx
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x50], rax
mov eax, 0x10
mov qword [rsp + 0x48], rax
xor r13d, r13d
xor r12d, r12d
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x68], r14
jmp 0x1400d0734
mov r12d, 1
mov r13, qword [rsp + 0x20]
cmp r13, r14
jae 0x1400d0d13
mov rax, r14
sub rax, r13
mov rcx, qword [rsp + 0x40]
lea rcx, [rcx + r13*2]
cmp rax, 2
jae 0x1400d0770
mov r8, rax
lea rdx, [r8 + r13]
mov rax, qword [0x140472688]
mov rsi, rdx
sub rsi, r13
jae 0x1400d094e
jmp 0x1400d0f6a
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 0x1400d0820
cmp rax, 2
je 0x1400d07e9
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 0x1400d07e9
inc r8
cmp rax, r8
jne 0x1400d07b0
mov r8, rax
mov rdx, r8
add rdx, r13
jb 0x1400d0fb4
mov rax, rdx
mov qword [rsp + 0x20], rdx
cmp rdx, r14
mov rax, qword [0x140472688]
ja 0x1400d0fa0
cmp r8, 2
jae 0x1400d086e
mov r8d, 1
jmp 0x1400d093d
cmp rax, 2
je 0x1400d074c
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 0x1400d074c
inc r8
cmp rax, r8
jne 0x1400d0830
jmp 0x1400d0749
mov qword [rsp + 0x38], r12
mov r12, 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 0x1400d0895
xor r9d, r9d
jmp 0x1400d0906
mov r10, rax
movabs r15, 0x7ffffffffffffffe
and r10, r15
mov r9, qword [rsp + 0x60]
lea r11, [r9 + r13*2]
mov r9, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x20]
lea rsi, [r9 + rsi*2]
xor r9d, r9d
nop
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 ebp, word [rdx + rdi*2]
mov word [r11 + r9*2 - 1], bp
movabs r15, 0x7ffffffffffffffe
mov word [rdx + rdi*2], bx
add r9, 2
add rsi, 0xfffffffffffffffc
cmp r10, r9
jne 0x1400d08c0
test r8b, 2
je 0x1400d0929
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 rbp, qword [rsp + 0x30]
mov rax, qword [0x140472688]
mov rbx, r12
mov r12, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
mov rsi, rdx
sub rsi, r13
jb 0x1400d0f6a
cmp rdx, r14
ja 0x1400d0f6a
mov qword [rsp + 0x20], rdx
jae 0x1400d0998
cmp r8, 0xa
jae 0x1400d0998
lea rsi, [r13 + 0xa]
cmp rsi, r14
cmovae rsi, r14
cmp r13, 0xfffffffffffffff6
jae 0x1400d0f82
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x20], rsi
sub rsi, r13
mov rdx, rsi
call fcn.1400b9620
mov rax, qword [0x140472688]
cmp r12, qword [rsp + 0x48]
jne 0x1400d09f4
mov r15, rbx
mov rcx, r12
shl rcx, 5
movzx eax, byte [rax]
mov edx, 8
call fcn.14000d8f0
test rax, rax
je 0x1400d0f94
mov rdi, rax
lea rax, [r12 + r12]
mov qword [rsp + 0x48], rax
mov rbx, r12
shl rbx, 4
mov rcx, rdi
mov rdx, r15
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r8d, 8
mov rcx, r15
mov rdx, rbx
call fcn.14000d900
mov rbx, rdi
mov rax, r12
shl rax, 4
mov qword [rbx + rax], rsi
mov qword [rbx + rax + 8], r13
inc r12
mov rax, r12
cmp r12, 2
mov qword [rsp + 0x70], rbx
jae 0x1400d0a92
jmp 0x1400d0726
mov r14, rbx
mov rbp, qword [rsp + 0x30]
mov rdx, rbp
mov rbx, qword [rsp + 0x70]
add r13, rbx
add r15, rbx
sub r8, rdx
mov rcx, r14
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x78]
add rax, qword [rsp + 0x38]
mov qword [r15], rax
mov rax, qword [rsp + 0x80]
mov qword [r15 + 8], rax
lea rdx, [r13 + 0x10]
mov rax, qword [rsp + 0x88]
not rax
add rsi, rax
shl rsi, 4
mov rcx, r13
mov r8, rsi
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x90]
cmp rax, 1
mov r14, qword [rsp + 0x68]
jbe 0x1400d0720
mov r12, 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, r14
je 0x1400d0b00
mov rdx, r12
shl rdx, 4
mov r8, qword [rdx + rbx - 0x20]
cmp r8, rax
jbe 0x1400d0b00
cmp r12, 2
je 0x1400d0cfd
lea r11, [r12 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x1400d0b16
cmp r12, 3
jbe 0x1400d0d08
add r8, rcx
cmp qword [rdx + rbx - 0x40], r8
jbe 0x1400d0b16
jmp 0x1400d0726
cmp r12, 2
je 0x1400d0b1b
lea r11, [r12 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
cmp rcx, rax
jb 0x1400d0b20
lea r11, [r12 - 2]
cmp r12, r11
jbe 0x1400d0ef1
lea r15, [r11 + 1]
cmp r12, r15
jbe 0x1400d0eab
mov rsi, r12
mov r13, r11
shl r13, 4
mov rcx, qword [rbx + r13 + 8]
shl r15, 4
mov rax, qword [rbx + r15]
mov r12, qword [rbx + r15 + 8]
add r12, rax
mov rdi, r12
sub rdi, rcx
jb 0x1400d0f37
cmp r12, r14
ja 0x1400d0f46
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x90], r10
mov rdx, qword [rbx + r13]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rcx
lea r14, [rax + rcx*2]
lea rbx, [r14 + rdx*2]
mov rbp, rdi
sub rbp, rdx
cmp rbp, rdx
mov qword [rsp + 0x38], rdx
jae 0x1400d0c50
lea r8, [rbp*2]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcpy
lea r8, [rdi + rbp*2]
cmp qword [rsp + 0x38], 0
jle 0x1400d0a20
test rbp, rbp
jle 0x1400d0a20
mov rax, qword [rsp + 0x50]
lea rax, [rax + r12*2]
mov rbp, qword [rsp + 0x30]
nop dword [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, r14
jbe 0x1400d0c3d
add rax, 0xfffffffffffffffe
cmp r8, rbp
ja 0x1400d0bf0
mov r14, rbx
jmp 0x1400d0a28
lea r8, [rdx + rdx]
mov rbp, qword [rsp + 0x30]
mov rcx, rbp
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x38]
lea r8, [rax*2]
add r8, rbp
test rax, rax
jle 0x1400d0a28
cmp rdi, rax
jle 0x1400d0a28
mov rax, qword [rsp + 0x40]
lea rax, [rax + r12*2]
mov rdx, rbp
nop word cs:[rax + rax]
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 0x1400d0cc8
mov r9, rdx
movzx r9d, word [r9]
mov word [r14], r9w
add r14, 2
mov r9d, ecx
xor r9b, 1
movzx r9d, r9b
lea rdx, [rdx + r9*2]
cmp rdx, r8
jae 0x1400d0a2b
movzx ecx, cl
lea rbx, [rbx + rcx*2]
cmp rbx, rax
jb 0x1400d0ca0
jmp 0x1400d0a2b
mov r12d, 2
jmp 0x1400d0726
mov r12d, 3
jmp 0x1400d0726
mov rdx, qword [rsp + 0x48]
shl rdx, 4
mov r8d, 8
mov rcx, rbx
call fcn.14000d900
mov r8d, 1
mov rcx, rbp
mov rdx, qword [rsp + 0x58]
call fcn.14000d900
mov r11, qword [rsp + 0x28]
mov r14, qword [r11 + 0x10]
test r14, r14
je 0x1400d0e93
xor eax, eax
mov rsi, r14
jmp 0x1400d0d7b
mov byte [rcx + rsi*2], bl
mov byte [rcx + rsi*2 + 1], bpl
inc rsi
mov qword [r11 + 0x10], rsi
mov rax, rdi
cmp r14, rdi
je 0x1400d0e45
lea rdi, [rax + 1]
cmp rsi, r14
jbe 0x1400d0dc4
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 + 0x28]
jae 0x1400d0e00
cmp rax, rsi
jae 0x1400d0f58
mov rcx, qword [r11 + 8]
movzx ebx, byte [rcx + rax*2]
movzx ebp, byte [rcx + rdi*2 - 1]
cmp rsi, qword [r11]
jne 0x1400d0d60
mov rcx, r11
call fcn.1400bb8d0
mov r11, qword [rsp + 0x28]
mov rcx, qword [r11 + 8]
jmp 0x1400d0d60
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 + 0x28]
mov byte [rcx + rsi*2 - 2], al
mov byte [rcx + rsi*2 - 1], r8b
mov rax, rdi
cmp r14, rdi
jne 0x1400d0d7b
mov rdi, rsi
sub rdi, r14
jb 0x1400d0fc3
mov qword [r11 + 0x10], 0
je 0x1400d0e71
lea rdx, [rcx + r14*2]
lea r8, [rdi + rdi]
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x28]
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 + 0x28]
test r14, r14
jne 0x1400d0d4f
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 fcn.14017afe0
lea rax, [0x1403ebb38]
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, [0x1403ebdd8]
lea rcx, [rsp + 0x98]
call fcn.14017af40
lea rax, [0x1403ebb38]
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, [0x1403ebdc0]
lea rcx, [rsp + 0x98]
call fcn.14017af40
lea r8, [0x1403ebdf0]
mov rdx, r12
call fcn.1401812b0
lea r8, [0x1403ebdf0]
mov rcx, r12
mov rdx, r14
call fcn.140181240
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.4_srchirinterval.rs
mov rcx, rax
mov rdx, rsi
call fcn.14017b120
lea rcx, [0x1403ebe50]
lea r8, [0x1403ebe80]
mov edx, 0x2c
call fcn.14017afe0
lea r8, [0x1403ebe98]
mov rcx, r13
mov rdx, rsi
call fcn.1401812b0
lea rcx, [0x1403ebe38]
call fcn.14017ac90
lea r8, [0x1403ebda8]
mov rcx, qword [rsp + 0x20]
mov rdx, r14
call fcn.140181240
lea r8, [0x1403ebda8]
mov rcx, r13
call fcn.1401812b0
lea r8, [0x1403ec1c0]
mov rcx, r14
mov rdx, rsi
call fcn.140181240
lea rcx, [0x1403ebe08]
call fcn.14017ac90
lea rcx, [0x1403ebe20]
call fcn.14017ac90
int3