Function at 0x41f5b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd04e
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5062f0]
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 + 0x10]
push eax
push 1
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x14]
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 0x41f60b
lea eax, [esi + 1]
jmp 0x41f857
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 0x41f628
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x41f632
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0041f1c0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41f79a
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.0041fec0
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp - 0x4c]
test al, al
mov eax, dword [ebp - 0x48]
je 0x41f758
mov ebx, eax
mov dword [ebp - 0x30], 0
push 0x7b
sub ebx, edx
mov dword [ebp - 0x2c], 0xf
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x40]
sar ebx, 2
mov byte [ebp - 0x40], 0
call fcn.00409e80
push 3
push 0x4d8d38
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.00409e80
mov byte [ebp - 4], 2
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0xf0]
push 0x103
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dcd0
mov esi, eax
push str.check_exists
push esi
mov byte [ebp - 4], 3
call fcn.0040e6a0
add esp, 8
mov ecx, esi
push ebx
call fcn.004155c0
push str.instances.
push esi
call fcn.0040e6a0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.0040e8a0
lea ecx, [ebp - 0x28]
call fcn.00406820
lea ecx, [ebp - 0x40]
call fcn.00406820
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
xor ebx, ebx
cmp edx, eax
setne bl
test edx, edx
je 0x41f793
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41f789
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f875
push ecx
push edx
call fcn.004537fb
add esp, 8
mov eax, ebx
jmp 0x41f857
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x41f855
push 0x7b
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00409e80
push 3
push 0x4d8d38
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.00409e80
mov byte [ebp - 4], 5
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0xf0]
push 0x106
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040dcd0
mov esi, eax
push str.no_instance_exists__i_will_run.
push esi
mov byte [ebp - 4], 6
call fcn.0040e6a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.0040e8a0
lea ecx, [ebp - 0x40]
call fcn.00406820
lea ecx, [ebp - 0x28]
call fcn.00406820
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.004537ea
mov esp, ebp
pop ebp
ret 0x14
call fcn.0047819a
int3