Function at 0x180027170
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov qword [r11 - 0x68], 0
lea r8, [r11 - 0x68]
lea rdx, [0x180027430]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x180027365
cmp qword [rsp + 0x30], 0
je 0x180027365
lea rcx, [rsp + 0x60]
call fcn.180003c60
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov r9, qword [rsp + 0x30]
lea rdx, str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
lea rcx, [rsp + 0x60]
call fcn.18008ded0
lea rcx, [rsp + 0x60]
call fcn.180003a80
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
jne 0x1800272a7
lea edx, [rax + 4]
lea rcx, [0x18020e318]
call fcn.1800bc4a0
mov ebx, eax
test eax, eax
je 0x18002735b
lea rcx, [rsp + 0x40]
call fcn.180003c60
nop
lea rdx, [0x18019cac0]
lea rcx, [rsp + 0x40]
call fcn.180004070
mov dword [rsp + 0x28], 0x2d
lea rax, str.RC::RCModuleThreadSync::AcquireLock
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea r8, [rsp + 0x40]
mov edx, 4
lea rcx, [0x18020e318]
call fcn.1800bc500
cmp ebx, 1
jbe 0x180027298
lea rdx, [rsp + 0x40]
lea rcx, [0x18020e318]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x40]
call fcn.180003b80
jmp 0x18002735b
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1800272c2
mov byte [rbx + 8], 1
jmp 0x18002735b
mov edx, 4
lea rcx, [0x18020e318]
call fcn.1800bc4a0
mov edi, eax
test eax, eax
je 0x180027347
lea rcx, [rsp + 0x40]
call fcn.180003c60
nop
lea rdx, [0x18019ca80]
lea rcx, [rsp + 0x40]
call fcn.180004070
mov dword [rsp + 0x28], 0x37
lea rax, str.RC::RCModuleThreadSync::AcquireLock
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea r8, [rsp + 0x40]
mov edx, 4
lea rcx, [0x18020e318]
call fcn.1800bc500
cmp edi, 1
jbe 0x18002733d
lea rdx, [rsp + 0x40]
lea rcx, [0x18020e318]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x40]
call fcn.180003b80
mov byte [rbx + 8], 0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0
lea rcx, [rsp + 0x60]
jmp 0x180027404
cmp qword [0x18020e318], 0
je 0x180027409
lea rcx, [0x18020e318]
call fcn.1800bbb70
mov rax, qword [0x18020e318]
cmp byte [rax + 0x78], 0
je 0x180027409
cmp dword [rax + 0x80], 4
jb 0x180027409
movzx ebx, byte [rax + 0x84]
lea rcx, [rsp + 0x40]
call fcn.180003c60
nop
lea rdx, [0x18019ca48]
lea rcx, [rsp + 0x40]
call fcn.180004070
mov dword [rsp + 0x28], 0x22
lea rax, str.RC::RCModuleThreadSync::AcquireLock
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea r8, [rsp + 0x40]
mov edx, 4
lea rcx, [0x18020e318]
call fcn.1800bc500
test bl, bl
je 0x1800273ff
lea rdx, [rsp + 0x40]
lea rcx, [0x18020e318]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x40]
call fcn.180003b80
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d8050
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret