Function at 0x44ae40
Capabilities:
Enumerate services
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483c30
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4b9070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x14]
push 0xf003f
push 0
push dword [edi + 8]
mov dword [ebp - 0x38], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x4c], esi
xor eax, eax
mov dword [ebp - 4], 0
test esi, esi
setne al
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44aeaa
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
je 0x44b16b
xor eax, eax
cmp dword [ebp + 0x18], 1
sete al
lea eax, [eax*8 + 4]
or eax, dword [ebp - 0x38]
push eax
push dword [edi + 4]
mov dword [ebp - 0x44], eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x50], edi
xor eax, eax
mov byte [ebp - 4], 1
test edi, edi
setne al
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44aefa
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
je 0x44b16b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x48], 0
movq qword [ebp - 0x1c], xmm0
cmp dword [ebp + 0x18], 1
mov byte [ebp - 4], 2
jne 0x44b08b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x44b08b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xea
sete cl
mov dword [ebp - 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44af6e
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
je 0x44b16b
push dword [ebp - 0x3c]
call fcn.00455d5b
add esp, 4
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x3c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44afb6
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x30], 0
je 0x44b16b
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
jbe 0x44b08b
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
and edx, 0xfffffff7
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], ecx
movups xmm0, xmmword [ecx + 0x10]
mov eax, dword [ecx]
push edx
push eax
push esi
movups xmmword [ebp - 0x68], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x54], esi
xor eax, eax
mov byte [ebp - 4], 3
test esi, esi
setne al
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44b018
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
je 0x44b0bd
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 - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44b04b
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
je 0x44b0bd
push dword [ebp + 8]
push 1
push esi
call fcn.0044acf0
mov byte [ebp - 4], 2
test esi, esi
je 0x44b06b
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
inc eax
mov esi, dword [ebp - 0x4c]
add ecx, 0x24
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
cmp eax, dword [ebp - 0x40]
jae 0x44b08b
mov edx, dword [ebp - 0x44]
jmp 0x44afe0
cmp dword [ebp + 0xc], 0
je 0x44b0d2
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44b0b7
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
jne 0x44b113
push eax
lea ecx, [ebp - 0x34]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
jmp 0x44b17b
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 - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44b0fb
movzx eax, ax
or eax, 0x80070000
cmp dword [ebp - 0x34], 0
jne 0x44b113
push eax
lea ecx, [ebp - 0x34]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
jmp 0x44b17b
push dword [ebp + 8]
push dword [ebp + 0x18]
push edi
call fcn.0044acf0
push 0x24
push dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
call fcn.00455ac5
add esp, 8
test edi, edi
je 0x44b13e
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
jmp 0x44b144
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x44b14b
push esi
call edi
mov eax, dword [ebp - 0x34]
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.0045527a
mov esp, ebp
pop ebp
ret 0x1c
push eax
lea ecx, [ebp - 0x30]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
int3