Function at 0x439db0
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
cmp byte [esi], 0
push edi
je 0x439dfc
push esi
push str.RsStartService__s_
push 0x80
call fcn.004025a0
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
jne 0x439e08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
xor eax, eax
push 0xf01ff
push esi
push ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x439e66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x10]
push eax
push esi
call edi
cmp dword [esp + 0x14], 4
jne 0x439ea8
push str.Service_is_Running...
push 0x80
call fcn.004025a0
add esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x439eeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x439f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatus_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [esp + 0x14], 2
mov ecx, dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x34], ecx
jne 0x439fd6
mov eax, 0xcccccccd
mul dword [esp + 0x28]
shr edx, 3
cmp edx, 0x3e8
jae 0x439f5d
mov edx, 0x3e8
jmp 0x439f6a
cmp edx, 0x2710
jbe 0x439f6a
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x439fac
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x24], eax
jbe 0x439f99
call ebx
mov ecx, dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x34], ecx
jmp 0x439fa3
call ebx
sub eax, edi
cmp eax, dword [esp + 0x28]
ja 0x439fc4
cmp dword [esp + 0x14], 2
je 0x439f42
jmp 0x439fd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatus_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
jmp 0x439fd6
push str.No_Progress...
push 0x80
call fcn.004025a0
add esp, 8
cmp dword [esp + 0x14], 4
je 0x43a007
push str.Invalid_Service_Status_
push 0x80
call fcn.004025a0
add esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
push str.Service_is_Running...
push 0x80
call fcn.004025a0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8