Function at 0x519ce0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2be0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63a404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x647b54], 0
je 0x519efd
cmp dword [0x647b58], 0
jbe 0x519efd
mov ecx, 0x647b54
call fcn.00545f90
mov edi, eax
test edi, edi
je 0x519e77
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x519d82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.00513130
add esp, 8
push 2
push edi
call fcn.0056ea89
add esp, 8
jmp 0x519f85
push 0x10024
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x519da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed_w_err_0x_08lx_n
jmp 0x519e4b
lea eax, [ebp - 0x2c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x519e2c
push edi
push str.Stopping__s.
call fcn.00513130
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x519e0f
nop
mov eax, dword [ebp - 0x28]
cmp eax, 3
jne 0x519e12
push 0x620f40
call fcn.00513130
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x519de0
mov eax, dword [ebp - 0x28]
push edi
cmp eax, 1
jne 0x519e1f
push 0x620f44
jmp 0x519e24
push str._n_s_failed_to_stop._n
call fcn.00513130
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x519e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed_w_err_0x_08lx_n
jmp 0x519e4b
push edi
push str._s_is_removed._n
call fcn.00513130
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x519e67
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 2
push edi
call fcn.0056ea89
add esp, 8
jmp 0x519f85
push 0x7c
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x3d
call fcn.0056ea97
mov ecx, dword [ebp - 0x34]
push 0xffffffffffffffff
push str.Service_Failed_to_uninstall_as_servicename_wasnt_convertible
inc ecx
mov dword [ebp - 0x38], eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x34]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], edx
push eax
push 0x184
push str.UnifiedStreamingService::onUninstallService
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov eax, dword [ebp - 0x38]
add esp, 0x2c
test eax, eax
je 0x519eee
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [0x647b08], 6
jmp 0x519f85
push 0xa4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0x51
call fcn.0056ea97
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push str.Service_Failed_to_uninstall_as_executable_hasnt_got_required_manifest_properties
inc ecx
mov dword [ebp - 0x40], eax
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x3c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push 0x18a
push str.UnifiedStreamingService::onUninstallService
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov eax, dword [ebp - 0x40]
add esp, 0x2c
test eax, eax
je 0x519f7b
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [0x647b08], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e5b3
mov esp, ebp
pop ebp
ret