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

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x38
mov eax, 0x4bcfd4
call fcn.00494508
mov edi, dword [ebp + 0x78]
xor ebx, ebx
push 0x4cd9ca
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp], ebx
call fcn.00472760
xor esi, esi
inc esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jge 0x413a69
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004726a0
lea ecx, [ebp - 0x14]
mov dword [ebp], esi
mov byte [ebp - 4], bl
call fcn.00472740
mov eax, edi
jmp 0x413c90
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x413a98
cmp eax, 0x80010119
je 0x413a98
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004726a0
jmp 0x413a54
lea eax, [ebp - 0x1c]
push eax
push 0x4dd504
push esi
push ebx
push 0x4dd5d4
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x413a85
push str.rootCIMV2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
call fcn.0040ff89
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x413ad6
mov eax, dword [eax]
mov dword [ebp + 4], eax
jmp 0x413ad9
mov dword [ebp + 4], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 4]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 4], eax
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x413b02
call fcn.00412b69
cmp dword [ebp + 4], ebx
jge 0x413b15
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413a85
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x413b37
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413b07
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], ebx
call fcn.0040ff3c
mov edi, eax
push 0x4cdeac
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040ff3c
mov ecx, dword [edi]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x413b6b
mov ecx, dword [ecx]
mov dword [ebp + 4], ecx
jmp 0x413b6e
mov dword [ebp + 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x413b78
mov edx, dword [eax]
jmp 0x413b7a
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edi, [ebp - 0x20]
push edi
push ebx
push 0x30
push dword [ebp + 4]
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x24]
mov edi, eax
cmp ecx, ebx
je 0x413b9f
call fcn.00412b69
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x413baf
call fcn.00412b69
cmp edi, ebx
jge 0x413bc4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
jmp 0x413c67
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
jmp 0x413bfc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [eax + 0x10]
cmp dword [ebp - 0x30], ebx
je 0x413c01
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x44]
push edx
push ebx
push str.Caption
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], ebx
jne 0x413bcc
push 0x64
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00493f80
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
lea eax, [ebp + 8]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x3c]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00472890
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x413c46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x413c53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x413c60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x413c6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.004726a0
lea ecx, [ebp - 0x14]
mov dword [ebp], esi
mov byte [ebp - 4], bl
call fcn.00472740
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x70
leave
ret