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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10016034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x30], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
push eax
push 0x10010338
push 1
push 0
push 0x10010408
mov dword [ebp - 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000c6e3
push 0x10013408
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
call fcn.1000b080
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x1000c5c1
mov edx, dword [eax]
jmp 0x1000c5c3
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov ecx, dword [eax]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
mov edi, eax
test esi, esi
je 0x1000c634
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000c634
test esi, esi
je 0x1000c634
mov eax, dword [esi]
test eax, eax
je 0x1000c612
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000c62a
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
test edi, edi
js 0x1000c6e3
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1000c6e3
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
call fcn.1000aff0
mov esi, eax
push 0x10013444
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.1000aff0
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x1000c693
mov esi, dword [esi]
jmp 0x1000c695
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x1000c69f
mov edx, dword [eax]
jmp 0x1000c6a1
xor edx, edx
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
mov ecx, dword [eax]
push edi
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.1000b120
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b120
test esi, esi
jns 0x1000c6fd
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x1000c862
mov esi, dword [ebp - 0x30]
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x1000c862
mov dword [ebp - 0x10], 0
push 0
push 0
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x20]
push 0
mov ecx, dword [eax]
push 0x10013448
push eax
call dword [ecx + 0x10]
lea ecx, [ebp - 0x10]
test eax, eax
js 0x1000c84b
push dword [ebp - 0x38]
call fcn.1000b180
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000c772
mov eax, dword [eax]
jmp 0x1000c774
xor eax, eax
push eax
lea ecx, [ebp - 0x28]
call fcn.10009160
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10009580
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000c7ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
push 0
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x40]
push edx
push 0
push str.DriverVersion
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x1000c802
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.1000b180
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000c7df
mov eax, dword [eax]
jmp 0x1000c7e1
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009160
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.10009580
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
jmp 0x1000c825
push str.Unknown
lea ecx, [ebp - 0x30]
call fcn.10009160
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10009580
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000c83f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b120
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x1000c712
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret