Function at 0x488910
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575453
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x608514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x198], ecx
cmp dword [0x60e3b0], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x180], ebx
je 0x4889e3
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x4889e3
cmp dword [eax + 0x58], 4
jb 0x4889e3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x17
push str.Entry_GetAllServiceInfo
mov dword [ebp - 4], 0
call fcn.004047a0
push 0x17e
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
push 4
call fcn.004d10e0
test bl, bl
je 0x4889ce
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
mov ebx, dword [ebp - 0x180]
mov eax, dword [ebx]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov dword [ebx + 4], 0
cmp esi, dword [ebx]
je 0x488a32
nop dword [eax]
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.004b4810
push 0x12c
push esi
mov dword [ebp - 4], 1
call fcn.0054bf14
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, edi
cmp edi, dword [ebx]
jne 0x488a00
mov edi, dword [ebp - 0x190]
push 4
push 0
push 0
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x488aeb
cmp dword [0x60e3b0], eax
je 0x488ad7
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x488ad7
cmp dword [eax + 0x58], 2
jb 0x488ad7
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x1b
push str.Open_service_manage_failed_
mov dword [ebp - 4], 2
call fcn.004047a0
push 0x187
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
push 2
call fcn.004d10e0
test bl, bl
je 0x488ac8
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
mov dword [edi], 0xa803b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x488e9e
push 0
push 0
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x18c]
push eax
push 0
push 0
push 3
push 0x13f
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
mov eax, dword [ebp - 0x18c]
push eax
mov dword [ebp - 0x188], eax
call fcn.0054cb4f
add esp, 4
mov dword [ebp - 0x180], eax
test eax, eax
jne 0x488bc1
cmp dword [0x60e3b0], eax
je 0x488bb6
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x488bb6
cmp dword [eax + 0x58], 2
jb 0x488bb6
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x28
push str.EnumServicesStatusEx_windows_API_failed_
mov dword [ebp - 4], 3
call fcn.004047a0
push 0x19d
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
push 2
call fcn.004d10e0
test bl, bl
je 0x488ba7
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
mov dword [edi], 0xa803ba
jmp 0x488e9e
push 0
push 0
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x18c]
push ecx
push dword [ebp - 0x188]
push eax
push 3
push 0x13f
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
xor esi, esi
cmp dword [ebp - 0x184], esi
jbe 0x488e8a
mov edi, dword [ebp - 0x180]
add edi, 8
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], vtable.RC::DM::ISerialization.0
lea ecx, [ebp - 0x178]
mov dword [ebp - method.RC::DM::RCService.virtual_0], vtable.RC::DM::RCService.0
call fcn.004042c0
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 4
call fcn.004042c0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 5
call fcn.004042c0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.004042c0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.004042c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xf0], vtable.RC::DM::ISerialization.0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], vtable.RC::DM::RCWinServiceConfig.0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
call fcn.004042c0
lea ecx, [ebp - 0xc8]
call fcn.004042c0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb0], 0
call fcn.004042c0
lea ecx, [ebp - 0x94]
call fcn.004042c0
lea ecx, [ebp - 0x7c]
call fcn.004042c0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x64]
push 0
push 0
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.00486850
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
push dword [edi - 8]
call fcn.00404270
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x160]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004047a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004041c0
push dword [edi - 4]
lea ecx, [ebp - 0x40]
call fcn.00404270
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x148]
push eax
call fcn.004047a0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004047a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.004041c0
mov ecx, dword [edi]
cmp ecx, 1
mov eax, dword [edi + 0x10]
push dword [edi - 8]
mov dword [ebp - 0xf8], ecx
sete byte [ebp - 0x5c]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xe4], eax
call fcn.00404270
mov ecx, dword [ebp - 0x198]
lea edx, [ebp - 0x17c]
push edx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x1a0]
push edx
call dword [eax + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.004041c0
mov eax, dword [ebx]
lea edx, [ebp - 0x17c]
push edx
mov dword [ebp - 0x188], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x194], ecx
call fcn.0048b560
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, 0xda740c
sub eax, edx
cmp eax, 1
jb 0x488f41
lea eax, [edx + 1]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x188]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x194]
mov dword [eax], ecx
lea ecx, [ebp - 0x17c]
mov dword [ebp - 4], 0xffffffff
call fcn.004b4810
inc esi
add edi, 0x2c
cmp esi, dword [ebp - 0x184]
jb 0x488c10
mov edi, dword [ebp - 0x190]
push dword [ebp - 0x180]
call fcn.0054cb33
add esp, 4
mov dword [edi], 0
cmp dword [0x60e3b0], 0
je 0x488f21
push ecx
mov ecx, 0x60e3b0
call fcn.004d07d0
mov eax, dword [0x60e3b0]
cmp byte [eax + 0x54], 0
je 0x488f21
cmp dword [eax + 0x58], 4
jb 0x488f21
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004042c0
push 0x16
push str.Exit_GetAllServiceInfo
mov dword [ebp - 4], 0x11
call fcn.004047a0
push 0x1c0
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
push 4
call fcn.004d10e0
test bl, bl
je 0x488f12
lea eax, [ebp - 0x28]
mov ecx, 0x60e3b0
push eax
call fcn.004d1410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004041c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054bed3
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3