Function at 0x41ba80
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ac63
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x47a008]
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 [0x47e5dc], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x180], ebx
je 0x41bb53
push ecx
mov ecx, 0x47e5dc
call fcn.0042fa70
mov eax, dword [0x47e5dc]
cmp byte [eax + 0x54], 0
je 0x41bb53
cmp dword [eax + 0x58], 4
jb 0x41bb53
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x17
push str.Entry_GetAllServiceInfo
mov dword [ebp - 4], 0
call fcn.00404970
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, 0x47e5dc
push eax
push 4
call fcn.004302a0
test bl, bl
je 0x41bb3e
lea eax, [ebp - 0x28]
mov ecx, 0x47e5dc
push eax
call fcn.00430670
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
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 0x41bba2
nop dword [eax]
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.004280c0
push 0x12c
push esi
mov dword [ebp - 4], 1
call fcn.00430ae5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, edi
cmp edi, dword [ebx]
jne 0x41bb70
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 0x41bc5b
cmp dword [0x47e5dc], eax
je 0x41bc47
push ecx
mov ecx, 0x47e5dc
call fcn.0042fa70
mov eax, dword [0x47e5dc]
cmp byte [eax + 0x54], 0
je 0x41bc47
cmp dword [eax + 0x58], 2
jb 0x41bc47
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x1b
push str.Open_service_manage_failed_
mov dword [ebp - 4], 2
call fcn.00404970
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, 0x47e5dc
push eax
push 2
call fcn.004302a0
test bl, bl
je 0x41bc38
lea eax, [ebp - 0x28]
mov ecx, 0x47e5dc
push eax
call fcn.00430670
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
mov dword [edi], 0xa803b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x41c00e
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.00431006
add esp, 4
mov dword [ebp - 0x180], eax
test eax, eax
jne 0x41bd31
cmp dword [0x47e5dc], eax
je 0x41bd26
push ecx
mov ecx, 0x47e5dc
call fcn.0042fa70
mov eax, dword [0x47e5dc]
cmp byte [eax + 0x54], 0
je 0x41bd26
cmp dword [eax + 0x58], 2
jb 0x41bd26
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x28
push str.EnumServicesStatusEx_windows_API_failed_
mov dword [ebp - 4], 3
call fcn.00404970
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, 0x47e5dc
push eax
push 2
call fcn.004302a0
test bl, bl
je 0x41bd17
lea eax, [ebp - 0x28]
mov ecx, 0x47e5dc
push eax
call fcn.00430670
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
mov dword [edi], 0xa803ba
jmp 0x41c00e
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 0x41bffa
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.004048f0
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 4
call fcn.004048f0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 5
call fcn.004048f0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.004048f0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.004048f0
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.004048f0
lea ecx, [ebp - 0xc8]
call fcn.004048f0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb0], 0
call fcn.004048f0
lea ecx, [ebp - 0x94]
call fcn.004048f0
lea ecx, [ebp - 0x7c]
call fcn.004048f0
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.0041a6b0
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.004048a0
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.00404970
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004047a0
push dword [edi - 4]
lea ecx, [ebp - 0x40]
call fcn.004048a0
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.00404970
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.00404970
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.004047a0
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.004048a0
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.004047a0
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.0041daf0
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, 0xda740c
sub eax, edx
cmp eax, 1
jb 0x41c0b1
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.004280c0
inc esi
add edi, 0x2c
cmp esi, dword [ebp - 0x184]
jb 0x41bd80
mov edi, dword [ebp - 0x190]
push dword [ebp - 0x180]
call fcn.00430fea
add esp, 4
mov dword [edi], 0
cmp dword [0x47e5dc], 0
je 0x41c091
push ecx
mov ecx, 0x47e5dc
call fcn.0042fa70
mov eax, dword [0x47e5dc]
cmp byte [eax + 0x54], 0
je 0x41c091
cmp dword [eax + 0x58], 4
jb 0x41c091
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x16
push str.Exit_GetAllServiceInfo
mov dword [ebp - 4], 0x11
call fcn.00404970
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, 0x47e5dc
push eax
push 4
call fcn.004302a0
test bl, bl
je 0x41c082
lea eax, [ebp - 0x28]
mov ecx, 0x47e5dc
push eax
call fcn.00430670
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
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.00430aa4
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