Function at 0x14000b4e4
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400416b0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov qword [rbp - 0x51], rcx
mov r12d, 7
mov qword [rbp - 1], r12
xor esi, esi
mov qword [rbp - 9], rsi
mov word [rbp - 0x19], si
cmp qword [rcx + 0x10], rsi
jne 0x14000b5cb
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x31], rsi
mov word [rbp - 0x41], si
lea rdx, [rbp - 0x19]
lea rcx, str.ExtMonitor
call fcn.14000c124
lea r8, str.Lock
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0xf]
call fcn.14000bd14
nop
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140003918
nop
cmp qword [rbp + 0x27], 8
jb 0x14000b587
mov rcx, qword [rbp + 0xf]
call fcn.140014720
mov qword [rbp + 0x27], r12
mov qword [rbp + 0x1f], rsi
mov word [rbp + 0xf], si
lea r8, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae r8, qword [rbp - 0x41]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x10], rax
cmp qword [rbp - 0x29], 8
jb 0x14000b5bf
mov rcx, qword [rbp - 0x41]
call fcn.140014720
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x31], rsi
mov word [rbp - 0x41], si
mov edx, 0x32
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000b6e1
lea r8, str.MappedFile
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.14000bd14
nop
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rax, qword [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000b6ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
cmp eax, 0xb7
setne dil
mov qword [rsp + 0x20], 0x80
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14000b6ba
test edi, edi
je 0x14000b6a6
mov qword [rbp - 0x59], rax
mov dword [rax + 8], esi
lea rcx, vtable.NGLogging::CExtMonitorSettings.0
mov qword [rax], rcx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov byte [rax + 0x20], sil
mov qword [rax + 0x40], r12
mov qword [rax + 0x38], rsi
mov word [rax + 0x28], si
mov qword [rax + 0x68], r12
mov qword [rax + 0x60], rsi
mov word [rax + 0x50], si
mov dword [rax + 0x78], esi
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14000b6b5
add rax, 8
jmp 0x14000b6b8
mov rax, rsi
inc dword [rax]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
cmp qword [rbp - 0x29], 8
jb 0x14000b6d5
mov rcx, qword [rbp - 0x41]
call fcn.140014720
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x31], rsi
mov word [rbp - 0x41], si
mov rbx, qword [rbx + 0x18]
cmp qword [rbp - 1], 8
jb 0x14000b6f5
mov rcx, qword [rbp - 0x19]
call fcn.140014720
mov qword [rbp - 1], r12
mov qword [rbp - 9], rsi
mov word [rbp - 0x19], si
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140014700
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret