Function at 0x41bd20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a3e
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x53e300]
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 edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push 1
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x54], ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x41bd7b
lea eax, [esi + 1]
jmp 0x41bfca
lea ebx, [edi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
lea ecx, [edi + 4]
cmp dword [ecx + 8], eax
je 0x41bd98
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x41bda2
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0041a9c0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41bf0e
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x58]
call fcn.0041c7b0
call fcn.004528b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp - 0x4c]
movzx eax, al
sub eax, 1
mov eax, dword [ebp - 0x48]
jne 0x41becc
mov ebx, eax
mov dword [ebp - 0x30], 0
push 0x78
sub ebx, edx
mov dword [ebp - 0x2c], 0xf
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x40]
sar ebx, 2
mov byte [ebp - 0x40], 0
call fcn.004099e0
push 3
push 0x50bc60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004099e0
mov byte [ebp - 4], 2
call fcn.004528b0
mov edi, eax
lea ecx, [ebp - 0xf0]
push 0x101
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d220
mov esi, eax
push str.check_exists
push esi
mov byte [ebp - 4], 3
call fcn.0040dc00
add esp, 8
mov ecx, esi
push ebx
call fcn.0041b880
push str.instances.
push esi
call fcn.0040dc00
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.0040de00
lea ecx, [ebp - 0x28]
call fcn.00406380
lea ecx, [ebp - 0x40]
call fcn.00406380
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
xor ebx, ebx
cmp edx, eax
setne bl
test edx, edx
je 0x41bf07
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41befd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bfe8
push ecx
push edx
call fcn.004597cb
add esp, 8
mov eax, ebx
jmp 0x41bfca
call fcn.004528b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41bfc8
push 0x78
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004099e0
push 3
push 0x50bc60
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004099e0
mov byte [ebp - 4], 5
call fcn.004528b0
mov edi, eax
lea ecx, [ebp - 0xf0]
push 0x104
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040d220
mov esi, eax
push str.no_instance_exists__i_will_run.
push esi
mov byte [ebp - 4], 6
call fcn.0040dc00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.0040de00
lea ecx, [ebp - 0x40]
call fcn.00406380
lea ecx, [ebp - 0x28]
call fcn.00406380
xor eax, eax
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.004597ba
mov esp, ebp
pop ebp
ret 0xc
call fcn.004a58da
int3