Function at 0x451e90
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x590f28
push 0x50b870
mov eax, dword fs:[0]
push eax
add esp, 0xffffff7c
mov eax, dword [0x599680]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], 0x7530
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x70]
push ecx
push 0
mov edx, dword [ebp - 0x68]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x451f10
mov eax, 1
jmp 0x45211e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x451f24
xor eax, eax
jmp 0x45211e
mov ecx, dword [ebp - 0x70]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x451f47
xor eax, eax
jmp 0x45211e
mov dword [ebp - 4], 0
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x68]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x451f90
mov dword [ebp - 0x7c], 0
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x599680
call fcn.0050b9d0
add esp, 0xc
mov eax, dword [ebp - 0x7c]
jmp 0x45211e
mov dword [ebp - 0x6c], 0
jmp 0x451fa2
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x78]
jae 0x4520f7
imul esi, dword [ebp - 0x6c], 0x24
add esi, dword [ebp - 0x68]
mov ecx, 9
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
push 0x24
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x451ffa
mov dword [ebp - 0x80], 0
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x599680
call fcn.0050b9d0
add esp, 0xc
mov eax, dword [ebp - 0x80]
jmp 0x45211e
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
push 1
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x45203d
mov dword [ebp - 0x84], 0
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x599680
call fcn.0050b9d0
add esp, 0xc
mov eax, dword [ebp - 0x84]
jmp 0x45211e
cmp dword [ebp - 0x3c], 1
je 0x4520d9
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x70]
push edx
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x452093
mov dword [ebp - 0x88], 0
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x599680
call fcn.0050b9d0
add esp, 0xc
mov eax, dword [ebp - 0x88]
jmp 0x45211e
cmp dword [ebp - 0x3c], 1
jne 0x45209b
jmp 0x4520d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x90]
jbe 0x4520d4
mov dword [ebp - 0x94], 0
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x599680
call fcn.0050b9d0
add esp, 0xc
mov eax, dword [ebp - 0x94]
jmp 0x45211e
jmp 0x45203d
mov dword [ebp - 4], 0
call fcn.004520e7
jmp 0x4520f2
jmp 0x451f99
mov dword [ebp - 4], 0xfffffffe
call fcn.00452105
jmp 0x452119
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret 8