Function at 0x414f90
Capabilities:
Connect to wmi namespace via wbemlocator
Query service status

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
push ebx
push esi
push edi
xor edi, edi
push 1
push edi
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x1b], 0
mov dword [esp + 0x2c], edi
mov dword [eax], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x2c], ebx
jne 0x414fe1
call esi
test eax, eax
je 0x415025
call esi
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x415260
push 4
push str.winmgmt
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp eax, edi
mov dword [esp + 0x20], eax
jne 0x41500f
call esi
test eax, eax
je 0x415032
call esi
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x415260
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41503f
mov dword [esp + 0x10], edi
jmp 0x415053
mov dword [esp + 0x10], 0xffffe59d
jmp 0x415260
mov dword [esp + 0x10], 0xffffe5b9
jmp 0x415260
call esi
test eax, eax
je 0x415067
call esi
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x415260
cmp dword [esp + 0x44], 4
je 0x415074
mov dword [esp + 0x10], 0xffffe5d4
jmp 0x415260
mov dword [esp + 0x10], 0xffffe59e
jmp 0x415260
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x41508d
mov dword [esp + 0x10], 0xffffe5d4
jmp 0x415260
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
mov byte [esp + 0x33], 1
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x4150b4
mov dword [esp + 0x10], 0xffffe5d4
jmp 0x415260
lea edx, [esp + 0x1c]
push edx
push 0x434ce4
push 1
push edi
push 0x434db4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4150dd
mov dword [esp + 0x10], 0xffffe5d4
jmp 0x415260
push str.ROOTCIMV2
lea ecx, [esp + 0x1c]
call fcn.00414e80
mov eax, dword [eax]
cmp eax, edi
je 0x4150f5
mov ecx, dword [eax]
jmp 0x4150f7
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x14]
push esi
push edi
push edi
push 0x80
push edi
push edi
push edi
push ecx
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00414f70
cmp esi, edi
jge 0x41512d
mov dword [esp + 0x10], 0xffffe5d4
jmp 0x415260
mov eax, dword [esp + 0x14]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x415153
mov dword [esp + 0x10], 0xffffe5d4
jmp 0x415260
push str.SELECT__from_Win32_BaseBoard
lea ecx, [esp + 0x2c]
call fcn.00414df0
mov eax, dword [eax]
cmp eax, edi
je 0x41516b
mov esi, dword [eax]
jmp 0x41516d
xor esi, esi
push 0x42fb70
lea ecx, [esp + 0x1c]
call fcn.00414df0
mov eax, dword [eax]
cmp eax, edi
je 0x415185
mov ecx, dword [eax]
jmp 0x415187
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ebp
lea ebp, [esp + 0x28]
push ebp
push edi
push 0x30
push esi
push ecx
push eax
call dword [edx + 0x50]
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00414f70
lea ecx, [esp + 0x2c]
call fcn.00414f70
cmp esi, edi
jge 0x4151c1
mov dword [esp + 0x14], 0xffffe5d4
jmp 0x41525f
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0xffffffffffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ebp, eax
cmp dword [esp + 0x1c], edi
je 0x415253
push str.Manufacturer
call ebx
push edi
push edi
lea edx, [esp + 0x3c]
push edx
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push edi
push esi
push eax
call dword [ecx + 0x10]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jl 0x415246
cmp word [esp + 0x34], 8
jne 0x415246
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042b2d0
push str.microsoft_corporation
push eax
call fcn.00424746
add esp, 0xc
test eax, eax
jne 0x415246
mov ecx, dword [esp + 0x64]
mov dword [ecx], 1
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
cmp ebp, edi
je 0x4151c7
mov ebx, dword [esp + 0x30]
pop ebp
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x41526e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41527c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov al, byte [esp + 0xf]
test al, al
je 0x41528a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x20]
cmp eax, edi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x41529b
push eax
call esi
cmp ebx, edi
je 0x4152a2
push ebx
call esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x50
ret