Function at 0x51b2e0
Capabilities:
Check mutex on windows
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x51b743
push 0x641c78
call fcn.0051ef90
test eax, eax
je 0x51b337
call fcn.005197f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x641d10
mov ecx, esi
call fcn.0051ef90
test eax, eax
je 0x51b35e
call fcn.00519ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x641f78
mov ecx, esi
call fcn.0051ef90
test eax, eax
je 0x51b385
call fcn.00519fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x641f60
mov ecx, esi
call fcn.0051ef90
test eax, eax
je 0x51b548
cmp dword [0x647b54], 0
je 0x51b4ae
cmp dword [0x647b58], 0
jbe 0x51b4ae
mov ecx, 0x647b54
call fcn.00545f90
mov edi, eax
test edi, edi
je 0x51b41b
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf01ff
mov ebx, eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x51b3f2
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 2
push edi
call fcn.0056ea89
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x76
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x3a
call fcn.0056ea97
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push str.Service_Failed_to_launch_as_servicename_wasnt_convertible
inc ecx
mov dword [ebp - 0x18], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edx
push eax
push 0x16d
push str.UnifiedStreamingService::onLaunchService
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov eax, dword [ebp - 0x18]
add esp, 0x2c
test eax, eax
je 0x51b492
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [0x647b08], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x9e
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x4e
call fcn.0056ea97
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push str.Service_Failed_to_launch_as_executable_hasnt_got_required_manifest_properties
inc ecx
mov dword [ebp - 0x18], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0x173
push str.UnifiedStreamingService::onLaunchService
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov eax, dword [ebp - 0x18]
add esp, 0x2c
test eax, eax
je 0x51b52c
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [0x647b08], 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x641e78
mov ecx, esi
call fcn.0051ef90
mov ecx, esi
test eax, eax
je 0x51b586
push 0x641e78
xor edi, edi
call fcn.0051ef90
test eax, eax
je 0x51b56d
lea edi, [eax + 8]
mov ecx, edi
call fcn.0051a4c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x641c20
call fcn.0051ef90
test eax, eax
je 0x51b5ab
call fcn.0051aad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x642018
mov ecx, esi
call fcn.0051ef90
mov ecx, esi
test eax, eax
je 0x51b5e9
push 0x642018
xor edi, edi
call fcn.0051ef90
test eax, eax
je 0x51b5d0
lea edi, [eax + 8]
mov ecx, edi
call fcn.00513160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x641ba0
call fcn.0051ef90
test eax, eax
je 0x51b60e
call fcn.005133e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x642020
call fcn.00545f90
mov edi, eax
test edi, edi
je 0x51b73e
push edi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x51b63d
mov bl, 1
jmp 0x51b6d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x84
mov ebx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x41
call fcn.0056ea97
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push str.DoesExist_returned___d___note:_some_values_mean_the_mutex_exists_
inc ecx
mov dword [ebp - 0x18], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
push 0x79
push str.OMutex::doesExist
push str.d:jenkinsworkspaceclient3.lib.platformlibplatformlib_srcomutex.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x51b6cb
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x18], 0
cmp ebx, 5
mov dword [ebp - 0x14], 0
sete bl
push 2
push edi
call fcn.0056ea89
add esp, 8
test esi, esi
je 0x51b6f2
push 0
push esi
call fcn.0056ea89
add esp, 8
test bl, bl
je 0x51b73e
push str.Unable_to_do_anything__no_commands_specified
lea ecx, [ebp - 0x20]
call fcn.005447b0
push eax
push 0x31a
push str.UnifiedStreamingService::startup
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0
mov dword [ebp - 4], 3
call fcn.0054faa0
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.004ffe40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00519390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret