Function at 0x44ba00
Capabilities:
Enumerate services

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517d88
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x575054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [esi + 4], 0
call fcn.004b80c0
push 4
push 0
push 0
mov byte [esi], al
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x44bcbd
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
lea eax, [ebp - 0x1c]
push 0
push 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0
push 3
push 0x30
push 0
push esi
mov dword [ebp - 0x1c], 0
call edi
test eax, eax
jne 0x44bcb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x44bcb6
mov esi, dword [ebp - 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
add esi, 0x2c
mov dword [ebp - 0x30], vtable.RC::RCBuffer_char_.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.0044bd10
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0
push 0
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x48]
push 3
push 0x30
push 0
push esi
call edi
test eax, eax
je 0x44bc6c
xor edi, edi
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x1c], edi
jbe 0x44bc6c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bb50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004033d0
cmp dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x48]
je 0x44bc3a
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push 5
cmovae eax, dword [ebp - 0x74]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x44bc3a
xorps xmm0, xmm0
xor esi, esi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], vtable.RC::RCBuffer_char_.0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push esi
push esi
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
xor edi, edi
cmp dword [ebp - 0x18], edi
jbe 0x44bc1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44bc1e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x44bbfb
push eax
call fcn.0050f8f0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x5c]
mov edi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
jmp 0x44bbfe
mov eax, dword [ebp - 0x3c]
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
jmp 0x44bc21
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
jne 0x44bc8d
lea ecx, [ebp - 0x40]
call fcn.0044bce0
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
mov byte [ebp - 0x41], 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.00403370
cmp byte [ebp - 0x41], 0
jne 0x44bc56
mov eax, dword [ebp - 0x54]
inc dword [eax + 4]
mov eax, dword [ebp - 0x58]
inc edi
add eax, 0x2c
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x58], eax
cmp edi, dword [ebp - 0x1c]
jb 0x44bb31
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
mov esi, dword [esi + 4]
test eax, eax
je 0x44bc89
push eax
call fcn.0050f8eb
add esp, 4
mov eax, esi
jmp 0x44bcbf
mov eax, dword [edi + 4]
cmp eax, 2
je 0x44bca2
test eax, eax
je 0x44bca2
mov byte [ebp - 0x41], 1
cmp eax, 1
jne 0x44bca6
mov byte [ebp - 0x41], 0
lea ecx, [ebp - 0x40]
call fcn.0044bce0
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
jmp 0x44bc3e
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050f27d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret