Function at 0x41f880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd104
mov eax, dword fs:[0]
push eax
mov eax, 0x199c
call fcn.00453f80
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 ebx, ecx
push str.Global7F4B17DD_4CB8_4737_B64E_FAE0A0B7E6F3
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x1874], esi
test esi, esi
je 0x41fa12
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x41f8f0
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x41f8fd
lea edx, [ebp - 0x1874]
push edx
push eax
call fcn.0041f1c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41fa12
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x41f9f4
push 0x7b
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1840]
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], 0
call fcn.00409e80
push 3
push 0x4d8d38
lea ecx, [ebp - 0x1828]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
call fcn.00409e80
mov byte [ebp - 4], 1
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0x1910]
push 0xd0
lea eax, [ebp - 0x1840]
push eax
lea eax, [ebp - 0x1828]
push eax
call fcn.0040dcd0
mov esi, eax
push str.unicode_mutex_exists
push esi
mov byte [ebp - 4], 2
call fcn.0040e6a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1910]
call fcn.0040e8a0
lea ecx, [ebp - 0x1828]
call fcn.00406820
lea ecx, [ebp - 0x1840]
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
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0046ce10
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0046ce10
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x400
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x800
lea eax, [ebp - 0x1810]
push 0
push eax
call fcn.0046ce10
add esp, 0xc
lea eax, [ebp - 0x1810]
push 0x400
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea eax, [ebp - 0x1010]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x1810]
push eax
mov dword [ebp - 0x1878], edi
call esi
mov dword [ebp - 0x1874], eax
test edi, edi
je 0x41f9f4
test eax, eax
je 0x41f9f4
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x41fbdf
push 0x7b
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
call fcn.00409e80
push 3
push 0x4d8d38
lea ecx, [ebp - 0x1840]
mov dword [ebp - 4], 3
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], 0
call fcn.00409e80
mov byte [ebp - 4], 4
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0x1910]
push 0xe7
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebp - 0x1840]
push eax
call fcn.0040dcd0
mov esi, eax
push str.CheckSingleInstance_longFileName:
push esi
mov byte [ebp - 4], 5
call fcn.0040e6a0
push dword [ebp - 0x1878]
push esi
call fcn.004142d0
push str._shortFileName:
push esi
call fcn.0040e6a0
push dword [ebp - 0x1874]
push esi
call fcn.004142d0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1910]
call fcn.0040e8a0
lea ecx, [ebp - 0x1840]
call fcn.00406820
lea ecx, [ebp - 0x1828]
mov dword [ebp - 4], 0xffffffff
call fcn.00406820
mov edi, dword [ebp - 0x1878]
lea eax, [ebp - 0x1878]
mov ecx, ebx
push eax
push dword [ebp - 0x1874]
push edi
push 0x4d8b44
push str.Global9F682656_2107_4196_B6C1_5412D789E589
call fcn.0041f5b0
test eax, eax
je 0x41fce5
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x41f9f4
push 0x7b
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
call fcn.00409e80
push 3
push 0x4d8d38
lea ecx, [ebp - 0x1840]
mov dword [ebp - 4], 6
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], 0
call fcn.00409e80
mov byte [ebp - 4], 7
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0x1910]
push 0xec
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebp - 0x1840]
push eax
call fcn.0040dcd0
mov esi, eax
push str.Instance_exist__i_quit.
push esi
mov byte [ebp - 4], 8
call fcn.0040e6a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1910]
call fcn.0040e8a0
lea ecx, [ebp - 0x1840]
call fcn.00406820
lea ecx, [ebp - 0x1828]
jmp 0x41f9ef
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x41fdc4
push 0x7b
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1870]
mov dword [ebp - 0x1860], 0
mov dword [ebp - 0x185c], 0xf
mov byte [ebp - 0x1870], 0
call fcn.00409e80
push 3
push 0x4d8d38
lea ecx, [ebp - 0x1858]
mov dword [ebp - 4], 9
mov dword [ebp - 0x1848], 0
mov dword [ebp - 0x1844], 0xf
mov byte [ebp - 0x1858], 0
call fcn.00409e80
mov byte [ebp - 4], 0xa
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0x19a8]
push 0xf1
lea eax, [ebp - 0x1870]
push eax
lea eax, [ebp - 0x1858]
push eax
call fcn.0040dcd0
mov esi, eax
push str.Instance_does_NOT_exist__i_will_run
push esi
mov byte [ebp - 4], 0xb
call fcn.0040e6a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x19a8]
call fcn.0040e8a0
lea ecx, [ebp - 0x1858]
call fcn.00406820
lea ecx, [ebp - 0x1870]
call fcn.00406820
mov eax, 1
jmp 0x41f9f6