Function at 0x404fdf
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa0
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
push 0x47e7fe
lea ecx, [ebp + 4]
mov dword [ebp - 0x10], ebx
call fcn.0043f7b0
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x405030
lea eax, [ebp + 4]
push eax
mov ecx, ebx
call fcn.0043f6f0
lea ecx, [ebp + 4]
call fcn.0043f790
mov eax, ebx
jmp 0x40523f
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x405054
cmp eax, 0x80010119
je 0x405054
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x405016
lea eax, [ebp - 8]
push eax
push 0x485e08
push 1
push esi
push 0x485ed8
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40504c
push str.rootCIMV2
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], esi
call fcn.00402989
mov eax, dword [eax]
cmp eax, esi
je 0x40508c
mov ecx, dword [eax]
jmp 0x40508e
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push edi
lea edi, [ebp - 4]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp ecx, esi
je 0x4050b1
call fcn.00404552
cmp edi, esi
jl 0x4050d5
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4050fe
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp + 4]
push eax
mov ecx, ebx
call fcn.0043f6f0
lea ecx, [ebp + 4]
call fcn.0043f790
mov eax, ebx
jmp 0x40523e
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x1c]
mov dword [ebp], esi
call fcn.00402955
mov eax, dword [eax]
cmp eax, esi
je 0x405118
mov edi, dword [eax]
jmp 0x40511a
xor edi, edi
push 0x47ebfc
lea ecx, [ebp - 0xc]
call fcn.00402955
mov eax, dword [eax]
cmp eax, esi
je 0x405131
mov ecx, dword [eax]
jmp 0x405133
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
lea ebx, [ebp]
push ebx
push esi
push 0x30
push edi
push ecx
push eax
call dword [edx + 0x50]
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp ecx, esi
je 0x405156
call fcn.00404552
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x405162
call fcn.00404552
cmp edi, esi
jge 0x405177
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
jmp 0x40521b
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
jmp 0x4051b0
mov eax, dword [ebp]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp]
call dword [eax + 0x10]
cmp dword [ebp - 0x18], esi
je 0x4051b5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x2c]
push edx
push esi
push str.Caption
push eax
call dword [ecx + 0x10]
cmp dword [ebp], esi
jne 0x40517f
push 0x64
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.0045f090
add esp, 0xc
push esi
push esi
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x24]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 4]
call fcn.0043f8e0
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4051fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x405207
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp]
cmp eax, esi
je 0x405214
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x405221
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 4]
push eax
call fcn.0043f6f0
lea ecx, [ebp + 4]
call fcn.0043f790
mov eax, dword [ebp - 0x10]
pop edi
mov ecx, dword [ebp + 0x70]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
add ebp, 0x74
leave
ret