Function at 0x4b18d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9320
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x4b1ba0
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x4b1ae3
cmp dword [ebp - 0x44], 0
je 0x4b1ae3
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
push eax
call fcn.00471b00
add esp, 0x10
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x4b1a20
push 4
mov ecx, 0x532550
call fcn.00410230
mov esi, eax
test esi, esi
je 0x4b1ad4
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0x1a
push 0x51078c
call fcn.0040a960
push 0x2d
push str.RC::RCModuleThreadSync::AcquireLock
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x532550
push eax
push 4
call fcn.00410270
cmp esi, 1
jbe 0x4b1a05
lea eax, [ebp - 0x28]
mov ecx, 0x532550
push eax
call fcn.00410610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x4b1b7c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4b1a40
mov byte [esi + 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x4b1b7c
push 4
mov ecx, 0x532550
call fcn.00410230
mov edi, eax
test edi, edi
je 0x4b1ac2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 0x1c
push 0x5107c4
call fcn.0040a960
push 0x37
push str.RC::RCModuleThreadSync::AcquireLock
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x532550
push eax
push 4
call fcn.00410270
cmp edi, 1
jbe 0x4b1ab6
lea eax, [ebp - 0x28]
mov ecx, 0x532550
push eax
call fcn.00410610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a900
push dword [esi]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x4b1b7c
cmp dword [0x532554], 0
je 0x4b1b81
push 0
mov ecx, 0x532550
call fcn.0040f360
mov eax, dword [0x532554]
cmp byte [eax + 0x54], 0
je 0x4b1b81
cmp dword [eax + 0x58], 4
jb 0x4b1b81
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x1a
push 0x510800
call fcn.0040a960
push 0x22
push str.RC::RCModuleThreadSync::AcquireLock
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x532550
push eax
push 4
call fcn.00410270
test bl, bl
je 0x4b1b72
lea eax, [ebp - 0x28]
mov ecx, 0x532550
push eax
call fcn.00410610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b432c
mov esp, ebp
pop ebp
ret