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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e6ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4238da
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x4238d4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x437764
push 1
push 0
push 0x437774
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4238d4
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push str.ROOTCIMV2
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.0040c930
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x4237fe
mov eax, dword [eax]
jmp 0x423800
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0040d710
test esi, esi
js 0x4238cb
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
mov eax, dword [ebp - 0x14]
js 0x4238c5
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_BaseBoard
mov edi, dword [eax + 0x50]
call fcn.0040c8a0
mov esi, dword [eax]
mov dword [ebp - 4], 1
test esi, esi
je 0x423877
mov esi, dword [esi]
jmp 0x423879
xor esi, esi
push 0x433e90
lea ecx, [ebp - 0x28]
call fcn.0040c8a0
mov eax, dword [eax]
mov byte [ebp - 4], 2
test eax, eax
je 0x423894
mov eax, dword [eax]
jmp 0x423896
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040d710
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d710
test esi, esi
jns 0x4238ee
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 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 al, al
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 - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0xd], 0
test ecx, ecx
je 0x423997
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop word [eax + eax]
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 0x423994
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x3c]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x433e94
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x423978
cmp word [ebp - 0x3c], 8
jne 0x423972
push edi
push dword [ebp - 0x34]
call ebx
add esp, 8
test eax, eax
je 0x42398a
lea eax, [ebp - 0x3c]
push eax
call esi
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x423920
jmp 0x423997
lea eax, [ebp - 0x3c]
mov byte [ebp - 0xd], 1
push eax
call esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret