Function at 0x100297a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea583
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10142008]
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
mov ecx, 0x1014614a
call fcn.100e3445
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x10029aa0
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x10029973
cmp dword [ebp - 0x44], 0
je 0x10029973
lea ecx, [ebp - 0x40]
call fcn.10005c90
mov dword [ebp - 4], 9
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.1009b3a0
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 0x100298c0
push 4
mov ecx, 0x10143160
call fcn.100cd280
mov esi, eax
test esi, esi
je 0x10029958
lea ecx, [ebp - 0x28]
call fcn.10005c90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 0x1a
push 0x1010dcbc
call fcn.10003530
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, 0x10143160
push eax
push 4
call fcn.100cd310
cmp esi, 1
jbe 0x100298a7
lea eax, [ebp - 0x28]
mov ecx, 0x10143160
push eax
call fcn.100cd640
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.10003460
mov byte [ebp - 4], 9
mov byte [ebp - 4], 9
jmp 0x10029958
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100298d6
mov byte [esi + 4], 1
jmp 0x10029958
push 4
mov ecx, 0x10143160
call fcn.100cd280
mov edi, eax
test edi, edi
je 0x10029946
lea ecx, [ebp - 0x28]
call fcn.10005c90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
push 0x1c
push 0x1010dcf4
call fcn.10003530
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, 0x10143160
push eax
push 4
call fcn.100cd310
cmp edi, 1
jbe 0x10029932
lea eax, [ebp - 0x28]
mov ecx, 0x10143160
push eax
call fcn.100cd640
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.10003460
mov byte [ebp - 4], 9
mov byte [ebp - 4], 9
push dword [esi]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x40]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
jmp 0x10029a32
cmp dword [0x10143160], 0
je 0x10029a39
push 0
mov ecx, 0x10143160
call fcn.100cc940
mov eax, dword [0x10143160]
cmp byte [eax + 0x54], 0
je 0x10029a39
cmp dword [eax + 0x58], 4
jb 0x10029a39
mov bl, byte [eax + 0x5c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0x1a
push 0x1010db00
call fcn.10003530
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, 0x10143160
push eax
push 4
call fcn.100cd310
test bl, bl
je 0x10029a1c
lea eax, [ebp - 0x28]
mov ecx, 0x10143160
push eax
call fcn.100cd640
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
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.100e0d24
mov esp, ebp
pop ebp
ret