Function at 0x41b690
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a833
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 [0x47e5ec], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x180], ebx
je 0x41b763
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41b763
cmp dword [eax + 0x58], 4
jb 0x41b763
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:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 4
call fcn.0042feb0
test bl, bl
je 0x41b74e
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
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 0x41b7b2
nop dword [eax]
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.00427cd0
push 0x12c
push esi
mov dword [ebp - 4], 1
call fcn.004306f5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, edi
cmp edi, dword [ebx]
jne 0x41b780
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 0x41b86b
cmp dword [0x47e5ec], eax
je 0x41b857
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41b857
cmp dword [eax + 0x58], 2
jb 0x41b857
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:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 2
call fcn.0042feb0
test bl, bl
je 0x41b848
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
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 0x41bc1e
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.00430c16
add esp, 4
mov dword [ebp - 0x180], eax
test eax, eax
jne 0x41b941
cmp dword [0x47e5ec], eax
je 0x41b936
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41b936
cmp dword [eax + 0x58], 2
jb 0x41b936
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:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 2
call fcn.0042feb0
test bl, bl
je 0x41b927
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
mov dword [edi], 0xa803ba
jmp 0x41bc1e
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 0x41bc0a
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.0041a2c0
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.0041d700
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, 0xda740c
sub eax, edx
cmp eax, 1
jb 0x41bcc1
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.00427cd0
inc esi
add edi, 0x2c
cmp esi, dword [ebp - 0x184]
jb 0x41b990
mov edi, dword [ebp - 0x190]
push dword [ebp - 0x180]
call fcn.00430bfa
add esp, 4
mov dword [edi], 0
cmp dword [0x47e5ec], 0
je 0x41bca1
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41bca1
cmp dword [eax + 0x58], 4
jb 0x41bca1
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:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 4
call fcn.0042feb0
test bl, bl
je 0x41bc92
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
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.004306b4
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