Function at 0x41bff0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9aff
mov eax, dword fs:[0]
push eax
mov eax, 0x199c
call fcn.00459f50
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 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 0x41c30c
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 0x41c060
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x41c06d
lea edx, [ebp - 0x1874]
push edx
push eax
call fcn.0041a9c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c30c
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 0x41c16a
push 0x78
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1840]
mov dword [ebp - 0x1830], eax
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], al
call fcn.004099e0
push 3
push 0x50bc60
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.004099e0
mov byte [ebp - 4], 1
call fcn.004528b0
mov edi, eax
lea ecx, [ebp - 0x1910]
push 0xd0
lea eax, [ebp - 0x1840]
push eax
lea eax, [ebp - 0x1828]
push eax
call fcn.0040d220
mov esi, eax
push str.unicode_mutex_exists
push esi
mov byte [ebp - 4], 2
call fcn.0040dc00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1910]
call fcn.0040de00
lea ecx, [ebp - 0x1828]
call fcn.00406380
lea ecx, [ebp - 0x1840]
mov dword [ebp - 4], 0xffffffff
call fcn.00406380
push 0
push 0x50c120
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, dword [0x566da4]
mov edi, eax
test cl, 1
jne 0x41c1c0
or ecx, 1
mov dword [0x566da4], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x505840
mov dword [0x566d98], 0x50b324
mov dword [0x566d9c], eax
mov byte [0x566da0], 0
call fcn.00459c20
mov ecx, dword [0x566da4]
add esp, 4
test cl, 2
jne 0x41c21e
or ecx, 2
mov dword [0x566da8], 0x50b33c
xor eax, eax
mov dword [0x566da4], ecx
push 0x505870
mov dword [0x566dac], 0x566d98
mov dword [0x566dbc], 2
mov dword [0x566db4], 0
mov dword [0x566db8], 0
mov dword [0x566dc0], eax
mov dword [0x566db0], 0x566da8
call fcn.00459c20
add esp, 4
mov eax, dword [0x566da8]
mov ecx, 0x566da8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1878], eax
mov dword [ebp - 4], 3
test edi, edi
jne 0x41c262
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c2ee
mov ecx, dword [edx]
push edx
jmp 0x41c2e9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1878]
call fcn.0041d230
mov esi, dword [ebp - 0x1878]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1818], xmm0
mov dword [ebp - 0x181c], 0x406
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x1814], esi
mov dword [ebp - 0x1874], 0
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1818], eax
lea eax, [ebp - 0x1874]
push eax
push 0x3e8
push 1
lea eax, [ebp - 0x181c]
push eax
push 0
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c2ee
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0049a420
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.0049a420
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.0049a420
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 0x41c2ee
test eax, eax
je 0x41c2ee
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 0x41c4d8
push 0x78
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1818], eax
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], al
call fcn.004099e0
push 3
push 0x50bc60
lea ecx, [ebp - 0x1840]
mov dword [ebp - 4], 4
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], 0
call fcn.004099e0
mov byte [ebp - 4], 5
call fcn.004528b0
mov edi, eax
lea ecx, [ebp - 0x1910]
push 0xe7
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebp - 0x1840]
push eax
call fcn.0040d220
mov esi, eax
push str.CheckSingleInstance_longFileName:
push esi
mov byte [ebp - 4], 6
call fcn.0040dc00
push dword [ebp - 0x1878]
push esi
call fcn.00413970
push str._shortFileName:
push esi
call fcn.0040dc00
push dword [ebp - 0x1874]
push esi
call fcn.00413970
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1910]
call fcn.0040de00
lea ecx, [ebp - 0x1840]
call fcn.00406380
lea ecx, [ebp - 0x1828]
mov dword [ebp - 4], 0xffffffff
call fcn.00406380
mov edi, dword [ebp - 0x1878]
push dword [ebp - 0x1874]
mov ecx, ebx
push edi
push str.Global9F682656_2107_4196_B6C1_5412D789E589
call fcn.0041bd20
test eax, eax
je 0x41c5d6
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 0x41c2ee
push 0x78
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1818], eax
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], al
call fcn.004099e0
push 3
push 0x50bc60
lea ecx, [ebp - 0x1840]
mov dword [ebp - 4], 7
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], 0
call fcn.004099e0
mov byte [ebp - 4], 8
call fcn.004528b0
mov edi, eax
lea ecx, [ebp - 0x1910]
push 0xeb
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebp - 0x1840]
push eax
call fcn.0040d220
mov esi, eax
push str.Instance_exist__i_quit.
push esi
mov byte [ebp - 4], 9
call fcn.0040dc00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1910]
call fcn.0040de00
lea ecx, [ebp - 0x1840]
call fcn.00406380
lea ecx, [ebp - 0x1828]
call fcn.00406380
jmp 0x41c2ee
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 0x41c6b4
push 0x78
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservicehelperinstancemutex.cpp
lea ecx, [ebp - 0x1870]
mov dword [ebp - 0x1860], eax
mov dword [ebp - 0x185c], 0xf
mov byte [ebp - 0x1870], al
call fcn.004099e0
push 3
push 0x50bc60
lea ecx, [ebp - 0x1858]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x1848], 0
mov dword [ebp - 0x1844], 0xf
mov byte [ebp - 0x1858], 0
call fcn.004099e0
mov byte [ebp - 4], 0xb
call fcn.004528b0
mov edi, eax
lea ecx, [ebp - 0x19a8]
push 0xef
lea eax, [ebp - 0x1870]
push eax
lea eax, [ebp - 0x1858]
push eax
call fcn.0040d220
mov esi, eax
push str.Instance_does_NOT_exist__i_will_run
push esi
mov byte [ebp - 4], 0xc
call fcn.0040dc00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x19a8]
call fcn.0040de00
lea ecx, [ebp - 0x1858]
call fcn.00406380
lea ecx, [ebp - 0x1870]
call fcn.00406380
mov eax, 1
jmp 0x41c2f0