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

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x38
mov eax, 0x4bcaa4
call fcn.004943c6
mov edi, dword [ebp + 0x78]
xor ebx, ebx
push 0x4d1a1a
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp], ebx
call fcn.00472340
xor esi, esi
inc esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jge 0x413d49
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00472280
lea ecx, [ebp - 0x14]
mov dword [ebp], esi
mov byte [ebp - 4], bl
call fcn.00472320
mov eax, edi
jmp 0x413f70
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 0x413d78
cmp eax, 0x80010119
je 0x413d78
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00472280
jmp 0x413d34
lea eax, [ebp - 0x1c]
push eax
push 0x4e2420
push esi
push ebx
push 0x4e24f0
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x413d65
push str.rootCIMV2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
call fcn.004108e9
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x413db6
mov eax, dword [eax]
mov dword [ebp + 4], eax
jmp 0x413db9
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 0x413de2
call fcn.00412c99
cmp dword [ebp + 4], ebx
jge 0x413df5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413d65
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 0x413e17
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413de7
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], ebx
call fcn.0041089c
mov edi, eax
push 0x4d1f1c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041089c
mov ecx, dword [edi]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x413e4b
mov ecx, dword [ecx]
mov dword [ebp + 4], ecx
jmp 0x413e4e
mov dword [ebp + 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x413e58
mov edx, dword [eax]
jmp 0x413e5a
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 0x413e7f
call fcn.00412c99
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x413e8f
call fcn.00412c99
cmp edi, ebx
jge 0x413ea4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
jmp 0x413f47
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
jmp 0x413edc
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 0x413ee1
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 0x413eac
push 0x64
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00493d40
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.00472470
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x413f26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x413f33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x413f40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x413f4d
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.00472280
lea ecx, [ebp - 0x14]
mov dword [ebp], esi
mov byte [ebp - 4], bl
call fcn.00472320
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.00493f43
add ebp, 0x70
leave
ret