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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, eax
cmp byte [edi], 0
je 0x10002554
push edi
push str.RsStartService__s_
push 0
push 0x80
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0x10
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x10002560
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_Failed__Err_Code:__d
push ebx
push 4
call fcn.10003ad0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
xor eax, eax
push 0xf01ff
push edi
push ebx
mov dword [esp + 0x20], 0
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
mov dword [esp + 0x38], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x100025c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_Failed__Err_Code:__d
push edi
push 4
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x14]
push eax
push edi
call esi
cmp dword [esp + 0x18], 4
jne 0x1000260d
push str.Service_is_Running...
push 0
push 0x80
mov esi, 0x100236a0
call fcn.10003ad0
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0xc
push edi
call esi
push ebx
call esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x34]
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x10002654
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_Failed__Err_Code:__d
push 0
push 4
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
lea edx, [esp + 0x14]
push edx
push edi
call esi
test eax, eax
jne 0x1000266e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatus_Failed__Err_Code:__d
jmp 0x1000262b
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
cmp dword [esp + 0x18], 2
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
jne 0x10002732
jmp 0x10002690
mov eax, 0xcccccccd
mul dword [esp + 0x2c]
shr edx, 3
cmp edx, 0x3e8
jae 0x100026ab
mov edx, 0x3e8
jmp 0x100026b8
cmp edx, 0x2710
jbe 0x100026b8
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100026fa
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x28], edx
jbe 0x100026e7
call ebp
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
jmp 0x100026f1
call ebp
sub eax, esi
cmp eax, dword [esp + 0x2c]
ja 0x10002719
cmp dword [esp + 0x18], 2
je 0x10002690
jmp 0x10002732
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatus_Failed__Err_Code:__d
push 0
push 4
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0x10
jmp 0x10002732
push str.No_Progress...
push 0
push 0x80
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0xc
cmp dword [esp + 0x18], 4
je 0x10002757
push str.Invalid_Service_Status_
push 0
push 0x80
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0xc
jmp 0x1000263c
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
push str.Service_is_Running...
push 0
push 0x80
mov esi, 0x100236a0
call fcn.10003ad0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4