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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x438a90
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x438cc9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 5
push 0
push 0x438cd8
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x438c9e
xor edx, edx
push ebp
push 0x438c97
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 0x438b71
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x438b1c
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
je 0x438b1c
call fcn.004079d0
jmp 0x438c9e
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x438a58]
call fcn.0040b120
add esp, 4
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 4]
test esi, esi
je 0x438b45
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 0x438b71
call fcn.004079d0
jmp 0x438c9e
cmp dword [ebp - 0x10], 0
jbe 0x438c7e
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x438c7e
inc eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x438c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4448c8]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438c5d
inc ebx
xor esi, esi
lea eax, [ebp - 0x24]
mov edx, dword [0x4448c8]
mov edx, dword [edx + 0x28]
mov edx, dword [edx + 4]
mov edx, dword [edx + esi*4]
call fcn.00408fec
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004187a0
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.00408c28
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004187a0
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00408e70
jne 0x438c55
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 4
jne 0x438c55
push 0
push 0
push 0x438ce0
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.00408c28
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.004187dc
push dword [ebp - 0x34]
push 0x438cf4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00408da4
mov eax, dword [ebp - 0x30]
call fcn.00408ca0
push eax
push 0x438cf8
push 0x438d00
push 0
call sub.shell32.dll_ShellExecuteW
inc esi
dec ebx
jne 0x438bb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x438c71
add dword [ebp - 0x18], 0x24
dec dword [ebp - 0x1c]
jne 0x438b8e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438c9e
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 0x438cd0
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00408298
lea eax, [ebp - 4]
mov edx, dword [0x438a58]
call fcn.0040b244
pop eax
jmp eax