Function at 0x10002c10
Capabilities:
Check for time delay via gettickcount
Create service
Delete service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x4e20
push 0x6800
mov dword [ebp - 0x18], eax
call fcn.10006c7d
mov edx, eax
mov edi, 0x400
pop ecx
mov esi, edi
mov dword [ebp - 0x14], edx
call fcn.10006d4a
mov ebx, eax
mov dword [ebp - 4], ebx
call fcn.10006d4a
mov esi, 0x4000
mov dword [ebp - 8], eax
call fcn.10006d4a
mov esi, 0x2000
mov dword [ebp - 0x10], eax
call fcn.10006d4a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
call fcn.10006ce4
push edi
push eax
call fcn.10006db7
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.10006db7
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push 0x4000
push eax
call fcn.10006db7
add esp, 0x18
push 0xf003f
xor ebx, ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x10002cd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 4]
push 0x33
call fcn.100019b6
add esp, 0xc
jmp 0x10002e00
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
push 3
push 0x10
push 0xf01ff
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x10002d1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push str._s_on__s:__d
push 0x36
call fcn.100019fb
add esp, 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10002e00
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10002d4d
call edi
cmp eax, 0x41d
je 0x10002d4d
call edi
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push str._s_on__s:__d
push 0x37
jmp 0x10002dc3
push dword [ebp - 4]
push dword [ebp - 8]
push str.Started_service__s_on__s
push esi
push dword [ebp - 0xc]
call fcn.100142a6
mov eax, dword [ebp - 0xc]
add esp, 0x14
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002d6a
sub eax, esi
push ebx
push eax
push dword [ebp - 0xc]
call fcn.1000133b
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
jmp 0x10002daa
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10002db3
cmp dword [ebp - 0x44], 1
je 0x10002dcb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
cmp eax, dword [ebp - 0x18]
jb 0x10002d88
jmp 0x10002dcb
call edi
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push str._s_on__s:__d
push 0x38
call fcn.100019fb
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x10002df0
call edi
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push str._s_on__s:__d
push 0x39
call fcn.100019fb
add esp, 0x14
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, dword [ebp - 0x14]
call fcn.10006cbd
pop edi
pop esi
pop ebx
leave
ret