Function at 0x42b470
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a870
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x588088]
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 0x42b720
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x42b666
cmp dword [ebp - 0x44], 0
je 0x42b666
lea ecx, [ebp - 0x40]
call fcn.00402ac0
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.0048b8e0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00403390
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x42b5b1
cmp dword [0x58c9f8], eax
je 0x42b657
push ecx
mov ecx, 0x58c9f8
call fcn.004be120
mov eax, dword [0x58c9f8]
cmp byte [eax + 0x54], 0
je 0x42b657
cmp dword [eax + 0x58], 4
jb 0x42b657
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00402ac0
mov byte [ebp - 4], 2
push 0x55aa6c
call fcn.00402d60
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x55aa6c
call fcn.00402b50
push 0x2d
push str.RC::RCModuleThreadSync::AcquireLock
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x58c9f8
push eax
push 4
call fcn.004bece0
test bl, bl
je 0x42b596
lea eax, [ebp - 0x28]
mov ecx, 0x58c9f8
push eax
call fcn.004bf030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x42b6f4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42b5d1
mov byte [esi + 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x42b6f4
push 4
mov ecx, 0x58c9f8
call fcn.004beca0
mov edi, eax
test edi, edi
je 0x42b645
lea ecx, [ebp - 0x28]
call fcn.00402ac0
mov byte [ebp - 4], 3
push 0x55aaa4
call fcn.00402d60
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x55aaa4
call fcn.00402b50
push 0x37
push str.RC::RCModuleThreadSync::AcquireLock
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x58c9f8
push eax
push 4
call fcn.004bece0
cmp edi, 1
jbe 0x42b639
lea eax, [ebp - 0x28]
mov ecx, 0x58c9f8
push eax
call fcn.004bf030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402a60
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 0x42b6f4
cmp dword [0x58c9f8], 0
je 0x42b6f9
push ecx
mov ecx, 0x58c9f8
call fcn.004be120
mov eax, dword [0x58c9f8]
cmp byte [eax + 0x54], 0
je 0x42b6f9
cmp dword [eax + 0x58], 4
jb 0x42b6f9
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00402ac0
mov dword [ebp - 4], 0
push 0x55a8ac
call fcn.00402d60
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x55a8ac
call fcn.00402b50
push 0x22
push str.RC::RCModuleThreadSync::AcquireLock
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x58c9f8
push eax
push 4
call fcn.004bece0
test bl, bl
je 0x42b6ea
lea eax, [ebp - 0x28]
mov ecx, 0x58c9f8
push eax
call fcn.004bf030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a60
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.004e1a24
mov esp, ebp
pop ebp
ret