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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x43954c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x439785
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 5
push 0
push 0x439794
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43975a
xor edx, edx
push ebp
push 0x439753
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 0x43962d
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x4395d8
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
je 0x4395d8
call fcn.004079d0
jmp 0x43975a
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x439514]
call fcn.0040b120
add esp, 4
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 4]
test esi, esi
je 0x439601
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 0x43962d
call fcn.004079d0
jmp 0x43975a
cmp dword [ebp - 0x10], 0
jbe 0x43973a
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x43973a
inc eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x439723
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4448c4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x439719
inc ebx
xor esi, esi
lea eax, [ebp - 0x24]
mov edx, dword [0x4448c4]
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.00418798
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.00418798
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00408e70
jne 0x439711
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 4
jne 0x439711
push 0
push 0
push 0x43979c
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.004187d4
push dword [ebp - 0x34]
push 0x4397b0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00408da4
mov eax, dword [ebp - 0x30]
call fcn.00408ca0
push eax
push 0x4397b4
push 0x4397bc
push 0
call sub.shell32.dll_ShellExecuteW
inc esi
dec ebx
jne 0x43966f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43972d
add dword [ebp - 0x18], 0x24
dec dword [ebp - 0x1c]
jne 0x43964a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43975a
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 0x43978c
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00408298
lea eax, [ebp - 4]
mov edx, dword [0x439514]
call fcn.0040b244
pop eax
jmp eax