Function at 0x487ee0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c063
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x620514]
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 [0x6263f0], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x180], ebx
je 0x487fb3
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x487fb3
cmp dword [eax + 0x58], 4
jb 0x487fb3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x17
push str.Entry_GetAllServiceInfo
mov dword [ebp - 4], 0
call fcn.00404900
push 0x17e
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:workcode_git_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
push 4
call fcn.004d06c0
test bl, bl
je 0x487f9e
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
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 0x488002
nop dword [eax]
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.004b3db0
push 0x12c
push esi
mov dword [ebp - 4], 1
call fcn.0055e874
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, edi
cmp edi, dword [ebx]
jne 0x487fd0
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 0x4880bb
cmp dword [0x6263f0], eax
je 0x4880a7
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4880a7
cmp dword [eax + 0x58], 2
jb 0x4880a7
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x1b
push str.Open_service_manage_failed_
mov dword [ebp - 4], 2
call fcn.00404900
push 0x187
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:workcode_git_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
push 2
call fcn.004d06c0
test bl, bl
je 0x488098
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
mov dword [edi], 0xa803b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x48846e
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.0055f4af
add esp, 4
mov dword [ebp - 0x180], eax
test eax, eax
jne 0x488191
cmp dword [0x6263f0], eax
je 0x488186
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x488186
cmp dword [eax + 0x58], 2
jb 0x488186
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x28
push str.EnumServicesStatusEx_windows_API_failed_
mov dword [ebp - 4], 3
call fcn.00404900
push 0x19d
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:workcode_git_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
push 2
call fcn.004d06c0
test bl, bl
je 0x488177
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
mov dword [edi], 0xa803ba
jmp 0x48846e
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 0x48845a
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.00404420
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 4
call fcn.00404420
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 5
call fcn.00404420
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.00404420
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00404420
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.00404420
lea ecx, [ebp - 0xc8]
call fcn.00404420
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb0], 0
call fcn.00404420
lea ecx, [ebp - 0x94]
call fcn.00404420
lea ecx, [ebp - 0x7c]
call fcn.00404420
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.00485e20
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.004043d0
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.00404900
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.00404320
push dword [edi - 4]
lea ecx, [ebp - 0x40]
call fcn.004043d0
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.00404900
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.00404900
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.00404320
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.004043d0
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.00404320
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.0048ab20
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, 0xda740c
sub eax, edx
cmp eax, 1
jb 0x488511
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.004b3db0
inc esi
add edi, 0x2c
cmp esi, dword [ebp - 0x184]
jb 0x4881e0
mov edi, dword [ebp - 0x190]
push dword [ebp - 0x180]
call fcn.0055f493
add esp, 4
mov dword [edi], 0
cmp dword [0x6263f0], 0
je 0x4884f1
push ecx
mov ecx, 0x6263f0
call fcn.004cfdb0
mov eax, dword [0x6263f0]
cmp byte [eax + 0x54], 0
je 0x4884f1
cmp dword [eax + 0x58], 4
jb 0x4884f1
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00404420
push 0x16
push str.Exit_GetAllServiceInfo
mov dword [ebp - 4], 0x11
call fcn.00404900
push 0x1c0
push str.RC::DM::RCServiceDManager::GetAllServiceInfo
push str.d:workcode_git_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
push 4
call fcn.004d06c0
test bl, bl
je 0x4884e2
lea eax, [ebp - 0x28]
mov ecx, 0x6263f0
push eax
call fcn.004d09f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404320
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.0055e833
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