Function at 0x140186e90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x30], rcx
mov r12, qword [rcx + 0x10]
mov eax, 0xffffffff
mov rcx, r12
mov qword [rsp + 0x48], rdx
jmp 0x140186ef1
cmp r11d, r8d
cmova r8d, r11d
cmp r10d, r9d
cmovb r9d, r10d
inc r9d
cmove r9d, eax
add rdx, 8
dec rcx
cmp r8d, r9d
jbe 0x140186f16
cmp rcx, 2
jb 0x1401876f6
mov r11d, dword [rdx]
mov r10d, dword [rdx + 4]
mov r8d, dword [rdx + 8]
mov r9d, dword [rdx + 0xc]
cmp r11d, r8d
jb 0x140186ed0
jne 0x140186f16
cmp r10d, r9d
jb 0x140186ed0
cmp r12, 0x15
jae 0x140186f3e
cmp r12, 1
jbe 0x1401875e3
mov r8d, 1
mov rcx, qword [rsp + 0x48]
mov rdx, r12
call fcn.14018d0c0
jmp 0x1401875ec
lea rax, [r12*4]
movabs rdx, 0x7ffffffffffffff8
and rdx, rax
movzx eax, byte [0x1404c8501]
xor ecx, ecx
call fcn.140277170
test rax, rax
je 0x140187852
mov rdi, rax
movzx eax, byte [0x1404c8501]
mov edx, 0x100
xor ecx, ecx
call fcn.140277170
test rax, rax
je 0x14018785e
mov rbx, rax
mov rax, qword [rsp + 0x48]
lea rcx, [rax + 8]
mov qword [rsp + 0x60], rcx
add rax, 0xfffffffffffffff8
mov qword [rsp + 0x58], rax
mov eax, 0x10
mov qword [rsp + 0x50], rax
xor ebp, ebp
movabs r13, 0x1ffffffffffffffe
xor r15d, r15d
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x40], r12
jmp 0x140186fe4
mov r15d, 1
mov rbp, qword [rsp + 0x28]
cmp rbp, r12
jae 0x1401875b7
mov rax, r12
sub rax, rbp
mov rcx, qword [rsp + 0x48]
lea rcx, [rcx + rbp*8]
cmp rax, 2
jae 0x140187010
mov r8, rax
lea rdx, [r8 + rbp]
jmp 0x1401871a0
mov edx, dword [rcx + 8]
cmp edx, dword [rcx]
jb 0x140187023
jne 0x140187064
mov r8d, dword [rcx + 4]
cmp dword [rcx + 0xc], r8d
jae 0x140187064
mov r8d, 2
cmp rax, 2
jne 0x140187048
jmp 0x1401870b2
inc r8
cmp rax, r8
je 0x1401870af
mov r9d, edx
mov edx, dword [rcx + r8*8]
cmp edx, r9d
jb 0x140187040
jne 0x1401870b2
mov r9d, dword [rcx + r8*8 - 4]
cmp dword [rcx + r8*8 + 4], r9d
jb 0x140187040
jmp 0x1401870b2
mov r8d, 2
cmp rax, 2
jne 0x14018708c
jmp 0x140186ffc
inc r8
cmp rax, r8
je 0x140186ff9
mov r9d, edx
mov edx, dword [rcx + r8*8]
cmp edx, r9d
jb 0x140186ffc
jne 0x140187080
mov r9d, dword [rcx + r8*8 - 4]
cmp dword [rcx + r8*8 + 4], r9d
jae 0x140187080
jmp 0x140186ffc
mov r8, rax
mov rdx, r8
add rdx, rbp
jb 0x14018781c
cmp rdx, r12
ja 0x14018780a
cmp r8, 2
jae 0x1401870d8
mov r8d, 1
jmp 0x1401871a0
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x38], r15
mov r15, rbx
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*8]
lea r9, [rax*8]
sub rdx, r9
cmp rax, 1
jne 0x140187105
xor r9d, r9d
jmp 0x140187166
mov r10, rax
and r10, 0xfffffffffffffffe
mov r9, qword [rsp + 0x60]
lea r11, [r9 + rbp*8]
mov r9, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x28]
lea rsi, [r9 + rsi*8]
xor r9d, r9d
nop word cs:[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, r13
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 0x140187130
test r8b, 2
je 0x140187185
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 rdi, qword [rsp + 0x20]
mov rbx, r15
mov r15, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
nop word [rax + rax]
mov rsi, rdx
sub rsi, rbp
jb 0x1401877d4
cmp rdx, r12
ja 0x1401877d4
jae 0x140187200
cmp r8, 0xa
jae 0x140187200
lea rsi, [rbp + 0xa]
cmp rsi, r12
cmovae rsi, r12
cmp rbp, 0xfffffffffffffff6
jae 0x1401877ec
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x28], rsi
sub rsi, rbp
mov rdx, rsi
call fcn.14018d0c0
cmp r15, qword [rsp + 0x50]
je 0x14018720c
jmp 0x140187262
mov qword [rsp + 0x28], rdx
cmp r15, qword [rsp + 0x50]
jne 0x140187262
mov rdx, r15
shl rdx, 5
movzx eax, byte [0x1404c8501]
xor ecx, ecx
call fcn.140277170
test rax, rax
je 0x1401877fe
mov rdi, rax
lea rax, [r15 + r15]
mov qword [rsp + 0x50], rax
mov r8, r15
shl r8, 4
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1404c8458]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, rdi
mov rdi, qword [rsp + 0x20]
mov rax, r15
shl rax, 4
mov qword [rbx + rax], rsi
mov qword [rbx + rax + 8], rbp
inc r15
mov rax, r15
cmp r15, 2
mov qword [rsp + 0x68], rbx
jae 0x1401872ff
jmp 0x140186fd6
mov r13, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x68]
add rbp, rbx
add r14, rbx
sub r8, rdx
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x70]
add rax, qword [rsp + 0x38]
mov qword [r14], rax
mov rax, qword [rsp + 0x78]
mov qword [r14 + 8], rax
lea rdx, [rbp + 0x10]
mov rax, qword [rsp + 0x80]
not rax
add rsi, rax
shl rsi, 4
mov rcx, rbp
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x88]
cmp rax, 1
movabs r13, 0x1ffffffffffffffe
jbe 0x140186fd0
mov r15, 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 0x140187370
mov rdx, r15
shl rdx, 4
mov r8, qword [rdx + rbx - 0x20]
cmp r8, rax
jbe 0x140187370
cmp r15, 2
je 0x1401875a1
lea r11, [r15 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140187385
cmp r15, 3
jbe 0x1401875ac
add r8, rcx
cmp qword [rdx + rbx - 0x40], r8
jbe 0x140187385
jmp 0x140186fd6
cmp r15, 2
je 0x14018738a
lea r11, [r15 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
cmp rcx, rax
jb 0x14018738e
lea r11, [r15 - 2]
cmp r15, r11
jbe 0x14018778b
lea r14, [r11 + 1]
cmp r15, r14
jbe 0x140187721
mov rsi, r15
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 rdi, r15
sub rdi, rcx
jb 0x14018776a
cmp r15, r12
ja 0x140187779
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], r11
mov qword [rsp + 0x88], r10
mov rdx, qword [rbx + rbp]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rcx
lea r13, [rax + rcx*8]
lea rbx, [rdx*8]
add rbx, r13
mov r12, rdi
sub r12, rdx
cmp r12, rdx
mov qword [rsp + 0x38], rdx
jae 0x1401874d0
lea r8, [r12*8]
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rdi + r12*8]
cmp qword [rsp + 0x38], 0
jle 0x140187580
test r12, r12
jle 0x140187580
mov rax, qword [rsp + 0x58]
lea rax, [rax + r15*8]
mov r12, qword [rsp + 0x40]
jmp 0x1401874aa
mov ecx, dword [r8 - 4]
sete dl
cmp ecx, dword [rbx - 4]
setb cl
and cl, dl
movzx ecx, cl
lea rdx, [rcx*8]
sub rbx, rdx
lea r8, [r8 + rcx*8]
add r8, 0xfffffffffffffff8
test cl, cl
mov rcx, r8
cmovne rcx, rbx
mov rcx, qword [rcx]
mov qword [rax], rcx
cmp rbx, r13
jbe 0x140187290
add rax, 0xfffffffffffffff8
cmp r8, rdi
jbe 0x140187290
mov ecx, dword [rbx - 8]
cmp dword [r8 - 8], ecx
jae 0x140187460
add rbx, 0xfffffffffffffff8
mov rcx, rbx
mov rcx, qword [rcx]
mov qword [rax], rcx
cmp rbx, r13
ja 0x14018749d
jmp 0x140187290
lea r8, [rdx*8]
mov r12, qword [rsp + 0x20]
mov rcx, r12
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x38]
lea r8, [r12 + rax*8]
test rax, rax
jle 0x14018758f
cmp rdi, rax
mov r12, qword [rsp + 0x40]
jle 0x140187585
mov rax, qword [rsp + 0x48]
lea rax, [rax + r15*8]
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
nop dword [rax]
mov r10d, dword [rdx]
mov cl, 1
mov r9, rbx
cmp dword [rbx], r10d
jb 0x140187545
mov ecx, dword [rbx + 4]
sete r10b
cmp ecx, dword [rdx + 4]
setb cl
mov r9, rbx
and cl, r10b
jne 0x140187545
mov r9, rdx
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 0x140187296
movzx ecx, cl
lea rbx, [rbx + rcx*8]
cmp rbx, rax
jb 0x140187520
jmp 0x140187296
mov r13, rbx
jmp 0x140187594
mov rdi, qword [rsp + 0x20]
jmp 0x140187293
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
mov r12, qword [rsp + 0x40]
jmp 0x140187296
mov r15d, 2
jmp 0x140186fd6
mov r15d, 3
jmp 0x140186fd6
mov rcx, qword [0x1404c8458]
xor edx, edx
mov r8, rbx
mov rsi, qword [sym.imp.KERNEL32.dll_HeapFree]
call rsi
mov rcx, qword [0x1404c8458]
xor edx, edx
mov r8, rdi
call rsi
mov rax, qword [rsp + 0x30]
mov r12, qword [rax + 0x10]
test r12, r12
je 0x14018783a
xor eax, eax
mov rdx, r12
jmp 0x140187617
movlps qword [rcx + rdx*8], xmm6
inc rdx
mov qword [r8 + 0x10], rdx
mov rax, rsi
cmp r12, rsi
je 0x1401876c6
lea rsi, [rax + 1]
cmp rdx, r12
jbe 0x140187656
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov r10d, dword [rcx + rdx*8 - 8]
mov r8d, dword [rcx + rax*8]
cmp r10d, r8d
mov edi, r8d
cmova edi, r10d
mov r11d, dword [rcx + rdx*8 - 4]
mov r9d, dword [rcx + rsi*8 - 4]
cmp r11d, r9d
mov ebx, r9d
cmovb ebx, r11d
inc ebx
cmp edi, ebx
jbe 0x140187690
cmp rax, rdx
jae 0x140187712
mov r8, qword [rsp + 0x30]
mov rcx, qword [r8 + 8]
movsd xmm6, qword [rcx + rax*8]
cmp rdx, qword [r8]
jne 0x140187600
mov rcx, r8
call fcn.140117350
mov r8, qword [rsp + 0x30]
mov rcx, qword [r8 + 8]
mov rdx, qword [r8 + 0x10]
jmp 0x140187600
cmp r10d, r8d
cmovb r8d, r10d
cmp r11d, r9d
cmova r9d, r11d
cmp r8d, r9d
mov eax, r9d
cmova r9d, r8d
cmovb eax, r8d
mov dword [rcx + rdx*8 - 8], eax
mov dword [rcx + rdx*8 - 4], r9d
mov r8, qword [rsp + 0x30]
mov rax, rsi
cmp r12, rsi
jne 0x140187617
mov rsi, rdx
sub rsi, r12
jb 0x14018782b
mov qword [r8 + 0x10], 0
je 0x1401876f6
lea rdx, [rcx + r12*8]
lea r8, [rsi*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rsi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersNico.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_srchirinterval.rs
mov rcx, rax
call fcn.1402c7670
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
lea rax, [0x14047c0f8]
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
lea rdx, [0x140455018]
lea rcx, [rsp + 0x90]
call fcn.1402c7620
lea r8, [0x140455030]
mov rdx, r15
call fcn.1402c78e0
lea r8, [0x140455030]
mov rcx, r15
mov rdx, r12
call fcn.1402c76e0
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
lea rax, [0x14047c0f8]
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
lea rdx, [0x140455000]
lea rcx, [rsp + 0x90]
call fcn.1402c7620
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, [0x1404550c0]
mov edx, 0x2c
call fcn.1402c76f0
lea r8, [0x1404550d8]
mov rcx, rbp
mov rdx, rsi
call fcn.1402c78e0
lea rcx, [0x140455078]
call fcn.1402c7a40
lea r8, [0x140454fe8]
mov rcx, rdx
mov rdx, r12
call fcn.1402c76e0
lea r8, [0x140454fe8]
mov rcx, rbp
call fcn.1402c78e0
lea r8, str._rustc_c9f8f3438a8134a413aa5d4903e0196e44e37bbclibrary_alloc_src_vecmod.rs
mov rcx, r12
call fcn.1402c76e0
lea rcx, str.assertion_failed:__self.ranges.is_empty__
lea r8, str.C:UsersNico.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_srchirinterval.rs
mov edx, 0x29
call fcn.1402c76f0
lea rcx, [0x140455048]
call fcn.1402c7a40
lea rcx, [0x140455060]
call fcn.1402c7a40
int3