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

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x38
mov eax, 0x4baf84
call fcn.00492516
mov edi, dword [ebp + 0x78]
xor ebx, ebx
push 0x4cfa1a
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp], ebx
call fcn.00470680
xor esi, esi
inc esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jge 0x414669
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004705c0
lea ecx, [ebp - 0x14]
mov dword [ebp], esi
mov byte [ebp - 4], bl
call fcn.00470660
mov eax, edi
jmp 0x414890
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 0x414698
cmp eax, 0x80010119
je 0x414698
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004705c0
jmp 0x414654
lea eax, [ebp - 0x1c]
push eax
push 0x4dffc4
push esi
push ebx
push 0x4e0094
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x414685
push str.rootCIMV2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
call fcn.00410699
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4146d6
mov eax, dword [eax]
mov dword [ebp + 4], eax
jmp 0x4146d9
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 0x414702
call fcn.004136b9
cmp dword [ebp + 4], ebx
jge 0x414715
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x414685
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 0x414737
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x414707
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], ebx
call fcn.0041064c
mov edi, eax
push 0x4d0094
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041064c
mov ecx, dword [edi]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x41476b
mov ecx, dword [ecx]
mov dword [ebp + 4], ecx
jmp 0x41476e
mov dword [ebp + 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x414778
mov edx, dword [eax]
jmp 0x41477a
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 0x41479f
call fcn.004136b9
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x4147af
call fcn.004136b9
cmp edi, ebx
jge 0x4147c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
jmp 0x414867
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
jmp 0x4147fc
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 0x414801
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 0x4147cc
push 0x64
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00491e90
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.004707b0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x414846
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x414853
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x414860
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x41486d
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.004705c0
lea ecx, [ebp - 0x14]
mov dword [ebp], esi
mov byte [ebp - 4], bl
call fcn.00470660
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.00492093
add ebp, 0x70
leave
ret