Function at 0x1402c75d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbp, r9
mov r12, rdx
mov rdi, rcx
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], r9
mov byte [rsp + 0x68], 0
mov rsi, qword [rdx]
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rdx + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
call qword [rdx + 0x40]
mov r14, qword [rax]
lock inc qword [r14]
jle 0x1402c7954
mov rax, qword [r14 + 0x20]
xor ebx, ebx
mov r15d, 8
test rax, rax
je 0x1402c76db
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1402c76db
mov ebx, dword [rcx + rax*8 - 4]
test rbx, rbx
je 0x1402c76d9
lea r13, [rbx*8]
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1402c769e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1402c7958
mov rcx, rax
mov qword [0x1403cdf08], rax
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1402c7958
mov r15, rax
cmp ebx, 2
jb 0x1402c76d0
lea r8, [r13 - 8]
mov rcx, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r15 + r13]
add rax, 0xfffffffffffffff8
mov qword [rax], 0
jmp 0x1402c76db
xor ebx, ebx
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsi + 0x20]
mov rax, qword [rax + 0xa0]
test rdx, rdx
je 0x1402c76fa
test byte [rax + 0x3a], 1
jne 0x1402c7913
mov r8, qword [rsp + 0x60]
cmp r8, qword [rsp + 0x50]
jae 0x1402c7710
test byte [rax + 0x3c], 2
jne 0x1402c7913
cmp qword [rax], 0
je 0x1402c7753
xor ecx, ecx
sub r8, rdx
cmovae rcx, r8
cmp rcx, qword [rax + 8]
jb 0x1402c7913
mov edx, dword [rsp + 0x40]
dec rdx
cmp rdx, 2
jb 0x1402c773c
test byte [rax + 0x3a], 1
je 0x1402c7753
test byte [rax + 0x3c], 2
je 0x1402c7753
cmp qword [rax + 0x10], 0
je 0x1402c7753
cmp rcx, qword [rax + 0x18]
ja 0x1402c7913
mov r12, qword [r12 + 8]
mov eax, dword [0x1403ce434]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x78], 0
jne 0x1402c7779
call fcn.1402c7bf0
mov eax, dword [0x1403ce434]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r13, qword [rax + 0x80]
mov r9, qword [r12 + 0x28]
cmp r13, r9
mov qword [rsp + 0x38], rbp
jne 0x1402c7866
mov qword [r12 + 0x28], 1
mov rax, qword [rsi + 0x10]
mov r10, qword [rsi + 0x18]
mov rcx, qword [r10 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
lea rdx, [r12 + 0x30]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x40]
mov r9, r15
call qword [r10 + 0x80]
mov qword [rsp + 0x70], r13
cmp r13, 2
je 0x1402c7967
mov ebp, eax
mov qword [r12 + 0x28], r13
cmp ebp, 1
mov r9, qword [rsp + 0x38]
jne 0x1402c7913
mov rax, qword [rsi + 0x20]
mov rax, qword [rax + 0xa0]
cmp qword [rax + 0x20], 0
je 0x1402c7831
mov rcx, qword [rax + 0x28]
inc rcx
mov rax, 0xffffffffffffffff
cmovne rax, rcx
mov ecx, 1
jmp 0x1402c7833
xor ecx, ecx
mov r8, qword [rsp + 0x30]
mov dword [rdi + 0x10], 1
mov dword [rdi + 0x14], edx
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x30], rbx
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rdi + 0x38], r8
mov qword [rdi + 0x40], r9
jmp 0x1402c793f
lea rcx, [rsp + 0x78]
mov rdx, r12
mov r8, r13
call fcn.1402f62b0
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rax, qword [rsi + 0x10]
mov r10, qword [rsi + 0x18]
mov rcx, qword [r10 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
cmp qword [rsp + 0x78], 0
lea rcx, [rcx + rax + 0x10]
jne 0x1402c77c9
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x2b], al
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x40]
mov rdx, r13
mov r9, r15
call qword [r10 + 0x80]
mov ebp, eax
mov dword [rsp + 0x2c], edx
test byte [rsp + 0x2b], 1
jne 0x1402c78e7
mov rcx, r12
mov rdx, r13
call fcn.1402c8e80
jmp 0x1402c7901
mov rcx, r13
call fcn.1402c9050
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [rsp + 0x2c]
cmp ebp, 1
mov r9, qword [rsp + 0x38]
je 0x1402c7806
mov qword [rdi], 2
lock dec qword [r14]
jne 0x1402c7928
mov rcx, r14
call fcn.1402c7990
test rbx, rbx
je 0x1402c793f
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
mov ecx, 8
mov rdx, r13
call fcn.1402e6e10
ud2
mov qword [rsp + 0x78], 0
lea rcx, [0x140397108]
lea r9, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.3.9_srcutilpool.rs
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x78]
call fcn.1402f65c0
ud2