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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x510a10
push 0x4a7df0
mov eax, dword fs:[0]
push eax
add esp, 0xffffff74
mov eax, dword [0x51a500]
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 - 0x94], eax
mov dword [ebp - 0x98], 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 0x451990
mov eax, 1
jmp 0x451bb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x4519a4
xor eax, eax
jmp 0x451bb6
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x7c]
push edx
push 8
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x4519d3
xor eax, eax
jmp 0x451bb6
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x451a22
mov dword [ebp - 0x84], 0
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x51a500
call fcn.004a7f50
add esp, 0xc
mov eax, dword [ebp - 0x84]
jmp 0x451bb6
mov dword [ebp - 0x6c], 0
jmp 0x451a34
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x78]
jae 0x451b8f
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 eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x451a92
mov dword [ebp - 0x88], 0
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x51a500
call fcn.004a7f50
add esp, 0xc
mov eax, dword [ebp - 0x88]
jmp 0x451bb6
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x451ad5
mov dword [ebp - 0x8c], 0
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x51a500
call fcn.004a7f50
add esp, 0xc
mov eax, dword [ebp - 0x8c]
jmp 0x451bb6
cmp dword [ebp - 0x3c], 1
je 0x451b71
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x70]
push ecx
push 0x24
lea edx, [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x451b2b
mov dword [ebp - 0x90], 0
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x51a500
call fcn.004a7f50
add esp, 0xc
mov eax, dword [ebp - 0x90]
jmp 0x451bb6
cmp dword [ebp - 0x3c], 1
jne 0x451b33
jmp 0x451b71
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x98]
jbe 0x451b6c
mov dword [ebp - 0x9c], 0
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x51a500
call fcn.004a7f50
add esp, 0xc
mov eax, dword [ebp - 0x9c]
jmp 0x451bb6
jmp 0x451ad5
mov dword [ebp - 4], 0
call fcn.00451b7f
jmp 0x451b8a
jmp 0x451a2b
mov dword [ebp - 4], 0xfffffffe
call fcn.00451b9d
jmp 0x451bb1
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.004a6675
mov esp, ebp
pop ebp
ret 8