Function at 0x14000c83c
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14027eb40]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
mov qword [rbp - 0x31], rcx
xor esi, esi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], rsi
lea r14d, [rsi + 7]
mov qword [rbp + 0x17], r14
mov qword [rbp + 0xf], rsi
mov word [rbp - 1], si
cmp qword [rcx + 0x10], rsi
jne 0x14000c958
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rsi
mov qword [rbp - 9], r14
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x21], si
lea rdx, [rbp - 1]
lea rcx, str.RegValues
call fcn.14000da08
lea r8, str.Lock
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.14000cdbc
mov rdi, rax
lea rax, [rbp - 0x21]
cmp rax, rdi
je 0x14000c904
cmp qword [rbp - 9], 8
jb 0x14000c8eb
mov rcx, qword [rbp - 0x21]
call fcn.14001ae84
mov qword [rbp - 9], r14
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x21], si
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.14000bc74
nop
cmp qword [rbp + 0x37], 8
jb 0x14000c914
mov rcx, qword [rbp + 0x1f]
call fcn.14001ae84
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], rsi
mov word [rbp + 0x1f], si
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae r8, qword [rbp - 0x21]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x10], rax
cmp qword [rbp - 9], 8
jb 0x14000c94c
mov rcx, qword [rbp - 0x21]
call fcn.14001ae84
mov qword [rbp - 9], r14
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x21], si
mov edx, 0x32
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000ca31
lea r8, str.MappedFile
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.14000cdbc
nop
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rax, qword [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xd0
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 0x14000ca0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
cmp eax, 0xb7
setne dil
mov qword [rsp + 0x20], 0xd0
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 0x14000ca0a
test edi, edi
je 0x14000ca04
mov qword [rbp - 0x39], rax
mov rcx, rax
call fcn.140007214
nop
mov rax, qword [rbx + 0x18]
inc dword [rax]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
cmp qword [rbp - 9], 8
jb 0x14000ca25
mov rcx, qword [rbp - 0x21]
call fcn.14001ae84
mov qword [rbp - 9], r14
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x21], si
mov rbx, qword [rbx + 0x18]
cmp qword [rbp + 0x17], 8
jb 0x14000ca45
mov rcx, qword [rbp - 1]
call fcn.14001ae84
mov qword [rbp + 0x17], r14
mov qword [rbp + 0xf], rsi
mov word [rbp - 1], si
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140199450
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret