Function at 0x44bb58
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x44bb60
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x44bfdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
push 5
push 0x44bff0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jne 0x44bbcc
call sub.kernel32.dll_GetLastError_2
mov esi, eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x458a2c]
mov edx, 0x44c01c
call fcn.004053c0
call fcn.004086e8
mov edx, 0x44c068
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
mov eax, esi
call fcn.00406f10
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x5d1
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x44bb30]
call fcn.00408b28
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00408974
imul edx, eax, 0x2c
mov eax, dword [ebp - 4]
xor ecx, ecx
call fcn.00404d38
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408974
imul eax, eax, 0x2c
push eax
mov eax, dword [ebp - 4]
push eax
push 3
push 0x30
push 0
push ebx
call sub.advapi32.dll_EnumServicesStatusExW
test eax, eax
jne 0x44bd22
call sub.kernel32.dll_GetLastError_2
mov esi, eax
cmp esi, 0xea
je 0x44bc82
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x458a2c]
mov edx, 0x44c07c
call fcn.004053c0
call fcn.004086e8
mov edx, 0x44c068
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
mov eax, esi
call fcn.00406f10
jmp 0x44bd22
push 0x1745
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x44bb30]
call fcn.00408b28
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00408974
imul edx, eax, 0x2c
mov eax, dword [ebp - 4]
xor ecx, ecx
call fcn.00404d38
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408974
imul eax, eax, 0x2c
push eax
mov eax, dword [ebp - 4]
push eax
push 3
push 0x30
push 0
push ebx
call sub.advapi32.dll_EnumServicesStatusExW
test eax, eax
jne 0x44bd22
push ebx
call sub.advapi32.dll_CloseServiceHandle
call sub.kernel32.dll_GetLastError_2
mov esi, eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x458a2c]
mov edx, 0x44c07c
call fcn.004053c0
call fcn.004086e8
mov edx, 0x44c068
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
mov eax, esi
call fcn.00406f10
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 4]
call fcn.00408974
mov esi, eax
dec esi
test esi, esi
jl 0x44bda6
inc esi
xor ebx, ebx
imul eax, ebx, 0xb
mov edx, dword [ebp - 4]
mov edi, dword [edx + eax*4]
test edi, edi
je 0x44bda6
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00407a68
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00418a90
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x44c0d4
call fcn.00418a90
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00407d8c
jne 0x44bda2
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
imul edx, ebx, 0xb
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx*4]
call fcn.00407a68
imul eax, ebx, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4 + 0x24]
mov dword [0x45e00c], eax
jmp 0x44bda6
inc ebx
dec esi
jne 0x44bd3e
cmp byte [ebp - 0x15], 0
jne 0x44bdcf
mov eax, dword [0x458a2c]
mov edx, 0x44c0f8
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
mov eax, 0x424
call fcn.00406f10
cmp dword [0x45e00c], 0
jne 0x44be23
cmp byte [ebp - 0x16], 0
je 0x44be01
mov eax, dword [0x458a2c]
mov edx, 0x44c13c
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
mov eax, 0x426
call fcn.00406f10
mov edx, 2
mov eax, 0x44c0d4
call fcn.0044b52c
mov eax, 0x44c0d4
call fcn.0044b910
mov byte [ebp - 0x16], 1
jmp 0x44bb7c
mov eax, dword [0x45e00c]
xor edx, edx
push edx
push eax
mov eax, dword [0x458a2c]
mov edx, 0x44c1ac
call fcn.004053c0
call fcn.004086e8
mov edx, 0x44c068
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
push 0
mov eax, 0x45e010
mov ecx, 1
mov edx, dword [0x44a9a0]
call fcn.00408b28
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00408974
mov esi, eax
dec esi
test esi, esi
jl 0x44bf04
inc esi
xor ebx, ebx
imul edi, ebx, 0xb
mov eax, dword [ebp - 4]
cmp dword [eax + edi*4], 0
je 0x44bf04
mov eax, dword [ebp - 4]
mov eax, dword [eax + edi*4 + 0x24]
cmp eax, dword [0x45e00c]
jne 0x44bf00
lea eax, [ebp - 0x28]
imul edx, ebx, 0xb
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx*4]
call fcn.00407a68
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00407d8c
je 0x44bf00
mov eax, dword [0x45e010]
call fcn.00408974
inc eax
push eax
mov eax, 0x45e010
mov ecx, 1
mov edx, dword [0x44a9a0]
call fcn.00408b28
add esp, 4
mov eax, dword [0x45e010]
call fcn.00408974
mov edx, dword [0x45e010]
lea eax, [edx + eax*4 - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + edi*4]
call fcn.00407a68
inc ebx
dec esi
jne 0x44be84
mov eax, 0x45e014
call fcn.00406fe4
mov eax, dword [0x45e010]
call fcn.00408974
mov esi, eax
dec esi
test esi, esi
jl 0x44bf66
inc esi
xor ebx, ebx
cmp dword [0x45e014], 0
jne 0x44bf40
mov eax, 0x45e014
mov edx, dword [0x45e010]
mov edx, dword [edx + ebx*4]
call fcn.00407394
jmp 0x44bf62
push dword [0x45e014]
push 0x44c1f0
mov eax, dword [0x45e010]
push dword [eax + ebx*4]
mov eax, 0x45e014
mov edx, 3
call fcn.00407cdc
inc ebx
dec esi
jne 0x44bf22
cmp dword [0x45e014], 0
je 0x44bf95
mov eax, dword [0x458a2c]
mov edx, 0x44c204
call fcn.004053c0
mov edx, dword [0x45e014]
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
jmp 0x44bfae
mov eax, dword [0x458a2c]
mov edx, 0x44c248
call fcn.004053c0
call fcn.004054c0
call fcn.00404594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bfe6
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00407044
lea eax, [ebp - 8]
call fcn.00406fe4
lea eax, [ebp - 4]
mov edx, dword [0x44bb30]
call fcn.00408b34
ret