Function at 0x4e9c60
Capabilities:
Create process on windows
Enumerate services

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4e9c68
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4e9ec1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 5
push 0
push 0x4e9ed0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e9e81
xor edx, edx
push ebp
push 0x4e9e7a
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 1
push 0x130
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EnumServicesStatusA
test eax, eax
jne 0x4e9d4a
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x4e9cf5
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
je 0x4e9cf5
call fcn.0040ab80
jmp 0x4e9e81
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4e9c30]
call fcn.0040e664
add esp, 4
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 4]
test esi, esi
je 0x4e9d1e
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push 1
push 0x130
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EnumServicesStatusW
test eax, eax
jne 0x4e9d4a
call fcn.0040ab80
jmp 0x4e9e81
cmp dword [ebp - 0x10], 0
jbe 0x4e9e61
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4e9e61
inc eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4e9e4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f8d38]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4e9e40
inc ebx
xor esi, esi
lea ecx, [ebp - 0x28]
mov eax, dword [0x4f8d38]
mov eax, dword [eax + 0x20]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.0040c34c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00422248
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.0040bf78
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00422248
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040c1c0
jne 0x4e9e38
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 4
jne 0x4e9e38
push 0
push 0
push 0x4e9ed8
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.0040bf78
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00422284
push dword [ebp - 0x38]
push 0x4e9eec
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040c0f4
mov eax, dword [ebp - 0x34]
call fcn.0040bff0
push eax
push 0x4e9ef0
push 0x4e9ef8
push 0
call sub.shell32.dll_ShellExecuteW
inc esi
dec ebx
jne 0x4e9d90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9e54
add dword [ebp - 0x18], 0x24
dec dword [ebp - 0x1c]
jne 0x4e9d67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9e81
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9ec8
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.0040b464
lea eax, [ebp - 0x28]
call fcn.0040b394
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040b464
lea eax, [ebp - 4]
mov edx, dword [0x4e9c30]
call fcn.0040e788
pop eax
jmp eax