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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x100]
call fcn.1800114b0
movzx eax, al
test eax, eax
je 0x18000cd25
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x118], 0
je 0x18000cc6a
mov rax, qword [rsp + 0x100]
add rax, 0x460
mov rcx, rax
call sub.KERNEL32.dll_EnterCriticalSection
mov rax, qword [rsp + 0x100]
add rax, 0x490
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
call fcn.18000d640
mov rax, qword [rsp + 0x100]
add rax, 0x490
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0xa0]
call fcn.18000d810
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
cmp qword [rsp + 0x60], rax
jne 0x18000caab
mov dword [rsp + 0x38], 1
jmp 0x18000cab3
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x18000cac6
mov dword [rsp + 0x3c], 1
jmp 0x18000cace
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x18000cc4f
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18000cb30
cmp dword [rsp + 0x40], 1
je 0x18000cbd1
jmp 0x18000cc4f
mov ecx, 0x120
call fcn.180069fc0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18000cb90
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x100]
call fcn.180004930
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x110]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call fcn.18001ec60
mov qword [rsp + 0x70], rax
jmp 0x18000cb99
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.18000b620
mov rcx, qword [rsp + 0x30]
call fcn.180004930
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x1c], eax
jmp 0x18000cc4f
mov ecx, 0x98
call fcn.180069fc0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x18000cc14
mov r9, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x118]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
call fcn.18000b650
mov qword [rsp + 0x80], rax
jmp 0x18000cc20
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x20]
call fcn.1800163b0
mov rax, qword [rsp + 0x100]
add rax, 0x460
mov rcx, rax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x18000ccf4
mov ecx, 0x120
call fcn.180069fc0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x18000cccb
mov rcx, qword [rsp + 0x100]
call fcn.180004930
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x110]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.18001ec60
mov qword [rsp + 0x90], rax
jmp 0x18000ccd7
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18000cd0e
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
call fcn.1800119d0
mov rcx, qword [rsp + 0x100]
call fcn.1800114f0
mov dword [rsp + 0x44], 0
jmp 0x18000cd2d
mov dword [rsp + 0x44], 5
mov eax, dword [rsp + 0x44]
add rsp, 0xf8
ret