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

Disassembly:
mov rax, rsp
push rbx
push rdi
sub rsp, 0x68
cmp qword [rcx - 0x70], 0
mov rbx, rcx
mov qword [rax + 0x10], rsi
je 0x14000c638
mov qword [rax + 8], rbp
add rcx, 0xffffffffffffffa8
mov qword [rax + 0x18], r12
mov qword [rax - 0x18], r13
mov qword [rax - 0x28], r15
call qword [0x14003b098]
mov rdi, qword [rbx - 0x78]
xor edx, edx
mov rcx, rdi
mov byte [rbx - 0x50], 1
call qword [0x14003b060]
test eax, eax
jne 0x14000c544
lea r9d, [rax + 0x10]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [0x14003b070]
xor ebp, ebp
test eax, eax
cmove ebp, dword [rsp + 0x34]
jmp 0x14000c546
xor ebp, ebp
lea rcx, [rbx - 0x40]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [rbx - 0x18]
lea r15, [rbx - 0x18]
cmp rdi, r15
je 0x14000c5bc
mov qword [rsp + 0x58], r14
nop dword [rax]
nop dword [rax + rax]
mov r14, qword [rdi + 0x20]
xor edx, edx
mov rcx, r14
call qword [0x14003b060]
test eax, eax
jne 0x14000c5ab
lea r9d, [rax + 0x10]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call qword [0x14003b070]
xor ecx, ecx
test eax, eax
cmove ecx, dword [rsp + 0x34]
jmp 0x14000c5ad
xor ecx, ecx
mov rdi, qword [rdi]
add esi, ecx
cmp rdi, r15
jne 0x14000c570
mov r14, qword [rsp + 0x58]
lea rcx, [rbx - 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rbx - 0x48]
nop
mov r15, qword [rsp + 0x50]
add eax, esi
mov r13, qword [rsp + 0x60]
add ebp, eax
mov dword [rbx - 0x44], ebp
mov eax, dword [rbx - 0x4c]
nop
cmp ebp, eax
je 0x14000c602
xor r9d, r9d
lea rdx, [rbx - 0x58]
mov r8d, 0xffffffff
lea rcx, [rbx - 0x60]
call qword [0x14003b110]
mov eax, dword [rbx - 0x4c]
nop
cmp ebp, eax
jne 0x14000c5e3
lea rcx, [rbx - 0x58]
call qword [0x14003b0e8]
mov rcx, qword [rbx - 0x70]
call qword [0x14003b090]
mov rcx, qword [rbx - 0x70]
call qword [0x14003b088]
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
mov qword [rbx - 0x70], 0
mov rcx, qword [rbx - 0x78]
call qword [0x14003b0a8]
lea rsi, [rbx - 0x18]
mov qword [rbx - 0x78], 0
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x14000c6ce
nop word [rax + rax]
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rax, qword [rbx - 0xa8]
test rax, rax
je 0x14000c6af
mov edx, dword [rdi + 0x10]
mov ecx, dword [rdi + 0x14]
mov dword [rsp + 0x38], edx
mov rdx, qword [rbx - 0xa0]
mov dword [rsp + 0x34], ecx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x30], 0x18
mov dword [rsp + 0x3c], 1
call qword [0x14002c2f0]
mov rcx, qword [rdi + 0x20]
call qword [0x14003b0a8]
mov edx, 0x40
mov rcx, rdi
call fcn.14000c090
mov rdi, qword [rsi]
cmp rdi, rsi
jne 0x14000c660
lea rcx, [rbx - 0xe8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx - 0xf8]
mov rsi, qword [rsp + 0x88]
test rcx, rcx
je 0x14000c700
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx - 0xf8], 0
mov rcx, qword [rbx - 0x100]
test rcx, rcx
je 0x14000c71d
call qword [0x14003b0a8]
mov qword [rbx - 0x100], 0
mov rcx, qword [rbx - 0x108]
test rcx, rcx
je 0x14000c73a
call qword [0x14003b0a8]
mov qword [rbx - 0x108], 0
lea rcx, [rbx - 0xe8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x68
pop rdi
pop rbx
ret
movsxd rax, dword [rcx - 4]
sub rcx, rax
jmp 0x14000c4d0