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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x49611c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
nop dword [eax]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x41514f
push 4
lea ecx, [esp + 0x64]
call fcn.0040c570
mov eax, dword [0x49a678]
lea ecx, [esp + 0x64]
push 4
mov dword [esp + 0x64], eax
call fcn.0040c570
mov eax, dword [0x49a67c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
cmp ecx, eax
je 0x415148
xor eax, eax
mov dword [esp + 0x80], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
call fcn.00405e70
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
push 0x2c
cmovae eax, dword [esp + 0x70]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4150e8
lea eax, [esp + 0x5c]
push eax
push 0x24
lea eax, [esp + 0x8c]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4150e1
mov eax, dword [esp + 0x88]
cmp eax, 1
je 0x4150e1
cmp eax, 3
je 0x4150e1
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x60]
push eax
push 0
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
test eax, eax
jne 0x41506e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x41506e
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x415068
push esi
call fcn.00450b70
push esi
mov esi, eax
mov dword [esp + 0x18], eax
push 0
push esi
call fcn.0044bde0
add esp, 0x10
test esi, esi
je 0x41506e
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x64]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
test eax, eax
je 0x41505b
movups xmm1, xmmword [esi]
push 0x24
movups xmm0, xmmword [esi + 0x10]
add esi, 0x24
movd eax, xmm1
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x14], esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x415057
lea eax, [esp + 0xa8]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x415057
cmp dword [esp + 0xac], 1
je 0x415050
mov edi, dword [esp + 0x14]
nop dword [eax]
push dword [esp + 0xc0]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x5c]
push eax
push 0x24
lea eax, [esp + 0xb0]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x415042
cmp dword [esp + 0xac], 1
je 0x41504c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x41504c
cmp dword [esp + 0xac], 1
jne 0x415000
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41506e
push esi
call fcn.004507e4
add esp, 4
xor esi, esi
mov dword [esp + 0x10], esi
lea eax, [esp + 0x84]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4150e1
cmp dword [esp + 0x88], 1
je 0x4150e1
mov esi, dword [esp + 0x14]
push dword [esp + 0x9c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x5c]
push eax
push 0x24
lea eax, [esp + 0x8c]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4150dd
cmp dword [esp + 0x88], 1
je 0x4150dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
ja 0x4150dd
cmp dword [esp + 0x88], 1
jne 0x415091
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x80]
cmp eax, 8
jb 0x41512f
lea ecx, [eax + 1]
mov eax, dword [esp + 0x6c]
cmp ecx, 0x7fffffff
ja 0x41515f
add ecx, ecx
cmp ecx, 0x1000
jb 0x415126
test al, 0x1f
jne 0x41515f
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x41515f
sub eax, ecx
cmp eax, 4
jb 0x41515f
cmp eax, 0x23
ja 0x41515f
mov eax, ecx
push eax
call fcn.00448f45
add esp, 4
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
add ecx, 0x18
mov dword [esp + 0x60], ecx
cmp ecx, dword [esp + 0x64]
jne 0x414ea1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x414e50
call fcn.00450abf
int3