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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x40fd2e
or eax, 0xffffffff
jmp 0x40ffb4
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 0x40fd5a
cmp eax, 0x80010119
je 0x40fd5a
push 0xfffffffffffffffe
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x40ffb4
lea eax, [ebp - 0x94]
push eax
push 0x42f70c
push 1
push esi
push 0x42f6ac
mov dword [ebp - 0x94], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x94]
js 0x40ffa1
cmp eax, esi
je 0x40ffab
lea edx, [ebp - 0x90]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootcimv2
mov dword [ebp - 0x90], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40ff7e
cmp dword [ebp - 0x90], esi
je 0x40ff8e
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x90]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x90]
jns 0x40fdff
cmp eax, esi
je 0x40fdec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffb
jmp 0x40fd4c
lea edx, [ebp - 0x8c]
push edx
push esi
push 0x30
push str.SELECT__FROM_Win32_BaseBoard
push 0x42c4cc
mov dword [ebp - 0x8c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40ff67
cmp dword [ebp - 0x8c], esi
je 0x40ff77
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], esi
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x8c]
call dword [eax + 0x10]
cmp dword [ebp - 0x9c], esi
je 0x40ff4d
cmp dword [ebp - 0x98], esi
je 0x40ff4d
lea eax, [ebp - 0xac]
push eax
call edi
lea eax, [ebp - 0xac]
push eax
call edi
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0xac]
push edx
push esi
push 0x42c4b0
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x40ff16
cmp word [ebp - 0xac], 8
jne 0x40ff2d
cmp dword [ebp - 0xa4], esi
je 0x40ff2d
push 0xfde9
push dword [ebp - 0xa4]
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], eax
call fcn.0040fc38
push dword [ebp - 0x88]
mov ecx, dword [ebp - 0xb0]
call fcn.00401280
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x88], eax
je 0x40ff16
push dword [ebp - 0x88]
call fcn.0041363d
pop ecx
lea eax, [ebp - 0xac]
push eax
call ebx
cmp dword [ebp - 0x8c], esi
jne 0x40fe4b
jmp 0x40ff5d
lea eax, [ebp - 0xac]
push eax
call ebx
mov eax, dword [ebp - 0x8c]
cmp eax, esi
je 0x40ff46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffff9
jmp 0x40fd4c
mov eax, dword [ebp - 0x8c]
cmp eax, esi
je 0x40ff5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x40ffb4
mov eax, dword [ebp - 0x8c]
cmp eax, esi
je 0x40ff77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffa
jmp 0x40fd4c
mov eax, dword [ebp - 0x90]
cmp eax, esi
je 0x40ff8e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffc
jmp 0x40fd4c
cmp eax, esi
je 0x40ffab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xfffffffffffffffd
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret