Function at 0x1000ee50
Capabilities:
Enumerate services

Disassembly:
sub esp, 0x3c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x1000ee72
pop edi
add esp, 0x3c
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x10000
push 0x40
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
call esi
mov ebx, eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ebx
push eax
lea eax, [esp + 0x34]
push eax
push 0x10000
push ebx
push 3
push 0x30
push edi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
jne 0x1000eed5
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 0x3c
ret
push 4
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x1000eef2
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [ebx], eax
jmp 0x1000eefa
mov dword [esp + 0x18], 0
push ebp
push 0x2000
push 0x40
call esi
push 0x2000
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR120.dll_malloc]
xor ebp, ebp
mov dword [esp + 0x18], eax
add esp, 4
cmp dword [esp + 0x10], ebp
jbe 0x1000f0b5
mov ebx, dword [esp + 0x2c]
lea ebx, [ebx]
push 0x18
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1000ef6e
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
jmp 0x1000ef70
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], esi
call fcn.1004b010
push 0xffffffffffffffff
push dword [ebx]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0xffffffffffffffff
push dword [ebx + 4]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
lea ecx, [esi + 4]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [ebx + 0xc], 4
jne 0x1000effd
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push 0x100731f4
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
lea ecx, [esi + 0xc]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push closesocket
push dword [ebx]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push 0x2000
push dword [esp + 0x20]
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x1000f09c
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
mov eax, dword [ecx + 4]
mov dword [esi + 0x10], eax
lea eax, [esp + 0x44]
push dword [ecx + 0xc]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
lea ecx, [esi + 0x14]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x48]
push eax
push 0x2000
push dword [esp + 0x1c]
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
test eax, eax
je 0x1000f09c
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [eax]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
lea ecx, [esi + 8]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [esp + 0x28]
inc ebp
add ebx, 0x24
cmp ebp, dword [esp + 0x10]
jb 0x1000ef30
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push dword [esp + 0x18]
call esi
mov eax, dword [esp + 0x1c]
pop ebp
pop esi
pop ebx
pop edi
add esp, 0x3c
ret