Function at 0x5089e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567faa
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5d21e8]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push esi
push 0x5a0d58
push 1
push 0
push 0x5a0d48
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x190], eax
test eax, eax
jns 0x508bc6
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 1
call fcn.00508910
push 0
lea ecx, [ebp - 0x78]
mov ebx, eax
call fcn.00502d30
mov edi, eax
push ecx
mov esi, esp
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push str.createWMIComInterfaceFailed
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
push 0xffffffffffffffff
mov edi, eax
lea eax, [ebp - 0x18c]
push ebx
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
push ecx
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x8f
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x184], esp
push str._anonymous_namespace::GetWbemService
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x180]
call fcn.00425bf0
lea ecx, [ebp - 0x180]
call fcn.005066c0
lea ecx, [ebp - 0x18c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x78]
call fcn.00502f90
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 4], 6
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
test ecx, ecx
je 0x508baa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x194]
test eax, eax
je 0x508bbb
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x190]
jmp 0x508f49
mov ecx, dword [esi]
push edi
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
push ecx
call dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 0x18c], ebx
test ebx, ebx
jns 0x508d8b
mov edx, dword [esi]
test edx, edx
je 0x508bfc
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 8
call fcn.00508910
push 0
lea ecx, [ebp - 0x78]
mov ebx, eax
call fcn.00502d30
mov edi, eax
push ecx
mov esi, esp
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push str.connectToWMIFailed
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
push 0xffffffffffffffff
mov edi, eax
lea eax, [ebp - 0x190]
push ebx
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
push ecx
mov ecx, esp
mov dword [ebp - 0x184], esp
push eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 0xb
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0xa8
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x184], esp
push str._anonymous_namespace::GetWbemService
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x180]
call fcn.00425bf0
lea ecx, [ebp - 0x180]
call fcn.005066c0
lea ecx, [ebp - 0x190]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x78]
call fcn.00502f90
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 4], 0xd
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
test ecx, ecx
je 0x508d6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x194]
test eax, eax
je 0x508d80
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x18c]
jmp 0x508f49
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
mov dword [ebp - 0x18c], ebx
test ebx, ebx
jns 0x508f47
mov edx, dword [edi]
test edx, edx
je 0x508dbd
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x508dc9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 0xf
call fcn.00508910
push 0
lea ecx, [ebp - 0x78]
mov ebx, eax
call fcn.00502d30
mov edi, eax
push ecx
mov esi, esp
mov byte [ebp - 4], 0x10
push 0xffffffffffffffff
push str.setProxyBlanketFailed
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
push 0xffffffffffffffff
mov edi, eax
lea eax, [ebp - 0x190]
push ebx
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
push ecx
mov ecx, esp
mov dword [ebp - 0x184], esp
push eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 0x12
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0xc6
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x184], esp
push str._anonymous_namespace::GetWbemService
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 0x13
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x180]
call fcn.00425bf0
lea ecx, [ebp - 0x180]
call fcn.005066c0
lea ecx, [ebp - 0x190]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x78]
call fcn.00502f90
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0x14
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
test ecx, ecx
je 0x508f3c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1a4]
jmp 0x508d75
xor eax, eax
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.005329db
mov esp, ebp
pop ebp
ret