Function at 0x453150
Capabilities:
Enumerate services
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2250
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4e96d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push 0
push dword [esi + 4]
mov dword [ebp - 0x38], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x50], esi
xor eax, eax
mov dword [ebp - 4], 0
test esi, esi
setne al
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4531c3
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
jne 0x4531da
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x4e6654
push eax
call fcn.0047ad64
or edi, 4
cmp dword [ebp + 0x18], 1
mov dword [ebp - 0x40], edi
jne 0x4531ec
or edi, 8
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x3c]
push edi
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x54], edi
xor eax, eax
mov byte [ebp - 4], 1
test edi, edi
setne al
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45321e
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
jne 0x453235
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x4e6654
push eax
call fcn.0047ad64
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x18], xmm0
cmp dword [ebp + 0x18], 1
mov byte [ebp - 4], 2
jne 0x4533f0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x4533f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xea
sete cl
mov dword [ebp - 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4532a0
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
jne 0x4532b7
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x4e6654
push eax
call fcn.0047ad64
push dword [ebp - 0x4c]
call fcn.00470ebb
add esp, 4
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x4c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4532f5
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
jne 0x45330c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x4e6654
push eax
call fcn.0047ad64
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 0
jbe 0x4533f0
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
and edx, 0xfffffff7
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], ecx
lea esp, [esp]
movdqu xmm1, xmmword [ecx]
mov eax, dword [ecx + 0x20]
movdqu xmm0, xmmword [ecx + 0x10]
mov dword [ebp - 0x5c], eax
movd eax, xmm1
push edx
movdqu xmmword [ebp - 0x6c], xmm0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x58], esi
xor eax, eax
mov byte [ebp - 4], 3
test esi, esi
setne al
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453376
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
je 0x453426
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4533a9
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
je 0x453426
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
push dword [ebp - 0x38]
push 1
push esi
call fcn.00453080
mov byte [ebp - 4], 2
test esi, esi
je 0x4533d0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
inc eax
mov esi, dword [ebp - 0x50]
add ecx, 0x24
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
cmp eax, dword [ebp - 0x48]
jae 0x4533f0
mov edx, dword [ebp - 0x40]
jmp 0x453330
cmp dword [ebp + 0xc], 0
je 0x45347c
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453420
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
jne 0x453437
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x4e6654
push eax
call fcn.0047ad64
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
push dword [ebp - 0x38]
push dword [ebp + 0x18]
push edi
call fcn.00453080
push dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
call fcn.004712df
add esp, 4
test edi, edi
je 0x4534bc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
jmp 0x4534c2
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4534a5
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
jne 0x45344c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x4e6654
push eax
call fcn.0047ad64
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x4534c9
push esi
call edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004712e4
mov esp, ebp
pop ebp
ret 0x1c