Function at 0x519fa0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2c40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 ecx, 0x642020
call fcn.00545f90
mov edi, eax
test edi, edi
je 0x51a1e8
push edi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x519ff7
mov bl, 1
jmp 0x51a08e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x84
mov ebx, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x41
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.DoesExist_returned___d___note:_some_values_mean_the_mutex_exists_
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
push ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], edx
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 - 0x1c]
test eax, eax
je 0x51a081
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x1c], 0
cmp ebx, 5
mov dword [ebp - 0x18], 0
sete bl
push 2
push edi
call fcn.0056ea89
add esp, 8
test esi, esi
je 0x51a0a8
push 0
push esi
call fcn.0056ea89
add esp, 8
test bl, bl
je 0x51a1e8
push 0x68
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x33
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.Cannot_launch_as_administrator__USS_already_running
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
push 0x193
push str.UnifiedStreamingService::onLaunchAsAdmin
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x51a132
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x68
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x33
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.Cannot_launch_as_administrator__USS_already_running
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
push 1
push 0x647b44
push 0x641800
call fcn.00544d50
mov esi, eax
add esp, 0x28
test esi, esi
je 0x51a1d0
mov ecx, dword [0x647afc]
push 0
push esi
call fcn.004ff490
mov eax, dword [esi]
test eax, eax
je 0x51a1be
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x51a4a3
push 2
push eax
call fcn.0056ea89
jmp 0x51a4a0
call fcn.0054f8e0
mov dword [0x647b04], eax
call fcn.00511ed0
test al, al
je 0x51a336
push 1
push 0x647b44
push 0x641988
call fcn.00544d50
mov esi, eax
add esp, 0xc
test esi, esi
je 0x51a250
mov ecx, dword [0x647afc]
push 0
push esi
call fcn.004ff490
mov eax, dword [esi]
test eax, eax
je 0x51a23e
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
mov esi, dword [0x647af0]
test esi, esi
je 0x51a2a7
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test ecx, ecx
je 0x51a292
cmp byte [esi + 9], 0
je 0x51a281
lea eax, [ebp - 0x10]
push eax
push ecx
call edi
test eax, eax
je 0x51a281
cmp dword [ebp - 0x10], 0x103
jne 0x51a28c
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [0x647af0]
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x51a2a7
lea ecx, [ebp - 0x18]
push ecx
push eax
call edi
push 0x36
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x1a
call fcn.0056ea97
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push str.Service_Thread_returned__d
inc ecx
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x10], ecx
push edx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
push 0x1a1
push str.UnifiedStreamingService::onLaunchAsAdmin
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov eax, dword [ebp - 0x14]
add esp, 0x30
test eax, eax
je 0x51a32a
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x51a476
push 0x48
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x23
call fcn.0056ea97
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push str.Service_Thread_failed_to_initialise
inc ecx
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push eax
push 1
push 0x647b44
push 0x641800
call fcn.00544d50
mov esi, eax
add esp, 0x28
test esi, esi
je 0x51a3d4
mov ecx, dword [0x647afc]
push 0
push esi
call fcn.004ff490
mov eax, dword [esi]
test eax, eax
je 0x51a3c2
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x51a3ed
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x48
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0x23
call fcn.0056ea97
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push str.Service_Thread_failed_to_initialise
inc ecx
mov dword [ebp - 0x28], eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x24]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
push 0x1a6
push str.UnifiedStreamingService::onLaunchAsAdmin
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov eax, dword [ebp - 0x28]
add esp, 0x2c
test eax, eax
je 0x51a46f
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov esi, dword [0x647b04]
test esi, esi
je 0x51a4a3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 4
push esi
mov dword [esi], 0
call fcn.0056ea89
mov dword [0x647b04], 0
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